Etch has ejabberd 1.1 packaged but if you’re like me you’ll want to play with the new features in 2.0, in which case you’ll need to build from source. Etch’s packaged version of Erlang is apparently not up to date enough to support it (it compiles fine, but I couldn’t get TLS to work) so you’ll need to build a newer version of that as well. Luckly it’s all easy. This following is all from your home directory on a fresh install of Debian:
It’s quiet. Almost too quiet. Mia’s gone on holiday without me.
To make matters worse, she took ‘her’ train set. And my wife. And the dog. It’s just me, the chickens and that pesky cat. Oh, and the fish - don’t forget to feed the fish. And the tomatoes, don’t forget to water those. Good thing I decided to write this.
The video below is a brilliant piece of work by Michael Ogawa - a visualisation of the commit history of the Apache httpd. It was built using Processing and the source is here, theoretically (i.e. I haven’t tried) allowing you to produce a similar visualisation for any project.
There are several other examples available at the project page. Impressive though it is, I can’t help thinking that an interactive version of this would elevate the concept from eye-candy to something extremely useful.
Update: Ok, an interactive version like this perhaps. Wow!
According to Google nobody has ever seen fit to utter the phrase “trains and grapes” on the internet before, so it’s lucky I’m here to put that right. In my defence, the real purpose is a bit of testing of video encoding and embedding. Firstly, Saturday morning fun with Duplo trains:
The camera shoots the video in MPEG format, so I used Riva FLV Encoder to convert them to the more web-friendly FLV format, and also to reduce the resolution and bitrate a bit. This Wordpress plugin made it easy to embed the videos into the post. Although it was a bit more effort, I much prefer this approach to relying on an external service to encode and host the video as I did here.
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.
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 in 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.
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.
Kiko (she has a name now) took her first trip to Suffolk to meet Meg, a real Border Collie. They spent the entire weekend wresting in the garden, leading to another gratuitous set of doggy pictures…
We took a trip to Huddersfield yesterday and returned with a seven week old puppy. She’s half Border Collie - the mother is a rescue dog who started getting fat when they got her home and then produced four large puppies, so the identity of the father is unknown.
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.