In reference to this post at Daring Fireball - I have always reasoned that the cursor is placed at the top of the new message when you hit reply precisely because you will need to start at the top with a salutation, then work your way down through the message adding your interjections after relevant paragraphs and deleting anything which you don’t need to quote. The problem is that these days nobody bothers with that, they assume the cursor is at the top because that’s where their reply is supposed to go. The worst example is when you get sent an email with something like “What do you think we should do?” at the top, and you scroll down to realise that you’ve been sent a massive dollop of email correspondence going back three weeks, which you’re going to have to read from bottom to top before you can reply.

As my bluetooth headset seems to be a dead loss, I thought I’d take it apart to see how it was made. I did a lot of searching and I don’t think anyone has done this yet - I certainly couldn’t find any photos. P1090154.JPG

There are many web pages making grand claims for the number of problems which can supposedly be solved by using vinegar. One that I’ve read quite often is that you can prevent your car windows from icing up. For example, here’s a quote from “Chef Noah”:
Prevent ice from forming on a car windshield overnight.
Coat the window with a solution of three parts white or vinegar to one part water.
I decided to try it last night. I mixed white vinegar and water in the designated proportions, put it in a misting bottle, and sprayed it all over my windscreen and rear screen. Then I went to bed safe in the knowledge that I’d be leaping happily into my car in the morning and driving off while all my neighbours stared enviously at my frost-free car. Well, I’m not very happy to report that this morning there was absolutely no change in the amount of ice on my screen. Furthermore, I don’t even think it was a particularly cold night last night - it was only about -1°C when I went out to the car in the morning. Don’t these sites test their tips before posting them? So I got cold hands as usual. Bah.

I’m going to document this because it took me ages to work out, but in the end it turned out to be quite easy. In Rails there is a useful thing called ‘flash’. Flash is a component which is automatically available in every view. Controller classes can insert a message into the flash object, and when it renders the view it can display the message. The great thing is that by default the message exists in the flash for two requests. This is so that the current request can be terminated with a browser redirect, and when the browser follows the redirect the flash message will be there waiting for it. Read on for more details.

I fixed the cistern in our toilet this evening. For the last few months it has been making a noise like a tuba every time it fills up. Turns out the valve just needed dismantling and cleaning. While I was in there I found an alternative valve insert which the manufacturers had provided in case you have low water pressure. Well, our water pressure is really high, but I thought I’d give it a try anyway. I connected of all up and flushed, and it was an amazing spectacle. It filled the cistern with a deluge of water in about 20 seconds. I decided that the valve probably couldn’t cope with that long term, so I put the old one back. At least I silenced the toilet tuba.