Archive for January, 2010

I’m glad you liked the geek book, honey… it really screwed up my Recommended Items list on Amazon

Wednesday, January 20th, 2010

A cartoon representing a true moment from Christmas 2009.
Thanks Coxy.

How to Unit-Test for Expected Exception Thrown in Simpletest - *The* Answer

Saturday, January 16th, 2010

I keep forgetting how to assert that an Exception is going to be thrown in Simpletest version …

Creating a PHP Subclassed Singleton to Apply Fowler’s “Introduce Null Object” Refactoring

Saturday, January 16th, 2010

I found a need to implement the “Introduce Null Object“ refactoring procedure that is …

Prioritising URL Normalization Steps for Search Engine Optimisation of a Legacy Site

Friday, January 15th, 2010

I have skimmed through a paper on normalization techniques (by Sang Ho Lee, Sung Jin Kim, and …

PHP - Getting __sleep to return all properties of an object

Monday, January 11th, 2010

If you write a custom __sleep() magic method for a PHP class, you are expected …

Checking if an object has been serialized in PHP

Monday, January 11th, 2010

I had a class that relied upon an object’s spl_object_hash() which the PHP documentation states …

Idea: Make Your Own Defrost-Monitor To Check Your Freezer Works Constantly While You Are Away

Monday, January 11th, 2010

I have been away from my house for a few weeks and have just pulled some food …

Don’t forget the humans when building the semantic web!

Thursday, January 7th, 2010

I’ve been watching the progress of the semantic web for a few years now.

The idea of building …