AaronCrane.co.uk

Archive for 2009

All Tomorrow’s Parties

Last weekend, I was at the All Tomorrow’s Parties festival in Minehead. It’s unusual as music festivals go: it’s held in a holiday camp, which is great for those who, like me, find that the pleasures of actual tent-in-a-field camping are no match for those of beds and indoor plumbing.

More…

Showing your Git branch in your shell prompt

One of the great things about Git is that it makes branching and merging so simple as to be a delight, not a chore. One of the consequences of that is that you tend to use far more branches than you would if you were using a lesser revision-control system. Which can make it easy to forget which branch you’re on at any given moment. So wouldn’t it be nice if you had a simple, easy-to-see reminder of where you are, visible at all times?

More…

Perl safe signals

Once upon a time, handling signals in Perl code had a pretty big gotcha — one that you couldn’t work around. Perl 5.8 changed signal handling in a way that eliminated that gotcha, but replaced it with a different one, harder to trigger, but no less surprising.

More…