Trick question

May 15, 2012

I just came up with a trick question. Let’s see if you can solve it.

Why will 20 become smaller when you add another zero?

Update: Commenters have been very creative. My original solution was to add the zero at the front, yielding “020”, which is 16 in many programming languages. Other solutions are “20^0 = 1” include “0.20”.


September 9, 2010

I just debugged my OpenAL test program for over an hour, and still had not figured out why it would not play the sound file I gave it. Until I saw this line:

const int volume = 0.9;

And I thought that I was at a point in my life where I won’t make these silly errors anymore.

Quick test

August 17, 2009

This is a test post to check whether the planet recognizes my hackergotchi. Do not comment on it, I’ll delete it after the check.

Update: Great work, Dan. Now I can’t delete that post. I could if I wanted but I’m too polite to delete comments, but I’ll close comments now.

Seems like the webpage of the Google Open Source Programs is under heavy load currently: I cannot complete my mentor registration. I could not imagine something like this happening to Google servers…