Entries from November 2008 ↓

Phoogle: a _good_ fixed version

Recently phoogle broke because of some Google maps update. The original creators of Phoogle haven’t updated the code (yet). And when searching online for newer, fixed versions all that showed up were crappy hacked Phoogle files by people who don’t know what they’re doing.

So hereby I present to you: a fixed Phoogle files which is hacked decent.

MythTV vs. Freevo vs. XBMC vs. Mediaportal vs. Elisa vs. Boxee vs. Entertainer

I’ve been browsing for what media centre software to install on a htpc. But there are so many choices! Just to name a few:

And they all look great! I’m gonna try to review them all and post the results here.

Follow up:
I've written a new post on this

Flash player 10 with 64 bit support (Alpha)

I’m so tired that Firefox keeps crashing with every shitty Flash movie out there. But… today I read an alpha version of Flash Player 10 with 64 bit suppport (for Linux) is out. Click the link and download the archive an install it (drop flashplayer.so in ~/.mozilla/plugins).

And so far (*knock *knock) I haven’t had A SINGLE CRASH. And all movies I’ve seen so far look ok!

Ow, before installing the version from Adobe, make sure you’ve uninstalled the Ubuntu flash plugin with:

sudo aptitude remove flashplugin-nonfree nspluginwrapper

Good job Adobe! And I’ve ordered a book on Flex which should arive any day now so I’m totally into Adobe now :)

df reporting 100% disk usage

I’ve had a couple of times now that on one of my computers df keeps reporting 100% disk usage. Until now I have resolved this issue by rebooting. But today this happened on one of our servers. And I was reluctant to boot and I had to solve it fast because mysql was down.

After some searching I found that it was because of a process keeping a hold of some deleted files. So after shuttding down some processes I found the right one and df reported a dropping disk usage %. After starting mysql again we were back up again.

Ruby on Rails: custom fields on a per-user basis

I’m now developing a flexible car database for a couple of hours per week. Our first customer, a Beemer dealer, has a lot of fancy requests. Well, the hired-in Flash developer has these requests actually.

One of them is that they want to save a field in the database that contains a unique identification number for the secondhand cars they sell. But this number is set-up in a way that is unique to BMW’s. So actually, I didn’t want to add this column to the database, ’cause that will mess up my clean database tables.

But then I came up with the idea to add functionality to the website where users (dealers in this case) can add custom columns to their cars / profiles.

Instead of creating this functionality from scratch, I first wanted to know if there are any plugins that have this functionality already. I found these three:

  1. acts_as_free_form
  2. has-magic-columns
  3. acts_as_customizable

I haven’t decided (yet) which is best.

And if you want to roll your own, here’s a nice article about choosing the best structure for dynamic fields.

I realize that the story above is written in truly horrible English. But I really didn’t have the energy to make something nice of it…

Compiling jruby from source in Ubuntu Intrepid Ibex


Very easy to do:

sudo aptitude install ant openjdk-6-jdk
cd ~/src
svn co http://svn.codehaus.org/jruby/trunk/jruby/
cd jruby
ant
bin/jruby --version