Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In 1993 the IOCCC also sponsored the International Obsfucated Postscript Contest.

http://web.mit.edu/PostScript/obfuscated-1993/

http://web.mit.edu/PostScript/obfuscated-1993/WINNERS

In PostScript you can redefine all of your operators (even operator for redefining!), and indeed this was often done to make the programs more compact for sending to printers in a shorter amount of time. This made PostScript an optimal language for disturbing levels of obsfucation.

The winner of "Most Obsfucated Artwork" was Takashi Hayakawa's astonishing entry:

    %!OPS-1.0 %%Creator: HAYAKAWA,Takashi<[email protected]>
    /A/copy/p/floor/q/gt/S/add/n/exch/i/index/J/ifelse/r/roll/w/div/H{{loop}stopped
    Y}def/t/and/C/neg/T/dup/h/exp/Y/pop/d/mul/s/cvi/e/sqrt/R/rlineto{load def}H 300
    T translate(V2L&1i2A00053r45hNvQXz&vUX&UOvQXzFJ!FJ!J!O&Y43d9rE3IaN96r63rvx2dcaN
    G&140N7!U&4C577d7!z&&93r6IQO2Z4o3AQYaNlxS2w!!f&nY9wn7wpSps1t1S!D&cjS5o32rS4oS3o
    Z&blxC1SdC9n5dh!I&3STinTinTinY!B&V0R0VRVC0R!N&3A3Axe1nwc!l&993dC99Cc96raN!a&1CD
    E&YYY!F&&vGYx4oGbxSd0nq&3IGbxSGY4Ixwca3AlvvUkbQkdbGYx4ofwnw!&vlx2w13wSb8Z4wS!J!
    c&j1idj2id42rd!X&4I3Ax52r8Ia3A3Ax65rTdCS4iw5o5IxnwTTd32rCST0q&eCST0q&D1!&EYE0!J
    &EYEY0!J0q!x&jd5o32rd4odSS!K&WCVW!Q&31C85d4!k&X&E9!&1!J!v&6A!b&7o!o&1r!j&43r!W)
    {( )T 0 4 3 r put T(/)q{T(9)q{cvn}{s}J}{($)q{[}{]}J}J cvx}forall 270{def}H
    K{K{L setgray moveto B fill}for Y}for showpage
One of the most incredible examples of compactness and obsfucation ever. I have heard that after seeing this entry, the judges were moved to simply end the contest after the first year.


This is what it looks like when printed:

http://i.imgur.com/bvNIH.png




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: