June 2007 Archives
It’s wonderful how small things can remind you of distinctive times in your past. A couple of weeks ago, while down in London, I was lying on my hotel bed when The Field Mice’s “If You Need Someone” started playing on my laptop. It triggered a set of memories all at once and the whole feel of 8 years ago when I first heard that song. I was in my second year at university and among my friends I was the one who’d first gone and spent my £15 on the completely untested Field Mice best-of. We’d missed their heyday, but tweeness was of the zeitgeist as evidenced by Belle and Sebastian, and hell, best-of’s have their own mystique in the right situation. My memories of that time are so distinctive - a second, more confident year in college, nights at the Q Club, discovering My Bloody Valentine and Stereolab via the college CD library, sleeping in, “getting” quantum mechanics, reading Snow Crash, playing Goldeneye, doing the radio show… It was a golden time for me, and in the traditionally cliched way, that’s something I’ve only appreciated via the magic of the retrospectroscope.
Anyway, how have the last 8 years gone? Pretty good, I think. One pair of friends have passed through the first phase of London life and are now very sensibly rating happiness and cartoons above power suits, consultancy and paperclip shuffling. Another set have two kids and despite being stuck in Norwich for the time being, seem very happy about it. The unique entity known only as Harris has all the patent law he can eat and an allegedly wonderful girlfriend. I’m much more out of touch with others than I’d like to be — seeing them will be a high point of the wedding for me.
And me? I think I’ve landed on my feet at the IPPP - it gets me among theorists without having to do any explicit calculations, which is absolutely ideal. Also, switching my focus within the field has given me a research topic much more attuned to my tastes. At some point I have to reconnect to experimental collider physics: that’s my main career concern at the moment, aside from the usual postdoc/late-20s nagging doubts that surely I should have done something wildly significant by now / why is my salary still rubbish? / should I be doing something more socially responsible? / etc. etc. Durham is a lovely place to be, though a bit far from decent rock climbing, short on genuinely good restaurants and completely devoid of any music scene to get involved in… well, I’d still rather be here than in Cambridge. And I’m getting married in a mere 6 weeks: enough said.
This reminiscing is probably, at least in part, triggered by the rapid approach of the 10 year anniversary of leaving school and going to university. More significant was leaving Northern Ireland and discovering people in Cambridge who actually thought the same way as I did… always a troublesome point up till then. The result for me has been that I’m a much more rounded and confident person than I was while at school… and I think more than I would be if I’d spent the last decade in Belfast. Meanwhile, my school has continued in its lamentable tendancy to disappoint me, by perverting the opportunity of a 10 year reunion into a seated formal dinner with little opportunity for catching up with anyone who I actually want to see. I suspect I’ll not be going, which is a shame since I’ve been secretly looking forward to it for about the last 9 years! My hope is that, much as Cambridge life was such an improvement on my life at school, the Churchill College reunion will be a step up from the Campbell one. It shouldn’t be hard.
Posted by Andy Buckley on Jun 04, 2007
A couple of years ago, I taught myself some rudimentary PostScript programming from Bill Casselman’s brilliant Mathematical Illustrations book. PostScript is excellent fun, and I thoroughly recommend it to all weirdos with an interest in stack-based graphics programming.
Recently, while fiddling with MetaPost (another perverse but entertaining graphics language), I remembered using Python and PostScript to create a nice Bezier curve approximation to a cycloid. This was before I discovered PyX, which does that sort of thing for you, and it’s a very illustrative exercise - but my not-quite-right first attempt actually produced a fascinating and very pretty result:

For those who’d like to look at the PostScript source or who just like zooming in arbitrarily far into vector images, here’s the PostScript version.
While the code that produced it is long gone, I’m happy to still have the result. Only mathematical illustrations can produce such satisfying errors… and just imagine what someone talented and artistic could do with the right mathematical/programming knowledge.
Posted by Andy Buckley on Jun 06, 2007
I’d be an idiot if I claimed to be an expert on current affairs, but surely I’m not the only one who finds the current British political obsession with “international terrorism” a bit odd. Today’s main news is that Gordon Brown is determined to introduce more anti-terrorism laws when he becomes Prime Minister - the usual fun laws like arbitrary detention without trial, use of phone tapping evidence in court etc. etc., with a good dollop of haziness in case anyone tries to hold him to anything specific later. As far as I can remember, the last and only terrorist attack on the UK since 9/11 was the 7/7 London bombings. That’s it. A variety of dodgy characters have plotted two-bit schemes that came to nothing, and well done to the security services for stopping them… but that’s it. Now, I’m not so keen to play the I-come-from-Belfast terrorism superiority game, but for me one attack doesn’t really justify 6 years of anti-terrorism obsession and Muslim-baiting. Especially not when much of said terror has been self-inflicted and our authorities have proven stunningly bad at actually making Islamic communities feel more integrated into British communities - in that respect we’re really a long way behind where we were 10 years ago. (I should clarify that I’m so naive as to think that there isn’t a genuine problem with Islamic extremism and its attitude to Western society - it’ll take more than a few lefty-liberal-intellectual “hug a Mahmoud-ie” (sorry) blandishments to sort that out.)
So why is more surveillance, more draconian internment laws and more money for anti-terror squads actually a popular thing for Brown to say? After all, he’s on a charm offensive at the moment - if this wasn’t an accepted good strategy to win the hearts and souls of a significant chunk of the British population, he’d be keeping schtum about it. So we must like being scared, of being told perpetual stories about the International Islamic Terrorist Boogeymen, ten feet tall with flaming breath and beards full of anthrax… even when the public evidence is that we’re not really as endangered as we’re being told. Undoubtedly there’s a lot that the we aren’t being told, but based on the hard, factual evidence, there’s very little reason for all this excitement and hurried re-writing of the pointy end of our criminal law system. That we’re not complaining about this indicates a very sad state of affairs for British political life - I’d like to think that I’m not a rock hard cynic, but all this seems to indicate that our leading politicians must genuinely like a confused and scared population. Maybe not such an unpopular view among loony conspiracy theorists, but it worries me that current affairs are making *me* take it seriously.
Anyway, that’s how these things look to me, and I get the feeling it’s not a mainstream view at the moment. If someone well-informed and educated in modern history, with a talent for spotting wide political trends happens to read this, then please set me straight :-) Compare the modern threat in Britain of Islamic extremist terrorism to current day Iraq, or Palestine, or Sri Lanka, or even as close to home as Belfast from 1968 until the mid-90s: we are not really so badly off, are we? Certainly, it seems to me, major extensions of police powers should not be made until terrorist action becomes a real everyday threat rather than a smoke and mirrors game played on us by the media and our political masters. We should get informed, and we should ask our MPs what the hell is going on.
Posted by Andy Buckley on Jun 03, 2007
The Sunday Times yesterday ran a story on Cambridge “night climbing” - the idiotic pursuit of climbing beautiful old university buildings and hanging your pants off the top. I’m a long-term advocate of this sort of silliness, so I was asked to come down to Cambridge a month ago and climb a few things with photographers in tow: the result was an article with a bunch of excellent photos (mostly not of me, thank goodness). I also got a few quotes in, and a plug for my Night Climbers of Cambridge online book - no URL, since apparently the ST is in state of denial about the existence of the Web.
Since there aren’t any photos in the online version of that article, here are some for your entertainment - thanks to Jan Stradtmann for letting me use them:

These photos are (I think) copyright Jan Stradtmann - contact him if you want to reprint or generally reuse them.
Posted by Andy Buckley on Jun 11, 2007
Oh dear. A couple of days ago I tried to write the word “myself” and ended up with ”mysqlef” instead. Added to the fact that I’ve found myself ending sentences with semicolons, this does not bode well for my future as a well-balanced member of society…
Posted by Andy Buckley on Jun 17, 2007
As of version 1.5, or “5” as the marketing people have it, Java has been equipped with covariant method return values. Not a particularly obvious name, is it? What this means is that if a method of class Base returns an instance of class RetBase, then a derived class of Base (let’s call it Derived) can implement a method with the same signature which returns a derived class of RetBase, rather than a RetBase itself (let’s call it RetDerived).
All very well, but does this solve any problems? Well, undoubtedly there are cases where a derived class would like to be able to specialise the return type of a method specified in its superclass/interface. One of these is the “self return”, which I’m particularly fond of. This is essentially a trick to allow several lightweight method calls to be conveniently chained into one statement, which can be nice when all you’re doing is using a bunch of property setters and it’s arguably more readable to have them all on one line for once.
Continue Reading…
Posted by Andy Buckley on Jun 27, 2007