Geeks With Blogs
Caffeinated Coder A Grande, Triple Shot, Non-Fat Core Dump by Russell Ball
01001000 01101111 01110111 00100000 01100100 01101111 00100000 01111001 01101111 01110101 00100000 01101011 01100101 01100101 01110000 00100000 01100001 00100000 01110000 01110010 01101111 01100111 01110010 01100001 01101101 01101101 01100101 01110010 00100000 01101001 01101110 00100000 01110100 01101000 01100101 00100000 01110011 01101000 01101111 01110111 01100101 01110010 00100000 01100001 01101100 01101100 00100000 01100100 01100001 01111001 00111111 00100000 01000111 01101001 01110110 01100101 00100000 01101000 01101001 01101101 00100000 01100001 00100000 01100010 01101111 01110100 01110100 01101100 01100101 00100000 01101111 01100110 00100000 01110011 01101000 01100001 01101101 01110000 01101111 01101111 00100000 01110111 01101000 01101001 01100011 01101000 00100000 01110011 01100001 01111001 01110011 00100000 00100010 01101100 01100001 01110100 01101000 01100101 01110010 00101100 00100000 01110010 01101001 01101110 01110011 01100101 00101100 00100000 01110010 01100101 01110000 01100101 01100001 01110100 00101110 00100010

An oldey but a goodey. I personally would have thrown an FingersSwollenLikeRaisinsException after just an hour, but who am I to judge?

Thanks to Rob Conery's shenanigans for inspiring this thigh slapping good time.

In case your binary is a little rusty, here is a snippet of Boo code that will do the translation for you (posted by Ayende on alt.net newsgroup). You can simply paste it into a Boo project using the SharpDevelop IDE or quickly translate it yourself to C#.

code = "1110000 1100101 1100001" #paste binary data here
words = code.Split(char(' '))
for word in words:
    System.Console. Write(cast( char, System.Convert. ToInt16(word, 2)))

Of course, you can also google for binary converter web pages, but what fun would that be?
Posted on Friday, October 26, 2007 12:15 AM Musings, Rants, and Humor | Back to top


Comments on this post: Binary Humor

# re: Binary Humor
Requesting Gravatar...
It's alright. I tried some binary converter pages first and they didn't work. So I wrote the console application. Nothing like a good translator... :D
Left by Robz on Oct 26, 2007 9:47 AM

# re: Binary Humor
Requesting Gravatar...
Here's a powershell one-liner (only slightly cheating). $code is a string of the above data.

24> $code.Split() | %{[char]$s = [System.Convert]::ToInt16($_,2);write-host -NoNewline $s}
Left by James Pogran on Oct 30, 2007 10:51 PM

# re: Binary Humor
Requesting Gravatar...
@James - Well Done! I had it in my mind to work on a PS 1 liner for this as well, but then I got distracted with other things. Thanks!
Left by Russell Ball on Oct 31, 2007 8:43 AM

# re: Binary Humor
Requesting Gravatar...
It doesnt work on the web page converters because dingus forgot the leading 0 on all his binary words.
Left by Boo on Nov 02, 2007 1:23 PM

# re: Binary Humor
Requesting Gravatar...
Doh! Truly I am dunder head. The binary has been fixed.
Left by Russell Ball on Nov 08, 2007 8:21 PM

Your comment:
 (will show your gravatar)


Copyright © Russell Ball | Powered by: GeeksWithBlogs.net