2004 IOCCC Winners Source Code Released
Langly writes "The IOCCC have finally released their source code for 2004.
My thoughts goes out to the poor guys that actually wrote this code.
Reader discretion is advised." Every time I see an obfuscated code contest, I wonder if 'Winner' is the right word to describe the victor ;)
void main(void) {
printf("frist prost");
}
The code running on the webserver must be AMAZING.
Its so obfuscated that I cant even see it!
ahhhhhh its finally shown up.
Doesnt bode well though.
liqbase
I would hate to have to be the one that either updates that code or has to read it. Some nice ASCII art in there, I am not brave enough to test to see if the programs do what they say they do. I went to the spoiler page so I could get the synopsis of them. That code would be a good Halloween costume it is just scary.
Man, /.'ed already. Anybody manage to grab the text? Please?
Set up a mirror, you lazy bunch of lazy people.
When I was learning programming, I would obfuscate code so bad that even the compiler couldn't understand it, let alone humans...
wow, the early /. effect seems to be quite popular these days. no comments by now, and almost slashdotted already.....
Powerful is he who overpowers his temptations.
"Within 20 minutes of the code release, SCO sued claiming that it contained something of theirs".
Don't blame Durga. I voted for Centauri.
And just what the hell is an IOCCC?
Slightly offtopic, but this will serve the needs of those of us reading this thread for a fix of C-related humour. The Infrequently asked questions in C (C-IAQ).
An obfuscated code contest article has a Microsoft "Get the Facts" ad beneath it.
:-P
Does the OSTG try to be subtle or what?
Error 407 - No creative sig found
Google cache with different mirrors across the globe: http://64.233.167.104/search?q=cache:LAIfxt7dfOEJ: www.ioccc.org/+ioccc&hl=en
I wish the submitters for these things understood that 90% of the obfuscation is done post-debugging with perl scripts... (The remaining 10% is the clever part.)
here we go, Mirror
please don't kill me
Some gems: :
Naming variables
#1 Baby names: Buy a copy of a baby naming book and you'll never be at a loss for variable names. Fred is a wonderful name, and easy to type. If you're looking for easy-to-type variable names, try adsf or aoeu if you type with a DSK keyboard.
#17 Bedazzling Names: Choose variable names with irrelevant emotional connotation. e.g.:
marypoppins = ( superman + starship ) / god;
This confuses the reader because they have difficulty disassociating the emotional connotations of the words from the logic they're trying to think about.
#26 Misleading names: Make sure that every method does a little bit more (or less) than its name suggests. As a simple example, a method named isValid(x) should as a side effect convert x to binary and store the result in a database.
An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
In this film we hope to show how not to be seen. This is "Hello World" by Mr. E. R. Bradshaw of Cambridge, MA. It can not be seen. Now I am going to ask the code to stand up. "Hello World," will you stand up please. This demonstrates the value of not being seen.
Their webserver is actually written in obfuscated c++ .. Sure, it's slow, but the binary plays a technoversion of Star Sprangled Banner when piped through /dev/dsp ..
Hey,
I write code like that every day for a living.
I'm just about to finish a world wide, 3-tier, trouble ticketing system in the shape of a Maze.
The Internet is full. Go Away!!!
Asia
Australia and other Pacific
Europe
North America
I went looking for the classic Larry Wall obfuscation for classic's sake, but now I'm having a hard time finding it. *sigh*
:)
Double-rot-13 obfuscation!
Karma: Chameleon (mostly due to the fact that you come and go).
Every time I see an obfuscated code contest, I wonder if 'Winner' is the right word to describe the victor ;)
Talk about obfuscated code, or do a View Source on any slashdot page to see the shit HTML spewed forth by this, ahem, CMS.
http://www.de.ioccc.org/years.html#2004
also tw, au, es, www1.us
CC.
TaijiQuan (Huang, 5 loosenings)
You can't get better than obfuscation by slashdotting.
"You know you want me baby!" - Crow T Robot
I wonder if 'Winner' is the right word to describe the victor
This is coming from the dingus behind slashcode.
I don't need no instructions to know how to rock!!!!
HERE
Name your variables A1, Al, B1, Bl, and so on. With some fonts (especially those fixed width fonts in code editors) a "l" (small "L") looks exactly the same as a "1" (a one), which makes sure that the guy maintaining the code will have fun a-plenty.
Signature deleted by lameness filter.
I could obfuscate code so bad that it would crash the compiler, impregnate the linker and produce a fat binary.
Free iPod Photo | Free Flat Screens | It really works!
Hasn't obfuscated C already been perfected?
Every time I see an obfuscated code contest, I wonder if 'Winner' is the right word to describe the victor
I certainly feel like a loser when I read obfuscated code!
insecurity asks the wrong question irritation gives the wrong answer
Assume I was drunk when I posted this.
These are they. From IOCCC past, I love this entry
Why not just differentiate by varying the length of the names?
xxxxxxxxxxxxxx = xxxxxxxxxxxx + xxxxxxxxxxxxxxxxxxxxx / xxxxxxxxxxxxxxxx;
Makes sense, doesn't it? And it works with every letter of the alphabet too!
Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
If you want to take a look at some code that's a real mess, try this code here.
Ugh.
Uh? IOCCC = International Olympic Committee Computa Center? ;-)
I read the title a little too fast, collapsed all the C's together, and wondered out loud when coding became an Olympic sport...
"My thoughts goes out to the poor guys that actually wrote this code."
I've never had more than one thought GOES out anywhere. Perhaps it is time for a language obfuscation contest.
Jesus, I thought that since mkentry.c was so obfuscated, and at the top that is was the winning entry.
Imagine my surprise when I found out that this was supposed to be normal, radable code.
Clicking on inline hyperlinks in articles on Slashdot is really amusing. What you guys next time can do, is just post a link to the Google cache of the website in particulare.
;)
I'm sure it'll save a few expensive phone-calls.
People discover the meaning of life between getting piss drunk and the following hangover.
5 Finally, control is returned to the host environment. If the value of status is zero or ..but thanks for playing anyway.
EXIT_SUCCESS, an implementation-defined form of the status successful termination is
returned. If the value of status is EXIT_FAILURE, an implementation-defined form
of the status unsuccessful termination is returned. Otherwise the status returned is
implementation-defined.
How to obfuscate Mandelbrot code.
I have discovered a truly remarkable proof which this margin is too small to contain.
...this
the entries that relied simply on obfuscation via text formatting (although that anime one looked kinda cool), kind of took the easy way out.
i mean, realistically, how hard is it to strip out white space in vi or some other editor that has find/replace? once the white place is gone, place tabs as appropriate.
real obfuscation comes from indecipherable variable names, unused variables, complex algorithms that accomplish no more than simple iteration, etc.
besides, the best way to write obfuscated code in C is to write it in one big string that is really just PERL -- and then use C to recreate PERL. I mean, come on guys: PERL = OBFUSCATION.
pussies.
01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
wouldn't look good on a CV: ...and in 2004 i wrote the most obfusicated code known to man..
Wasn't the same guy running a voting software competition that was supposed to have ended earlier this month? I would love to see the entries on that.
I submitted a M$ Windows XP EULA. The code parser exploded and it was disqualified.
Eternity: will that be smoking, or non-smoking? I Corinthians 6:9-10
It's no wonder, they're running it on emacs, clearly. I mean, just look at this comment from one of the hint files:
;-)
The keyboard driver can cope with the basic alpha-numeric keys, but gets confused by fancy things like 'shift' or 'backspace'.
In the text-file viewer, 'vi', the up/down and pgup/pgdn keys scroll up or down by one line. There is nothing to stop you [from] scrolling above the top of the file, and pressing any other keys may have an undefined effect.
Damned emacs zealots
O/T, but a good one from the Edinburgh fringe this year:
"'Employee of the month" - a winner & a loser at the same time.
step 2: ?
step 3: profit!
This method also works on lame tricks like:
First, it isn't much of an obfuscation. This is all so obvious stuff that I'd actually avoid doing delibarately any of it on ioc^3. :)
Second, to me, the end result actually looks more terse and elegant than the original crap with its single-exit dogma, hungarian notation and heretic bracing
Third, in fact the original is not even C (void main)
Finally, the author actually hasn't bothered to compile his creation as he has made at least one serious mistake in the process that ought to stop any decent compiler ((iter=1)-- instead of (iter=1)-1).
Yay! I understood the code enough to change the movement keys to vi/nethack standard!
--LWM
Being the only "something" automatically makes it the best (and also the worst). HTH & HAND.