Mrz 1 2011

Kaboom

Christoph

/*
 * Uh oh. Still here. Where’s the kaboom? There was supposed
 * to be an EARTH-shattering kaboom!
 *
 * Oh well, log the failure and error out.
 */

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

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

Feb 8 2011

a bottle of champagne

Christoph

/* opendir(), readdir(), closedir() for those systems which don’t have them. If anyone ever uses this code let me know so I can open a bottle of champagne or something */

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

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

Jan 12 2011

But then i was drinking

Christoph

// you know, thought about adding deleting of nodes from the
// tree, but then i was drinking, and i was like no, f*ck it,
// f*ck that, just add a stupid f*cking 4 byte integer, and
// when the shit isn’t found, make it 0, and when it is, make
// it 1, and then that way we’ll only find shit once.
// yeah. that’ll work. f*ck it.
// P.S. stop drinking

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

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

Jan 7 2011

I could have found a solution

Christoph

// Ok, cdRequest->status is bogus and never returns anything
// but 0100. This makes it completely useless for detecting
// when the song has completed. So, instead I’m just going
// to let them go for roughly 200 seconds and then the
// existing logic acts like the song has finished. This gets
// rid of the current stuttering music bug that exists even
// in the registered version. I’m sure I could have found a
// solution by reading up on Redbook Audio quicker than it
// took me to write this comment, but f*ck it.

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

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

Dez 23 2010

Merry Christmas and a Happy Armageddon

Christoph

“Merry Christmas and a Happy Armageddon” release. This’ll probably be the last Aptitude release before the year 2000. Assuming that civilization has not collapsed, expect to see another version early in the new year. (hopefully before potato freezes ;-) ) If not, I guess I’ll have to start porting it to the abacus platform..

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

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