New Site 2013

Submit to DeliciousSubmit to DiggSubmit to FacebookSubmit to Google BookmarksSubmit to StumbleuponSubmit to TechnoratiSubmit to TwitterSubmit to LinkedIn

It's been a long time since I last updated the site. 2.5 years have gone by and I love my new job. Working at Massive Entertainment - a Ubisoft studio is basically a dream come true, more on that later. This post will give some detail on all the new bells and whistles now that I've upgraded from Joomla 1.5 to Joomla 2.5.

Click read more if you're interested in my setup and what modules and modifications I've made.

Read more: New Site 2013

YAHTZEE

Submit to DeliciousSubmit to DiggSubmit to FacebookSubmit to Google BookmarksSubmit to StumbleuponSubmit to TechnoratiSubmit to TwitterSubmit to LinkedIn
So I was playing Yahtzee with some people while vacationing in Europe (WHAAAAAT, Yahtzee is a fun game!), and I started thinking what it would take to make a video game of it. I wasn't thinking about making a full release with all the bells and whistles, but just the guts.

Read more for source code.

Read more: YAHTZEE

Why printf et al. suck.

Submit to DeliciousSubmit to DiggSubmit to FacebookSubmit to Google BookmarksSubmit to StumbleuponSubmit to TechnoratiSubmit to TwitterSubmit to LinkedIn
Ok they don't suck, but I have managed to make some improvements on them. I'm currently in the process of rebuilding my personal base library. I'm trying to do it 'right' this time by adding unit tests and making everything simple and readable above all else. I've gotten to the point where I'm writing a String class. In the past I used the C++ style '<<' operators but I find them cumbersome for generating proper formatting. There is a lot of flexibility in the good old printf function (i.e. %10.10s). In this article I aim to show the (minor) deficiencies of the current Printf functions and describe better methods.

Read more: Why printf et al. suck.

Compile Time hashing 2.0

Submit to DeliciousSubmit to DiggSubmit to FacebookSubmit to Google BookmarksSubmit to StumbleuponSubmit to TechnoratiSubmit to TwitterSubmit to LinkedIn
So I'm sitting here, all proud about my success with Compile time hashing, and I'm thinking, does it actually work? Short answer, not so much.

The good news is I fixed it and made it quite useful.

Read more: Compile Time hashing 2.0

Compile time hashing

Submit to DeliciousSubmit to DiggSubmit to FacebookSubmit to Google BookmarksSubmit to StumbleuponSubmit to TechnoratiSubmit to TwitterSubmit to LinkedIn
Have you ever wanted a nice system for being able to reference assets by name but you don't want to pay the price of comparing strings or constantly hashing (crc-ing) strings at runtime?

Now you can have best of both worlds. I've looked into various forms of hashing and making use of different techniques to find the quickest way to hash strings. In this article I'll explain what strategies are usually used and how you can achieve instant hashes.

Read more: Compile time hashing