As you may know, I traded in my Honda Sevenfifty for a nice Triumph Speed Triple. While waiting for the bike to be delivered, I tried to fiend out how I can take my hefty 4-star ART chainlock on this bike. Apparently, nobody uses chainlocks on their bikes because I could find no information at all about transporting chainlocks.
Design Gripes
Dear Akio Morita,
Lately I have some small issues with a lot of design decisions being made by the company you founded a while ago. If you look at my irritations seperately they’re just small gripes of a grumpy old customer. But the increasing number of design mistakes have me worried about your user acceptance testing and quality assurance processes. Given the sheer size of your company, and the fact that the very same people who are sabotaging your overall product quality can silently delete my complaint, I thought I’d share it with you here, on my very private blog.  Nobody else will read this. Honest.
Javascript Window Shake
This evening I came accross the window.moveBy() JavaScript function and thought it would be cool to shake the browser window when a user fails to log in. It turns out that I was not the only one thinking this, but none of the examples worked for me. Some had no proper delays, others only worked from the page header, and some were plain unreadable.
I’m no Javascript guru, but I hacked this together which is working pretty nicely. It is in fact almost undistinguishable from the Apple login window shake at a login failure:
<script type="text/javascript">
if (window.moveBy) {
	delay = 70;
	shakes = 3;
	window.moveBy(-10, 0);
	for (j = shakes; j > 0; j--) {
		setTimeout( "window.moveBy(20, 0)", j*delay );
		setTimeout( "window.moveBy(-20, 0)", 
					j*delay+(delay/2));
	}
	setTimeout( "window.moveBy(10, 0)", (shakes+1)*delay );
}
</script>
In my case, I surrounded this code with a Tapestry @Conditional and made it into a reusable Tapestry component so that I can make any window shake as soon as it contains an error.
The code will work anywhere on your page, but I advise you to put it at the bottom of the HTML. This will make sure that the content is shown in the browser before you shake it.
It’s visually much stronger than just adding an errortext to the page. If people log in a couple of times a day, they don’t even notice extra text on the screen. This will “shake” them awake 🙂
Have fun!
LED’s in your livingroom?
In some countries, there is some talk on banishing the classic (incandescant) lightbulb. I think this whole discussion is needless. The only reason why it exists, is that the fluorescent bulbs are often of mediocre quality, and certain people are here to enforce their bad tastes upon us “for a greater purpose”.
Don’t get me wrong, I really like trees and birds around my house, and I would be more than happy to install energy-efficient appliances in my home, even if they cost me slightly more. But especially if I’m paying more, I expect to get a certain level of quality.
Because of the inefficiency of incandescent bulbs, and the number of bulbs in my household, I decided to look around for energy efficient solutions. Particulary LED lighting caught my interest, because it is not only energy efficient, it’s also dimmable with normal (cheap) floor dimmers. They even stay cold enough so that children touching them do not burn their fingers.
How to put DVD’s on your iPhone (for free)

A lot of companies like to sell you applications to put DVD’s on your iPhone. Usually these apps are just wrappers around existing tools, and are pretty expensive if you consider you can do it for free. And you don’t need to be a computer wizard either! The steps are simple:
- Use Handbrake to rip the DVD to iPhone format
 - Drag the generated mp4 file into iTunes
 - Sync it to your iPhone like all other content
 
To show you exactly how this is done, I’ve written up this “babystep-by-babystep” tutorial. Let me show you how I ripped “For A Few Dollars More” and put it on my iPhone:
Disclaimer: The DVD I ripped is bought and payed for. This article does not relief you of your responsibility to obey the law, so please be careful. And be nice, don’t pirate.
Are you a Wise person?

When Ducks migrate for the winter, they are able to have their brain partially asleep. This comes in handy when you have to fly hours on end in a pack, without restbreaks. Aparently, people have started to adopt this habbit. Yes you’ve read that right. I’ve seen some very good examples of people using only one half of their brains.
Tweet Week
About a week ago, I was a bit bored and decided to see what Twitter is all about. I created an account, and I Tweeted for a week. I tried to keep to the original idea, where a Tweet should answer the question “What are you doing”? Looking back, my tweets include Coffee, Podcasts, Global frustration, Small joys, Small irritations, Re-tweets, and Replies. 
Rip and Convert FLAC, M4A, MP3, AAC files
I recently found an old harddisk which used to be in one of my old PC’s. I discovered some FLAC files on there, which were rips of old CD’s I used to have. iTunes is not too happy with importing them into my library, and the original CD’s are in a box in a deep dark corner of my garage.
I searched for a converter and found this wonderful converter which can just about convert any audio format out there. It’s called “Max”, it’s Open Source, free to use, and available as bundled OSX application. Brilliant! It does have a bunch of options, but as long as you go for the “MP4 Audio” output format, high quiality, 256 bits and VBR, you can’t go wrong.
According to their website “Max can generate audio in over 20 compressed and uncompressed formats including MP3, Ogg Vorbis, FLAC, AAC, Apple Lossless, Monkey’s Audio, WavPack, Speex, AIFF, and WAVE”.
Happy transcoding!
Bill’s Mosquitoes
Bill Gates found a very good way to get the news reporters to pay attention to the malaria problem. In his talk at the TED conference, he released a few mosquitoes, stating that malaria should not be just for poor people to experience. People who did not see the whole performance may react shocked, because when placed out of context it sounds like an outrageous thing to do.
If you think that’s the case, you should maybe have a look at his talk, available (for free, without registering) at TED.com. You’ll see that the audience is actually laughing when he releases the mosquitoes, and at the end of the talk Bill gets a standing ovation.
In addition to the malaria problem, Bill also makes a very good case about how important good teachers are, and what we can do to help teachers become just that.
