Apr 14 2015

Eaten by a gigantic spider

Christoph

Thanks to Hans for this code candy

// Hack to save null value for imageId
// The Zend Framework removes the key of all null values
// in the params array…
// See http://stackoverflow.com/questions/1999797/zend-
// framework-getting-an-empty-param
// SERIOUSLY WHAT THE FUCK IS THIS SHIT?
// I HOPE THE STUPID ZEND FRAMEWORK DEVELOPERS GET EATEN
// BY A GIGANTIC SPIDER!!!

Programming language: PHP

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

Mai 30 2012

Distracted by their beards

Christoph

/**
 * Returns the specified integer as a string because the
 * designers of C were too distracted by their beards to
 * write a lanague that doESNT SUCK ASS F*CK SHIT
 */

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

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

Apr 17 2012

IE caching for ajax requests

Christoph

Thanks to dac-xp for this code candy

/*
 * random number for the shitty InternetExplorer to f*ck
 * their caching-system. I hope the programmers of the IE
 * caching for ajax requests will die a terrible death.
 */
var requestid = Math.random() * (9999999999-0+1);

Programming language: JavaScript

1 Star2 Stars3 Stars4 Stars5 Stars (2 Bewertungen, Durchschnitt: 5,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...

Aug 9 2011

Why are smart people using this?

Christoph

# WTF is this? http://optionparser.rubyforge.org/
# why are there like 20 differnt option parsers all called
# OptionParser!? and seemingly no attempt at
# disambiguation. its like an oldskool CPAN clusterfuck
# all over again. This is what you get when a buncha non
# english speakers design a programming language in
# english, and a buncha SanFran webdesigners, in all their
# VWbug-pastelcolored-sushiloving-DeathCabforCutie glory
# flocked like hipster lemmings because Ruby was
# “written by a Japanese guy”. This language is seriously
# pissing me off. Why are smart people using this?

Source: Direct link to the source code
Software: Tamatebako
Programming language: Ruby

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