The home of some stuff that I wrote and put up on the web for someone to maybe come along and read. Hello!

Bloggerings [ More → ]

Securely Importing and Exporting CSV with PostgreSQL

Many moons ago, I posted a surprisingly popular answer on StackOverflow regarding how to write to CSV files using PostgreSQL. The answer, in a nutshell, is the COPY statement. But there’s a catch – PostgreSQL imposes strict security limitations on the use of this statement, which are best dealt with using another feature, the SECURITY […] [ → Read Me ]

Reasons to support same-sex marriage – the short version!

I’m quite pleased with my blog post about why legalising same-sex marriage is the only logical option. It took me ages to finish, and I think it’s quite thorough. But at over three thousand words long, it’s not exactly bite-sized! So here I present its boiled down essence, in the form of an imaginary dialog. […] [ → Read Me ]

Why legalising same-sex marriage is the only logical option

Ever since a friend posted a quote on Facebook from this article about same-sex marriage by Archbishop John Sentamu, I’ve had a lengthy analysis and response drifting through my mind. The government consultation ended on the 14th of June, and they’ve indicated they intend to press ahead with legalisation, but the debate is still very […] [ → Read Me ]

REAMDE: A Review

For my birthday, my sister’s fiancé gallantly lugged all the way from California a pre-publication copy of Neal Stephenson’s latest novel, “REAMDE”. At just short of a thousand pages, it must have taken a fair chunk of his luggage allowance, and like a 3-hour movie, you can’t help but feel that a book that long […] [ → Read Me ]

Cached Redirects Considered Harmful (and how browsers can fix them)

There are a lot of URLs out there on the Web; and a pretty big number of those URLs are either alternative names for something, or old locations that have been superseded. So “redirects” from one URL to another are a common feature of the web, and have been for many years. But recently, the […] [ → Read Me ]

Why I Hate Shopping

I’ve never been very good at spending money. I’m lucky enough to have always had money to spend, but it often ends up sitting in the bank, unused. It’s not that I don’t know what I want or need to spend it on – for a geek, I have remarkably few shiny gadgets – but […] [ → Read Me ]