Locations of visitors to this page
« December 2009
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
       
Today

XML



LINKS







template by
Helquin


20050922 Thursday September 22, 2005

This is my last blog at blogs.sun.com

Hi My Friends

After 5 years++ services with Sun, I decided to continue my career in a smaller company as Senior Technology Manager, R&D and still doing Java, J2EE stuff. I will continue to use/promote Sun's product whenever possible..and we might see each other again at next JavaOne.

This is my last blog at blogs.sun.com (Well, maybe I should said temporary...who knows one day Scott or Jonathan will ask me to join back Sun again..too good to refuse, rigth?).

I will continue my blogs at http://coolboykl.blogspot.com... so...see u there! , and u could reached me via email at khoo dot james at gmail dot com.

Cheers

James Khoo

( Sep 22 2005, 02:45:41 PM MYT ) Permalink Comments [13]

20050825 Thursday August 25, 2005

How could u? [A Puppy's Story] Found this story from internet, very good read..



HOW COULD YOU?

By Jim Willis, 2001

When I was a puppy, I entertained you with my antics and made you laugh.
You called me your child, and despite a number of chewed shoes and a
couple of murdered throw pillows, I became your best friend.

Whenever I was "bad," you'd shake your finger at me and ask "How could
you?" -- but then you'd relent and roll me over for a bellyrub.

My housebreaking took a little longer than expected, because you
were terribly busy, but we worked on that together. I remember those
nights of nuzzling you in bed and listening to your confidences and secret
dreams, and I believed that life could not be any more perfect.
We went for long walks and runs in the park, car rides, stops for
ice-cream (I only got the cone because "ice cream is bad for dogs" you
said), and I took long naps in the sun waiting for you to come home at the
end of the day. Gradually, you began spending more time at work and on
your career, and more time searching for a human mate. I waited for you
patiently,
comforted you through heartbreaks and disappointments, never chided you
about bad decisions, and romped with glee at your homecomings, and when
you fell in love.

She, now your wife, is not a "dog person" -- still I welcomed her into our
home, tried to show her affection, and obeyed her. I was happy because you
were happy. Then the human babies came along and I shared your excitement.

I was fascinated by their pinkness, how they smelled, and I wanted to
mother them, too. Only she and you worried that I might hurt them,
and I spent most of my time banished to another room, or to a dog crate.
Oh, how I wanted to love them, but I became a "prisoner of love."
As they began to grow, I became their friend. They clung to my fur and
pulled themselves up on wobbly legs, poked fingers in my eyes,
investigated my ears, and gave me kisses on my nose. I loved everything
about them and their touch -- because your touch was now so infrequent --
and I would've defended them with my life if need be. I would sneak into
their beds and listen to their worries and secret dreams, and together we
waited for the sound of your car in the driveway.

There had been a time, when others asked you if you had a dog, that you
produced a photo of me from your wallet and told them stories
about me. These past few years, you just answered "yes" and changed the
subject. I had gone from being "your dog" to "just a dog," and you
resented every expenditure on my behalf. Now, you have a new career
opportunity in another city, and you and they will be moving to an
apartment that does not allow pets. You've made the right decision for
your "family," but there was a time when I was your only family.

I was excited about the car ride until we arrived at the animal shelter. It
smelled of dogs and cats, of fear, of hopelessness. You filled out the
paperwork and said "I know you will find a good home for her."
They shrugged and gave you a pained look. They understand the realities
placing a middle-aged dog, even one with "papers."

You had to pry your son's fingers loose from my collar as he screamed
"No, Daddy! Please don't let them take my dog!" And I worried for him, and
what lessons you had just taught him about friendship and loyalty, about
love and responsibility, and
about respect for all life.

You gave me a good-bye pat on the head, avoided my eyes, and
politely refused to take my collar and leash with you. You had a deadline
to meet and now I have one, too. After you left, the two nice ladies said
you probably knew about your upcoming move months ago and made no
attempt to find me another good home. They shook their heads
and asked "How could you?"

They are as attentive to us here in the shelter as their busy schedules
allow. They feed us, of course, but I lost my appetite days ago. At first,
whenever anyone passed my pen, I rushed to the front, hoping it was you
that you had changed your mind -- that this was all a bad dream ... or I
hoped it would at least be someone who cared, anyone who might save me.

When I realized I could not compete with the frolicking for attention of
happy puppies, oblivious to their own fate, I retreated to a far corner
and waited. I heard her footsteps as she came for me at the end of the
day, and I padded along the aisle after her to a separate room. A
blissfully quiet room. She placed me on the table and rubbed my ears, and
told me not to worry. My heart pounded in anticipation of what was to
come, but there was also a sense of relief. The prisoner of love had run
out of days.

As is my nature, I was more concerned about her. The burden which she
bears weighs heavily on her, and I know that, the same way I knew your
every mood.

She gently placed a tourniquet around my foreleg as a tear ran down her
cheek. I licked her hand in the same way I used to comfort you so many
years ago. She expertly slid the hypodermic needle into my vein. As I felt
the sting and the cool liquid coursing through my body, I lay down
sleepily, looked into her kind eyes and murmured "How could you?"

Perhaps because she understood my dogspeak, she said "I'm so
sorry." She hugged me, and hurriedly explained it was her job to make sure
I went to a better place, where I wouldn't be ignored or abused or
abandoned, or have to fend for myself -- a place of love and light so very
different from this earthly place.

And with my last bit of energy, I tried to convey to her with a thump of my
tail that my "How could you?" was not directed at her.

It was directed at you, My Beloved Master, I was thinking of you.
I will think of you and wait for you forever. May everyone in your life
continue to show you so much loyalty.


Everyday, there are countless dogs and cats sends to Malaysia Aniamal Shelter (SPCA), because of illness, old, personal reasons (such as moving to apartment where pets are not allow), and other reasons. Many owners believe that their “family member" will eventually adopted in a good home again. But the truth is, 60-80% will be put in sleep in less then one month period, due to operation cost, and limited living space at the Shelter.

Thus, plese think twice before adopting a pet, and do treat them nicely..

Cheers





( Aug 25 2005, 11:30:46 AM MYT ) Permalink Comments [2]

20050820 Saturday August 20, 2005

Donut Diary- I went to Dogathon!

Hello, bow bow, wow wow!

Last week, my owner brought me to “Dogathon Kuala Lumpur” to socialize with other doggies. There were a lot of games,competition and foods for me ... bow bow, wow wow.... here were someof the pictures taken at the Dogathon:



There were many kinds of dogs at the event. Some with nice cloths and accessories, and some were “naked”.

“Cowboy” dog from Texas!!





Joyce bought me new clothes which was cute with red stripes but my father complained that my new T-Shirt is more expensive than his T-Shirt!

But I want all the nice clothes... I don't care...





“Hi, could I rest beside you for a while”



Out of sudden, I saw the biggest dog ever. He is really big!! very big!

So, now u see, how tiny I am.....oh man! I need some protection from the very huge dog.





Big Dog: Kiss my nose and I will protect u.

Me: OK, God Father ...



That is all for now. I hope u like my doggie adventures. Untilnext time ... au revoir !

PS: My owner James told me that some of his readers suggested himto remove “Donut's Diaries” to another blog's space likeblogspot.com and not post them in Sun's blog server because peoplevisit blogs.sun.com for more “technical” info such asJava, Sun, Solaris, and etc. What do u think people? Shall we move“Donut Diaries” elsewhere?



( Aug 20 2005, 11:02:05 PM MYT ) Permalink Comments [3]

20050817 Wednesday August 17, 2005

Shall we open source Java?

I was invited to present “Java in Open Source World” at a local university  yesterday. One of topic I ask to deliver is should we as Sun “Open source Java” to the community? Well, I did not answer the question directly, I first explain to audience:

- the JCP process, important of standards, and why TCK is imperative on driving Java.

- important of standards, the promise of Java, write once run anywhere.

- associate importance of JCP with DVD today, where any DVD movie we bought today are suppose to play on any DVD player, whether if the player is manufacture from China, Hong Kong, USA, and other places. This is because DVD standard (interactive menu, supported audio and subtitles format, viewing angle, and etc.) are govern by a standard body, DVD Association, and thus why DVD is widely accepted by consumer today. The same goes to Java.

- Any new Java implementation are deem to introduce new bugs that differ then other implementation, A Java program may run fine under “ABC” JVM, but not “DDD” JVM.

- It's free to develop, distribute and run Java applications.

- Project Harmony from Apache, where we sponsor the TCK.

- Since Java 1.2, the source code is available for review. We are now encourage people to developer to participate Java SE 6 Mustang development, where developer could download weekly build, and provide improvement/bug report via project hosted at Java.net


At the end, I throw back the question “Should Sun OpenSource Java?” to audience, and to my surprise, 60-70% audience agree we should continue drive Java via JCP process, TCK is imperative if we do wants to open source Java. This is goooood!

Any comments?

( Aug 17 2005, 11:10:09 AM MYT ) Permalink Comments [0]

20050804 Thursday August 04, 2005

Goodbye My Friend!

Few of my friends being affected by Reduction in Force (RIF) exercise carry in Malaysia today. It's a very emotional day for me,  I sincerely hope that, this is last RIF we have to carry out, and we do start hire those good people back in a very near future.

For those affected, I wish u all have better tomorrow, and hope u to come back as Sun employee  very soon!

( Aug 04 2005, 06:05:45 PM MYT ) Permalink Comments [1]

20050728 Thursday July 28, 2005

My Journey with Donut No one told me that is very tiring job to adopt a pet especially a very active dog i.e our puggie “Donut”. For the past three weeks  I had to ...

a) Clean up Donut's “Pee and Poo”at least twice daily. No matter how hard I try to train him to do his "business" at assigned area, he still trys to mark his areas everywhere in my apartment.This includes under the expensive sofa, behind  the TV bench, bookshelf corner, in the kitchen and etc. I have to do “Pee and Poo” Hunting everyday ..... OMG please help!

b) Donut is also very expensive. Let me breakdown the costs we have spend so far ...


1

Imported Dog Food

RM 50.00

2

Vitamins

RM 30.00

3

Vet Visit for vaccinations

RM 150.00

4

Toys

RM 25.00

5

Collar and Leach

RM 20.00

6

Shampoo, Ear Cleaning kit

RM 50.00


Total

RM 325.00

c) He is also too active and always wants me to play with him even when I am very tired after work. He barks until I entertain him ... stupid dog!

But at the end of the day it's a priceless experience to have “Donut” in our home. Joyce and I now have at least one common thing which is playing with Donut. Each time when Donut gives us his famous “poor me”, “please hug me” looks, all the extra jobs and $$$ the dog imposed on me are nothing ...



( Jul 28 2005, 03:03:00 PM MYT ) Permalink Comments [3]

Donut Diary, I am going to Party!

30th July 2005- Saturday

I overhear there is a party for pugs. So I beg my slave James to bring me to the party. 



“Hello, I want to go to PugSquad party! I want to meet with other pugs....please.......please!”

James: But I am so tired ... I need to rest OK?

Joyce: I am also very tired. Please understand OK, nice puppy!

Note: The PugSquad party is a monthly gathering event for Pug Owners in KL area.



I don't care....I want to Go To Pugsquad Party! I want to meet with other puggies ... bow wow, wow wow!!! If you don't bring me to party, I will bite the sofa, pee pee and poo poo everywhere...



OK, my slave owner finally granted my request and preparing me for my first big social event.



I am so handsome and so ready for Party, yes!!!!



At the party!

“Hi, I am Donut, very nice to meet you !!!”



L-R Doggies: Smith, Sugar and Donut

“Let go of me, your armpit is so smelly”



“Where are my slave (i.e James and Joyce) gone?”



“Who cares!!!, let's party again...1, 2, 3 and 1,2 3”..



Slave: “ So, u happy now?”

Me: “Yes!!”

Slave: “And, you want to go for next party?”

Me: “Yes! Yes! Yes!”



It's 10.00 pm and I'm so tired and sleepy already .... What a night !



( Jul 28 2005, 01:27:36 PM MYT ) Permalink Comments [2]

20050711 Monday July 11, 2005

Donut Diary [ Please Take me home II]



8th July 2005

Bow, wow.Bow.wow.wow...

Ops, sorry, you probably don't understand my language.

I was picked up by my owners James and Joyce today, it's only a short trip from my ex-owner's shop to James's apartment (I mean "my home" also. I guess I have to stay with them for a very very long time). Upon arriving at the apartment car park, James "sneaked" me into a box full of toys and quietly transport me back to his apartment. I don't know what's the reason they are doing this but it's fun! I think my Master James's job is a spy or something because he introduced himself as (with a very cool voice) "Khoo, James Khoo, 008"...ha ha..

I popped my head out from my box and the first thing I heard from James and Joyce is "Donut, Donut"....hmmm...sound like they are very hungry, and they are looking straight into my eye while calling "Donut!!", scary.

Later I realized DONUT is MY NAME, although I don't know which part of my body look's like Donut, I kind of like the name..

Hey, got to go now, please leave a comments to my Master James to treat me nice..as I am so so lovely, and adorable, cheers!



( Jul 11 2005, 07:51:18 PM MYT ) Permalink Comments [3]

20050706 Wednesday July 06, 2005

Please take me home.


[Me talking to myself at one of Peg Shops in KL. yesterday]

..Wow, look at this puppy, he is so adorable, I wants to take him home....now..

..Wait, stupid, you can't have the puppy, remember..you stay in Apartment in which Cats sand Dogs are prohibited.

..but, he is so cute, look at his eye, he is begging me to take him home.

..So, who's going to take care the puppy, what's ur plan to “sneak” the puppy in apartment.  It's a huge responsibility to adopt a new pet, you know..

..but, he is so cute!!!! I don't care..I want! I want!

|
|
|
|
|
|

Paid RM200 down payment to the shop owners, I am taking him home this Saturday.

PS: If you have read my blog previously, you may discover that previous puppy picture has been replace.Well, this is because Joyce, my partner prefer the above puppy then the "choosen" one, and Girl always win in this situation..peace!!


( Jul 06 2005, 01:32:11 PM MYT ) Permalink Comments [4]

20050629 Wednesday June 29, 2005

Nobody Knows!!!



The movie “Nobody knows” tells a story about how four kids (All under age 12) survived living in a small apartment in Tokyo, after their Mother abandoned them. This movie left a powerful and deep impact on me. At this very moment, the movie ending is still stuck on my mind.  I dreamed about it and woke up several times, thinking about all the kids in the movie. I almost cried this morning when I discovered from stories in the Internet that the movie is actually based on a true event which happened in Japan during 1988  ...

When I was watching the movie, I was upset because if only people around the kids could have paid more attention to their needs, their circumstances could be changed for the better,  ....  I then realised that the movie also projected the reality around us that “Nobody knows” repeat similar events happening around us everyday. How many times that we just walk pass the homeless people and totally ignore them? How many of us know our neighbors's name and their family too? How long we haven't called back to our parents and to find out how are they? How many of our hearts turn numb when CNN reports war or disasters happening far far away elsewhere? How many people are desperately seeking for help but "NOBODY KNOWS" ?

If we could just care a little more .....

PS. Please watch this movie . Don't read any critics or reviews first . And most importantly do share your thoughts with Me.



( Jun 29 2005, 03:56:32 PM MYT ) Permalink Comments [1]

20050627 Monday June 27, 2005

I miss my Duke very much!!!!
I can't go to JavaOne this year, and I miss my duke very much.

Note: Duke, I hope to see ur next year (Hints to my Boss, Bernard), please wait for me..OK...
Love
James


( Jun 27 2005, 02:04:45 PM MYT ) Permalink Comments [2]

Human Pac Man... Check this out..
Human Pac Man
100% impressed!  Imaging apply the technologies to play "Halo", "Counter Strike", and "Quake". Waiting.

Cheers !
( Jun 27 2005, 11:30:00 AM MYT ) Permalink Comments [1]

20050608 Wednesday June 08, 2005

My First Crystal Ball This is my very first attemp create a Crystal Ball, all under 10 minutes.  Guess what software I used to create the crystall ball?


1) Windows + Photoshop ? wrong,
2) Netbeans 4.1 ? is that even possible? 
3) I am using Java Desktop System (JDS) with Gimp, isn't that cool, there isn't any reason to run Windows now on my notebook...Yes!!!

PS: The tutorial is here, enjoy!

( Jun 08 2005, 09:33:59 PM MYT ) Permalink Comments [1]

20050602 Thursday June 02, 2005

Why I so proud as Sun Employee Because I care, and I like to share!
Look here for all the big people at Sun who contributed and sharing their idea that change the IT world.
Give me another 5 years, I will be in the picture, standing beside Bill Joy. :-)

As for now, I will continue to share tips on netbeans, app server, Java designs, my life, and etc, as a small contribution to this big big sharing campaign.

Cheers and love u all!

( Jun 02 2005, 12:43:00 PM MYT ) Permalink Comments [2]

20050531 Tuesday May 31, 2005

[Easter egg in Netbeans 4.1 ] – “On the fly” deployment under NetBeans

Here's my problem, I have three set of application configuration files (e.g. project properties, hibernate configuration, log4j properties, and others) setup for three different deployment environments, there are:
-1. Production, my application will be connected to client's Oracle database, and log level set to warning.
-2. Local, HSQLDB running on my local machine will be use, log level set to debug
-3. Test, for unit testing purpose

I am a lazy person, I wants my build script to prompt me which mode I would like to deploy, prior it compile, package and deploy my application. Listed below are the steps to how I achieve that:
- Firstly, I create a folder name "cfg" under project project, I then create “production”, “local”, and “test” folders under the cfg folder.
- Put properties files in to respective folder, shown in figure below:


- Open build.xml and add in new target, called “-pre-compile”, which will prompt user deployment mode, and copy respective properties to src directory prior any compilation, as shown in code below:


    <target name="-pre-compile">
            <input message="Please enter deploy mode? (production, local, test)->"
                    addproperty="mode"
                    defaultvalue="local"/>
            <echo message="Copying application configuration file for ${mode} mode"/>
            <copy todir="${src.dir}" overwrite="true">
                <fileset dir="${basedir}/cfg/${mode}"/>
            </copy>
    </target>

- Clean and Build my project, surprise, surprise, Netbean actually popup a nice dialog ask me to enter deploy mode, as shown in figure below:




- That's very nice, but I am lazy person, remember. I don't want to type "production", "local", or "test" each time I want to deploy my application. So, I modified ant script a little bit by inserting a validargs element at the input taks, as show in code below:

    <target name="-pre-compile">
            <input message="Please enter deploy mode? (production, local, test)->"
                    validargs="local,production,test"
                    addproperty="mode"
                    defaultvalue="local"/>
            <echo message="Copying application configuration file for ${mode} mode"/>
            <copy todir="${src.dir}" overwrite="true">
                <fileset dir="${basedir}/cfg/${mode}"/>
            </copy>
    </target>

- Clean and Build my project, Netbean surprise me again, by showing me a popup with a pulldown showing available delopyment modes.



Now, that what I called hidden Easter egg in Netbean..Enjoy!



( May 31 2005, 05:59:39 PM MYT ) Permalink Comments [2]