Tuesday, January 27, 2009

我的初恋 - 海珊 - Part IV



The important day finally come, I had a cold shower,putting on my new jean and cloth, and ask my friend to help me "styled my hair. I looks into mirror and told myself, "yes James, u can do it, u are good looking, and cute (i.e ugly but adorable, haha)". I am ready.

While at the school hall, I am getting nervous, and my palm start sweating, and getting bit wet. Stupid James, cool down, Ok. How u expect to hand hold her hand with ur slippy hand. Cool down.. Hm, where is 珊? is she ok?

Found her at the back stage. 珊 have two stage performances, a group dance, and a solo dance, she is rehearsal some dance routine, which take my breath away, glamorous and enchanting. I just stand a one corner, and admiring her from a distance. Finally, she notice me, I then smiled at her, give a "V" hand signal to her, wishing her luck for the performance, she smile and acknowledge it. I quietly walk back to my seat, as the show about to start.

珊 solo dance performance wins a lot of applaud and cheers from audiences, I notice a lot of of my senior start noticing her, and whispering who is the girl, some even say must invite her for the lover bridge game later. O oh, no good no good..

When the DJ announced the lover bridge game about to start, and asking all of us to get our partner ready, I quickly runs toward 珊, wanted to invite her for the game, however, 珊 is already been approached by 5-6 seniors, and they all are popular and handsome then me. 珊 didn't notice me at all, knowing the chance to invite her for the game is very slim, I am sad, and disappointed, quietly walk away.


Suddenly, someone hold my hand..

"Hey, where have u been!!!, I been waiting for u to invite me for the game, you stupid!", 珊 said in a cute voice, with the tone pretending she is upset..


Then she give me a light kiss on my cheek, and said. "btw, u are very handsome today.."

"But, only for today..haha", 珊 giggled.


------------- To be Continue --------------

Monday, January 26, 2009

Gong Xi Gong Xi 2009


Coolboy and family (i.e Mimi) would like to wish u and your family a very happy, romantic, prosperous Moo Moo Chinese New year...

Thursday, January 22, 2009

我的初恋 - 海珊 - Part III



珊 and I stayed at school hostel (don't worry, guy and girl do stay in different dorms), we start getting very close to each other after the "Express Lunch Delivery" incident. We went to school together every morning, went to library after school to finish our homework. and, we usually have casual walk around our school after our dinner. We chit chat, enjoy sunset, admiring each other during those walk. People just envy or jealous about two of us, even our teachers also know there is "little love in the air" between me and 珊.

There are many times during those casual walk I really wants to hold 珊's hand, like pretend to fall down, hope she will try to catch me, or try to get my hand very close to her, but all fails, one reason is I am still very shy, and the other reason is Chong Hua high school is very strict, any boy and girl get caught of holding hand by our discipline teacher will call into her office, and be prepared to nag by her for at least two hours, and worse, both parents will be notified, haha.

I know my only chance to hold her hand legally is to invite her to play lover bridge game at the Chinese new years party, in three weeks times. FYI, the Chinese new year party is yearly event organized by students who stay at school hostel (There are about 1000 of us stay at school hostel that year). The party usually run one week before Chinese new year. Teacher are invited to the party, with yummy foods and drinks, stage performances by students (comedy, singing, dance, magic show, and etc) from different dorms, and most importantly some party games.


The most anticipated event for us (well, for guy at least) is the "LoverBridge" game at the end of the party, where Guy are allows to invite any girl, hand hold the girl to quickly go through "Lover bridge" (form by a group students) before music stop. When the music stop, the bridge will lower down, and any pair caught in the bridge will be out of the game, and the game continue..kind of childish from today standarad, I know.. But that time, we consider that is a very big event for "Single" Guy like us..

To attend the party, and to make me stands out compare with others, I needs the following:
a) A new shining cloth and jean
b) A smooth and clean face,

-----------------------------------------------------------
A) Getting a new Shining Cloth and Jean

"Mom, can I have RM50?", I asked my Mom.

"RM50!!!!! What for!! U think is easy to earn RM50 ah, u know how much I can bough for family RM50...blah blah blah.......", Mom scolded me.

"I needs to buy new cloth and jean..", I said

"New cloths!!!! you should have enough cloths and jeans in your closet. I just bough u new jean 6 months ago, OK! why u so so greedy and selfish!!! ....blah blah....", Mom nagging..

"Our school's Chinese New Year party is coming in two weeks time", I said

"So what, can't ur wear your exsting cloth..blah blah blah...blah", Mom continue to nag me

"But Mom! I have to wear a bit smart to impress a girl I like loh, her name is 海珊", I said

"Oh! really?!!!! OK, OK, here is RM50", Mom give me RM50, "Now, tell me more about this girl 海珊, is she pretty, how many brother and sisters she have, where do she stay, blah blah.."

"Mom!"..

"OK OK, will not ask any more question, when u will bring back the girl for mom to see.?"

"Bye, Mom.."

---------- To be continue -------





Tuesday, January 20, 2009

我的初恋 - 海珊 - Part II


珊 not only a pretty girl, she is friendly, helpful and very smart, all this have make her a very popular girl in our school. For me, because I am bit shy that time (Remember, my face full of pimples that time) I am just admired her secretly, observed her from a distance, and jealous by myself when she start talking a bit friendly to other guys.

Our second magical moments happen three weeks later..

"Everyone, do finish up your essay, and submit to my desk by today", our Chinese language teacher remind us, before she end the class.

Everyone has finished their essay, and rushing for lunch. Except 珊..still working hard to finish her essay.

"Still have a lot to write?", I ask.

"Yep", she answer quietly.

"Ubi Khoo, hurry up, we all waiting for u, hungry lah!!!!", my friends urging me to go to cafeteria for our lunch..

"Ok, Ok, coming", me walking unwillingly toward my friends.

While at the cafeteria, I start getting very concern about her, as we only have one hour lunch break. I am worried that she might don't able to take her lunch before our afternoon class start.

So I excuse myself, order some light foods and drink, and quickly rush back (is more like running 100 meter in 10 seconds) to our classroom, and found out that 珊 still working very hard on her essay.

I walk quietly toward her, slowly and nervously hand over the foods and drink to her, and say "Err....this is for u.."

She first stare the food and drink, and then she looks into my eye, smile and say "Thanks, we share share the food, ok!", Bingo!..

Then ..the magic just happen..

She slowly raise her hand, to tidy up my shirt, and comb my hair a bit..
"Next time, u don't have to run, ok."

Wow, I am just stun, like forever, and no idea what to do next..she just smile away.

From that moment, I know I am in love with her, and she soft of "confirm" that I am her Boyfriend.

However, we only start holding each other hand about two weeks later.

------- To be continue --------

Friday, January 16, 2009

我的初恋 - 海珊

Do u on and off miss your puppy love? And when u do, do u smile of those happy moments u both share or those little secret only and u and her know? Do u occasionally still hope that one day, u could meet up with her again, even after many many years u have lost contact with her?

Well, I do. Her name is 海珊 (i.e Coral), and here is our story.

1989, I am 17, face full of pimples, am study at Seremban Chong Hua High School. 海珊 joined our class (Form 5 Science Class-B) after long holiday break.

"Class, we have a new student join us today, her name is 海珊, and previously she is from..", our teacher introduce her, while I still half awake, and half asleep.

"Ubi (my nick name, i.e Potato), wake up! got Leng Lui (pretty girl) joining our class..", my friend Thong try to awake me...

"huh....Where?"

"Hi everyone, my name is 海珊, glad to joining this class..."

Wow, such a lovely and cute cute voice, fully awake now,Oh my god! she is indeed a pretty girl and till now, I still remember her first smile. When she smile to every one of us, I feels that our class room is brighter, warmer, and fresher, as there is a little Sun, shining through from her head. I swear I didn't exaggerate any of this. this is what I truely feels then, maybe this is love at first sight?

"珊, u could sit beside Khoo..", did I hear that correctly? my teacher just ask her to sit beside me..wow..thanks teacher, muak muak.. thanks very much. I promise I will not sleep again in your class.

"Hi, 珊 here, nice to meet you.",

"Hi, my name is Khoo.. ", When I am about to start my usual James Bond style introduction, i.e Khoo, James Khoo.. ..

"And we all call him Ubi", Thong interrupted, stupid Thong, spoil my image..

She chuckle a bit, and give her right hand toward me.. I just sit that, admiring her smile, and no idea what to do next, till Thong smack my head. "Yoi!, Stupid, she wants to shake your hand..gentleman a little lah"..

"Oh, Oh, sorry, nice to meet you!", nervously give my left hand toward her, and about to shake her hand, ops! found out given wrong hand, quickly change to my right hand instead, and she is doing the same... and then, our first magical moment just happen..

We looks into each other..
Eye to Eye.
Then time just stop.
The whole class room just have me and her,
And, we shake hand, smile, and laugh at each other.
And this is how we first meet.

To be continue..

Tuesday, January 13, 2009

A new start




The rain finally stop, I open up my window, the air is so fresh, sunlight shinning through my eye, warm, and full of energy.

After weeks living in the dark, the Ram is about to embark a new journey.
Is the world ready for the Ram?

1,2,3 Go!

Wednesday, January 07, 2009

The Nasty JPA "Unknown abstract schema type" error

I been trying to debug the following error for days, and it drive me nuts!

The problem: JPA refuse to compile one of my NamedQuery, and throws the following error:

Error compiling the query [UserVO.findByUserName: SELECT u FROM UserVO u WHERE u.name = :name]. Unknown abstract schema type [UserVO]

After numerous Google search, I conclude that JPA will throw "Unknown abstract schema type" when JPA fail locate your entity class". Most often, this type error occurs when:
  • Developer have put down database table name instead of Entity Class name in the JPA query. eg. if we have a EntityClass UserVO which map to table name users, the query "SELECT u from users u" will throw the above exception.
  • When running JPA in standalone, or not JavaEE container(such as Tomcat 5/6), they forgot to explicit list all entities class in the persistence.xml, thus JPA fail to locate the entities when compile the query.
None of above apply to my case, I have explicit listed all my entities class in the persistence.xml
and I am sure my JPA query is valid. I have tested my code with different JPA implementations, but always resulted the same error..

Here my UserVO class


@Entity(name = "users")
@NamedQuery(name = "UserVO.findByUserName",
query = "SELECT u FROM UserVO u WHERE u.name = :name")
public class UserVO extends implements Serializable {

|
|
}


If I remove the NamedQuery, my JPA able to work as expected, i.e I am able to insert, delete, and update UserVO object.
Now, to all my smart reader, can u spot what's wrong in my code? Scroll down for answer.


|
|
|
|
|
|
|

Answer: The culprit is the Entity annotation, I explicit name the UserVO entity as users, which JPA have no problem to map the UserVO to users database table, but have problem to compile the JPA Query, because it can't find the UserVO entity in the JPA context, as the suppose UserVO entity have rename to users entity by me, got it, or confuse..

To resolve this, just add a @Table annotation with the table name, as shown code below:


@Entity
@Table(name = "users")
@NamedQuery(name = "UserVO.findByUserName",
query = "SELECT u FROM UserVO u WHERE u.name = :name")
public class UserVO extends implements Serializable {

|
|
}


Cheers, Happy New Year!!!!

Friday, January 02, 2009

My New Tattoo


Finally, I did it..

It's not as pain as I have imagined, just the waiting process of my tattoo artist to prepare my tattoo logo, placing the tattoo outline on my arm, prepare color, install new needle, change the music player to his favorite Music CD, and start "needle" me is killing me... Haha

Here's the video of the process, warning, a bit violent





Know what my mom say, when she saw my new Tattoo?

"Wow, gangster ah, u.....!"






My 2009's Resolution

1. Get a Tattoo on my left arm, prefer an Aries Ram, which truly represent my character.
2. Back pack to Tibet at somewhere around Aug-Sept, 2009, anyone wants to join me.
3. To deliver some of my cool mobile service ideas, which I think going to "Wow the market"
4. To "reactivate" one of my open source project, "Java batch process management console", time to contribute back open source community
5. Donate one Cow to one of Family via World Vision and adopt one more children.
6. Finally, find my Ms Right....

Tuesday, December 23, 2008

Miss, u have Banana?


Last Saturday, I went to MCA Speed dating program (forced by my mom,as I am 36, and I suppose to get marry next year), which they suppose to pair up 100 guys with another 100 girls, I know, crazy, right? Anyway, the first ice-breaking game at the event,s each of us needs to draw ourself a favorite fruit, and find another partner who draw the same fruit.

Guess what I draw?

A Banana, and this is question I keep on asking to 100 girls at that night, "Miss, u have Banana?"

None of girls draw banana? why...I thot Banana is such a healthy fruit, and make people happy and smile...

Banana, anyone?

Monday, December 01, 2008

Photo Sharing- Malacca day trip








Special thanks to a lovely Malacca Girl, Louise, who spend the whole afternoon to bring me around Malacca town, purchase ticket for me to the famous Malacca River cruise, and take me to sample Malacca food, Satay Celuk, and the famous "Steam Squid and Spanish with special source" . Thanks Louise..

Will update my journey in my next post

Friday, November 28, 2008

Beat me! Climing 10th floor of stairs in 1:48

Hi hi

This blog is special dedicated to Marcel (my close friend in USA), who claim he can climb 10th floor of stairs in 30 seconds, sure or not?

I could only do it at best in 1 minute and 47 seconds, while carrying my notebook, as shown in Video below:



So Marcel, please prove that u could do it better

In fact, Why don't we open up this challenges to all people around the world. Post a video of u climbing 10th floor of stairs, carrying a notebook bag (About 3kg) to youtube, tag it with "Climbing10FloorChallenge", and post ur Video URL in the comments. At the end of Jan 2009, the best record holder will have personal gift from me and Marcel..

Let's the game begin!

Friday, November 21, 2008

[Tips] tired of Windows Spam and Virus?

Then listen to me, please try "Ubuntu 8.10!, the right OS!"
Once u download, and install, follow this guide to make ur desktop sexy, here are some screen shots of my current desktop, very sexy and very productive..


Running on Awn launcher bar and Conky that display
weather, CPU stat, and my gmail status.


I have up to 4 virtual desktops to work with.


The sexy task switcher..


Rotate the desktop cube, just to impress Windows user.
btw, the background image is the pic I take from KL Lookout point.
if u interest, u can download the pic from http://flickr.com/photos/jameskhoo


and finally, because Ubuntu 8.10 comes with VirtualBox, u can install
Windows Vista, and surprising, it run very smooth on top of Ubuntu.

If u still not convince, do check out this Video
Haha, enjoy!

Wednesday, November 05, 2008

Moving on

I been through a very bad relationship recently, where I fall down and hurt myself badly.

I needs to move on from now..

Monday, October 13, 2008

KL Lookout points



Been living in KL for pass 10+ years, never know there is this place call "KL Lookout Points" for people to chit chat, "minum kopi", and enjoy the beauty of KL at night. Don't ask me how to go there, I depends my "Human GPS" (i.e my friend) to direct me there.
I think is some where in between Ampang and Cheras, over a small hills call "Hulut Langat". Warning : The place is "too romantic" for young children, have encounter at least three hot hot kiss action while walking toward the tower, obviously u don't wants ur Son ask u "Mom, why they putting tounge into each other mouth?" Haha...
Hope u like it.