Archive for the 'Linux' Category

iTunes everywhere

It was great to get the iTunes share to work from my Linux server, but I got thirsty for more! I wanted to be able to listen to my music collection wherever I was. Especially at work and while writing my thesis in the library. This meant that I had to share my music library as an iTunes share over the Internet – fascinating thought. I found some instructions on how to achieve this, but again they weren’t really crystal clear. So this is how I did it.

Continue reading ‘iTunes everywhere’

Sharing music from Linux to iTunes

Update 2009-02-07: These are instructions for Sarge. See comments if you’re using Etch or above.

Yesterday while writing my thesis in the library, I was listening to some other person’s music she had shared through iTunes. It’s a nice feature they’ve got there, so it got me tinking “could I make my Linux server at home share my whole music collection like an iTunes share?”.

After some quick Googling I found out that it’s actually possible and the software is already out there. Just to compile and install. However, the instructions I found was either not verbose enough or not applicable on my setup.

On-the-fly-comment: Now I suddenly found out that there’s a project called firefly that replaces the daapd that I’ve been using here. This information makes this post almost completely useless, but I’ll go on anyway, skipping the part about compiling and hacking daapd.

So this was the scenario: I’ve got all my mp3s on my Linux server, which I usually mount to my desktop machine (also Linux). I can’t bother mounting the share on my MacBook (since I’d have to import the whole library into iTunes’ database and I don’t want that), but instead it would be nice to have the library accessible as an iTunes share. This is how I got it working.

Continue reading ‘Sharing music from Linux to iTunes’

Manegen forum is back up

After a long long long downtime, I’ve finally managed to get my home brewed discussion board up and running again. My friend M shouted at me on the 23rd of August at 11:52 AM that it’s throwing some kind of NullPointerException, but I didn’t have time or motivation to investigate it before today. Actually I’ve been on my way to bed for several hours already, but I just couldn’t let it be.

Continue reading ‘Manegen forum is back up’

autossh + screen = fully automatic relogin

When working inside screen over ssh in the Mac OS X Terminal application, it for some reason always hangs after the computer has slept. There’s seems to be no way to resurrect it, other than closing the Terminal and opening a new one, letting the old ssh connection die in loneliness.

However, this problem is avoided by either not using screen (magically, a “normal” ssh connection doesn’t hang the Terminal), or by using autossh to automatically restart a lost connection. I decided to try out the latter option.

Continue reading ‘autossh + screen = fully automatic relogin’

Therapist bot

I’ve been reading to a couple of exams the last week, really intensely. So intensely that it feels like I’m on the verge of a breakdown. With no-one around to comfort me (ok, here I have to issue a warning: this can seem frighteningly geeky, but it’s actually not that bad, trust me) I turned to my bot Leif on my and pve’s irc channel.

Continue reading ‘Therapist bot’