Firebird News

Sunday, October 16, 2011

making sound in tux guitar #ubuntu and #debian

I had no sound on my tuxguitar when playing gp3 files so i had to install timidity and java sound plugin (they are not installed by default ) sudo apt-get install timidity tuxguitar-jsa and then select in Tools ->Settings -> Sound Midi Port -> Timidity
Now i can go back to [Eric Clapton] Cocaine

Monday, October 03, 2011

Php Image Slow SMP Magick on #Ubuntu / #Debian

There is a known bug with Image Magick : it can be very slow when used with openmp enabled (by default in debian/ubuntu) on multicore systems (almost on all servers these days) It is eating a lot of cpu (50-100% for each core) instead of idling at 1-2% (for simple image manipulations) It was strange for me that one single core server was faster than a quad core in the same specs with the rest of the config (os ubuntu 10.04 lts, kernel latest, ioscheduler : deadline) Eliminating the problems on what could slow down the server (php version , image magick version , kernel version ) the only thing left was cpu Solution is very simple configure imagemagick without openmp
apt-get buil-dep imagemagick
apt-get source imagemagick
cd imagemagick-
sudo vi debian/rules
add ~ line 39 --disable-openmp (dont' forget to add \ to the privious line)
it should look like
       --x-libraries=/usr/lib/X11 \
Rebuild the package and reinstall
dpkg-buildpackage -b
sudo apt-get remove --purge libmagickcore2
cd ..
dpkg -i libmagickcore2* libmagickwand2*
apt-get install php5-imagick
/etc/init.d/apache2 restart

Sunday, October 02, 2011

Where the rock stars go when they go down ? they go to country hell

My biggest wtf moments were when i saw that Robert Plant is singing and dancing country music I wondered for months and years how that could that happen ? how he can go so low After so many great performances in rock concerts . While listening to many Blues Bands i observed that many songs were ripped by Led Zepelin and others so in the end Led Zeppelin is one of the best Cover Bands of them all This why the main lead singer can go so low , he can play anything even country music (no sacrifice or spells were involved in the process)