<?xml version="1.0" encoding="ISO-8859-1"?>

<rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
>
	<channel rdf:about="http://radiac.net/diary/rss/">
	<title>Radiac's Diary</title>
	<link>http://radiac.net/</link>
	<description>The daily ramblings of Richard Terry</description>
	<items>
<rdf:Seq><rdf:li rdf:resource="http://radiac.net/diary/id/1286"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1285"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1284"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1283"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1282"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1281"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1280"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1279"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1278"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1277"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1276"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1275"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1274"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1273"/>
<rdf:li rdf:resource="http://radiac.net/diary/id/1272"/>
</rdf:Seq>
	</items>
	</channel>
	<item rdf:about="http://radiac.net/diary/id/1286">
<title>Royal Mail training isn't what it used to be</title>
<description>&lt;p&gt;It seems that postmen are no longer being trained in the ancient and mystical art of matching up the number at the top of the letter with the number on the door; for the third day this week we received post for our neighbour, and they have received ours.&lt;/p&gt;

&lt;p&gt;I should probably also comment on the amusing election results, but I think they speak for themselves. Suffice it to say that I am disappointed all around. Just 14,922 of us had our finger on the pulse and voted for the only party who had policies where it mattered - but now, without an MEP for Mebyon Kernow, how will Cornwall ever get a devolved government?&lt;/p&gt;

&lt;p&gt;Before I go, let me give a shout out to my regular readers from the Internet Explorer team at Microsoft - I really hate you, even more than I ever have before. You have cost me 3 days of going round in circles on what should have been an extremely simple 2-4 hour project, which has meant I've missed an important deadline, and the delay has also held me up from migrating services to two new servers which are sitting idle in their respective datacentres at the moment. Frustrating.&lt;/p&gt;

&lt;p&gt;In more positive news, only 196 days, 6 hours and 24 minutes until Christmas!&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1286</link>
<dc:date>2009-06-11T18:35:46-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1285">
<title>European Elections (or who I will not be voting for)</title>
<description>&lt;p&gt;Over the past few days I've had some pamphlets through the door from various parties who want my vote in the European Elections today. Here are the parties whose leaflets disappointed and/or disgusted me to the point that I will definitely not be voting for them, and made me feel the need to make this post in the first place.&lt;/p&gt;

&lt;h3&gt;UKIP&lt;/h3&gt;
&lt;p&gt;Now, I am not a fan of the EU for many reasons, so I should be right in the target audience for UKIP, who "Say No to European Union" (presumably as well as to grammar, but let's not split hairs). However, ignoring the never-ending stream of deliciously stupid mistakes of the past few years, their flyer would not persuade me to vote for them.&lt;/p&gt;
&lt;p&gt;Lets ignore the picture of Churchill, which is a pathetic attempt to elicit war-time spirit and patriotism, by cynical politicians who think nothing of cheapening the iconic war-time image. Although his views in the late 1940s were similar to UKIPs now, if my knowledge of history serves correctly he actually proposed a union between Britain and France in 1940, and was the first person to speak publicly about a United States of Europe. Besides, a lot has changed in 60 years; who's to say he'd say the same thing now?&lt;/p&gt;
&lt;p&gt;No, it's the actual content of the flyer. Pretty much every sentence starts "Say No" - as far as I can gather, their policy is just to be entirely negative about the EU. I couldn't see a single thing that they will actually do as MEPs - as the few MEPs that were elected last time have demonstrated, they are entirely incapable of achieving their aim of taking the country out of the EU. They simply don't have the power. Even their own pamphlet implies they're only good as a protest vote, to "send out-of-touch politicians a message they cannot ignore". Yes, because that proved so effective at the last european elections.&lt;/p&gt;
&lt;p&gt;They're a joke. No clue, no actionable policies, no vote.&lt;/p&gt;

&lt;h3&gt;Labour&lt;/h3&gt;
&lt;p&gt;Regular readers will know that I hold Labour in contempt, and revel in any opportunity to point out their shortcomings. Most of you will already be aware that I disagree with our new and improved surveillance society, the piss-poor management of the economy by our Glorious Leader for 10 years and his subsequent piss-poor management of the country as a whole, and of course the pointless wars, bloating of civil service, constant spin, and headline-grabbing empty policies. However, those are things that we should be holding against them at a local or general election; we elect our Euro MPs based on what they will be able to do for us in Europe.&lt;/p&gt;
&lt;p&gt;Sadly this distinction has been lost on Glyn Ford, who seems to be an MEP for my area. His head floats above scenic fields on the front page of his pamphlet, accompanied by a quote about how terrible the Tories are, and how Labour is just like President Barack Obama - although of course Labour isn't mentioned until the tiny white un-bold logo buried at the bottom of the page. At least it's good to see someone in the party isn't completely deluded about how popular and successful they are. But it's symbolic of what Labour have become - they know the only way they can get you to vote for them is to deceive you.&lt;/p&gt;
&lt;p&gt;The inside of their pamphlet goes on about how wonderful Labour have been to Gloucestershire, and makes tentative links between what parliament does and what the European parliament does. But the best bit is that their pamphlet was glued shut, and surprisingly difficult to open - presumably so you wouldn't see the tiny picture of Gordon Brown on the inside, and instead would just read the back, about how terrible it is that the Tories want to cut spending, and that the Lib Dems want to legalise drug use - the scum.&lt;/p&gt;
&lt;p&gt;No credibility, no policies, no vote.&lt;/p&gt;
&lt;p&gt;As an aside, I will risk my future political career by coming out and saying that I support legalising drugs, at least in a controlled way. There are plenty of things in this country which are just as addictive, dangerous and destructive as illegal drugs but which are perfectly legal, such as alcohol, smoking, or Jeremy Kyle. If you legalise drugs you will start to lift the stigma and make it easier for people to come forward for help; you can control the supply of drugs at sale, ensuring people are educated on the risks and that they know how to take it safely; you can control the supply of drugs at source, protecting against the harmful effects of production on the country of origin; and you can tax it to the hilt, helping to clean up Brown's economic mess.&lt;/p&gt;
&lt;p&gt;I feel the same way about prostitution; legalise it, license it, tax it, protect everybody involved. These things have been going on since time began, and the only thing you succeed in doing by making it illegal is to push it underground where people can be exploited without any protection or representation. Unlike certain (soon-to-be-former) members of our Glorious Leadership, I realise that we shouldn't ban something just because it doesn't fit into my limited view of how the world works.&lt;/p&gt;
&lt;p&gt;With one exception:&lt;/p&gt;

&lt;h3&gt;BNP&lt;/h3&gt;
&lt;p&gt;There. I've done it. I've mentioned the BNP. I feel dirty doing so, just as I felt dirty holding their propaganda. But it's worth a mention because evidently many people around the country felt equally dirty about being approached to appear on their leaflets; I recognised the Elderly White Loving Couple and the Tanned-But-Still-White American Doctor from spending far too much time on iStockPhoto, and after a quick bit of digging, &lt;a href="http://www.newspeak.org.uk/2009/05/13/british-national-party-voters-dont-exist/"&gt;it turns out I'm right&lt;/a&gt;. Reason #374 not to let a photo of you go into a stock photography site.&lt;/p&gt;
&lt;p&gt;I won't discuss their "policies" which ignore basic economic truths, or how, similar to UKIP, they're using a spitfire to call upon war-time spirit and patriotism, ignoring the irony that the fight was &lt;em&gt;against&lt;/em&gt; a political system who discriminated against people based on race, and despite the fact that 1/5th of the &lt;a href="http://en.wikipedia.org/wiki/Battle_of_Britain_Foreign_Contribution"&gt;pilots in the Battle of Britain&lt;/a&gt; were filthy stinking foreigners - particularly those damned Polish migrant workers, a squadron of whom racked up the highest number of kills in the war. See, they were coming over here and stealing jobs from good hard-working British People even then.&lt;/p&gt;
&lt;p&gt;Wait, would these be the same hard-working British People who create the opening for foreign workers in the first place by realising they can make enough money to pay for Sky+ by working the benefits system, instead of getting a menial job that would involve having to wait a few hours before watching Jeremy Kyle?&lt;/p&gt;
&lt;p&gt;That's enough of that - &lt;a href="http://www.guardian.co.uk/commentisfree/2009/may/18/charlie-brooker-bnp-racism"&gt;Charlie Brooker&lt;/a&gt; said it better anyway.&lt;/p&gt;
&lt;p&gt;Fail.&lt;/p&gt;

&lt;h3&gt;Conservatives&lt;/h3&gt;
&lt;p&gt;Gosh. Really a no to them from me, a Tory born and bred? Well, their pamphlet was actually ok. They said it was a general election communication, and had stuff covering both the local council elections and the EU, with a bit of Gordon-bashing thrown in for good measure. What's not to like?&lt;/p&gt;
&lt;p&gt;Well, &lt;a href="http://euelection.openrightsgroup.org/constituency/southwest"&gt;I disagree with their MEP's policies&lt;/a&gt;. They think that copyright terms should be extended, that it's fine to store absurd amounts of data about internet use, and that the three strikes rule for cutting off internet access - based purely on an accusation from a biased commercial entity, without due process - is a fantastic plan.&lt;/p&gt;
&lt;p&gt;Well, I make that three strikes - you're out.&lt;/p&gt;

&lt;h3&gt;So who will I vote for?&lt;/h3&gt;
&lt;p&gt;Good question. I'm still undecided:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lib Dems seem to mostly agree with &lt;a href="http://euelection.openrightsgroup.org/constituency/southwest"&gt;what I care about most&lt;/a&gt;, but I haven't had a flyer from them, their general policies on Europe seem confused, and their website is down so I can't find out more.&lt;/li&gt;
&lt;li&gt;Libertas' policy for reforming the EU seems good, but can't find any actual policy details, let alone how they feel about internet rights. Have they published a manifesto? They certainly haven't posted me anything, which makes me feel left out. Perhaps they're just not running in my region?&lt;/li&gt;
&lt;li&gt;The Greens seem to agree with the ORG, seem to agree with Libertas regarding reforming the EU, and I support environmental reform - but I'm not a hippy.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.votematch.co.uk/"&gt;votematch.co.uk&lt;/a&gt; says I should vote UKIP *spit*&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Decisions, decisions.&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1285</link>
<dc:date>2009-06-04T14:12:59-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1284">
<title>Progress!</title>
<description>&lt;p&gt;As you may have noticed, I've been remarkably silent here so far this year. This is due in part to moving random comments onto twitter rather than expanding them into longer diary posts as I did in the past - I've got a couple of posts to make about things I've &lt;a href="http://twitter.com/radiac"&gt;twittered&lt;/a&gt; about recently, so hopefully this won't be the only post in May.&lt;/p&gt;

&lt;p&gt;But mostly I've been quiet because I've been up to a lot. We're trying to buy a house; I've cooked a couple of excellent puddings (must update the &lt;a href="http://guides.radiac.net/cooking/"&gt;recipes&lt;/a&gt;); and I've taken up archery, having lessons for an hour or so a week.&lt;/p&gt;

&lt;p&gt;And of course, in between my hectic social life detailed above, I've tried to fit in a bit of work. 20-22 working hour days for 6-7 days a week have been common since Christmas. I misunderestimated my January and February projects and failed to take account of unpredictable day-to-day spikes, which has knocked me off track - even with the overtime, the project I'd pencilled in to complete at the end of March wasn't complete until mid-May. Not helped by deadline confusion with the client, who expected it in February. &lt;em&gt;Always confirm things in writing&lt;/em&gt;...&lt;/p&gt;

&lt;p&gt;However, I'm definitely getting on top of things now; my inbox is down to 12 outstanding tasks from the peak of 150+, I'm back to a ~24 hour turnaround on most tasks, and I've at last reached the first deliverable of my new Django-based CMS. Still a lot left to do, but I've started moving client sites to it, and after 10 years of on-off development, I'm finally getting somewhere. Two more deliverables and I should be ready for a beta release, so it actually looks like I might get it out before &lt;a href="http://www.shacknews.com/featuredarticle.x?id=1127"&gt;Duke Nuken Forever&lt;/a&gt; - bonus.&lt;/p&gt;

&lt;p&gt;So, this year there has been progress, but there's a lot more to do. But that can wait for another entry. &lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1284</link>
<dc:date>2009-05-28T00:12:29-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1283">
<title>Happy Easter!</title>
<description>&lt;p&gt;Modern life is a bit lame, really, when you think about it.&lt;/p&gt;

&lt;p&gt;We're meant to roam the forests and fields, stabbing things and eating them; when we're not hunting or sleeping, nature intended for us to be punching each other for the right to mate with our womenfolk and propagate the most awesome DNA around.&lt;/p&gt;

&lt;p&gt;Instead, the majority of the world now sits in chairs in large concrete boxes, pushing bits of paper around and tapping away on little bits of plastic, making silly lights dance around on a glass box. Hunting consists of staggering out of the nearest door into small metal boxes which take you to another concrete box, where you hand over a small piece of plastic to swap meaningless numbers for stale poor-quality mass-produced processed food, which we take back to our desks and stuff into our mouths.&lt;/p&gt;

&lt;p&gt;The evolutionary battle for genetic superiority is reduced to online dating. Survival of the fittest no longer applies - these days anyone can find someone suitably inappropriate to procreate with. Regardless of the quality of our genes, we multiply unchecked; taming, consuming, or destroying everything in our path.&lt;/p&gt;

&lt;p&gt;Instead of rising with the sun and retiring with the darkness, we come up with increasingly elaborate ways to extend our waking hours in an attempt to out-do each other in our futile efforts to collect longer numbers on bits of paper than the people around us, so that we can buy bigger concrete boxes and more plastic trinkets to show everyone how awesome we are.&lt;/p&gt;

&lt;p&gt;We organise ourselves into groups who try to out-do each other by seeing who can come up with the most convoluted and absurd explanation for how we came to be and how we ended up in this state, and we then go around coming up with increasingly imaginative and disturbing ways to kill those who disagree with us.&lt;/p&gt;

&lt;p&gt;And if we ever manage to collect enough numbers and bits of paper that we can at last take the time to look out of the window to enjoy our fleeting experience of conciousness, the miracle of modern medicine fails us, and we act all surprised when our weak corpulent bodies start to fail. And then we die, leaving nothing of worth.&lt;/p&gt;

&lt;p&gt;All in all, I wish I'd been born a cat.&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1283</link>
<dc:date>2009-04-10T22:00:50-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1282">
<title>Awesome!</title>
<description>&lt;p&gt;Hey, someone at MIT has implemented &lt;a href="http://radiac.net/diary/id/861/"&gt;my&lt;/a&gt; &lt;a href="http://radiac.net/diary/id/862/"&gt;dissertation&lt;/a&gt; &lt;a href="http://radiac.net/diary/id/863/"&gt;idea&lt;/a&gt;, and then &lt;a href="http://www.ted.com/index.php/talks/pattie_maes_demos_the_sixth_sense.html"&gt;taken it to awesomeville&lt;/a&gt;. Want.&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1282</link>
<dc:date>2009-03-15T13:47:53-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1281">
<title>Entering My Mid-Twenties</title>
<description>&lt;p&gt;It's my birthday, which means I am now 26. I am getting old!&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1281</link>
<dc:date>2009-03-01T11:56:08-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1280">
<title>My mind has been infected</title>
<description>&lt;p&gt;I'd hoped that dropping a few references to it in my last post would help exorcise the song that's going round and round in my head, but it just won't stop. I woke up yesterday morning humming the "Still Alive" song from the Portal credits, literally humming it before my mind had figured out where I was. That's not normal. I haven't played the game for over a year, but I still spent all morning humming it; I tried listening to it on a loop for a few hours to try to make my mind sick of it. It didn't, and now I know the lyrics, so keep finding myself singing it. Woke up again this morning mid-verse. It just won't leave me alone. Help?&lt;/p&gt;

&lt;p&gt;In other news, yesterday I went to see a consultant. I wasn't quite sure why I was going - I'd been to my GP concerning my nose again, and he'd referred me to another ENT consultant, but then the second letter arrived for another consultant. I showed up and it turned out he was the allergy consultant; he gave me a pin prick test, where he dabs blobs of samples of things I might be allergic to, then drives a pin through deep into the skin. It turns out I'm allergic to grass and wheat pollen, or something like that. And unsurprisingly I'm also allergic to being allergic to things - I reacted particularly well to the positive control test. Still, I now know I'm not allergic to cats, dogs or shrimp, which will be very handy next time I go to a pet store.&lt;/p&gt;

&lt;p&gt;Anyway, look at me still talking when there's science to do. Laters.&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1280</link>
<dc:date>2009-02-25T09:02:59-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1279">
<title>We do what we must because we can</title>
<description>&lt;p&gt;Yes, I'm still alive, just very busy with lots of exciting worky things, including my CMS. Yes, that one. And although this will be something like the 5th version that will make it into production, it will be the first version I'll release under an open source license. At last.&lt;/p&gt;

&lt;p&gt;The irony is that although my feature list grows and my available time shrinks, with the server-side and client-side frameworks and tools that have been released over the past few years, it has actually become a lot easier to accomplish what I want. But with so much already written by other people, I'm often finding no practical alternative to stitching together popular open source components, and often even the work there has been done before. I can't find a good enough reason to reinvent the wheel - even though the wheels I've got are a bit lumpy, the amount of time and effort it would take to build new ones from scratch is impossible to accept as a realistic alternative.&lt;/p&gt;

&lt;p&gt;I can't help feeling that this increasing dependence on complex frameworks and out-of-the-box components risks pushing us towards a homogenised web, with the only real choice for developers being between a handful of existing projects. And if that is the case, although it may help us now, I'm not sure it's a good thing for the long-term health of the industry.&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1279</link>
<dc:date>2009-02-24T09:17:56-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1278">
<title>Changing mouse button behaviour in Ubuntu</title>
<description>&lt;p&gt;I've just replaced my &lt;a href="http://radiac.net/diary/id/1115/"&gt;expensive old mouse&lt;/a&gt; after a pathetically short life, and went for the Logitech MX620. I've now discovered that the middle mouse button malfunctions in pretty much all of them, including mine, but that's another story.&lt;/p&gt;

&lt;p&gt;Experiences with older Linux distros proved rarely easy to configure hardware, so I plugged in my new mouse with trepidation - but it all worked perfectly, first time. Even the search button - I'm impressed with intrepid.&lt;/p&gt;

&lt;p&gt;However, I find I very rarely use back/forward in my browser due to tab usage, so prefer to map the back/forward buttons to page up and page down. Logitech's Setpoint made it fairly easy in Windows, so how hard would it be under linux? Turns out, fairly easy with imwheel:&lt;/p&gt;

&lt;pre&gt;
apt-get install imwheel
mv /etc/X11/imwheel/imwheelrc /etc/X11/imwheel/imwheelrc.bak
cat &amp;lt;&amp;lt;EOF &amp;gt; /etc/X11/imwheel/imwheelrc
".*"
None,           Thumb1, Page_Down
None,           Thumb2, Page_Up
EOF
vi /etc/X11/imwheel/startup.conf 
&lt;/pre&gt;

&lt;p&gt;and change &lt;code&gt;IMWHEEL_START=1&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The imwheel tool should fire up next time you start up, or you can run it immediately with &lt;code&gt;imwheel&lt;/code&gt;.&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1278</link>
<dc:date>2009-01-30T18:28:26-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1277">
<title>My Chocolates are Awesome</title>
<description>&lt;center&gt;&lt;img src="/news/20090121-chocolate-sea.jpg" alt="A sea of chocolate truffles" title="The Sea of Terry's Chocolate Orange Nut Awesomeness"&gt;&lt;/center&gt;

&lt;p&gt;My &lt;a href="http://radiac.net/diary/id/1276"&gt;chocolates&lt;/a&gt; arrived, and they taste &lt;em&gt;good&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Words cannot express my joy, so have some photos instead.&lt;/p&gt;

&lt;center&gt;&lt;img src="/news/20090121-chocolate.jpg" alt="A delicious-looking milk chocolate truffle sits on its own. Do not be sad - it will soon join the others." title="Mmm"&gt;&lt;/center&gt;</description>
<link>http://radiac.net/diary/id/1277</link>
<dc:date>2009-01-22T15:10:13-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1276">
<title>I Invented A Chocolate</title>
<description>&lt;p&gt;Today will go down in history as the day of the birth of the greatest chocolate to ever grace the earth.&lt;/p&gt;

&lt;p&gt;This morning I at last received my Christmas present from Leela - a trip to learn about chocolates from &lt;a href="http://www.miette.co.uk/"&gt;Miette&lt;/a&gt; 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.&lt;/p&gt;

&lt;p&gt;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 around the globe, helped us understand what we were tasting, explained the differences, and described various techniques of turning couverture into chocolates with interesting fillings.&lt;/p&gt;

&lt;p&gt;But after trying white, milk and dark chocolates made with beans from across the globe, the highlight had to be selecting one to use for a chocolate of our own invention. I nearly went for Caoba, a 41% milk chocolate from Venezuela, but although delicious on its own, we were advised that its smooth flavour wouldn't stand up so well to any additional flavours, so I went for one with a slightly stronger taste. After mixing it with cream to create a truffle base, and testing various flavour combinations, my creation was complete.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Terry's Chocolate Orange Nut Awesomeness&lt;/em&gt; is a hand-rolled truffle made with 43% Costa Rican milk chocolate, Cotteswold organic double cream, essential oil of blood orange and pure macadamia nut butter, topped with drizzles of Icoa 30% white chocolate, made with Venezuelan undeodorized cocoa butter. And it tastes &lt;em&gt;good&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Sadly, the chocolate experience which I enjoyed today has now disappeared from their website, which suggests that I may have been their final experiencee. If that is the case, this is indeed a sad day for Britain - although not for me, because I've already been. And that's all that matters. That, and that on Monday they'll send me a massive box of the greatest chocolate to ever grace the earth.&lt;/p&gt;

&lt;p&gt;Best. Present. Ever.&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1276</link>
<dc:date>2009-01-17T22:10:47-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1275">
<title>Rubbish Bin Ettiquette</title>
<description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Since I &lt;a href="http://radiac.net/diary/id/1205/"&gt;last wrote about rubbish&lt;/a&gt;, 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 liability. However, the neighbour in question apparently tired of doing it on their own, so told the building management to arrange a rota. Our first week was Christmas week, but we were both away, so we swapped with a neighbour to this week.&lt;/p&gt;

&lt;p&gt;Because of Christmas and New Year national holidays, our bin collection has been postponed until Friday. We were aware of this because we are competent. Sadly, the lovely neighbour who we swapped with was not aware of the change, thought that collection day was today as usual, and that we had forgotten to take the rubbish out, so dragged the bins to the kerb this morning.&lt;/p&gt;

&lt;p&gt;Now, this mix-up is hardly going to keep me awake at night, but what is the correct course of action in this situation? Should I care what the neighbour thinks, and go round to explain in order to clear my name? Should I drag the rubbish back inside, and leave a passive-aggressive note pinned to the top of the bins? Or should I empty the rubbish on the neighbour's doorstep, and jump up and down in it excitedly screaming 'RUBBISH' at the top of my voice, over and over again, until she calls the police and has me taken away? Or should I just stop wasting my time with this entry, and get on with my work?&lt;/p&gt;

&lt;p&gt;Life is full of dilemmas.&lt;/p&gt;

&lt;p&gt;In other news, yesterday I saw an Easter egg for sale in the Co-op - 4 months and 14 days early. Needless to say, I bought it and ate it. Happy Easter!&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1275</link>
<dc:date>2008-12-31T10:54:51-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1274">
<title>Building with jQuery, IE and invalid markup</title>
<description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;A quick and simple illustration with some invalid markup:&lt;/p&gt;
&lt;pre&gt;
$('#content').html('&amp;lt;div&amp;gt;content&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;');
&lt;/pre&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;This won't happen every time, and depends on exactly how your markup is broken; for example, &lt;code&gt;&amp;lt;div&amp;gt;&amp;lt;div&amp;gt;content&amp;lt;/div&amp;gt;&lt;/code&gt; is also wrong, but will not cause this problem.&lt;/p&gt;

&lt;p&gt;As any js developer will testify, these are the most fun kind of problems, especially when the line in question is part of a far larger library, buried in a series of asynchronous anonymous functions, and surrounded by various things that are far more likely to be the cause, such as non-json cross-domain POSTs and GETs, for example. Needless to say, the problem first appeared to be completely unrelated, and I wasted a fair bit of time on this one.&lt;/p&gt;

&lt;p&gt;The issue actually seems to be in jQuery.clear(), so it affects html(), jQuery(html), append(), prepend(), after(), before() etc - in fact, any jQuery function that is supposed to parse raw html and add it to the DOM. Functions that set or replace content will set it to nothing; ones that append or prepend content will leave existing content unaffected.&lt;/p&gt;

&lt;p&gt;There are several obvious ways to test for this failure, but the easiest seems to be to check whether the html() is null:&lt;/p&gt;
&lt;pre&gt;
var $newContent = $('&amp;lt;div&amp;gt;content&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;');
if ($newContent.html() == null) {
    // The content was invalid in IE, raise an error
    return;
}
$('#content').empty().append($newContent);
&lt;/pre&gt;

&lt;p&gt;Simple solution, simple problem, bloody annoying.&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1274</link>
<dc:date>2008-12-29T16:29:54-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1273">
<title>Ho Ho Ho</title>
<description>&lt;p&gt;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!&lt;/p&gt;</description>
<link>http://radiac.net/diary/id/1273</link>
<dc:date>2008-12-01T00:00:00-00:00</dc:date>
</item>
<item rdf:about="http://radiac.net/diary/id/1272">
<title>Tee hee</title>
<description>You know what to expect...</description>
<link>http://radiac.net/diary/id/1272</link>
<dc:date>2008-11-30T23:59:00-00:00</dc:date>
</item>
</rdf:RDF>