Archive for January, 2008
Awful code I’ve written today
$row = $table->tr(); if(!($amIAltOrNot = !$amIAltOrNot)) { $row->class = "alt"; } // Edit: Much better now $row = $table->tr(); $row->class = ($amIAltOrNot = !$amIAltOrNot) ? "" : "alt";
Now with added Slicehost
This website is now hosted on Slicehost (along with section99.net). It’s a little early to know how it will turn out, but so far I’m loving having not only a shell, but root access. Signing up was completely painless and the the VPS was provisioned within minutes with several different operating system options (though I’m [...]
More useless PHP – Inplace Reverse
Code <?php /* PHP implementation of a common programming problem: Reversing a singly linked list */ error_reporting(E_ALL | E_STRICT); // This is our basic node class WordNode { public $word; public $nextNode; [...]
No More WoW Complaning
I’m not allowed to complain about raiding any more. Went to Zul’Aman a couple of weeks back, after a few tries took down the first boss, and then a couple of tries on the second boss, but things didn’t go so well (I kinda wiped the raid). Also did a Kara run with 7 guildies [...]
