Thursday, February 02, 2006

Santa, if I promised that I would be a good boy this year, can I have one of these Lego.com: Mindstorms NXT.

Please?

Wednesday, February 01, 2006

Glassfish on Mac OS X

Yay! Curious, I coerced my bookah to download the JDK 1.5 for the Mac OS X. I unpacked the tarball from http://glassfish.dev.java.net.

As mentioned before it bails out on ant -f setup.xml, complaining it didn't find any JDK 1.5 compatible JVM. The fix is to do the following (take note that setenv is csh or tcsh shell dependent):

setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
setenv PATH .:$JAVA_HOME/bin:$PATH

And viola! ant -f setup.xml will happily run along.

I love my mac!

Tuesday, January 31, 2006

SJAS on Mac OS X - Google Search doesn't really help that much if you want to run SJAS 8 on OS X. For now aside from compiling Glassfish (which requires JDK 1.5), you are stuck with downloading netbeans4 with the SJAS 8 bundle from netbeans.org.

Anyway, I don't have JDK 1.5 on the iBook yet. And since netbeans doesn't have a VI plugin or keybinding, and to save disk space I don't want both netbeans and SJAS installed.

The solution is to install netbeans4 with the SJAS bundle, copy the SunAppServer8.1 directory to a new location and modify the appserver startup scripts to point to a new SJAS directory (in my case /usr/local/SunAppServer8.1). After some tweaking, found out you only have to modify the following files to point the the new SJAS directory of your choosing:

/usr/local/SunAppServer8.1/config/asenv.conf
/usr/local/SunAppServer8.1/bin/asadmin
/usr/local/SunAppServer8.1/domains/domain1/bin/startserv
/usr/local/SunAppServer8.1/domains/domain1/bin/stopserv

After which you can now delete the Netbeans4 app installed on your Applications dir.

It still boggles the mind why Netbeans doesn't include VI keybindings.
JavaPolis - The Architecture of the Brazilian Health System

I learned a few things about Brazil today:

- Free health care for every citizen!
- Electronic voting for the past few years. Results within 24 hours!
- Has a team of Java developers that can generate an application to be used by millions of users in just a span of four months!
- They dig open source!

The Philippine health care system immaculately pales in comparison.

Monday, January 30, 2006

Just noticed the lady in front of the jeepney wearing a T-shirt with tihs print at the back "Just tiis for all.".

Only in the Philippines.

Sunday, January 29, 2006

Peter Pan

Currently importing some family photos from the Treo to iPhoto. Sometimes I wish I lived in nevernever land. A part of me doesn't want to grow old. Going home with a bright and witty 4 year old, an infectiously funny 1 year old, and a smiling lovely caring wife makes you hope that moments like this last forever.