Jun 29 2009

Optimizing is the Powah!

Christoph

# YEAH, DIE STUPID F*CKING NEWLINES! OPTIMIZING IS THE POWAH!

Source: Direct link to the source code
Software: Absynth FTP Client
Programming language: Python

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

Jun 8 2009

Fifty different ways of painting a window

Christoph

# Man, I can’t tell you just how much I hate learning new
# windowing toolkits! Who the f*ck wants to learn fifty
# different ways of painting a window or button on-screen.
# Just give me one clean API that I could use everywhere
# and I’d be OK with that. But, no, nearly every damn
# developer out there has to write a new f*cking windowing
# toolkit with a different API from every other windowing
# toolkit out there. Just how many times do we have to
# reinvent this damn wheel???

Source: Direct link to the source code
Software: TechFramework
Programming language: Python

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

Apr 7 2009

Ice Demon Maid

Christoph

# Ice Demon Maid, by Adam Krasneski and Dean Zeller
# Within the gates of hell, there is nothing but pain,
# torture, and misery. The brimstone has created quite a
# lot of dust and ash. The devil hired an Ice Demon from
# the elemental plane of water to clean up the mess.
# “Just because you’re in hell doesn’t mean it has to be
# such a pigsty!”

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

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

Mrz 28 2009

No sleep til brookyn

Christoph

# I wrote this very late at night. It may well be total shit
# but it appears to work. I am stressed out and should
# probably go to bed.

Source: Direct link to the source code
Software: 20,000 Light Years Into Space
Programming language: Python

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

Feb 12 2009

Das falsche Kraut geraucht

Christoph

# Somebody must have smoked some really wicked weed when they
# defined the ListFontsWithInfo request:
# The server sends a reply for _each_ matching font…
# It then sends a special reply (name length == 0) to
# indicate that there are no more fonts in the reply.

# This means that we have to do some special parsing to see
# if we have got the end-of-reply reply. If we haven’t, we
# have to reinsert the request in the front of the
# display.sent_request queue to catch the next response.

# Bastards.

Source: Direct link to the source code
Software: The Python X Library
Programming language: python

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