hexadecimal 20 Hexadecimal Upgraded to Hexadecimal 2.0
I swear I’m not going to comment on every DailyWTF

I couldn’t help myself this morning when I read this and couldn’t stop giggling. See if you can spot the problem.

One time, out of boredom, I wrote a little utility called BitVerifier. It would loop over a folder and check every bit of each file. If the bit’s value wasn’t one or zero, it would prompt the user for the correct bit. At least in theory. I somehow never encountered a file with a “two” bit. But I got one key component right – an understanding of the valid range of values.

Rob K.’s colleague didn’t even get that far.

private static final String[] HEX_STRING_VALUES = {“0″, “1″, “2″, “3″,
“4″, “5″, “6″, “7″, “8″, “9″, “10″, “A”, “B”, “C”, “D”, “E”, “F”};

Some Crazy Reason – The Daily WTF

Oh it get’s worse and you are going to have to read the entire post because of the wacky “solution” to the problem.

p.s. I was searching for a cool hexadecimal image to include with the article and this one came up on Google Image search. Can someone care to explain why?
hexadecimal29 400x2661 Hexadecimal Upgraded to Hexadecimal 2.0

p.p.s. I couldn’t find anything good so I made that one above. Amazing what a little Courier New will do…

In Soviet Russia, Post's Bookmark YOU!!
  • Facebook
  • Technorati
  • Google Bookmarks
  • StumbleUpon
  • Reddit
  • Yahoo! Buzz
  • Sphinn

Glue Huffing Chickens Picked These Posts: