Nov
16
2009
How can you detect if your browser supports HTML5 features in javascript? Here’s how:
function isHTML5CanvasSupported() {
return (typeof HTMLCanvasElement != 'undefined');
}
function isHTML5VideoSupported() {
return (typeof HTMLVideoElement != 'undefined');
}
function isHTMLClientSideDBSupported() {
return (window.openDatabase);
}
Have fun!
no comments | tags: html5, javascript | posted in Technology, Uncategorized, Web Applications
Mar
6
2009
There are two competing philosophies with regard to unit testing strategies; state based testing and behavior based testing. In state based testing we configure a starting state, execute a test method, and then examine the resultant state/returned result. In behavior driven testing we ensure that our test object collaborates with its dependencies in an expected way.
Continue reading
2 comments | tags: EasyMock, Java, JUnit, Testing, Web Applications | posted in Software Architecture, Technology, Uncategorized, Web Applications
Jun
23
2008
I am releasing for free a Windows application called TerMate developed while I was at Renaissance Laboratories Ltd. The company has since closed shop, but I have the rights to distribute this application in its place. The program is a personal money management tool designed to help people budget correctly and track their expenses.
Principally designed for students, it caters for term/semester based budgeting, but works equally well if we want to plan our expenditures over a fixed time period (e.g. over a month, or a year). For a full list of features, go to the TerMate page.
Anyway, I hope that you all enjoy it. I certainly enjoyed writing it. Lets hope that somebody somewhere will find it useful
1 comment
Jun
23
2008
We just had a very heavy hail shower. This is a picture of one of the hail stones that landed on my balcony. Downstairs there were some larger ones, but I didn’t want to get hit on the head or damage my camera. I don’t think I’ve ever seen hail like this before.

no comments | tags: bad weather | posted in Fun, Uncategorized
Jun
15
2008
Yesterday, my home city of Munich had its 850th birthday party.
no comments
Jun
3
2008
Wordpress died on me a little over one year ago (I think, I actually lost track of the downtime). I just procrastinated fixing it because I was busy at home and work and well… lets face it, I don’t exactly have a religious following of readers to worry about.
After taking a much needed three week holiday, I come home to find that not only have my plants died from lack of water, but my email has also passed on. It seems that lack of payment for the hosting will cause hosting services to cease. This fact did not suprise me terribly, afterall, who wants to host for free? What did suprise me was that it only took them 2 weeks from the first email of notice to having my account suspended. I was mildly annoyed that I may have lost some emails, and decided that while I was working on domain problems, I should spend some time fixing the old blog.
Well, here it is folks, the exact same posts as before in all new, “default theme” colours :-) Enjoy….
God I love it when I lose hours of work to the ether. It feels like the time and energy has somehow been absorbed by a hungry beast and that, the beast being fed, will leave me to continue life for another year.
1 comment
Oct
17
2006
no comments
Oct
17
2006
I love this dialog. It comes from XCDRoast, a CD burning program.

no comments
Oct
8
2006
I’ve been innundated with spam comments to my blog recently. I think I reached the point where the work I was doing to delete the spam is probably more than it would be to do something about it. I installed the Challenge wordpress plugin, so don’t be suprised by the new maths questions when submitting comments.
no comments
Aug
24
2006
Why is it that as soon as you finish a web site design, you start to dislike it and think about ways to improve it? I finally cracked and found some time this evening to redesign it. There is still some way to go however, but I feel its a better and more modern design than the “orange” design.
I am going to Hong Kong in a few weeks to attend a wedding of a good friend of mine and I want to take lots of photos and post them to the blog. It was time to smarten the site up a lot.
As a little gimmick my bonsai tree grows its leaves early in the week and they turn yellow and eventually all fall down before sprouting again next week. You’ll have to come back to see it in action.
2 comments