International Obfuscated C Code Tattoo
chongo writes "Some people eschew obfuscation while other live for it. Thomas Scovell has taken obfuscation to a completely new personal level by obtaining the very first
International
Obfuscated C Code Tattoo.
We (the
IOCCC Judges)
are pleased that Thomas has honored the
1984
anonymous IOCCC winning entry
by placing the source code on his arm:
the very first IOCCC winner to receive this
distinction.
The
anonymous
winner
(a person who known for various things on the Internet and has been programming in and associated with C for decades)
feels honored
by the tattoo as well."
I doubt human beings will ever replace the floppy.
One line blog. I hear that they're called Twitters now.
The article reads like we're almost supposed to know who 'Anonymous' is... Kernighan? Ritchie?
Urge to post... fading... fading... RISING!... fading... fading... gone.
Alrighty, you've convinced me to reveal myself to the world.
It was I that wrote that program, so many years ago!
wrote Bulletproof FTP?
int i;main(){for(;i["]i;++i){--i;}"];read('-'-'-',i+++ "hell\j ,i/i);}
o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---
==== add some whitespace ==========
int i;
main()
{
for (; i["]i;++i){--i;}"]; read('-' - '-', i++ + "hello, world!\n", '/' / '/'));
}
read(j, i, p)
{
write(j / p + p, i-- - j, i / i);
}
===== and char subtraced from itself is 0, and char or pointer divided by itself is 1 =====
int i;
main()
{
for (; i["]i;++i){--i;}"]; read(0, i++ + "hello, world!\n", 1));
}
read(j, i, p)
{
write(j / p + p, i-- - j, 1);
}
======= j is always 0, p is always 1, lets remove them ======
int i;
main()
{
for (; i["]i;++i){--i;}"]; read(i++ + "hello, world!\n"));
}
read(i)
{
write(0 / 1 + 1, i-- - 0, 1);
}
======= 0 / 1 + 1 is 1, subtracting 0 does nothing, decrementing a local variable this is never used afterward also does nothing =======
int i;
main()
{
for (; i["]i;++i){--i;}"]; read(i++ + "hello, world!\n"));
}
read(i)
{
write(1, i, 1);
}
======== replace read(i) with write(1, i, 1) =====
int i;
main()
{
for (; i["]i;++i){--i;}"]; write(1, i++ + "hello, world!\n", 1));
}
====== i[n] can be rewritten *(i + n) or *(n + i) ======
int i;
main()
{
for (; *("]i;++i){--i;}" + i); write(1, "hello, world!\n" + i++, 1));
}
=== as i gets incrimented, we dereference the next char of the string which is always non-zero till we hit the null terminator, all the matters is that the string is the same length as "hello, world!\n" =====
int i;
main()
{
for (; *("hello, world!\n" + i); write(1, "hello, world!\n" + i++, 1));
}
===== so now we can see we incriment i, printing out the next character of hello world till we hit the null terminator ====
...there's a typo on his arm. He can edit that, right?
if it were the complete linux 2.6 kernel source code... that's interesting!
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former" - Albert Einstein.
It's geeky to the max ... but cool too
utter rubbish
If he has a bad experience with C and switches to another language of choice. Can't have the other language asking about the C code tattooed on his arm. :-)
"International Obfuscated C Code Tattoo."
Sounds like a gathering of confusing hackers in kilts.
I expect it would be held in Hungary, and would involve events like the cable toss.
September 2011: Looking for Cocoa/iOS work in Boston area Cocoa Programmer Quincy, MA
Why, on earth, would anybody put themselves through the pain of having a tatoo, of C CODE?! This just seems completely absurd.
I mean, tattoos in and of themselves can be beautiful works of art. Or a badge of recognition. Or a tradition handed down for millenia.
But C CODE?! I can just imagine conversations this guy might have.
"Hey dude, I got me a tattoo last week. It's sooo cool, wanna see."
"Oh yea, lets have a look."
[rolls up his sleeve]
"Umm, so, it's what, an homage to Nazi death camps? Thats not cool man, why would you do that."
"NO no, look can't you see, it's C CODE, more than that it's OBFUSCATED, so cool man."
"Oh, right, yes, of course, how silly of me."
[quickly moving away from the looney]
I guess his only saving grace is that tatoo removal is now more or less (painfully I believe) possible. So it's not necessarily a permanant marker of being an absolute idiot.
NZ Electronics Enthusiasts: Check out my Trade Me Listings
"Uh, sorry, dude, I think I made a typo."
It could have been a tattoo of OBFUSCATED PERL code!
To explain my 'joke', one of the definitions of 'tattoo' is " b : outdoor military exercise given by troops as evening entertainment"
One of the better known is the Edinburgh Military Tattoo, which involves lots of people in kilts, playing bagpipes.
Hence, the hackers in kilts.
(Alas, I got this mixed up with the Highland Games, which is why I mentioned the 'cable toss', a pun on the traditional 'caber toss' competition of throwing something that looks like a wooden telephone pole.)
The Hungary bit was mentioned because an international event involving obfuscated C code should surely be held in Hungary, in honor of Hungarian notation, which obfuscates code intended for maintenance.
My Karma should now be "Negative: needed to explain own joke"
September 2011: Looking for Cocoa/iOS work in Boston area Cocoa Programmer Quincy, MA
Microsoft programmers might be watching... (eek!)
you had me at #!
I suppose I could get a saying of Chairman Knuth tattooed on my buttocks - something about premature optimisation, perhaps. Actually there are so many great computer science quotes I'd never be able to decide.
you had me at #!
Ok, I thought I was bad with my "Born to Code" tattoo (which some people understand to refer to either encryption or working in a hospital, thankfully the other geeks get it though) ... but now after seeing this I think I have to get the next tattoo of the Linux kernel source on my back to top this one ...
"A joke is like a frog. You learn alot about it by dissecting it, but you kill it in the process."