Category: Computing
Posted by: merc
audacious2

The default apt-get from 9.04 does not gives me audacious2, so, compiling it myself seems to be the only option.
1. Install the required build lib:
   $ sudo apt-get install libglib2.0-dev libgtk2.0-dev libmowgli-dev libmcs-dev libdbus-1-dev libdbus-glib-1-dev libxml2-dev libmad0-dev gstreamer0.10-fluendo-mp3 build-essential linux-headers-`uname -r` timidity

2. Download audacious2 source:
   $ wget http://redmine.atheme.org/attachments/download/69/audacious-2.0.1.tgz
   $ wget http://redmine.atheme.org/attachments/download/71/audacious-plugins-2.0.1.tgz

3. Extract and build audacious2:
   $ tar xzf audacious-2.0.1.tgz
   $ cd audacious-2.0.1
   $ ./configure
   $ make
   $ make install

4. Extract and build audacious2 plug-ins:
   $ tar xzf audacious-plugins-2.0.1.tgz
   $ cd audacious-plugins-2.0.1
   $ ./configure
   $ make
   $ make install

5. Install EQ presets:
   $ wget http://www.dreamcubes.com/webdrive/eq.preset
   $ cp ./eq.preset ~/.config/audacious

That's it!

The default installation has no equalizer presets, you'll need to import one from WinAmp or adjust it yourself, thanks to Bryan Murdock you don't need to : )
Category: Anything Else
Posted by: merc
Do-Not-Tilt

I was holiday in Singapore, and I am surprise that, almost every vending-machine that I come across on the streets has this stickers on it that says "Vending machine design prevents dispensing free products or coins. NEVER ROCK OR TILT: Machine can fall over causing serious injury or death!"
Category: Computing
Posted by: merc
D630 Dual Boot Screen D630 Dual Blue Screen!

I could not believe it! I've just got a free upgrade to a dual screen monitor on my 6 months old Dell D630 laptop! The only problem would be its unable to boot into windows anymore... Contacted the Dell support guys, apparently the motherboard has to be replace, and its back to single screen... what a bummer...

oh well... Dell Sucks... as usual...
Category: Anything Else
Posted by: merc
Just got back my Compaq V3000 laptop from the dealer. Its a little over 2 years old, but it has been sent back for mother board replacement for the 3rd time! (glad that I had the extended warranty period to 3 years)

Figure that I can put Ubuntu 8.10 on it while waiting for 9.04 to come alone in about two weeks time.

Installation went well, NVidia (NVIDIA-Linux-x86_64-96.43.11-pkg2.run) driver seems to install properly as well.

Reboot and damn! Wher's my window title bar? and also the Terminal windows is un readable as well. Turning off the visual effect seems to give me back the title bar, but that's not the solution.

For the next 5 hours is frantic googling for solutions, and it really is funny that so many had the same problem, and offered bloody lot of suggestion that is not working, until came along this article Ubuntu Desktop Effects - Fixing the missing titlebar and it hit the right spot. Just these two lines in your /etc/X11/xorg.conf under the 'Section "Device"':
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"


: )
Category: Anything Else
Posted by: merc
children-in-a-pot?

Ok... I went to my local mall today to catch a movie and this is what saw in one of the children fashion outlet... :-O
Category: Computing
Posted by: merc
Installing Aptana in Ubuntu 64bit is no fun, every other distribution has its standalone package, but not on Ubuntu 64bit : (

After installed Aptana onto my Eclipse as a plugins, launching Eclipse (now with Aptana) splat me on the face with "Aptana requires Sun JRE 1.5 or greater to work properly."

But I've already had JRE 1.6! Some forumers says I need to update my JAVA_HOME and the symbolic link that points to the "real" JRE 1.6:
ubuntu:~$ sudo update-alternatives --config java
ubuntu:~$ echo "export JAVA_HOME=/usr/lib/jvm/java-6-sun/jre" >> ~/.bashrc

Now there is a problem, the error is gone, only if I launch Eclipse from terminal, if I launched it from the "Main Menu", the error about JRE comes back.

Until much later I found out that Eclipse support a flag -vm to specifically allow one to point to the VM they wish to use, I've added the line "/usr/bin/eclipse -vm /usr/lib/jvm/java-6-sun/jre/bin/java" as the command to execute.

So, I dont get it, why is $JAVA_HOME not set if eclipse is launch from the "Main Menu"?

02 Oct 2008: My New Phone :)

Category: Anything Else
Posted by: merc
SonyErricson P1i The I.T called me up today and asked me to pickup my new phone from them, its a SonyErricson P1i ! ^_^

I waited I got home, and un-box the package with my washed hand ;)

Swap in my SIM card, and plugged in its battery, viola, IT's ALIVE~

After fiddling with it for a while, I realize that it could not connect to my home wifi, which seems odd, my colleague's N95 connected to it without any fuss...

Another problem that I found, is that I can't get my Motorola H700 bluetooth head set to pair with my new phone.

A quick browse for solution on the www, found that plenty of people has the exact same problem as I, it is not until I found the following articles that solve both my problem:

1. Unable to connect wifi:
In most cases P1i connects to the network but the applications cannot access the web.

I had the same problem but the solution i found was to reduse the threshoud to 2346.

For this go to internet accounts /more/advanced and change RTS threshold to 2346 and powersave to OFF

now ur browser should be able to access the web.

2. Unable to pair Motorola H700
1. With the mic closed, press the call button and hold it for a few seconds.

2. When the purple (or lavender) light comes on, open immediately the mic while the light is on. After you do this, the light will flash two times and then will remain steadily lit (If the light die off after the boom was flip out, then maybe the connection of the boom is loose, so after you flip it out, FORCE it out a little further, that should make sure this steps work).

3. Your headset will be now in pairing mode.


I must say that another thing that I'm actually shock is that it does not come with a "joy-stick" like my old K700i, although I'm expected that its a "PDA" phone after all.

Now that I'm happy, the keys are still something I need to get used to, qw-er-ty keyboard on a phone... hm....

Posted by: merc
I'm working on a new project, with new VS2008 on my new desk and new chair, what better time to update the log4cxx library that I've been using since then : )

I've quickly downloaded the source package from the official log4cxx site and I'm really happy that it comes with MSVS project files now!

But soon I realize that it only build DLL versions of the log4cxx, and since I need the static version of log4cxx I'll have to go back to the ANT tool.

As usual you'll still need to get the apr, apr-util and other contrib package and setup ANT for the task, and since I don't have that environment anymore I just had to get all these package allover again.

Everything went a lot smoother then the last time I did this about a year ago, with the right package and build environment everything went just smooth (hooraay~)

The ANT tool still generates the static/shared/release/debug projects files separately. So just like what I did before, I generate the VC6 projects for each build type, and merge it into a single solutions that can compile and build all build type. Plus I also included the required external dependencies (apr / apr-util / etc) so you will just need to download single package and starts get log4cxx to compile on your machine.

I've made two package available, one for VC6, another for VC2008 (VC9) from my previous blog entry here.

:)

p/s: did I told you that I've got my new desktop machine and new laptop machine as well? ^_^

31 Jul 2008: Pair Me Up, Scotty?

Posted by: merc
With our current Sprint's Backlog item completed, me and my colleague decided to trying out Pair Programming just for the fun of it. I volunteer to be the driver while he be the navigator (I actually think "back-seat driver" would be a more appropriate term :D )

We dig-in on my station, and working on a backlog item (for the next sprint, which yet to start yet). I must admit that the progress of completing the task is pretty fast, we exchange idea on the solution before code it in, and on the first run the code is working :) And not to mention that the whole activity it keeps me awake! which I normally doze-off in the afternoon while working alone~

I have a feeling that we're going to do this more often in the future :D

11 Jul 2008: Man's Best Friend

Category: Books
Posted by: merc
I was walking out for lunch in a fine sunny afternoon, and for some odd reason, when I walk by a car parked at the road-side parking lot, I peer through its glass and a book on its dashboard caught my eyes (I don't usually peek into parked cars).

A closer look reveal the title: How to Make Your Man Behave in 21 Days or Less Using the Secrets of Professional Dog Trainers

WTF *_*
«Prev || 1 | 2 | 3 | 4 | 5 | 6 | 7 || Next»