Feb 28 2009

Fight Club

Christoph

/* XXX: BIG BIG IMPORTANT FAT NOTE! :XXX
 *
 * The first rule of fight club is:
 *   You do not include ssl/ssl.h.
 *
 * The second rule of fight club is:
 *   You DO NOT include ssl/ssl.h.
 *
 * The third rule of fight club is:
 *   If you include util/error.h before ssl/ssl.h,
 *   the compilation is over!
 *
 * The fourth rule of fight club is:
 *   Only one inclusion of ssl/ssl.h at once.
 *
 * The fifth rule of fight club is:
 *   If you include ssl/ssl.h, it comes right after elinks.h.
 *
 * The sixth rule of fight club is:
 *   No ssl/ssl.h in other .h file, no complaints about
 *   the rules.
 *
 * The seventh rule of fight club is:
 *   The compilation will go as long as there is still
 *   something to compile.
 *
 * The eight, and final rule of fight club is:
 *   If this your first peek at this .h file, you
 *   HAVE TO COMPILE!
 *
 *   (Apologies to Chuck Palahniuk.) */

Quelle: Direktlink zum Source Code
Package / Software: ELinks
Programmiersprache: C

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

Feb 27 2009

Funny Changelog

Christoph

nicht nur im Source Codes sondern auch in Change Logs findet man lustige Kommentare:

* fixed a mem leak in the container cleanup functions
* fixed a mem leak in xform cleanup functions
* decided to stop smoking crack before I code cleanup
* functions

Quelle: Direktlink zum Change Log
Package / Software: Paranormal

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

Feb 26 2009

The goatse.cx guy

Christoph

# I finaly found out why David Bott of tivocommunity
# is so anal… he’s the goatse.cx guy :(

Quelle: Direktlink zum Source Code
Package / Software: TiVo Tools
Programmiersprache: shell

PS: Wer nicht weiß, wer der “goatse.cx guy” ist -> Wiki

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

Feb 25 2009

Halbschwanger

Christoph

// irgendwie ist das ziemlich mühsam :-(
// aber anders geht es nicht, die Grösse des arrays ist vorab
// nicht bekannt und einfach ein array mit z. B. 10 Elementen
// anlegen und ggf. einige Komponenten leer lassen will ich
// auch nicht. das produziert auch Folgefehler :-((
// und den Typ nachträglich in List ändern, und damit alle
// Stellen, wo er benötigt wird dazu habe ich jetzt auch
// keine Lust :-(((
// ——————-
// was haben sich die Java-Designer eigentlich dabei gedacht,
// arrays zwar mutable zu machen, aber ihre Grösse von
// nicht?? das ist doch halbschwanger.
// entweder immutable, oder alles mutable – auch die Anzahl
// der Elemente. aber ich bin sicher nicht die erste, die
// sich darüber ärgert.

Quelle: Direktlink zum Source Code
Package / Software: vjcompiler
Programmiersprache: Java

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

Feb 24 2009

Betrunken programmieren II

Christoph

Petze!

/* Andy Church should stop coding while being drunk.
* Here’s the two lines he forgot that produced the
* timed_update evil bug and a *big* memory leak.
*/

Quelle: Direktlink zum Source Code
Package / Software: Anope IRC Services
Programmiersprache: C

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