Dez 6 2011

this needs to be explained

Christoph

Thanks to David for this code candy

// this needs to be explained!!
$this->_searchResult[$type] = $this->_searchResult[$type];

Programming language: PHP

1 Star2 Stars3 Stars4 Stars5 Stars (5 Bewertungen, Durchschnitt: 4,60 von 5)
Loading...Loading...

Okt 23 2011

Complicate your code

Christoph

// To make Flash Storage work on IE, we have to load up an
// iFrame which contains an HTML page that embeds the
// object using an object tag wrapping an embed tag.
// Of course, this is unnecessary for all browsers except
// for IE, which, to my knowledge, is the only browser in
// existance where you need to complicate your code to
// fix bugs. Goddamnit. :(

Source: Direct link to the source code
Software: jStore
Programming language: Java Script

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4,00 von 5)
Loading...Loading...

Sep 27 2011

Trying to understand this years from now

Christoph

/*
Most of this code was written while watching the Marlins sweep the Giants in the 1997 National League Playoffs – no Braves fans allowed to use this code (just kidding :-).

I realize that if I wanted to be true to the perl tradition, the only comment in this file would be something like:

…they shuffled back towards the rear of the line. ‘No, not at the rear!’ the slave-driver shouted. ‘Three files up. And stay there…

However, I really needed to violate that tradition just so I could keep track of what happens myself, not to mention some poor fool trying to understand this years from now :-).
*/

Source: Direct link to the source code
Software: Perl Source
Programming language: C

1 Star2 Stars3 Stars4 Stars5 Stars (2 Bewertungen, Durchschnitt: 4,50 von 5)
Loading...Loading...

Sep 13 2011

Relax

Christoph

/*
uhhh…. i’ve commented this out. it was a great pervertion,
i know, but it could result in broken packets, and that’s
more f*cking than a simply crash. Relax.
*/

Source: Direct link to the source code
Software: QEcho
Programming language: C

1 Star2 Stars3 Stars4 Stars5 Stars (1 Bewertungen, Durchschnitt: 4,00 von 5)
Loading...Loading...

Aug 23 2011

feel good today?

Christoph

/* okay, this is a mess. some 3d apps seem to try being */
/* unique, hello cinema4d & 3d exploration, feel good */
/* today?, and save this crap in tons of different */
/* formats. gah, those screwed coders. tho the */
/* wavefront obj standard defines exactly two ways */
/* of storing face information. so, i really won’t */
/* support such stupid extravaganza here! */

Source: Direct link to the source code
Software: osxnetradiant
Programming language: C

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4,00 von 5)
Loading...Loading...