What’s wrong with this code?

Recently, I was looking at a bug report for an error that would only happen on one operating system. When I looked at the code… I had wondered why no one called this one out: char buffer[128] = {0}; // Some code here memcpy ( buffer, another_buffer, 128 ); // Some more code free (buffer); … Read more

Lego kicks butt

I saw this featured on The Firearm Blog, and it is a parody of “Call of Duty: Black Ops” featuring Legos. Warning, content contains violence and blood and may not be suitable for all viewers:

You are kidding… Right?

This was posted at http://www-cs-faculty.stanford.edu/~uno/taocp.html Rewards The first finder of any error in my books receives 0x$1.00 ($2.56), deposited to their account at the Bank of San Serriffe; significant suggestions are also worth 0x$0.20 ($0.32) each. If you are really a careful reader, you may be able to recoup more than the cost of the … Read more

Ducks take on the six-axis

You know it’s funny, looking at the word six-axis and you see it’s spelt the same forwards and backwards. Enough duh… The game I’m blogging about today is called Super Rub A Dub… This is a cute game that uses the accelerometer from the six-axis controller, the PS3 controller that is, to control the board … Read more