<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d3323185\x26blogName\x3dbarnskiblog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://barnski.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://barnski.blogspot.com/\x26vt\x3d5885749210978744567', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

barnskiblog

Barney's blog. Just a load of old shite really.

Tuesday, September 19, 2006

I run a Linux mt-daapd server, serving up my music library over the network to iTunes clients. It works well, and I love it, but it's always really annoyed me that if I had an intel-based PC as an audio streaming client, I needed to run Windows so I could run iTunes.
I've been looking at this periodically for a while, as it makes perfect sense to me that an old PC/laptop could be used as a music streaming client, but I'd rather not run Windows and spend my life worrying about anti-virus, spam, malware and all that great stuff that comes along with it. Basically, I'd rather run Linux.
Previously I'd looked at TunesBrowser (painful install, never got it to work, doesn't seem to be updated that often), One2OhMyGod (Java, runs on anything, but a bit basic), and even iTunes itself under WINE (older versions only, breaks with new iTunes releases).
Luckily, I have now found Banshee, which is the answer I have gone for. It's in the repositories for Ubuntu Dapper (Universe, I think) which makes installation a snap and is how I'm running it, but many other distros are also supported.

Update: The version of Banshee in the official Ubuntu repository is somewhat outdated, it seems. After having a few problems with searching my network library (Banshee hangs) and general performance issues (hogging CPU), I found badgerports via an outdated page at the Banshee site. Using badgerports, all my mono stuff and Banshee are brought bang up to date, and things appear to be improved.... :)
Note, however, that a little command-line usage goes a long way with badgerports - do an
apt-get dist-upgrade after updating the repositories as instructed to get all the goodness.

Update 2: Although Banshee was improved, I still had some issues with shared libraries, so I decided to copy a subset of my library to the local machine. When played from a local source, I got intermittent breaks in the audio. I don't know if this is just that the machine is sub-par for all the mono-ness (PIII700 laptop, 256MB) or what, but it was getting frustrating.
Next step was to try the default Rhythmbox player shipped with Ubuntu to play the local tunes, and hopefully avoid the problems. Guess what? - it works
great, and also to my surprise, shows my daap-shared library in the source pane.
Now, I have checked this, and Rhythmbox does not find shared libraries by default in Ubuntu, so some of the stuff I installed to support Banshee has made this happen, but unfortunately, I don't know which bits..... still, I have a smooth, fully working music player with shared library support on the old laptop, and that music player is Rhythmbox.


Update 3: I have recently deployed an Ubuntu 6.10 (edgy) system, and achieved the goal of playing iTunes shared libraries from Rhythmbox without all the Banshee/Mono crap as follows:
apt-get install gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly-multiverse gstreamer0.8-plugins
Then edit /etc/default/avahi-daemon so that
AVAHI_DAEMON_START=1
Restart avahi-daemon (or reboot), and Rhythmbox now discovers and plays all your local iTunes shared libraries.

:)

Saturday, September 16, 2006

Along with Firefox 1.5.0.7, Camino 1.0.3 is out, featuring security and stability updates.

Sunday, September 03, 2006

CodeWeavers is a company that produces enhanced and supported versions of WINE, which is a Windows API for x86 UNIX and UNIX-like systems (Linux/FreeBSD/Solaris). What this means is that supported Windows applications can be installed and used on those OSes, including Microsoft Office, iTunes and other handy stuff including some games. This is good because it gives you one less reason to run Windows (always a bonus) and also means that you can use licensed Windows applications on non-windows systems, which can have some really positive effects on licensing costs.
CodeWeavers has now released a beta of CrossOver for Intel Macs. So, when I move to OS X full time I can use my existing Windows software under OS X (I'm thinking Visio, Project and a few other bits) and also have VMware on tap to run a full Windows environment when required.
I really can't see any reason I need a PC any more :)

read more | digg story


I've always been interested in computer and network security, which is fortunate as I get to do a fair bit at work these days. Recently, I've been looking at personal data encryption, i.e. how I can protect the data on my machines from being compromised, as it sometimes includes customer data that I want to keep private.
The best thing I can do (obviously) is to use a Mac. Both FileVault and encrypted disk images are built-in features and provide robust mechanisms for encrypting data so that it can't be compromised should a machine be stolen.
However, for now, I still use a Windows XP laptop for most of my work (although the move to OS X is imminent :) ) and I also use Linux file servers and workstations. Whilst Windows' EFS is OK, it's not too portable as it only works on Windows, and is difficult to manage in a non-domain environment as it's certificate-based. (Also, if you don't know what you're up to, you can permanently and irrevocably lock yourself out of your own data in some circumstances, even if you know all your passwords).
Recently, I finally got round to trying TrueCrypt as recommended by Steve Gibson on Security Now!, and I have to say, it rocks!
I now have all my important data safe in nicely encrypted files, and can access them on Windows and Linux (OS X support is apparently on the way) using only strong passwords, so if my laptop does go missing, I can rest easy knowing that the customer information on it is safe from prying eyes.

Friday, September 01, 2006

Good news; Open Office is coming to the Mac in native form.
I might not even bother with Microsoft Office in the future :)