Saturday, November 14, 2009

Play FLAC files on symbian 5th edition mobile phones

Referencing my old post about FLAC, and how i was fascinated by the great sound quality it offers. Also mentioning that i had the ability to play them in my old Nokia N70 using oggplay. Unfortunately, i have changed my mobile and oggplay is not supported !, so i have either ways to go, convert my existing FLAC files to mp3, or find another alternative to oggplay.

As for the first option

you can try this on Ubuntu,

flac -cd "infile.flac" | lame -h - "outfile.mp3"

But ofcourse, you must have both packages flac and lame installed, if not try this

sudo apt-get install flac
sudo apt-get install lame

as for the first command flac -cd

"d" to decode the FLAC file
"c" to write the output to stdout

and the second command lame -h ,

"h" defines the sound quality for the output file, and can be replaced by -q {0-9} where 0 is the best quality. and Afaik is not related to the bitrate !

"-" which refers to the other dash, talls lame to take the input from the stdin. This clarifies the need for the "|" piping.

And regarding the second option

Actually i tried to google for it a while ago but in vain, but while i was writing this post, i thought i might give it another try, and i found this post !! which mentions this open source project FolderPlay which enables you to browse your files and play them (*.FLAC included).

This not only eliminated the need to convert back to mp3 and sacrifice the sound quality, but also eliminated the need to generate a playlist for each album, as i had to do with Nokia Music Player and Symbian Oggplay.

Viva Open Source :)

Saturday, May 02, 2009

Programmer Personality Test !!

I stumbled upon this test for programmer personality through Ramy Mahrous and here you can find the test itself and this was the result for me :)

Your programmer personality type is:


You're a Planner.
You may be slow, but you'll usually find the best solution. If something's worth doing, it's worth doing right.

You like coding at a High level.
The world is made up of objects and components, you should create your programs in the same way.

You work best in a Team.
A good group is better than the sum of it's parts. The only thing better than a genius programmer is a cohesive group of genius programmers.

You are a liBeral programmer.
Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We're not writing on paper anymore so we can take up as much room as we need.