Category Archives: Uncategorized

Time to stand up for Murdoch

I don’t usually go for all this campaigning stuff, but I got a bit swept up in the phone hacking hysteria. From: Speak Out Date: 7 July 2011 23:27:53 GMT+01:00 To: thom@thom.org.uk Subject: Speak Out: Thanks for emailing your MP … Continue reading

Posted in Uncategorized | Leave a comment

Diary of a schwag hag

I managed to accumulate two main things at StackOverflow DevDays Cambridge yesterday: An almighty hangover, courtesy of Red Gate‘s endless supply of free booze in the evening. A huge bag of quality schwag garnered from various corners of the conference, … Continue reading

Posted in Uncategorized | Tagged , , | 5 Comments

Lucene.Net Dot Net

Lucene.Net sometimes gets on my tits. I shouldn’t say that cos we’ve got one really cool site that uses it, and we’re helping build another (hopefully cool) site with it. But it’s one of the .NET ports of a Java … Continue reading

Posted in Uncategorized | Leave a comment

Bring Your Only Bollock

Would be a great name for a testicular cancer support group.

Posted in Uncategorized | Leave a comment

const_missing/method_missing and weird names

Can I somehow convince Ruby to let me use const_missing or method_missing to catch names like 2d20? Not that I want to pile one layer of geekiness upon another, but I’d like to create a nice little DSL for dice … Continue reading

Posted in Uncategorized | Leave a comment

.NET Math(s) Libraries

Does anyone know of a library that provides a numeric class with a good deal of precision and which supports very large numbers? I’m getting an awful lot of infinities out of the standard double type, but really want the … Continue reading

Posted in Uncategorized | Leave a comment

Best Takeaway Ever

I like TiVo, pizza and a nice sit down. If you, too, want to edge towards an early grave in style, you should try Perfect Cuisine. They offer: An 0800 number for delivery orders. Payment by debit or credit card … Continue reading

Posted in Uncategorized | Leave a comment

Pretty Much

One of the nice things about TDD is that you never hear people say things like: It pretty much does what it looks like it probably ought to do. Unless someone’s having a really bad day…

Posted in Uncategorized | Leave a comment

Just When You Get Excited…

…PHP does something stupid. Yesterday, I was all excited with my new code to group a bunch of stuff together. Then I tried to merge together some arrays with objects in them, and came up against this bug. If you … Continue reading

Posted in Uncategorized | Leave a comment

Grouping Array Elements In PHP

PHP’s had array_chunk for a while, which splits an array into groups of a certain size. The Ruby equivalent is each_slice from Enumerator, recently joined by some Rails goodies in the form of Enumerable#group_by and Array#in_groups_of. in_groups_of is just a … Continue reading

Posted in Uncategorized | 1 Comment