Monthly Archives: November 2012

Site move

Just moved this site to a larger VPS. If you can see this message you’re visiting the new host so the migration was clearly a success!

It should also be accessible over IPv6, although this has yet to be tested.

Calling mysqldump in Python

Python is a fantastic tool to know, and despite being a beginner I find myself using it more and more for everyday tasks. Bash is great for knocking together quick scripts, but when you want to something a little more complex such as interfacing with APIs or other systems over a network, you really need a more fully-featured programming language.

The topic of this post, however, is the kind of task that bash is perfect for. Thanks to mysqldump, a database backup script can be written in a few lines and dump/restores are easily automated. So why on earth would we do this in Python?
Continue reading

Targus Laptop Mat – Buyer Review

While staying with a friend recently I was instantly jealous of his Belkin Laptop cushion. It looked like a great way to chill out with a laptop in the evening while avoiding a hot lap.

While researching the Belkin above though, I came across the Targus Laptop Lap Store Mat, which was almost half the price. There were no negative reviews, so living by the philosophy that if you regret buying the cheaper one you can always get the more expensive one later (poor philosophy, but both are cheap enough to get away with applying it here!), I decided to give it a shot.

Continue reading