Geekiness
I took a computer geek test. Pretty respectable score, I reckon… and I used this Ruby program to decode the ASCII:
str = "49204561742046726F6773"
while c = str.slice!(0..1) do
print c.hex.chr
end
Admittedly, I had to interrupt the program to quit it, since an empty string is not the same as false. But it did give me the answer. This would have been better:
while c = str.slice!(0..1) do
break if c.length == 0
print c.hex.chr
end
I also discovered that the “Convert” Services work directly on text displayed in the browser (useful for ROT13). Cool!
In your face Bannister!
And the average score for girls is much lower than boys so I doubly beat you! W00T!!1
I’m impressed at the Ruby though…. I kinda cheated with that one. Guessed it was one of the last two, due to length and if it was the dummy one the 2nd and 3rd last groups of letters/digits would be the same, so it had to be the frogs one :-). Did I get it right??
Comment by Emma — 1st January, 2006 @ 9:06 pm
Hmm that didn’t work for some reason :-( Ah well, I post it on my blog
http://www.livejournal.com/users/purple_aurora82/14632.html
Comment by Emma — 1st January, 2006 @ 9:11 pm
Re the geek test, see my comment on your blog.
Yeah, it was frogs. Try it out at Try Ruby which gives you a Ruby interpreter right in your browser! :-)
Hmmm… should I update to WordPress 2.0? Maybe not right now. I don’t like the sound of this semi-WYSIWYG post editor, though I believe it can be disabled.
Comment by Michael — 1st January, 2006 @ 11:59 pm
Neater still:
while str.length > 0 do
print str.slice!(0,2).hex.chr
end
Comment by Michael — 2nd January, 2006 @ 12:17 am
I need to set up an rss feed thingy to your blog… goes off to investigate
Comment by Emma — 2nd January, 2006 @ 6:17 pm
Hah, call yourself a geek and you don’t have a RSS reader set up?! ;-) see you tomorrow, not sure I’ll be in as early as you though!
Comment by Michael — 2nd January, 2006 @ 8:00 pm