Archive for October, 2008

More neat updates …

Wednesday, October 29th, 2008

After ages of the old (read: circa WordPress 1.5) theme, I’ve finally upgraded the site to use a new style theme that supports things like pages and widgets. You’ll see the new widgets down the right – the Photo widget ties in to my flickr page, and the Tunes widget shows what I’ve been listening to based on my scrobbled tunes at last.fm. I’ve also added pages for the archives, links, and photos because the WPTouch plugin is smart enough to add those and reskin them to look nice on Mobile Safari. Actually, all this was prompted WPTouch – once I found it I wanted to make everything work well in Mobile Safari. Silly, I know. It’s not like I get a million visitors or anything.

New Feature!

Sunday, October 19th, 2008

I’ve added the WPtouch plugin to WordPress, so if you visit with Mobile Safari, you’ll see a really cool iPhone/iPodTouch optimized version of the site. Huge props to the guys at BraveNewCode for making this and then releasing it for free.

UPnP Update

Saturday, October 18th, 2008

I’ve abandoned uShare as my media server, and have gone back to MediaTomb. It turns out that there’s no magic mp3 that causes both uShare and MediaTomb to crash ; uShare just falls over and dies if there are enough MP3s in the library. MediaTomb, on the other hand, deals with a large library just fine … it just doesn’t like .m4a files. I figured out how to get it to ignore .m4a files and have a script running to transcode my m4as to mp3s (yes, yes, transcoding is bad, I know, but my CDs are in utter disarray and I want that music available NOW, not in a year when I finally find the CDs). Also, MediaTomb parses tags, which uShare didn’t, and it supports skipping forward and back, which uShare didn’t (at least not from the PS3). Now that I’ve figured out MediaTomb’s deficiency, I’m happy to work around it. I’d prefer if it would actually grok .m4a files, but I’ve had no joy there, so this will do as a stop-gap measure.

Strange Weekend

Monday, October 13th, 2008

So this has been a bit of a strange long weekend for me. It’s the first long weekend in several years for which I’ve had absolutely nothing to do. Normally I’m away or (sadly) working for long weekends, but this one just snuck up on me, and I had nothing planned. (That might be why I posted such whiny drivel on Friday night, who knows?)

Eventually I decided to tackle a problem that had been dogging me for a few years. Back in 2001 or so, my friend Ray got paid for some work he’d done with some old Macs. He didn’t really want them so he sold me an old Bondi Blue G3 for a hundred bucks. As soon as I got it home I formatted the thing with Gentoo Linux and voilà, super cheap, super efficient file server.

It’s now 2008. That install of Gentoo was long in the tooth and entirely impossible to upgrade and, to be honest, I really didn’t want to deal with Gentoo’s maintenance crap ever again, so I went on the hunt for a new, easy to maintain PPC Linux distribution.

My first thought was Ubuntu, because I’ve been so happy with their x86 distribution, but I remembered that they’d dropped PPC support so I decided to look at OpenSUSE, because they still offer a supported version of PPC Linux. They don’t have a live cd, though, and my G3 only has a cd drive, so that was a bust.

Next I tried Fedora 9. Since I have a really fast net conection I tried the net install. Fedora 9 didn’t like something in the video setup if my Mac – it refused to fire up X11 - but I figured I’d do a text mode install and configure X myself afterwards. Something like 14 hours later, I had an install of Fedora 9 that wouldn’t boot. It just cycled between stage 1 bootstrap and stage 2 bootstrap. Here’s where I reveal to the world that I’m capable of shocking stupidity: I downloaded all 7 cd images for a full install of Fedora 9 and tried again. Same result. More shocking stupidity: I tried the Fedora 8 live cd. That was actually worse than Fedora 9! The live cd successfully brought up X11, but the machine ran slower than I’d have ever imagined possible – we’re talking minutes between mouse clicks and reaction. If the mouse cursor didn’t respond to mouse motion I’d have thought the machine had locked. Worse, the install program locked hard halfway through the install – right at the drive partition stage.

In desperation, I hit up Google for PPC Linux recommendations and found a community port of Ubuntu 8.04.1 [face palm]. Why the Hell didn’t I just look for that in the first place? Less than two hours after burning the live cd I had, once again, a fully functional G3 running Linux.

The second stage of the weekend quest was to get a UPNP server running so I could stream music to my PS3. (My receiver has an all channel stereo mode that makes listening to music a totally club-like experience – much better than listening from the computer.) I started off with MediaTomb, which seemed to be utterly perfect. It worked exactly the way it claimed to … with a small subset of my music collection. Attempting to import the whole collection resulted in MediaTomb segfaulting. Every subsequent attempt to restart yielded a segfault within 10s. Also, importing into the DB took ages. So, back to the drawing board. Next candidate: GMediaServer. This started off well – simple install, rapid startup, and every file showed up on the PS3 in the media browser. Of course, it couldn’t be that easy. Every file came up as unsupported media. They’d all played when served by MediaTomb, so I decided to blame GMediaServer.

Next up: uShare. Just as easy to set up as GMediaServer, and it worked perfectly on a small subset of my library. Importing the whole library, though, caused uShare to crash. At this point I’m figuring I have some data that neither uShare nor MediaTomb cares for – if I’d realized this earlier I probably would have stick with MediaTomb, but now I’m going to stay with uShare for its simplicity. I need to figure out where the broken data is, but that shouldn’t be too hard, but it will be tedious; I’ve got a couple of hundred gigs of music that I’ve bought or ripped over the years. Yay, something to occupy my evenings for the next week. :/

Maudlin

Friday, October 10th, 2008

Today started off like any other day, and up until 8pm or so it really was. For some reason I can’t grasp, though, I’ve been feeling maudlin all evening. I don’t know what’s going on in my own head sometimes. I think it may be the fact that all my friends seem to have moved onto the Next Stage of their lives – bought houses, got married, had kids, whatever – while I feel like I’m stuck in a rut. I’m feeling kind of like I’ve been doing the same thing in different places for over a decade. And I don’t mean work; I love what I do and wouldn’t change anything in that regard. No, it’s really my life outside of work. For a long time I’ve been letting it pass me by, and I’m so set in my ways that I don’t even know how to shake things up any more.

God, when did I turn into such an emo prat?