Shrinking VMware VMDK files before distribution
Posted by Benny Chew in Coding/Development, Tips & Tweaks on October 29th, 2007
Recently been researching and testing with VMware images for the deployment of our application at work which turned out to work pretty well (Ubuntu + Java 6 + MySQL + Glassfish). However, one thing which became bothersome was the overgrowing .vmdk images which didn’t seem to reduce in size even after file deletions were made in the virtual disk itself.
Again, Google came to the rescue for this, linking me to this site which gave a 2 step process for doing the shrinking. Do note that the instructions are for those who are using Windows as their host OS.
Obscure Java error
Posted by Benny Chew in Coding/Development, Java, Tips & Tweaks on October 28th, 2007
Got a “java.lang.InternalError:Can’t connect to window server” while trying to get Glassfish up and running on a Mac G5 running Mac OS X recently at work which was pretty odd as our application and Glassfish do not fire up any GUIs. After some googling, problem was fixed by adding a ‘-Djava.awt.headless=true’ to the list of system variables.
Although it was fixed relatively easily, it seems rather odd that Java would actually try to access the X server even though I was running it through a SSH terminal window (PuTTY)..
Firefox plush toy
Posted by Benny Chew in Firefox on October 28th, 2007
Just came across this recently..

I think it should be able to sell pretty well if it does go into mass production..
Source: Foxkeh’s Blog
Unfinished Project – Paper Aeroplane
Posted by Benny Chew in Humour on September 13th, 2007
It’s got to $5.50 in bids so far.. Have a look for yourself here. Check out the comments too..
Screengrab in case it goes off soon:
Firefox add-on: Split browser
Posted by Benny Chew in Firefox, Tips & Tweaks, Web on July 24th, 2007
A Firefox extension (add-on) which enables a Firefox window to have multiple tabs tiled to however you like which is useful if you have a widescreen LCD monitor. To read more, click here.
Will It Blend? – iPhone
Posted by Benny Chew in Gadgets, Humour, Web on July 12th, 2007
YamiPod write up
Posted by Benny Chew in Gadgets, General Tech, Linux, Open Source, Tips & Tweaks, Windows on July 9th, 2007
Just posted a write up on YamiPod (Yet another iPod manager) which is an alternative iPod management software to iTunes here.
Driver installation problems with Sony WALKMAN
Posted by Benny Chew in Gadgets, General Tech, Tips & Tweaks, Windows on July 7th, 2007
My sister got a Sony WALKMAN NW-E013F as a free gift recently and the installation of drivers continually terminated abruptly at about 70%. Initially she thought it was her fault but after some googling, it was Sony’s. >:| They somehow shipped CD-ROMs with defective drivers in them, which caused that installation troubles.
Taken from here:
Important information regarding the CD-ROM software supplied with the following WALKMAN: NW-E013/E015/E016/E013F/E015F/E016F
Some CD-ROM provided with the above mentioned models may not be used. Therefore, the Hardware Operation Guide (PDF) may not be opened and the Driver for Microsoft Windows 2000 users may not be installed.
If you’re having the same issues, just get the drivers from here and it should install fine. ;)
And here‘s the link to SonicStage 4.3 which is the software used to transfer your music to the device (similar to how iTunes works with the iPod).
Sony Asia Pacific’s announcement regarding this issue can be found here.
Eclipse IDE 3.3 (Europa) released
Posted by Benny Chew in Coding/Development, Java on July 2nd, 2007
Javascript setInterval() issues
Posted by Benny Chew in Coding/Development, Javascript on July 2nd, 2007
I decided to use AJAX calls to get the browser to make keep-alive calls every 2 minutes (using setInterval) and somehow stumbled into an issue where it makes the call once, and then stops. After talking the Javascript and Flash god in the office, we found out that it was because the script goes out of scope and thus stops looping as it should.
A quick fix for this can be found here. It’s been working for me without any adverse effects since. ;)

If you’re developing in 