Well, shit.
xkcd’s forums don’t want to let me log in, so I’ll post here.
I was reading this xkcd strip, and curiousity got the best of me, so I wrote a Perl program to decode it. Initially, I came up with junk, until I realized it was 8-bit ASCII, not 7-bit — odd, because it’s a 483-bit code, and 483/7=69, whereas 483/8=60.375, but whatever.
So. Here’s a transcript of the binary code, and here’s the program I wrote to decode it. (Here’s the first draft of the program, and here’s a more compressed version with some amateur ASCII art touches that I formatted for my girlfriend (all three versions are hereby released into the public domain).)
And here’s what the string decodes to:
[572] cuervo@skull ~ $ perl xkcd.pl < xkcd.txt iloveyOuilOveyouiloveyOuilOveyOuiloveyouilOveyouilOveyOuilOv

No comments yet.