Saturday, August 02, 2008

Random mutterings

Well, it's been a few weeks since I posted, and nothing really significant has happened, but I though I'd post anyway. It's been a warm few weeks - in fact last week was somewhat unpleasantly muggy (I guess like Durban but 10 degrees cooler). Of course, I then made the mistake of suggesting that friends from London should come to visit, and it promptly started poring with rain, and the train lines closed for maintenance.

After getting back from Cape Town, the next weekend was a mad one in London with Carl for the 72-hour ICFP programming contest. This year the problem was to control a Martian rover as it navigated around boulders and craters and 14-fingered Martians. It was a great time, although I didn't enjoy the problem as much as last years, and there was absolutely no feedback on how we rated compared to other teams.

Since then it's mostly just been slogging away at work (although I did get promoted) and doing programming contest stuff. The Google Code Jam is running at the moment, which is an interesting new format.

Monday, July 07, 2008

I came, I saw, I got rained on

The good news: I spent a week in Cape Town and saw some people I hadn't seen for months (unfortunately not as many I would have liked). The bad news: it's rained almost the entire time, and I barely saw the sun. Everyone accuses me of bringing the bad weather with me, but actually it was a glorious few days in Cambridge just before I left. Worse news: it looks like I will, however, be bringing bad weather back with me.

No pictures, unfortunately - there wasn't much picturesque, what with being inside out of the rain the whole time.

In other news, Terminal 5 is pretty much as I expected: well planned out in terms of being quick and pleasant to check in and minimal hassle at security (apart from the first metal detector I've been through that considered my wrist-watch a threat to world safety), but shops aimed more at the jetsetter than a low-budget geek like me.

Friday, June 27, 2008

The Java Embassy

Today at work somebody mentioned seeing that somebody at Sun had the job title "Java Ambassador". This lead us to thinking about whether there is a Java Embassy in London, and if so, how it would work. I've expanded on that to bring you an alternative to that old classic, how to shoot yourself in the foot:

Java embassy: let's say you work in the embassy and want to adjust the height of your chair. Chairs are immutable, so instead you order a completely new chair, which is higher than your old chair. When it arrives, you leave the old chair lying around. Eventually, when the building is too full of chairs, work stops for the day while the garbage collectors go around and throw away all the chairs that aren't in use. Visitors to the embassy are not scanned for weapons or cameras; instead, they are put in straitjackets and blinkers to make it impossible for them to do anything illegal.

C embassy: you're supposed to obtain forms from the central office, complete them, and return them. However, if you forget about a form, it will lie around the embassy forever, and will never be touched just in case you're coming back to finish it. Eventually, the embassy will collapse under the weight of the incomplete forms.

C++ embassy: similar to the C embassy, except that some forms will self-destruct if you leave the embassy, making it easier to prevent space shortages.

Python embassy: every single item (including a pen) has a big piece of paper attached to say what it is and how many people are using it. Every time you want to use a pen, you have to order a new pen, use it to write something down, then throw it away. When it was discovered that this is inefficient, management decided to keep around pens for a few common colours. Also, the staff tend to dress strangely and say things like "this passport has expired and gone to meet it's maker. It's bleeding expired."

Functional programming embassy: this embassy does not maintain any long-term records at all. However, it's very simple to find your way around: every embassy is either empty, or consists of one office and another embassy.

Perl embassy: this is the ugliest embassy in the neighbourhood, with all kinds of bits glued on and strange corridors that don't always go to the same place. In spite of this, it's usually possible to get things done. If you ask for directions, you're probably be told, "well, the simplest way is to go up three flights of stairs, to the end of the corridor, then take the lift. Or, you could walk around the outside, in the unmarked door at the back, then left. Or if you know how to read this map, you can look around for something that matches it. Or, ..."

Ok, that's all my ideas for now, but add comments!

Monday, June 09, 2008

It burns us!

Wow, time flys. Then again, so does a banana, if you throw it hard enough.

So, things have been happening. I've been to two formal halls in Cambridge. One was quite large and had a high table way up at the front where they muttered some Latin at each end of the meal. The other was crazy-small - just our group of about seven plus about three others, and none of the ceremonial stuff.

Yesterday the weather turned out beautiful. One thing about the English weather is that being generally crummy, you really appreciate it when it's nice. We went punting for about 5 hours, had a picnic on the punt (wasn't anywhere that nice to get out at the time), and I managed to get sunburnt.

Tuesday, May 13, 2008

Down and out

Semifinal: I wasted lots of time on a 950 (means that it should be easier than the usual 1000, but wasn't), and didn't have quite enough time to discover the bug in my 550, and as a result went into the wildcard instead of advancing directly.

In the wildcard, I got shafted by another poker problem, which took me ages just to understand and longer to debug, and I went in with the wrong structures for the 1000, so I'm out of that too.

Las Vegas is the same as last year: gawdy and not much to do unless you're a gambling addict, and I'm stuck here for two days after the TC stuff ends. As you can guess, I'm not in the best mood at the moment. The single cloud on the horizon is that I'm spending a lot of what's going to be left of my prize money on going to see Spamalot on Friday.

Down in the park

If a year ago you'd told me I'd get sunburnt in England, I would have laughed at you. Not any more. As the first leg of getting to Las Vegas for the TCO 2008, I stopped off in London and spent the day with Carl. The weather in England has glorious (which means 25° plus). We spent the afternoon just picnicking in Richmond Park, which is absolutely huge and, unlike Cambridge, has some geography. Somehow we managed to meet up with some friends of Carl's, starting from instructions like "we at a pond".

After that it was off to the Las Vegas. The transatlantic flight was heavenly, since it was basically empty and I could get 3 seats to a row to myself for some shuteye. And even though it was late, I still have enough time to make my connection without panic, and all my luggage arrived. So it's a good start all round.

Sunday, May 04, 2008

Birthdays and things


Last weekend I had a birthday party, which I try to do approximately once a year. Carl and Mike came up from London, and Much Fun Was Had By All. We ended up playing Jenga (or rather, a knockoff Eastern European copy my parents brought back from their trip), and we succeeded in building a maximal tower, shown right.

This weekend is a bank holiday weekend, so various people invited friends from London to visit Cambridge, and the weather was nice enough to go punting. I'd been once before, but didn't actually do the punting. This time everyone took a turn, including me. It looks pretty precarious standing on the back of a wobbly punt, but it's actually surprisingly hard to fall in. At one point I got too close to the bank and was nearly taken out by an overhanging tree, but still managed to keep my balance.

Friday, April 18, 2008

A stitch in time saves how many? ... London.

The title is a reference to Father Ted, which of course everybody should watch. It's also appropriate since this post is about 2 weeks late, and I forgot to take my camera to boot.

Yes, a trip to London on a Saturday. This turns out to be an expensive proposition, considering that it takes as long to get from Cambridge to London as it does to get from there to the other side of London. I only went for the day, since day returns are about half the price of other tickets. It started off with a visit to the British Museum, which those who know me will know is not my usual cup of tea. But Carl wanted to go see the Terracota Army, so he paid for a ticket for me too (after queueing for 3 hours), and it was rather good. If you haven't read Pratchett, then to fill you in: the first Emperor of China had serious issues with death, and he was buried with 7000 terracota people to run his empire in the afterlife: footsoldiers, archers, cavalry, wrestlers, acrobats, civil servants, the works.

After that it was the London Eye, to look around and go "what's that big building? I don't know." It was nice to just chill out and do nothing for a while. Then we headed off to Carl's shared house in Wimbledon (one of his housemates and her boyfriend where with us for the day). I've been told how Wimbledon is basically Little South Africa, and it didn't take much to convince me when I get off the train and in the station, where you'd normally except to see a M&S or a pie shop, there is a South African shop selling biltong and boerewors rolls. It made me positively homesick.

Dinner was homemade pizza, preceeded briefly by some writing collaboration with Carl (together with Marco we submitted a description of the South African Computer Olympiad to a programming contest conference). Then back to Cambridge, a long, slow process: first an overland train to Farringdon station (the English have such, well, English ways of naming things), then a tube to Liverpool Street, then wait around half an hour because the incoming train from Cambridge is late (apparently there was a "security alert" in Cambridge), then an hour or so on that train, then stand around for 10 minutes because I'd missed the bus I'd been planning for, then about 20-30 minutes on the bus home.

Since then, not a whole lot of news, although I have booked flights home (and back) for early July.