From the category archives:

Code

Perl Ain’t Dead…

March 3, 2010

I just stumbled across this whole other Perl eco-system I wasn’t aware existed, which is very much a mirror of the exciting/interesting things going on in Ruby/Python land. I tend to hear a lot about Ruby, and less about Perl, from hacker news and other places so I hadn’t seen any of this new Perl [...]

Read the full article →

Shwartzian Transform

December 24, 2009

I was trying to merge sort a list of files based on their last modified date when someone said to me “do a schwartzian”. Now, I had no idea what they were talking about so off to google I went. It’s basically this (shamelessly ripped from the excellent Wikipedia article):

Read the full article →

Tweetfactor – An experiment using Ruby, Sinatra, Twitter and Redis

December 8, 2009

I stumbled across a blog post by digitalhobbit about building a little Sinatra App on top of the Twitter Streaming API. I followed that guide and made the core of Tweetfactor a couple of weeks ago. Actually getting the thing deployed, however, was pretty involved for me, having never used Rack/Passenger/God etc. etc.

Read the full article →

Kill A Process Using It’s PID File

December 7, 2009

Quick Tip: kill $(cat /var/run/redis.pid) I needed to do that earlier and didn’t know how. EDIT: Turns out you can just do this as well: kill `cat /var/run/redis.pid`

Read the full article →

Using TheSchwartz (Job Queue) with Catalyst

November 2, 2009

TheSchwartz is a job queue module written by the guy(s) behind LiveJournal. It simply allows you to add jobs to a queue, in this case a database, and then have scripts watching the queue (database) and running work tasks when jobs arrive that they know how to deal with. I wrote down how I used [...]

Read the full article →

Open Melody, Homebrew, Catalyst/Mojo and Sinatra.

September 25, 2009

I just wanted to quickly highlight some interesting projects I’ve come across lately… Open Melody Open Melody is a fork of the popular blogging [/social media] platform Moveable Type. Its aim is to be completely backward compatible with Moveable Type but to have a more democratic development style.

Read the full article →

Free iPhone development screencast

August 25, 2009

To celebrate the launch of Mobile Orchard Screencasts they are giving away the first one free for a week. It is a seven minute long screencast about running code on the iPhone. Get it while it’s hot, in a weeks time it’ll cost you $5.

Read the full article →

LWP::UserAgent and SSL

August 21, 2009

I’ve just spent the best part of a day, banging my head, trying to figure out why I couldn’t get LWP::UserAgent to connect to a URL (which happened to be an https url). I was looking at headers, manually in the browser, tried sending the request through a proxy, and finally, earlier today I used [...]

Read the full article →

Become a Perl rockstar… AKA Perl link dump

August 20, 2009

Photo: I’m not a rockstar I’m a poseur. I’m coding quite a lot of Perl again at the moment and I’ve been saving quite a lot of interesting Perl links to my delicious account which I’m going to share with you. They probably won’t make you a rockstar but it might improve your Perl knowledge.

Read the full article →

Textmate and Git

August 20, 2009

If you’ve installed git and use textmate you may receive errors about git not being installed correctly until you do the following: run “which git” on the command line and note the output. in textmate write “echo $PATH” and check to see that the path returned from which git is present – in my case [...]

Read the full article →