Programming Slimserver from .NET

I did a short article for Personal Computer World (Christmas 2007 issue, just published) on how to use the Slimserver API from VB.NET. This example app is the result. It is sadly incomplete but could be a starting point for an app that controls Slimserver.

Why would you want to do this? Well, Slimserver has a good web UI but programmatic control is useful as well. One possibility would be to create a smart remote using a Windows Mobile device. Operating a Squeezebox using the supplied remote is fairly arduous. I also like the idea of a really capable rich client for Slimserver, with advanced search, playlist management and so on.

Just in case you don’t know Slimserver … it’s a great way to manage your music on a network. It’s free, cross-platform, understands lots of music formats including FLAC (my favourite), and supports multi-room playback using either the free Softsqueeze, a Java player, or the Squeezebox hardware. It can also transcode to an MP3 stream, so that all sorts of devices can play what’s on your Slimserver.

Technorati tags: , ,

Kim Cameron hacked, commenters make fools of themselves

Kim Cameron has an amusing post on the aftermath of his blog being hacked and defaced over the weekend.

The reason for the hack: a security bug in WordPress. More proof of the problem posed by millions of apps out there on the internet with no update mechanism in place. Security fixes are made available, but not applied. WordPress has improved this somewhat by introducing an alert when you log-in to an out-of-date installation, but it needs to go further and provide something more automated. Personally I recommend the Subversion install, for those with command-line access; I used it for the 2.3.1 update and it worked well.

But I digress. The amusing part of Cameron’s post is his link to the comments on a news report describing the defacement. I believe in the value of comments, but some of the leading news sites are afflicted by knee-jerk commenters with time on their hands, who twist every post into another salvo in the OS wars. An news item about a Microsoft “security” expert being hacked seemed an ideal candidate (though I don’t believe identity is the same as security). “This is a shining example why you should host on Linux + Apache,” says one comment.

As Cameron observes, his site and blog is hosted by a third-party and runs on FreeBSD + Apache.

Conclusions? First, the thoughtless commenters on this kind of site are doing the community a disservice, by discouraging others with more interesting contributions.

Second, it shows what some have to put with just because of their association with a particular company.

Third, keep your WordPress patched.

Technorati tags: , ,