Tag: $work

  • Offices, sewage and disaster recovery

    Yesterday was an interesting day – a sewage pipe that runs through the office wall apparently got stressed with the amount of rain we’ve had recently, and sprung a rather good leak. One moment it was a nice dry office that didn’t smell too bad, and the next minute the sales guys were moving desks…

  • ADODB, PHP and transactions

    I ran into an interesting glitch (and that’s not for lack of a better term) in the ADODB library for PHP today. ADODB is a DB abstraction layer, allowing me to change the underlying DB engine without caring (much) about the code I’ve written. Change the driver name, perhaps the connection string, and everything should…

  • Date::Parse and str2time

    While working on the web-proxy component of $dayjob’s software, I ran into a silly glitch with Date::Parse’s str2time() function. str2time converts string formatted timestamps (Thu, 13 Oct 94 10:13:13 -0700 for example) into epoch seconds (the number of seconds since a certain point in time in 1970) – very useful when working with the Last-Modified…

  • Winter Arrives, 2005

    Well, winter is starting to make its presence known in the Midlands. Temperatures have been dropping below freezing at night, and today was the first snow in this part of the Midlands. The forecast for today didn’t even include snow, but such is the life of a weather forecaster I guess. Can’t be much more…

  • 25% of disk used

    At $work, we’ve been running very tight on disk space for a few months now. So tight that we’ve had to regularly drop data out of the tables and store it offline, in the hope that we can restore it later. Luckily it’s only mail transaction logs, but they’re still fairly important. I campaigned via…

  • Fun with mod_rewrite

    In an effort to make the software that I write for $dayjob a bit more pleasing on the eye URL-wise, I started converting my code to use what is commonly called SEF (Search Engine Friendly) URLs. Not that a search engine will ever hit the administrative interface mind you. I decided to use Apache’s mod_rewrite…