Latest diary entries

Ramblings about cats, games and miscellanea.

I Invented A Chocolate

Today will go down in history as the day of the birth of the greatest chocolate to ever grace the earth.

This morning I at last received my Christmas present from Leela - a trip to learn about chocolates from Miette in Stow-on-the-Wold, who are quite possibly the finest chocolatiers in all the land - nay, in all the world. And as you may be able to tell from the superlatives, I rather enjoyed the occasion.

My gift was a chocolate experience - two hours in the company of the proprietor and master chocolatier, who introduced me and Leela to many samples from ...

Read full entry

Rubbish Bin Ettiquette

It has come to my attention that it has literally been months since I last wrote about anything that is of no consequence. I shall therefore correct this oversight immediately.

Since I last wrote about rubbish, there have been startling developments here at Radiac Towers regarding our bins - we now have a rota. We stopped doing the bins about a year ago, mostly because someone has taken to putting them out the morning before, 24 hours in advance. The council can fine you if you put it out before 6pm, so we're not in a hurry to compete for ...

Read full entry

Building with jQuery, IE and invalid markup

Ran into an interesting problem when using jQuery to generate DOM from markup: make sure your markup is valid, otherwise jQuery's html function will fail silently in Internet Explorer.

A quick and simple illustration with some invalid markup:

$('#content').html('<div>content</div></div>');

Firefox ignores the second div, but IE does not, and causes it to fail. You will instead find that the innerHTML of your #content element is empty.

This won't happen every time, and depends on exactly how your markup is broken; for example, <div><div>content</div> is also wrong, but will not cause ...

Read full entry

Ho Ho Ho

Slade is playing, the decorations are up for the 10th year in a row, and TCMI is online... it can mean only one thing: it's that magical time of year at radiac.net again!

Read full entry