Archive for the ‘linux’ Category

Première version officielle pour Rivendell

Wednesday, August 27th, 2008

Frederick Gleason en a fait l’annonce officielle hier. La version 1.0.1 est la première version “complète” de Rivendell.

Cette annonce ne marque pas réellement le début de l’utilisation de Rivendell en production. Puisque depuis 2004, Rivendell est bel et bien utilisable. Pour notre part, Rivendell a sorti son premier son en août 2004. Et notre première utilisation de Rivendell en conditions réelles (24h/24 pendant pendant 10 jours) date de septembre 2004.

Néanmoins, c’est une étape importante dans la vie de ce logiciel et pour la large communauté qui participe à son développement.

L’annonce de Frederick était la suivante :
(more…)

M-Audio Delta 66 “REV E” in the house

Thursday, August 7th, 2008

We bought a M-Audio Delta 66 last year to complete our multi-track captation system. We’re working for a long time with M-Audio sound cards and especially with Delta 44 ones. So we were a bit surprised when we discovered that the M-Audio Delta 66 revision E wasn’t supported by the alsa project.

To retransmit in live the Amparanoia’s gig at Esperanzah! festival, we need a additional 4 tracks sound card. On sunday, the challenge was to configure our Delta 66.

(more…)

RMLL, logiciels libres et radio

Monday, June 30th, 2008

Histoire de profiter du beau temps et de faire le plein en conférences, je fais le voyage des RMLL 2008 qui débutent demain à Mont de Marsan. Espérons que le TGV de 7h15 ne partira pas sans moi demain matin :-(

Au menu pour ma part :

(more…)

“En shell dans le texte”

Tuesday, May 27th, 2008

Unix Command Line Kung-Fu is 33 interesting pages with a lot of shell tips (linked today by Larry Wright). My small selection with “customized” examples :


$ !!:p
$ !!


$ iwconfig
zsh: command not found: iwconfig
$ /sbin/!!


$ e app/model/user.rb
$ svn diff !$


$ ./script/generate rspec_controler user
$ ^user^session


$ seq -w 1 12


$ awk '{ print $1 }' access.log | sort | uniq -c | sort -rn | head -5


$ less -r +G log/test.log

Some of my own favorites :


$ sudo du -s /home/* | sort -rn | head


$ echo 2048 | sudo tee /proc/sys/vm/min_free_kbytes


$ sudo sh -c "ls /var/archives/*home*"
$ sudo find /var/archives -name "*home*"


$ pgrep nm-applet | head -n -1 | xargs kill


$ alias ifconfig='/sbin/ifconfig'


$ alias myps='ps -u $USER'

Firefox 3 and disk I/O

Saturday, May 10th, 2008

Experienced with the current Firefox beta 5 : after few weeks, Firefox makes an excessive usage of disk I/O. Before switching back to Firefox 2, I made a quick visit in my Firefox profile directory. The diagnostic has been easy : I found a huge urlclassifier3.sqlite file (about 40MB) refreshed in loop.

A Ubuntu bug deals with this I/O problem with urlclassifier3.sqlite. The workaround seems efficient. I’ve disabled the Firefox checking for attack sites and suspected forgery sites in Preferences/Security and removed the previous urlclassifier3.sqlite.

My Firefox 3 is now as fast as on the first day :-)

Don’t record “noise” with your Audiophile USB

Tuesday, March 25th, 2008

If you load the snd-usb-audio without option with the current (2.6.24) linux kernel, your Audiophile USB will send you a nice “noise”.

$ arecord -vvv -D hw:2,1 -c2 -t raw -r48000 -fS24_3BE /tmp/test.raw
Recording raw data '/tmp/test.raw' :
Signed 24 bit Big Endian in 3bytes, Rate 48000 Hz, Stereo
Hardware PCM card 2 'Audiophile USB (tm)' device 1 subdevice 0
Its setup is:
[...]
Max peak (12000 samples): 0x007ff202 #################### 99%

But if you take look, it isn’t a noise, it’s a swapped endian stream.

(more…)

UTF-8 by default for gedit

Monday, January 14th, 2008

For a long time, I use UTF-8 for source files. But it isn’t the default charset encoding of my gnome environment.

GEdit tries to autodetect the encoding to be used and it works fine. But this feature don’t work with the Snap Open plugin. Each time, Snap Open opens a file .. I need to confirm the usage of UTF-8 :-(

I tested this week-end a small script wrapper to change the default charset encoding to UTF-8 before starting gedit :


#!/bin/sh
LC_CTYPE=en_US.UTF-8
export LC_CTYPE
/usr/bin/gedit $*

Here are several minutes saved per day :-)