Shrinking VMware VMDK files before distribution

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.

,

No Comments

Obscure Java error

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)..

No Comments

Firefox plush toy

Just came across this recently..

Firefox plush toy

I think it should be able to sell pretty well if it does go into mass production..

Source: Foxkeh’s Blog

No Comments

Unfinished Project – Paper Aeroplane

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:

ebay unfinished paper aeroplane

No Comments

Firefox add-on: Split browser

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.

No Comments

Will It Blend? – iPhone

And the iPhone craze continues..

YouTube Preview Image

For more blending action, head over here.

No Comments

YamiPod write up

Just posted a write up on YamiPod (Yet another iPod manager) which is an alternative iPod management software to iTunes here.

No Comments

Driver installation problems with Sony WALKMAN

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.

No Comments

Eclipse IDE 3.3 (Europa) released

EclipseIf you’re developing in Java and have not used Eclipse before, you don’t know what you’re missing out. :)

Probably would test out the Web Tools project of the Europa release as web services and distribution seems to be my domain at work in recent times..

No Comments

Javascript setInterval() issues

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. ;)

No Comments