January 2012
5 posts
Wat — Destroy All Software Talks →
this isn't happiness.: William Safire's Rules for... →
nevver:
Remember to never split an infinitive.
The passive voice should never be used.
Do not put statements in the negative form.
Verbs have to agree with their subjects.
Proofread carefully to see if you words out.
If you reread your work, you can find on rereading a great deal of…
Board Game, Lessons Learned, Draft Three
Played the Space Cat board game for reals for the first time: start to finish. Rules were actually read as printed out, we used actual pieces and drew actual cards. Few things emerged:
It was too easy to move into trading the expensive units, and the cheap units were almost more of an annoyance than a resource. SOLUTION: Start with less (batteries), so it takes a little more effort to trade up.
...
Quick timezone format converter (Drupal to WC3)
// Convert timezone from second in Drupal to WC3 standard
function timezoneConvert($val, $toSeconds = false) {
if(!$toSeconds) {
// Starts like: "-28800" and becomes: "-08:00"
$sec = substr($val, 1);
$hours = intval(intval($sec) / 3600);
$minutes = intval(($sec / 60) % 60);
$w3cTZ = substr($val, 0, 1) .
str_pad($hours, 2, "0", STR_PAD_LEFT) .":".
...