Underscores are stupid? Get a Japanese keyboard

There was a surprising amount of discussion on Hacker News today on whether or not underscores are stupid, with suggestions ranging from changing key bindings to using the Dvorak layout. Here’s an alternative (although possibly slightly drastic) solution - get a Japanese keyboard: ...

May 16, 2012 · 3 min · Dave Perrett

Back from blogging hiatus

The last year has been a bit of a whirlwind, and saw Emi and I leave Tokyo, travel Asia, Russia and Europe for a couple of months, spend some time back in Australia catching up with family, and eventually take up an offer we couldn’t refuse to co-found a startup in Christchurch, New Zealand. ...

May 14, 2012 · 1 min · Dave Perrett

Hiding ruby gem 'is deprecated with no replacement' messages

I recently installed ruby 1.9.2 via rvm, and suddenly every command started spitting out hundreds of line of deprecation messages : ...

May 21, 2011 · 2 min · Dave Perrett

'405 Not Allowed' error serving Facebook apps with nginx

I’ve spent the last couple of evenings playing around with some Hello World-type stuff for Facebook app development in preparation for an up-coming Facebook/Rails gig. After creating a new app on Facebook, you are presented with the code for a basic starter-page for the app: ...

May 20, 2011 · 2 min · Dave Perrett

Continuous integration for PHP with phpUnderControl

Whenever I start a new PHP project for a client, one of the first things I set up is usually phpUnderControl - a CI (continuous integration) server specifically for PHP built on top of CruiseControl. ...

May 13, 2011 · 12 min · Dave Perrett

Time Out In NZ

I’ve been flat out with a couple of contracting projects recently - apologies for the four-month blogging hiatus! One of these projects (albeit a quickie) was a weekend spent making a rails site for a couple of New Zealand organizations to help the victims of the Japanese quakes and tsunami relocate themselves and/or their children to New Zealand temporarily. ...

May 4, 2011 · 2 min · Dave Perrett

A Christmas present from The Echo Nest

A couple of weeks before Christmas I got a mail from The Echo Nest developer team promising a free T-shirt for filling out a survey : ...

January 5, 2011 · 1 min · Dave Perrett

Simple video remixes using The Echo Nest API

Here’s a couple of remix videos I did earlier in the year using The Echo Nest API. I’ve been meaning to post these for a while, but finally decided to get off my ass and put them up since the folks at Echo Nest were kind enough to send me a T-shirt : ...

January 5, 2011 · 2 min · Dave Perrett

Face detection with OSX and python

I’ve been messing about with face detection for a while, and was surprised how easy it is to get basic detection working out-of-the-box with open-source libraries. Today we’ll look at a simple way to get started with face detection on OSX using python. ...

December 14, 2010 · 5 min · Dave Perrett

Jekyll plugins for categories, projects and sitemaps

2013-03-28 Update : These plugins are now hosted on GitHub I’ve finally gotten around to cleaning up and releasing the source for a couple of the Jekyll plugins used to build this site. You can find them all on the Jekyll Plugins project page, or browse the source. As always, if you come across any problems please create a ticket and we’ll try to get it fixed as soon as possible. Enjoy! ...

December 8, 2010 · 2 min · Dave Perrett