Hello

I live in the UK. I'm old enough to know what it sounds like when a modem screams. I founded Audioscrobbler which evolved into Last.fm. Spent some time building a music content resolver, in the golden years before the garden walls went up. Learned a lot of Erlang writing the IRCCloud backend, and wrote about how I connected a million clients to an erlang server, back when that was impressive. Occasional consultant. I'm currently dabbling in some gamedev in Rust.

Latest Articles

10 years later…

I have dragged my blog, kicking and screaming, into the era of media-queries and responsive CSS. So now it’s readable on a variety of screen sizes. My first post was roughly the same year the iPhone 3G came out I...

How we use IRC at Last.fm

Everyone that works at Last.fm is typically connected to our IRC server. We have different channels per team, as well as a company-wide channel, and a few channels dedicated to automated monitoring.

Updated bash PS1

Made a minor tweak to my .bashrc after browsing dotfiles.org for some ideas. One neat trick I gleaned was detecting when the exit code of the last command ($?) was non-zero and altering the prompt. This will be useful for...

Reading Serialized PHP Objects from Erlang

I started writing some Erlang recently. The vast majority of data I need to access from Erlang resides in cached, serialized php objects. Here’s what I came up with to turn a serialized php object into a sort of nested...