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 → ]

Towards a consistent PHP type checking system

For most of its life, PHP has been a “weakly” typed language: values can freely shift from one state to another, and mould themselves to what an operation requires; or, in the case of objects, largely duck-typed: you don’t need a formal contract to call a method. There is, however, a trend in the language […] [ → Read Me ]

Voting reform won’t stop us getting an answer we don’t like

Although I’ve thought about it for a long time, I find myself increasingly unsure about electoral reform, and questioning much of what is being said after Thursday’s election. I’m certainly no fan of the current system, with its awkward patchwork of safe seats and local tactical battles; and I’m distinctly unhappy to see the Tories […] [ → Read Me ]

Is Facebook a community, and other pressing issues of social governance

I’ve long been fascinated by the social challenges of online communities, and how they mirror and differ from “real life” societies. I was recently pondering this with regards the Facebook “real names” policy, and whether it was necessary, or at least reasonable, for them to assert that level of control. Then I was reading about […] [ → Read Me ]

Losing our way in the tapestry of religious debate

We live in a time where there is a lot of debate about religion - is it a force for good, or for bad? Is belief in a supreme being fundamentally less enlightened than acceptance of the scientific consensus? And so on. But a lot of the arguments on both sides are poorly thought through, and make fundamental errors of logic, or simply overstate their case to get attention. I think a large part of the reason for this is that "religion" covers such a complex web of ideas, that arguments that start at one point in that web get snarled up in other parts, where the original argument no longer makes sense. [ → Read Me ]

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 ]