Archive for July, 2009

Banshee + Podcasts + Nokia phone = epic win

Thursday, July 30th, 2009

The last time I tried the Banshee music player it was around Fedora 8/9 and it was very buggy with a lot of crashes. So until now I was using the default Rhythmbox application provided with Fedora 11/Gnome to listen to music and manage my podcasts. To be honest, Rhythmbox was a bit flawed for my use case as it didn’t allow to synchronize my podcasts to my music player (a Nokia 5310 phone); I was using an rsync script for that. Recently, things went downhill…DAAP music sharing worked when it wanted to work and with the latest update, Rhythmbox has bricked all my podcast feeds. Great.

So it was the perfect opportunity to look for another application…it turns out that Banshee is now a really great and mature product (if you don’t mind installing the Mono stack). It supports smart playlists, automatic cover art download, dynamic music library update, videos using the gstreamer back-end, online radios, podcasts AND an automatic synchronization to my Nokia phone! Wooohooo…the only drawback in comparison to Rhythmbox is that it doesn’t act as a DAAP music server.

nokia-banshee

Natively run Fedora 11 on an Intel Mac

Wednesday, July 22nd, 2009

For various reasons I like the Apple Mac Minis, they are cheap, compact, silent, energy efficient and quite powerful. So sometimes I use them as mini servers for some tasks, like as an rsync backup server. For that, I usually install Fedora on them…these Macs are supported since Fedora 9 or so.

When you want to install Fedora on one of these machines, you have 2 choices:

  • Use Bootcamp to create an OS X/Fedora dual boot system.
  • Install Fedora natively as the only OS.

If you use the second option (which is what I do), you will soon be faced with an annoying problem: the Fedora you just installed via the graphical interface probably won’t boot. Your Mac will display a message saying something like “No boot device found, please insert a bootable media”. Duh.

The problem is that Intel Macs are using EFI instead of a standard BIOS, and the hard drive is pre-formatted with a “gpt” partition table instead of the standard “msdos” partition table. To install a working stand-alone Fedora on such a machine, you have to do ONE thing at the right moment:

  • When you launch the Anaconda installer from the DVD, hit ctrl+alt+F2 to switch to a console.
  • Run “parted” to modify your hard drive structure.
  • In parted, run “mklabel msdos” to switch from gpt to the more standard msdos disk label. This will destroy all your data, so be careful.
  • Switch back to the installer with ctrl+alt+F6.
  • Install Fedora 11 like you do it usually.

That’s it…it can be quite frustrating if you don’t think about it.

Penumbra: 3 great linux games for 5$!

Saturday, July 18th, 2009

Sometimes, it’s happy news day. Today is one of these days. Paradox Interactive has ported 3 great games from the Penumbra series to Linux, they are horror games which received good metacritic scores ranging in the 70. The best thing about these games is that you can buy all 3 of them for only 5$! Go run to their online store, select “Linux” in the little menu and there you go…

penumbra2nz_49756_6743

They clearly don’t do this for profit, so if you want to support gaming on Linux, go ahead. It works perfectly on Fedora 11 x86-64 after some yum installs :) A more complete description can be read on http://linuxlock.blogspot.com/2009/07/are-you-afraid-you-will-be.html

Générateur de persos pour le JDR Cthulhu

Sunday, July 12th, 2009

Étant MJ pour le jeu de rôles “Cthulhu” publié par le 7ème cercle, j’ai profité d’un moment perdu pour mettre à jour mon générateur de fiches de personnages. Il s’agit d’une interface web toute simple permettant de rapidement créer une fiche d’investigateur au format pdf, prête à être imprimée…idéal quand vous avez des joueurs qui ne préparent jamais rien à l’avance et ne se souviennent jamais des règles!

Le tout est fait de telle sorte qu’il n’y ait pas besoin du livre de règles, tout est guidé de manière dynamique au fur et à mesure des différentes étapes de la création des persos. Notez qu’il n’y a pas de contrôle contre la “triche”, mais bon en a-t-on vraiment besoin…j’ajouterai peut-être un javascript pour ça un jour. Donc en résumé on a:

  • Support de toutes les professions du livre de base ainsi que de l’extension “Aventures Extraordinaires”.
  • Support du jeu en mode “puriste” ou “pulp”.
  • Support d’un nombre de joueurs aléatoire.
  • Export de feuille de personnage pré-remplie au format PDF.

Le générateur dans sa version 1.1 est accessible sur par ici pour les intéressés. Ça a peut-être l’air con comme-ça, mais derrière il y a une base de données d’environ 1500 enregistrements afin de gérer toutes les combinaisons.

cthulhu

Damn, I bought a Foxconn R10-S3 Atom PC

Friday, July 10th, 2009

NEVER! I swore to myself that I would never buy one of these crappy, under performing Atom based computers. This was before I went to my local computer shop. They currently have really cheap and small Atom computers on sale, so I bought a complete Foxconn R10-S3 for around 120€. I already had a hard drive (500GB) and a memory stick (2GB) lying around, so it was a good opportunity to build a cheap computer to test Rawhide builds.

dscn2704

As you can see on the picture above, it’s a really small case in which you can fit an optical drive and 2 3.5″ disks. The whole thing is based on an Atom 330, which is a dual-core CPU running at 1.6GHz. As a desktop chip, it supports the 64-Bit instruction set. So I installed a 64-Bit Fedora 11 on it and I have to say that it works quite well…It’s perfectly usable to browse the web (even with Flash), listen to music and work on an OpenOffce document at the same time. Don’t expect much more as it will begin to feel sluggish…

One thing I don’t like about it is the integrated fan…it’s loud. In fact it’s as loud as my quad-core computer when it’s idle, which frankly sucks on a small computer.

Just finished my studies!

Wednesday, July 8th, 2009

Last Friday I handed in my Bachelor of Science diploma work, so I basically finished my studies! If all goes well (and it should), I’ll receive the title of “Bachelor of Science in media engineering, IT orientation” or something like that. I already got a proposition for a very nice job in the Open Source industry, but nothing is completely sure at the time. I really hope this turns out well :)

Maybe you want to know what my diploma work was about? Well, it was about setting up an industrialization process to create custom Fedora-based Linux distributions on the fly. Basically, Fedora appliances targeted at video surveillance.

  • The first part of the diploma is targeted at analysing the Fedora package build process, or how to get from source code to an RPM in a repository. It’s a good guide for SPEC files, rpmbuild, Koji, Bodhi etc…the whole build process is detailed. For the job I had to package motion, for which I’m now a contributor and RPM package maintainer. There is also a comparative analysis between the different composition tools available in Fedora.
  • The second part of the diploma is targeted at streamlining the whole development process in the company I was working for. As a result they are now using a version control system (SVN) and Trac as a bug tracking system.
  • The third part of the diploma is targeted at creating custom Fedora remixes which are auto-installable and auto-configured with heavy kickstart usage. The end result are a couple of scripts which create custom Fedora remixes with Revisor.
  • The last part of the diploma is targeted at setting up quality assurance (QA) on the produced Fedora remix.

flux affiche

The final workflow allows the developers to automatically create custom Fedora distributions containing all their code in less than 15 minutes (compared to 1-2 days before). All the configuration files, GUI code, kickstart files etc…are directly extracted from SVN and passed to Revisor.

Now I have time again to catch up with Fedora Marketing stuff, and there is plenty of interesting work going on…