January 2009

27 TUE January 2009 1:15 a.m. (+1300)

script/dbdump command for Rails

I've just published a tiny Ruby on Rails plugin that adds a script/dbdump command. Like script/dbconsole, it reads your database configuration from config/database.yml and runs the appropriate mysql/postgresql/sqlite program – but rather than running up a database console it does a database dump. See the README at the above page re password options.

22 THU January 2009 1:55 a.m. (+1300)

Of the many awesome things on the net

Birth of a supervillain wins for today.

13 TUE January 2009 10:48 a.m. (+1300)

Web Directions Survey

This survey of web developers from the end of 2008 by Aussie-based Web Directions South gives an interesting snapshot of what people are using, somewhat bent towards what people are using in Australia and New Zealand. Brief summary:

11 SUN January 2009 11:25 p.m. (+1300)

Medical advances

Nat Torkington: linked to a ‘Annals of Medicine’ article in New Yorker which is fascinating for two reasons, firstly for the amazing stories of (for example) reanimating people after they've been underwater with heart and lungs stopped for quite some time – but secondly for the discussion of saving a substantial number of lives using a simple and nearly free technology, once thought unnecessary, used first to greatly improve the fatality rate in military aviation, but still meeting considerable resistance (I suspect partly due to the fact that no-one makes any money off it). The technology? Checklists.

6 TUE January 2009 11:26 p.m. (+1300)

Shouting at hard disks

This video of Brendan Gregg shouting at his RAID arrays is geek-crazy – apparently the vibrations induce a detectable increase in write latency:

5 MON January 2009 1:04 p.m. (+1300)

Macports tsung build

The macports build of tsung is currently failing here because the SVN checkout is from an HTTPS url with an invalid certificate. I've submitted a Portfile change to use the HTTP tarball, which fixes the problem.

Recent photos

Donkeys carrying the everpresent JPG bottles Orange tree Chefchaouen steps Traditional Moroccan silly hats Berber man Doorway of our hostel Sight of the Kasbah from our accomodation's roof Bessara, awesome olives, question mark More

About me

I'm a Wellington, New Zealand-based software consultant, cook, traveller, and progressive house devotee.

Need to get in touch? Try me at my public email address, or by phone at +64 21 655 443.