[ Content | Sidebar ]

Archives for July, 2012

Rochester Castle

I had some surprisingly well-timed holiday booked this week so I decided to visit a nearby(ish) castle at Rochester. The last time I came here I was a small child and all I remember is being terrified by how tall and massive it was. Some shrinkage has occurred over the last twenty years. Still it’s […]

Two for the price of one



Got this really cute hemp chalk bag. Climbing is all about the fashion.

Automagic Debugging

It’s kind of annoying to have to go back and run GDB after your program crashes. Here’s a signal handler I’ve been using which drops you into GDB straight away: static void gdb_sighandler(int sig, siginfo_t *info) { char exe[256]; if (readlink("/proc/self/exe", exe, sizeof(exe)) < 0) { perror("readlink"); exit(EXIT_FAILURE); }   char pid[16]; snprintf(pid, sizeof(pid), "%d", […]

Red Flowers, Big Stone

Title says it all: some red flowers in a field last weekend: I don’t know what sort they are :-(. Also a big stone in a place appropriately called Ibstone: Wikipedia thinks the stone is marking the Bucks/Oxfordshire border, which is a bit mundane. Also I’ve decided that driving is among the most stressful and […]