Skip to content

Category Archives: Technology

Things Technological

Ruby Tuesday

Except it’s Monday. So today I am working from home in order to bootstrap my brain quickly up into a better understanding of Pig. First order of business being to install it locally. A quick Google and I find a number of resources talking about how to install Hadoop and Pig, two of the top […]

First World Problems

So we have installed Rocki units in three rooms in the flat – the lounge, the bedroom, and the library. I just started playing a Clannad album from my laptop to the speakers in the lounge. Much to my bewilderment, a moment later a different album started playing in the bedroom. I thought it may have been […]

A Java Development Manifesto

I wrote this some years ago, mainly aimed at our java devs, but I think it comes close to my personal manifesto for coding in general. 1. Small Pieces, Loosely Connected. In order to attain the sort of performance we need from (our product), and in order to be in a position to respond quickly […]

Passwords definitely considered broken

So we have news of yet another major slurping-up of poorly secured credential sets. A column at the Guardian talks about all the usual measures that can be taken to more-or-less protect your multiple identities, but once again misses the two subtle and deeply geeky issues that underly this breach. First off, we can guess that […]

Singletons considered harmful

Ok, I know it’s not a new observation, but the Singleton pattern must be one of the most overused, and abused, patterns that the Gang Of Four described. This is on my mind this week as I’m working on a body of code that has way too many Singletons. I must emphasise that ultimately it’s […]

Journalled Out

I’ve been thinking in recent days that I could use something journal-ish. There are two aspects to this thinking. For one, I tend to accumulate documents and links to things that will probably be useful someday, or I want to remember short-term, but they get smeared everywhere. Bookmarks across several machines and browsers, text documents […]

A Certain Quality

Java is not the best of languages. There are plenty of languages better for particular niches or uses, and it’s littered with annoyances and prone to abuses. So are C, COBOL and Fortran. But it’s good enough almost always, and the environment that has grown up around it has made it a useful language for […]

Java 7 JDK on Mac OS X

This is one of the things that Apple should be kicked in the shin for. There is no excuse for continuing to completely foul up Java installation on Mac OS X If you are like me, and trying to figure out how to get the Java 7 JDK installed on the latest build, here is […]

On Testing

I really should do a write-up about the CI and code quality infrastructure that I’ve set up, as in recent months it’s really started to pay off for the considerable effort it’s cost. But that’s not what’s on my mind today. Rather I am struck by how easy it is to really stuff up unit […]

Deserialising Lists in Jersey Part II

or “Type Erasure is not your friend” The solution I outlined in my previous has one big drawback (well, two, actually): it does not work. The trouble is that the approach I suggested of having a common generic function to invoke the request with a GenericType resulted in the nested type being erased at run […]