May 16th, 2008

Yep, as of this morning, I consider Java as malware. Having put up with the JRE updater being used as an advertising platform for some time now, the final nail in the coffin came this morning with JRE 6 Update 5. This attempts to install a stinking “Yahoo! Toolbar for Firefox/Mozilla”, and while there’s a checkbox to turn it off, it’s enabled by default.
As far as I’m concerned, this is totally unacceptable and Java and Sun just went down an awful long way in my estimation.
Posted in Software, Uncategorized | No Comments »
May 10th, 2008
I guess you’re worried that when your project has no bugs, or when maintenance becomes too easy, someone is going to start wondering what they’re paying you for. What you need is technical debt. Here my top 10 ways to sneak some into your codebase. As well as plenty of future bugs, this will ensure that any maintenance or expansion tasks take as long as possible.
- Create lots of overloaded versions of the same function. Only use one.
- Copy and paste code. For bonus points, change the pasted versions slightly.
- Leave chunks of commented out code (”Green Code”) lying around.
- Don’t use existing core logic. Reimplement it within the user interface using your own strange methodology. Make sure it behaves subtly differently. No need to check that, it will.
- Check several unrelated changes in at once. Only mention one in the check-in comment.
- Never use 5 lines of code where 50 will do.
- Never use 50 lines of code where several classes that almost resemble a GOF pattern you misunderstood will do.
- Invent your own naming conventions.
- Never fix a bug - hide it. For example, deal with null reference problems by simply sticking an if-not-null around the offending code. This saves you having to look for the real source of the problem, and also ensures the bug will come round again in a more subtle and interesting manner.
- Leaving out documentation is too obvious. Much better to document it, but make sure the code doesn’t do what the documentation claims.
Posted in Rants, Software | No Comments »
May 10th, 2008

Finally sunshine is upon us. This means gardening, and during the week the ability to work in the garden, at least when it’s possible to angle the laptop away from the sun so the screen is still visible. The orchard is a mass of blossom at the moment. The apple tree pictured right is probably the best apple tree in the world. When they’re ready, which will be around mid-September, they’re enormous, deep red, and pink in the middle. The picture below is a close-up of the blossom from the same tree, hacked about with using qtpfsgui to make it look arty farty. For once I’m quite pleased with the results.
Read the rest of this entry »
Posted in Animals, Mia, Weather | No Comments »
May 5th, 2008
Posted in Animals | No Comments »
April 27th, 2008
Posted in Animals | 1 Comment »
April 25th, 2008
Brimham Rocks has been on my list of favourite places for a long time, so it came as a bit of a surprise when I realised we’d never taken Mia there. We’ve put that right more than once recently.
Read the rest of this entry »
Posted in Food and Drink, Mia | No Comments »
April 18th, 2008
Can you guess what it is from the picture? It’s a driveshaft. Not very exciting to most people I suppose, but if you’d been waiting six weeks for the bloody thing to turn up, you might see it my way.
Read the rest of this entry »
Posted in Transport, W123 | 1 Comment »
April 16th, 2008
Any software developer will be able to tell tales of bug reports that don’t give enough information to reproduce the problem. My all-time favourite said just this: “When you take off from the aircraft carrier in the F4 Phantom, it crashes.” Not an unusual scenario - a complex flight-sim written entirely in 80×86 assembler tends to either work perfectly, or crash.
Read the rest of this entry »
Posted in Games, Software | No Comments »
April 13th, 2008
Sadly, a very important member of the family is no longer with us. Apart from the postman, Mika was everybody and everything’s best friend.
Read the rest of this entry »
Posted in Animals, Mia | 1 Comment »
April 12th, 2008
Why are hardware manufacturers so incompetent when it comes to software? The wonderful message below was followed by three more equally insane error dialogs.
Posted in Software | 1 Comment »