Sunday, July 27, 2008


Humidity gathered all weekend. Today it was very sticky indoors, but quite pleasant when cycling (getting some sort of air movement). Went for a long spin, trying not to get caught up in the stream of London-to-Cambridge riders.

Later this afternoon, I spent a while staining the bits a cheap and cheerful pine book-case from Homebase, dripping sweat copiously in the still air in the garden. Putting the bits in the greenhouse so they could bake dry was like stepping into a sauna.

Meanwhile the cats were just lying around half-melted on the patio, watching me in a bemused sort of way.

Fell exhausted onto bed a bit before 18:00, in time to catch a weather forecast for heavy showers. Within minutes, the heavens opened, absolutely hammering down, putting about an inch of water in a tray I'd left on the patio. It eased off to merely heavy rain after about 15 minutes, but kept on going until dark.

Friday, July 25, 2008

“Oh no, not again…”

Early anniversary dinner at the Willow Tree in Bourn -- a lovely meal, despite the couple of glitches (one of the dishes running out and confusion that engendered), and good conversation, at one point turning to an anecdote about an old woman whose eyes and teeth were the only bits not being ravaged by time. So of course I remarked that I was having pretty much the opposite, but thankfully the teeth seemed to have all been repaired now, and yes, I would have the ice-cream selection for dessert.

And indeed the teeth were not sensitive to cold. Just that a chunk fell off one of them.


Monday I had a temporary crown fitted with permanent cement. Tuesday I got a slot to get an impression taken, so the mildly uncomfortable temp had to be drilled off. And after some inspection, the space was deemed to be very tight, so it's going to be a case of more bling for the grin in a couple of weeks' time. At least the new temporary is so far entirely happy rather than twinging when it gently contacted the tooth below.

Tuesday, July 15, 2008

Links for 15-Jul

Nester -- a C# version of the Jester code mutator.“Why just think your tests are good when you can know for sure?”

LinFu -- interesting .Net meta-programming library -- including support for declarative Design by Contract.

(Mis)using PoSh L10N to prompt for a configuration file.

Wednesday, July 09, 2008

Links for 9-Jul

Spartan Programming (Is this madness? No, it's Sparta!)

Supporting the Opera Web Standards Curriculum: Learn to build a better Web with Opera

Replacing [ExpectedException(typeof(T))] with MyAssert.Throws<T> -- Checking the right line threw is less of an issue when you combine test runs with code-coverage, but even there this technique still helps as it moves all the post-Exception uncovered coded points into one central location for you.

Tuesday, July 08, 2008

Monday, July 07, 2008

Links for 7-Jul

1.To(3)  -- Ruby style iterators in C# 3.0

Custom Rules for StyleCop

Stream as Iterator -- useful C# idiom.

WCF Gotcha -- abuse of Dispose().

nUnit Attach -- Dev Studio macro. 

Windows SDK tools -- exposing the under-documented 

Depender -- coupling analysis for testability.;

Sunday, July 06, 2008

A bit of fun and Google's Ajax library hosting.

About a year ago, I revamped my main static site, clearing stuff that duplicated blogging type content into blogs, and changing the navigation to use accordion folds. That was using Prototype for a basis and Rico for the accordion (I looked at Dojo, but I didn't care for their use of custom attributes which baked a lot of behaviour into the HTML as well as making it fail validation).

After Google announced that they were hosting the main Ajax libraries, I had been meaning to move from having local copies of Prototype. And then I saw two articles in quick succession, only on A List Apart, about binding vs closures, which made me waver towards jQuery on purism grounds, and then via Christopher Steen's link blog, an introduction to jQuery UI - which showed that jQuery accordions require a lot less structural markup and hand-rolled class assignments even than Rico's. So I've made the change, and was delighted to find that, not only was the deadweight on pages was reduced, but I could just add mouseover unfolding as well.

There is a jQuery rounded corners plug-in out there, but I've not managed to get it to work in conjunction with a definition-list based accordion, so for the moment, I'm cheating with -moz-border-radius and leaving it at that.

One word of warning for people serving XHTML as application/xhtml+xml, though. In Google's shortcut

<script src="..."></script>
  // Load jQuery
  google.load("jquery", "1");

where the src is, the loading is done by injecting a script element via document.write(), so fails utterly -- I had to fall back to directly loading from a fixed URL, in this case, for the current jQuery release.

Thursday, July 03, 2008