<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-11158661</id><updated>2011-11-23T05:38:10.771+08:00</updated><category term='ranting'/><category term='Open Source.'/><category term='JPA'/><category term='JMX'/><category term='My Pet Mimi'/><category term='tips'/><category term='Linux'/><category term='Holiday'/><category term='My Pet Donut'/><category term='我的初恋 - 海珊'/><category term='Others'/><category term='Technical Discussion'/><category term='Ubuntu'/><category term='Rumah Rehat Adeline'/><category term='Java'/><category term='our environment'/><category term='password'/><category term='Blog Action Day'/><category term='random thought'/><category term='office work'/><category term='Google Please Hire Me'/><category term='JBPCC'/><title type='text'>CoolBoy's Weblog</title><subtitle type='html'>Everything goes into this Blog. I will share my views of current issues, IT project experiences (technical view) , my hobbies and etc into my blog. I will try my best to update it frequently.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>92</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11158661.post-1889311403858440821</id><published>2010-09-22T21:22:00.001+08:00</published><updated>2010-09-22T21:22:49.608+08:00</updated><title type='text'>Chyenn Smart oh!</title><content type='html'>&lt;object width="400" height="300" &gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="http://www.facebook.com/v/431668783013" /&gt;&lt;embed src="http://www.facebook.com/v/431668783013" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-1889311403858440821?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/1889311403858440821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=1889311403858440821&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/1889311403858440821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/1889311403858440821'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2010/09/chyenn-smart-oh.html' title='Chyenn Smart oh!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-5535921446316537118</id><published>2010-05-11T23:25:00.001+08:00</published><updated>2010-05-11T23:29:46.147+08:00</updated><title type='text'>Our First Family Outing at Genting with Chyenn</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_V6xj_a3bH1c/S-l3cW-im0I/AAAAAAAAANY/WsxYPiVZ1T0/s1600/ChyennEnjoyHerFirstSwimmingFromHerMom.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 338px; height: 400px;" src="http://3.bp.blogspot.com/_V6xj_a3bH1c/S-l3cW-im0I/AAAAAAAAANY/WsxYPiVZ1T0/s400/ChyennEnjoyHerFirstSwimmingFromHerMom.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5470034551506115394" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/S-l3cPli9iI/AAAAAAAAANQ/DxGOZjU4RxU/s1600/ChyennReadyForHerFirstSwimingLesson.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 266px; height: 400px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/S-l3cPli9iI/AAAAAAAAANQ/DxGOZjU4RxU/s400/ChyennReadyForHerFirstSwimingLesson.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5470034549522232866" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/S-l3bjwchnI/AAAAAAAAANI/7AWA9AImJ1g/s1600/ChyennMorningRoutine.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 301px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/S-l3bjwchnI/AAAAAAAAANI/7AWA9AImJ1g/s400/ChyennMorningRoutine.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5470034537756788338" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_V6xj_a3bH1c/S-l3bTtXnFI/AAAAAAAAANA/vuk488oRkY0/s1600/ChyennWithAhKong.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 266px; height: 400px;" src="http://4.bp.blogspot.com/_V6xj_a3bH1c/S-l3bTtXnFI/AAAAAAAAANA/vuk488oRkY0/s400/ChyennWithAhKong.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5470034533448916050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/S-l3bPPe6TI/AAAAAAAAAM4/XwJlo0dyXT4/s1600/ChyennWithGrandMom.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 301px; height: 400px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/S-l3bPPe6TI/AAAAAAAAAM4/XwJlo0dyXT4/s400/ChyennWithGrandMom.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5470034532249823538" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-5535921446316537118?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/5535921446316537118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=5535921446316537118&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5535921446316537118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5535921446316537118'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2010/05/our-first-family-outing-at-genting-with.html' title='Our First Family Outing at Genting with Chyenn'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_V6xj_a3bH1c/S-l3cW-im0I/AAAAAAAAANY/WsxYPiVZ1T0/s72-c/ChyennEnjoyHerFirstSwimmingFromHerMom.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-6125479146486004147</id><published>2010-04-01T09:32:00.001+08:00</published><updated>2010-04-01T09:34:06.215+08:00</updated><title type='text'>Chyenn can't stop giggling</title><content type='html'>&lt;object width="660" height="525"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Rlp4h9oK8VA&amp;hl=en_US&amp;fs=1&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/Rlp4h9oK8VA&amp;hl=en_US&amp;fs=1&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="525"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-6125479146486004147?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/6125479146486004147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=6125479146486004147&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6125479146486004147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6125479146486004147'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2010/04/chyenn-cant-stop-giggling.html' title='Chyenn can&apos;t stop giggling'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8549297349024476770</id><published>2010-04-01T09:21:00.002+08:00</published><updated>2010-04-01T09:28:14.810+08:00</updated><title type='text'>Chyenn Sit up</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm5.static.flickr.com/4024/4366355427_58018d1824.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 332px; height: 500px;" src="http://farm5.static.flickr.com/4024/4366355427_58018d1824.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm5.static.flickr.com/4005/4366317555_5b39a93946.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 332px; height: 500px;" src="http://farm5.static.flickr.com/4005/4366317555_5b39a93946.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm3.static.flickr.com/2730/4367083894_695ec3f3ab.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 332px; height: 500px;" src="http://farm3.static.flickr.com/2730/4367083894_695ec3f3ab.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm5.static.flickr.com/4045/4366387917_fe069f13b6.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 332px; height: 500px;" src="http://farm5.static.flickr.com/4045/4366387917_fe069f13b6.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm5.static.flickr.com/4059/4366249151_a8b80551e6.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 332px; height: 500px;" src="http://farm5.static.flickr.com/4059/4366249151_a8b80551e6.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8549297349024476770?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8549297349024476770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8549297349024476770&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8549297349024476770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8549297349024476770'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2010/04/chyenn-sit-up.html' title='Chyenn Sit up'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4024/4366355427_58018d1824_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2087529435512362674</id><published>2010-01-08T09:57:00.002+08:00</published><updated>2010-01-08T10:00:38.695+08:00</updated><title type='text'>Help Mimi is lost</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3230/2961608312_0e8f1f0107.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 373px; height: 500px;" src="http://farm4.static.flickr.com/3230/2961608312_0e8f1f0107.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hi all&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Needs ur help. my Pet Mimi is lost. Believed run away when gate open at 5pm at mom place. Only discover she is lost when I back at 6:30 pm . Been searching for her about 2 hours. But fail. Please help to. forward this Post to any one u know who stay at Tmn Desa.&lt;/p&gt;&lt;p&gt;Last saw near the OBD Garden Tower Area&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Do contact me James at 60-162389788 if u found her..&lt;/p&gt;&lt;p&gt;More Mimi Pic can be at &lt;a href="http://farm4.static.flickr.com/3230/2961608312_0e8f1f0107.jpg"&gt;Mimi's blog&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Many thanks!&lt;/p&gt; &lt;p&gt;James&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2087529435512362674?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2087529435512362674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2087529435512362674&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2087529435512362674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2087529435512362674'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2010/01/he.html' title='Help Mimi is lost'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3230/2961608312_0e8f1f0107_t.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2332088081903850263</id><published>2009-11-25T16:30:00.004+08:00</published><updated>2009-11-25T19:24:17.627+08:00</updated><title type='text'>My Baby Girl Chyenn</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/SwzrgTLGSyI/AAAAAAAAAMg/4FwSxAanDa8/s1600/Firefox_wallpaper.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 294px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/SwzrgTLGSyI/AAAAAAAAAMg/4FwSxAanDa8/s400/Firefox_wallpaper.png" alt="" id="BLOGGER_PHOTO_ID_5407956192700287778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;To my baby girl Chyenn,&lt;br /&gt;&lt;br /&gt;Do you know that 02-Nov is a very special day for your daddy, which I have experience GOD miracle, i.e the birth of you. After 39 weeks of ups and downs, guessing, and nervelessly waiting for you, we finally can see each other, eye to eye.&lt;br /&gt;&lt;br /&gt;Do you still remember what had happen then?&lt;br /&gt;&lt;br /&gt;Let me tell you ah,&lt;br /&gt; when Dr Loo pull you out from your mommy womb (poor mommy), the first things you do is cry, "cleaver girl.." I said, do you know that you very first cry is very  loud, yes, it's so loud that  even the nurse who cleaning you say to daddy that "she will be a very healthy and demanding girl." Haha, it make daddy very proud of you oh..&lt;br /&gt;&lt;br /&gt;Then daddy follows you to nursery room, where the nurse bath you, weighted you, and wrap you up nicely, and daddy take a lot of photos of you..do you still remember it..&lt;br /&gt;&lt;br /&gt;Do you  still remember when daddy Sing lullaby to try to calm you down, you did try to open your eye very hard to see who's the person who sing, why it sound so familiar? and when you fail to open your eye,you post your first smile to me.. then the whole world is just freeze..from that split second, the whole world just left me and you.. our heart is then connected, I feels you in me, and I know you feel the same. From that moment, I as your daddy,  will do everything to protect you, to ensure that you growth up as healthy and happy person.&lt;br /&gt;&lt;br /&gt;When you about fall down, my hand will always there to catch you in time&lt;br /&gt;When you unsure, I will always guide you.&lt;br /&gt;When you tired, I will carry you to continue your journey&lt;br /&gt;When you sad, my shoulder and ear is always standby and listen&lt;br /&gt;&lt;br /&gt;Why I do all this? because GOD is nice to me, and  give me the second best gift I ever have, that's you..&lt;br /&gt;You mommy is my best gift from HIM.&lt;br /&gt;&lt;br /&gt;Love You!&lt;br /&gt;&lt;br /&gt;Your Daddy ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2332088081903850263?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2332088081903850263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2332088081903850263&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2332088081903850263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2332088081903850263'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/11/my-baby-girl-chyenn.html' title='My Baby Girl Chyenn'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_V6xj_a3bH1c/SwzrgTLGSyI/AAAAAAAAAMg/4FwSxAanDa8/s72-c/Firefox_wallpaper.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8230146741131621969</id><published>2009-10-29T10:08:00.003+08:00</published><updated>2009-10-29T10:13:32.671+08:00</updated><title type='text'>Java Interview Question</title><content type='html'>Here the questions&lt;br /&gt;&lt;br /&gt;Given two Integer &lt;b&gt;Array fill with random Integer number,&lt;/b&gt; write an  &lt;b&gt;effective Java method&lt;/b&gt; that will accept the two integer Array above, find out number that exists in both array, and print  out the common number sorted, start with smallest number..&lt;br /&gt;&lt;br /&gt;e.g&lt;br /&gt;&lt;br /&gt;Array 1 - [5, 2, 1, 107, 20,93, 88, 100]&lt;br /&gt;Array 2 - [100, 65, 12, 34, 5, 2, 99, 100, 107]&lt;br /&gt;&lt;br /&gt;The method should print out   2, 5, 100, 107&lt;br /&gt;Am surprise that many people don't get it right....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8230146741131621969?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8230146741131621969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8230146741131621969&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8230146741131621969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8230146741131621969'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/10/java-interview-question.html' title='Java Interview Question'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-667175834920027022</id><published>2009-07-24T16:16:00.004+08:00</published><updated>2009-07-24T16:27:28.415+08:00</updated><title type='text'>Possible the most "irrelvent" comments on a facebook picture?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos-h.ak.fbcdn.net/hphotos-ak-snc1/hs134.snc1/5734_105901788379_624858379_2252967_3772470_n.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 604px; height: 453px;" src="http://photos-h.ak.fbcdn.net/hphotos-ak-snc1/hs134.snc1/5734_105901788379_624858379_2252967_3772470_n.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Few days ago, I manage to reunited with old friends from Chong Hua High School, my good friend Ah Chan snap a picture of us, and posted on the facebook. I didn't know that a simple comments of helping him finding girl friends will turns to "comments" war between us.  Now we looks back, it's kind of funny..thus, I better save the conversations ..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="comments_list_wrapper feed_comments"&gt;&lt;div id="comment_105901788379_105901788379_1166741" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=1062023033" title="Teh Fui Ping"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1745/36/q1062023033_9005.jpg" alt="Teh Fui Ping" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1166741"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=1062023033"&gt;Teh Fui Ping&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27255c0b23720152" class="comment_actual_text"&gt;真不够意思,only 5 of U!!&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Tue at 10:59am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1167175" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=698601017" title="Veron Tang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v228/1834/65/q698601017_5302.jpg" alt="Veron Tang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1167175"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=698601017"&gt;Veron Tang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc272aa14953968823" class="comment_actual_text"&gt;&lt;span&gt;这是几时的gathering?怎么没通知我们？真不够&lt;/span&gt;&lt;wbr&gt;&lt;span class="word_break"&gt;&lt;/span&gt;朋友哦。。。&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Tue at 3:26pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1167177" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/coolboykl" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1167177"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/coolboykl"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27304c7330762400" class="comment_actual_text"&gt;ahem, this gathering only reserve for templer 5 tigers, which we covers topics that are very very restricted ... haha next time lah&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Tue at 3:29pm · &lt;a onclick="'remove_feed_comment_dialog(" title="Click here to remove this comment"&gt;Delete&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1167485" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1167485"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2734e13423669044" class="comment_actual_text"&gt;Excuse me...this is Temple 5 gathering 嘛,is only  men talk。。。下次通知你们咯！&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Tue at 7:32pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1167792" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/soopl" title="Soo Pei Ling"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v222/448/95/q571138441_4672.jpg" alt="Soo Pei Ling" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1167792"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/soopl"&gt;Soo Pei Ling&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2739895253214413" class="comment_actual_text"&gt;gals, we also call for gathering without them lah.....haha, nice to see yap how keong....&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Tue at 10:18pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170082" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/yonglilian" title="Yong Li Lian"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v225/1768/124/q600166664_6685.jpg" alt="Yong Li Lian" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170082"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/yonglilian"&gt;Yong Li Lian&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc273e3e8672640046" class="comment_actual_text"&gt;Yes, call for gathering without them!!!  They are 'Templer 5 tigers'..  We are 'Chung Hua 5 Flowers'.. HAHAHA..&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 10:44am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170239" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170239"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2742523c64894225" class="comment_actual_text"&gt;Aiya, where got 5 Flowers one?? Make it 7 Flowers ma(七朵花)&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 11:26am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170299" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170299"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27464a4c97796775" class="comment_actual_text"&gt;3 King, 5 Tigers ,7 Flowers....&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 11:43am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170376" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/yonglilian" title="Yong Li Lian"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v225/1768/124/q600166664_6685.jpg" alt="Yong Li Lian" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170376"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/yonglilian"&gt;Yong Li Lian&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc274a434d61362718" class="comment_actual_text"&gt;Who are the '3 King'??? 3 King???&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 12:10pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170396" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170396"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc274e372a03343692" class="comment_actual_text"&gt;豬，狗，羊 。。。&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 12:19pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170545" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=698601017" title="Veron Tang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v228/1834/65/q698601017_5302.jpg" alt="Veron Tang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170545"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=698601017"&gt;Veron Tang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2752546236634098" class="comment_actual_text"&gt;no matter how many flowers, the main point is "gathering without you guys", wahahaha... :&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 1:54pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170591" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170591"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27566c9d77465058" class="comment_actual_text"&gt;NVM loh... Wat ever loh...&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 2:25pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170764" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717" title="Fernice Yap"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v228/1603/83/q571398717_9360.jpg" alt="Fernice Yap" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170764"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717"&gt;Fernice Yap&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc275a924101969162" class="comment_actual_text"&gt;haiyah.. no more 'Temple 5 Tiger' oridy, now should be 'Temple 5 Uncles'.. ha ha ha..&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 5:38pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1170778" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/coolboykl" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1170778"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/coolboykl"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2760054334860508" class="comment_actual_text"&gt;We templer 4 is now on mission to help Chan to find him the other half.. thus Fernice, if you know anyone, do recommends lah&lt;br /&gt;Hahaha&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Wed at 5:55pm · &lt;a onclick="'remove_feed_comment_dialog(" title="Click here to remove this comment"&gt;Delete&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1172966" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1172966"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2763e96f19533803" class="comment_actual_text"&gt;@#X$%whr got action one..@#X$% wat the hell! always said wan to recommends!said only la! @#X$% James... whr got??&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 9:55am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173015" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/coolboykl" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173015"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/coolboykl"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2769ab4744455471" class="comment_actual_text"&gt;OKOK, my action, Ah Chan should join this event loh ....&lt;a href="http://www.voices.com.my/single-mingle-2009" onmousedown="'UntrustedLink.bootstrap($(this)," target="_blank" rel="nofollow"&gt;&lt;span&gt;http://www.voices.com.my/s&lt;/span&gt;&lt;wbr&gt;&lt;span class="word_break"&gt;&lt;/span&gt;ingle-mingle-2009&lt;/a&gt;, agree everyone!!!?&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 10:11am · &lt;a onclick="'remove_feed_comment_dialog(" title="Click here to remove this comment"&gt;Delete&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173042" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173042"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc276d8a6336930650" class="comment_actual_text"&gt;@#$X% !!event ?? I dont know how to join meh??I say recommends one ma!!Do u know wat is called "recommends" ark??&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 10:20am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173064" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/coolboykl" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173064"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/coolboykl"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2772af1016887270" class="comment_actual_text"&gt;@#$X%, don't believe why such person so lazy, needs to spoon feed ah, sometime, you needs to work a little to find your other half, and when a chance is presented to u (like now), stand up and do somethings about it..&lt;br /&gt;&lt;br /&gt;What, u wants me to attend the event for u, and filter girls for u ah..?&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 10:26am · &lt;a onclick="'remove_feed_comment_dialog(" title="Click here to remove this comment"&gt;Delete&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173101" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717" title="Fernice Yap"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v228/1603/83/q571398717_9360.jpg" alt="Fernice Yap" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173101"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717"&gt;Fernice Yap&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2776819e51978307" class="comment_actual_text"&gt;ha ha ha.. khoo u r rite, chan should stand up by his own feet. ppl can intro gal to u but u have no action also die la.&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 10:43am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173106" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717" title="Fernice Yap"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v228/1603/83/q571398717_9360.jpg" alt="Fernice Yap" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173106"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717"&gt;Fernice Yap&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc277a749981933938" class="comment_actual_text"&gt;chan.. come join me more, i intro gal to u! come come come.. we go yum seng, don owiz go karaok!&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 10:44am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173187" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173187"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc277ec84791152649" class="comment_actual_text"&gt;@#$X%! you misunderstand wat is "recommends" and "present the event", there is two separated thing we talking about here! Cant mix up one! I am not so "desperated" as you, not to said I am lazy?!&lt;br /&gt;And the "What,u wants me to attend the event for u,and filter girls for u ah..?" Now, u can see wat kind of thinking u have???&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 11:15am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173221" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173221"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2782bf6940881358" class="comment_actual_text"&gt;都是Firnice好,intro gal to me...this is call friend ma!James,learn things lah! Fernice, come,come go yum seng.&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 11:32am&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173296" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717" title="Fernice Yap"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v228/1603/83/q571398717_9360.jpg" alt="Fernice Yap" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173296"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717"&gt;Fernice Yap&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2786b76160248885" class="comment_actual_text"&gt;ha haha.. aiyoh.. u guys don argue hou mou? gals jer ma.. out there alot la!!! pretty gal, ugly gal, sexy gal, young gal.. mat gals oso got la. .. just tat u ngam ng ngam only!&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 12:10pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173297" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/coolboykl" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173297"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/coolboykl"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc278bde0065469321" class="comment_actual_text"&gt;typical "Heavy on Color, Lighter on Friend"..no comment&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 12:11pm · &lt;a onclick="'remove_feed_comment_dialog(" title="Click here to remove this comment"&gt;Delete&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173574" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=775243934" title="Jeff Khoo"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v225/369/107/q775243934_139.jpg" alt="Jeff Khoo" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173574"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=775243934"&gt;Jeff Khoo&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc278feb9f18405488" class="comment_actual_text"&gt;it seem that our beloved junior know the way to recommend gal to a-chang uncle, so rest of templer member better dun campur tangan. So thanks Fernice. :)&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 3:15pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173603" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173603"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2793da8e75702389" class="comment_actual_text"&gt;not to said wan to argue with James...sometime his conversation got 譏笑成分....just want to "炸" him ! ha ha ha...&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 3:46pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173612" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/coolboykl" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173612"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/coolboykl"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc2799a21714396823" class="comment_actual_text text_exposed"&gt;aiya, it's never my intention to 譏笑 you,  but wanted best of you, have I not introduce GIRL to you, (Remember Evelyn? )&lt;br /&gt;&lt;br /&gt;The things is participate Event allows you to meet a lot of girls, there going to have games and quiz for each of u to find some one suitable to you, compare to each of us introduce one girl to you at one time..which u may or may not like it..&lt;br /&gt;&lt;br /&gt;So, tell me, which method more effective..&lt;span class="text_exposed_hide"&gt;... &lt;span class="text_exposed_link"&gt;&lt;a onclick="'CSS.addClass($("&gt;Read More&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="text_exposed_show"&gt;&lt;br /&gt;&lt;br /&gt;I am sorry that I have make u feels 譏笑..it's not my intention..&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 3:58pm · &lt;a onclick="'remove_feed_comment_dialog(" title="Click here to remove this comment"&gt;Delete&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173756" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717" title="Fernice Yap"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v228/1603/83/q571398717_9360.jpg" alt="Fernice Yap" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173756"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717"&gt;Fernice Yap&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc279ee58785851127" class="comment_actual_text"&gt;Jeff: nah Jeff, u don push the responsibility to me ya! i just intro my gang of frens to him, come out hoo haa only. im not really wanted to b the 'mui yan poh'. i scared later i 'gar ng chut'.. he he he!&lt;br /&gt;&lt;br /&gt;James: wat u mean the event isit those match maker party? it sounds great wor, i wanna go oso! Can know more fren wor!&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 5:48pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173757" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717" title="Fernice Yap"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v228/1603/83/q571398717_9360.jpg" alt="Fernice Yap" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173757"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=571398717"&gt;Fernice Yap&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27a31b7999701979" class="comment_actual_text"&gt;wai wai.. any 1 of u wanna go back  chung hua this sunday?&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 5:50pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173760" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/coolboykl" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173760"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/coolboykl"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27a96a0973411472" class="comment_actual_text"&gt;Fernice my Sis, may I suggest you bring Chan Gor Gor to this event, &lt;a href="http://www.facebook.com/event.php?eid=101233973894" onmousedown="'UntrustedLink.bootstrap($(this)," target="_blank" rel="nofollow"&gt;&lt;span&gt;http://www.facebook.com/ev&lt;/span&gt;&lt;wbr&gt;&lt;span class="word_break"&gt;&lt;/span&gt;ent.php?eid=101233973894&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks ah..&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 5:52pm · &lt;a onclick="'remove_feed_comment_dialog(" title="Click here to remove this comment"&gt;Delete&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173788" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173788"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27ae836652058051" class="comment_actual_text"&gt;"@#$X%, don't believe why such person so lazy, needs to spoon feed ah" if someone just talk to you like tat, wat do you feel?? Beside that, I am not your employee huh!CEO...&lt;br /&gt;May be I want to join some EQ classes... James! Want to join ark??&lt;br /&gt;Evelyn is N yrs ago...not my type...&lt;br /&gt;I prefer "intro gals". option 2 come to Events...&lt;br /&gt;Everyone love to said: " For your own good mah!" do you??&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 6:22pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1173970" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=775243934" title="Jeff Khoo"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v225/369/107/q775243934_139.jpg" alt="Jeff Khoo" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1173970"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=775243934"&gt;Jeff Khoo&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27b3185897731484" class="comment_actual_text"&gt;chang, dun be mad lar, Maybe James good intention was contructed in the wrong way, we do hope you will find ur luv one someday.&lt;br /&gt;&lt;br /&gt;Fernice: the 'nah' word prove that u really is 浩强 sis! Hahaha ....... we all like the way ur bro saying those words, so we like u as well. Hahaha!&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;Yesterday at 8:32pm&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1174477" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1174477"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27bede4402549222" class="comment_actual_text text_exposed"&gt;Jeff : I know my EQ up to tat high level liao,ur bro James wont make me mad one...just wan to "炸" him back cause by the wrong way he was talking about...&lt;br /&gt;James: Do u know how to talk polite?the way u talk is same as my mom liao..我都不急，你比我媽還急！&lt;br /&gt;Fernice:I promise tat I wont make u 'gar ng chut' de la...ngam ng ngam is other case ma...dont like to &lt;span class="text_exposed_hide"&gt;... &lt;span class="text_exposed_link"&gt;&lt;a onclick="'CSS.addClass($("&gt;Read More&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="text_exposed_show"&gt;force u do 'mui yan poh' la, just intro only&lt;br /&gt;All members of Temple 4 uncles and a little pretty lady: I am very appreciated to u guys to help me to find my luv one someday.. thanks!&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;15 hours ago&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1174543" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379" title="Chew Yew Chong"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v230/1690/13/q624858379_4777.jpg" alt="Chew Yew Chong" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1174543"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/profile.php?id=624858379"&gt;Chew Yew Chong&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27c3ff0c51000654" class="comment_actual_text"&gt;Fui Ping,Veron,Pei Ling,Lilian:I told u b4 is man talk, our conversation is a lot of @#$X% de ,hopefully not scare ur ladies ?! still want gathering ?&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;15 hours ago&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_105901788379_105901788379_1175712" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/coolboykl" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;img src="http://profile.ak.fbcdn.net/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_105901788379_105901788379_1175712"&gt;&lt;div class="comment_text"&gt;&lt;span class="comment_author"&gt;&lt;a href="http://www.facebook.com/coolboykl"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;/span&gt;&lt;div id="text_expose_id_4a696dc27cfe84557695266" class="comment_actual_text text_exposed"&gt;Dear my belove brother Ah Chan, I am so sorry to make u feels bad, u know lah, like typing a message, I can't express my voice tone in the message, if you do can hear it, I use "cheecky" voice to reply the message..&lt;br /&gt;&lt;br /&gt;Further more, if u do review all the message from top to bottom, I been address by you "*&amp;amp;^%$#@" twice.. . but again, I am as your &lt;span class="text_exposed_hide"&gt;... &lt;span class="text_exposed_link"&gt;&lt;a onclick="'CSS.addClass($("&gt;Read More&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="text_exposed_show"&gt;brother, I should not use back the "*&amp;amp;^%$" to you, my mistake..&lt;br /&gt;&lt;br /&gt;On the other hand, are we trying to make the world record on putting a lot and a lot of comments for this picture... HaHa..&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="comment_actions"&gt;6 hours ago · &lt;a onclick="'remove_feed_comment_dialog(" title="Click here to remove this comment"&gt;Delete&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;form method="post" action="/" name="add_comment" id="add_comment" class="add_comment"&gt;&lt;input name="charset_test" value="€,´,€,´,水,Д,Є" type="hidden"&gt;&lt;input id="fb_dtsg" name="fb_dtsg" value="9GvEzJSQNJ-871p4diloRNrVqQM" type="hidden"&gt;&lt;input id="post_form_id" name="post_form_id" value="cbf89f7dd2f097a5b5937f061900d7fc" type="hidden"&gt;&lt;div class="ufi_section comment_add_row"&gt;&lt;div class="comments_add_box"&gt;&lt;div class="add_comment_box_wrapper add_comment_wrapper clearfix"&gt;&lt;div class="comments_add_box_image"&gt;&lt;span class="UIRoundedImage UIRoundedImage_SMALL UIRoundedImage_GIRLIE"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;textarea cols="30" rows="2" onfocus="feed_comment_show_add_button_d(this);if(!this._has_control){new TextAreaControl(this).setMaxLength(1000).setPlaceholderText(this.value).setAutogrow(true, true).onfocus();this._has_control=true}" title="Write a comment..." style="overflow: hidden;" class="add_comment_text DOMControl_placeholder" id="add_comment_text" name="add_comment_text"&gt;Write a comment.&lt;/textarea&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/form&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-667175834920027022?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/667175834920027022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=667175834920027022&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/667175834920027022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/667175834920027022'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/07/possible-most-irrelvenet-comments-on.html' title='Possible the most &quot;irrelvent&quot; comments on a facebook picture?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-9044837899896531187</id><published>2009-07-12T13:57:00.006+08:00</published><updated>2009-07-12T15:15:48.544+08:00</updated><title type='text'>Wedding Video at the SFX Church</title><content type='html'>Thanks to Sia, our good friend,who volunteer be our camera man, here's video of our wedding at SFX Church.&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="400" class="BLOG_video_class" id="BLOG_video-352bbd7d1bb50da3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v7.nonxt7.googlevideo.com/videoplayback?id%3D352bbd7d1bb50da3%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330232642%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D3CF526BD62CDAD6A1155E73422D13B46E2FBC2C.1914786977AF154C77C1CCA2BBB428FCFB7EC56C%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D352bbd7d1bb50da3%26offsetms%3D5000%26itag%3Dw160%26sigh%3DMHJt6AJw_58OFMJdNCF0Fu_WBqQ&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="480" height="400" bgcolor="#FFFFFF"flashvars="flvurl=http://v7.nonxt7.googlevideo.com/videoplayback?id%3D352bbd7d1bb50da3%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330232642%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D3CF526BD62CDAD6A1155E73422D13B46E2FBC2C.1914786977AF154C77C1CCA2BBB428FCFB7EC56C%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D352bbd7d1bb50da3%26offsetms%3D5000%26itag%3Dw160%26sigh%3DMHJt6AJw_58OFMJdNCF0Fu_WBqQ&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Some memorable moments..&lt;br /&gt;At Minute 9:15, me having difficulties on taking out the Ring.. &lt;br /&gt;At Minute 10:15, Winnie refuse for me to kiss her lips..&lt;br /&gt;&lt;br /&gt;Enjoy!!&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-9044837899896531187?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=352bbd7d1bb50da3&amp;type=video%2Fmp4' length='0'/><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/9044837899896531187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=9044837899896531187&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/9044837899896531187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/9044837899896531187'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/07/wedding-video-at-sfx-church.html' title='Wedding Video at the SFX Church'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-708158570268293850</id><published>2009-07-06T20:42:00.004+08:00</published><updated>2009-07-06T20:51:46.077+08:00</updated><title type='text'>Our Wedding Presentations</title><content type='html'>For those who miss out our Wedding, and can't attend our wedding, here is our Wedding presentations..&lt;br /&gt;&lt;br /&gt;&lt;object height="385" width="480"&gt;&lt;param name="movie" value="http://www.youtube.com/v/B_8EyEAnZVY&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/B_8EyEAnZVY&amp;amp;hl=en&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="385" width="480"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In part 1 of the video, we tells our story&lt;br /&gt;Winnie and I actually cross each other path many times, but somehow we never meet..&lt;br /&gt;Do excuse the Evaluation Copy Water Mark on the video, I am using eval copy of a shareware to convert PowerPoint to a Video..&lt;br /&gt;&lt;br /&gt;Next I invited to stage, and tells our friends how I "chase" after Winnie, and how I get Winnie to agree to marry me.. Here is our pre wedding Photos...&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/RwBxTxpvIPk&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/RwBxTxpvIPk&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Hope you like it, Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-708158570268293850?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/708158570268293850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=708158570268293850&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/708158570268293850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/708158570268293850'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/07/our-wedding-presentations.html' title='Our Wedding Presentations'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-7811547596218526816</id><published>2009-05-22T08:26:00.004+08:00</published><updated>2009-05-22T09:59:49.263+08:00</updated><title type='text'>Officially husband and wife</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3374/3551873218_ed204a39a1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 500px; height: 332px;" src="http://farm4.static.flickr.com/3374/3551873218_ed204a39a1.jpg" alt="" border="0" /&gt;&lt;/a&gt;Our Wedding Rings, check...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm3.static.flickr.com/2466/3551850708_65807dc10d.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 332px; height: 500px;" src="http://farm3.static.flickr.com/2466/3551850708_65807dc10d.jpg" alt="" border="0" /&gt;&lt;/a&gt;Flowers, check&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3602/3551040265_eab0d909c5.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 500px; height: 365px;" src="http://farm4.static.flickr.com/3602/3551040265_eab0d909c5.jpg" alt="" border="0" /&gt;&lt;/a&gt;The lovely couple, Winnie and James, Check&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm3.static.flickr.com/2439/3551058071_259b7525bf.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 500px; height: 332px;" src="http://farm3.static.flickr.com/2439/3551058071_259b7525bf.jpg" alt="" border="0" /&gt;&lt;/a&gt;James say: "Saya Setuju (I agree)" almost immediately,&lt;br /&gt;naughty Winnie take a moment to think for few seconds, and finally&lt;br /&gt;say "Saya Setuju"....&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3331/3551059081_d0bce5183a.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 500px; height: 332px;" src="http://farm4.static.flickr.com/3331/3551059081_d0bce5183a.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3609/3551054807_bcf76eff0b.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 500px; height: 361px;" src="http://farm4.static.flickr.com/3609/3551054807_bcf76eff0b.jpg" alt="" border="0" /&gt;&lt;/a&gt;Officially Husband and Wife at 10:45am&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-7811547596218526816?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/7811547596218526816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=7811547596218526816&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7811547596218526816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7811547596218526816'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/05/officially-husband-and-wife.html' title='Officially husband and wife'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3374/3551873218_ed204a39a1_t.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-4869966772348756139</id><published>2009-05-18T10:39:00.003+08:00</published><updated>2009-05-18T12:02:54.782+08:00</updated><title type='text'>A very touching SMS from my Wife..</title><content type='html'>My wife just send me a very touching SMS, I just needs to record the SMS here, so it will kept forever&lt;br /&gt;&lt;br /&gt;Previously I feel safe bcos there r alwiz 2 sets of foot steps,&lt;br /&gt;one is mind and d other is Jesus.&lt;br /&gt;Dar, with u cumg in 2 my life, now my life is complete and fill with contentment and happiness.&lt;br /&gt;I am really thankful to God for sending u and bay,&lt;br /&gt; now there will always be more and more foot steps in this happy family of ours and I believed,&lt;br /&gt;just like our prayer,&lt;br /&gt;we will growth in size and in love with Him guiding and leading us..&lt;br /&gt;Darling I will always love u and walk with u till the last step in our life,&lt;br /&gt;Love u darling..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-4869966772348756139?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/4869966772348756139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=4869966772348756139&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4869966772348756139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4869966772348756139'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/05/very-touching-sms-from-my-wife.html' title='A very touching SMS from my Wife..'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-661973034535746949</id><published>2009-05-15T16:57:00.002+08:00</published><updated>2009-05-15T17:09:40.375+08:00</updated><title type='text'>Love is decision, not by feeling!!</title><content type='html'>I just attended a Pre-Marriage course with my soon to be Wife, Winne, and one things we learn from the course, is Love is always base on decision, not by feeling, this has come to surprise to many of us, for me, how could One  in love with someout without feeling in the first place? Right.&lt;br /&gt;&lt;br /&gt;But at the end, I learned that if Love purely base on Feeling, that one can easily fall in, and one could easily fall out, as we human being can't control our feeling, but we can decide to continue to love in regardless of what feeling we have..&lt;br /&gt;&lt;br /&gt;I posted my view on this on facebook, this is feedback on my friends on this same topic, some is very interesting.&lt;br /&gt;&lt;br /&gt;&lt;h3 class="UIIntentionalStory_Message"&gt;                 &lt;span class="UIIntentionalStory_Names"&gt;&lt;a href="http://www.facebook.com/profile.php?id=570008013&amp;amp;ref=mf" onclick="'ft("&gt;Khoo Chen Shiang&lt;/a&gt;                 &lt;/span&gt;is Learn that Love is always base on decision, and not by feeling. In any situation, we always has to decide base on our desire or base on love&lt;/h3&gt;&lt;div class="UIIntentionalStory_Info"&gt;&lt;div class="UIIntentionalStory_InfoText"&gt;&lt;span class="UIIntentionalStory_Time"&gt;&lt;a href="http://www.facebook.com/profile.php?id=570008013&amp;amp;v=feed&amp;amp;story_fbid=87424875167&amp;amp;ref=mf" onclick="'ft("&gt;May 11 at 6:34pm&lt;/a&gt;&lt;/span&gt; · &lt;span class="UIIntentionalStory_BottomAttribution"&gt;via &lt;a href="http://www.facebook.com/apps/application.php?id=41620781775"&gt;mConnected&lt;/a&gt;&lt;/span&gt; · &lt;span class="action_links_bottom"&gt;&lt;a class="" onclick="'toggle_feedcomments_box_open(" title="Click here to leave a comment" onmouseover="CSS.addClass(this, 'feedback_hover')" onmouseout="CSS.removeClass(this, 'feedback_hover')"&gt;Comment&lt;/a&gt;&lt;span class="action_link_dash action_link_dash_1"&gt; · &lt;/span&gt;&lt;span id="like_link_5334512961283751682_87424875167_id_4a0d2e49a1b1a2d21395176" class="like_link like_not_exists"&gt;&lt;a onclick="'toggle_feedcomments_box_open(" class="like_component_not_exists" title="Click here to like this item" onmouseover="CSS.addClass(this, 'feedback_hover')" onmouseout="CSS.removeClass(this, 'feedback_hover')"&gt;Like&lt;/a&gt;&lt;a onclick="'LikeController.saveChangeLike({" class="like_component_exists" title="Click here to stop liking this item" onmouseover="CSS.addClass(this, 'feedback_hover')" onmouseout="CSS.removeClass(this, 'feedback_hover')"&gt;Unlike&lt;/a&gt;&lt;/span&gt;&lt;span class="feedback_toggle_link"&gt;&lt;span class="action_link_dash action_link_dash_2"&gt; · &lt;/span&gt;&lt;a onclick="'toggle_feedcomments_box(" class="feedback_show_link" title="Show comments and other feedback" onmouseover="CSS.addClass(this, 'feedback_hover')" onmouseout="CSS.removeClass(this, 'feedback_hover')"&gt;Show Feedback (12)&lt;/a&gt;&lt;a onclick="'toggle_feedcomments_box(" class="feedback_hide_link" onmouseover="CSS.addClass(this, 'feedback_hover')" onmouseout="CSS.removeClass(this, 'feedback_hover')"&gt;Hide Feedback (12)&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="like_box_5334512961283751682_87424875167" class="like_box no_likes like_not_exists"&gt;&lt;div class="ufi_section"&gt;&lt;div class="like_sentence_container"&gt;&lt;div class="like_sentence like_sentence_exists like_component_exists"&gt;&lt;a onclick="'LikeController.saveChangeLike({" title="Unlike"&gt;&lt;img alt="" class="like_box_thumb_icon spritemap_icons sx_icons_like_on" src="http://static.ak.fbcdn.net/images/spacer.gif?8:11" /&gt;&lt;/a&gt;You like this.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="like_sentence like_sentence_not_exists like_component_not_exists"&gt;&lt;a onclick="'LikeController.saveChangeLike({" title="Like"&gt;&lt;img alt="" class="like_box_thumb_icon spritemap_icons sx_icons_like_off" src="http://static.ak.fbcdn.net/images/spacer.gif?8:11" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="comments_list_wrapper" id="feed_comments_5334512961283751682_87424875167"&gt;&lt;div id="comment_5334512961283751682_87424875167_1758042" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=569701241" title="Richa Dwivedi"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/v222/108/98/q569701241_204.jpg" alt="Richa Dwivedi" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1758042"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=569701241"&gt;Richa Dwivedi&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 7:51pm May 11&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e63948a23f18318761" class="comment_actual_text"&gt;I don't get it. Does it mean you're in love because you've "decided" to be in love rather than you "feel" in love?? Doesn't make sense! I'm confused...&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1760137" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=570008013" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1760137"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=570008013"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 10:51pm May 11&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e6394f6f0469684806" class="comment_actual_text text_exposed"&gt;If love purely base on feeling, that it's easy to "fall in" and so does it will easy "fall out". For example, if my partner late of our date, I can be angry and decide to raise my voice to ask why she's late, or I can decide to love, and ask with concern voice, is she ok, and etc.&lt;br /&gt;&lt;br /&gt;I could decide to always spend my weekend with friend for few  &lt;span class="text_exposed_hide"&gt;&lt;span class="text_exposed_link"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="text_exposed_show"&gt;round of Golf, or I could decide to take 1-2 weekend off with my wife just do nothing or cook dishes together..&lt;br /&gt;&lt;br /&gt;A lot of marriage couple are "seen" from outside eye they are marry, but in fact they are marriage individual, again a decision they made..&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1760284" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=534081306" title="Annie Tan"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/v227/1377/70/q534081306_1983.jpg" alt="Annie Tan" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1760284"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=534081306"&gt;Annie Tan&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 10:59pm May 11&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e6396cd98d01989546" class="comment_actual_text"&gt;fren, don't look at other ppl, just be happy with what you are doing and live with it. God is there for you, He never take an off day! :-)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1760330" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=1185381606" title="Wong Yeow Soon"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://static.ak.fbcdn.net/pics/q_silhouette.gif" alt="Wong Yeow Soon" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1760330"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=1185381606"&gt;Wong Yeow Soon&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 11:03pm May 11&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e63981996528149978" class="comment_actual_text"&gt;Hey man, its oo complicated. Love is feeling, understanding, caring, dedicating. Over the years, you will find out, whether you love or beloved,it's a burden. Moreover, whatever decision you make for your future, married or single, you'll be regretted for the rest of your life.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1761193" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=504960644" title="Luckchai Lerchaichanakul"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/v225/813/91/q504960644_4325.jpg" alt="Luckchai Lerchaichanakul" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1761193"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=504960644"&gt;Luckchai Lerchaichanakul&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 12:04am May 12&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e6399b788f71607158" class="comment_actual_text"&gt;I'm sure James has lots (if not too many) of feeling on this luv based on the story developed steps by steps from James' blogs over the whole period. But after all the loving feeling, one has to decide whether to commit to this love or else... It's the life long commitment that need more than just feeling which can change over time...&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1761205" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=515743494" title="Jamie Lim"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/profile5/954/34/q515743494_3649.jpg" alt="Jamie Lim" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1761205"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=515743494"&gt;Jamie Lim&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 12:05am May 12&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e639b27c3c17268640" class="comment_actual_text"&gt;Emmm... Then am gotta repeat my principle @ L.O.V.E again... 1st r'ship = she luv u more than u lov her but cudn't work out... 2nd r'ship = u luv her more than she luv u but still cudn't work out... 3rd r'ship usually it's the time to get marry = both luvES are 50% 50% but it's juz the timing is rite &gt;&gt;&gt; P/S: Emmm... That's the love on decision lol i guess :P&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1769037" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=1185381606" title="Wong Yeow Soon"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://static.ak.fbcdn.net/pics/q_silhouette.gif" alt="Wong Yeow Soon" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1769037"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=1185381606"&gt;Wong Yeow Soon&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 9:21am May 12&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e639b7c53019646502" class="comment_actual_text"&gt;Jamie, i heard this before, but i think this is some kind of nonsence to me. When it's come to love or true love, there is no percentage to each other, somehow or rather, you die for it.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1769115" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=570008013" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1769115"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=570008013"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 9:28am May 12&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e639bce19591882742" class="comment_actual_text text_exposed"&gt;Answer to Jamie, nope, I Love my wife Winnie very much, and Love can't be quantifiable, thus it's pointless to compare u current love with previous lovers. Live the moment, and treasure you love now.&lt;br /&gt;&lt;br /&gt;Luckchai get my message 100% correctly!&lt;br /&gt;&lt;br /&gt;After marriage, when everyone back to realities, we people easily takes things for granted, and sooner or later, we start blaming our partner that he/she is not as romantic as before, and surprisingly we will hear the same from our partner, haha but all this can change if we wants to change, again decision,decision, and decisions.&lt;span class="text_exposed_hide"&gt;...&lt;span class="text_exposed_link"&gt;&lt;a onclick="'CSS.addClass($("&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="text_exposed_show"&gt;&lt;br /&gt;&lt;br /&gt;We could decide to give a a simple morning kiss to our love one, before we go to work, a Call to ask how his/her day in the office, a surprise visit to his/her office for lunch, or just simple lying down at Sofa, under a blanket, and watch a good movie together..and soon we will get back the romantic feeling we used to have..&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1769362" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=665913762" title="Joe Heath"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/profile5/901/0/q665913762_9908.jpg" alt="Joe Heath" class="UIRoundedImage_Image" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.facebook.com/profile.php?id=665913762" title="Joe Heath"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1769362"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=665913762"&gt;Joe Heath&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 9:47am May 12&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e639de424461675637" class="comment_actual_text"&gt;Sounds like you could have a career writing that gobbledygook you find in the horoscope section of the newspaper... ;o)&lt;br /&gt;&lt;br /&gt;James Khoo, Agony Aunt &amp;amp; Feng Shui Toilet Master&lt;br /&gt;&lt;br /&gt;*joke* :op&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1769505" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=570008013" title="Khoo Chen Shiang"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/v224/1364/56/q570008013_1711.jpg" alt="Khoo Chen Shiang" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1769505"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=570008013"&gt;Khoo Chen Shiang&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 9:58am May 12&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e639e3654e84675568" class="comment_actual_text"&gt;haha, thanks for teaching me new English word today, "Gobbledygook"..&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1769763" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=665913762" title="Joe Heath"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/profile5/901/0/q665913762_9908.jpg" alt="Joe Heath" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1769763"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=665913762"&gt;Joe Heath&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 10:19am May 12&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e639e8034e38836474" class="comment_actual_text"&gt;It's a great word. I challenge you to use it in conversation at least 10 times today&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="comment_5334512961283751682_87424875167_1772169" class="ufi_section"&gt;&lt;div class="comment_profile_pic"&gt;&lt;a href="http://www.facebook.com/profile.php?id=534081306" title="Annie Tan"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;img src="http://profile.ak.facebook.com/v227/1377/70/q534081306_1983.jpg" alt="Annie Tan" class="UIRoundedImage_Image" /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="comment_content" id="comment_box_5334512961283751682_87424875167_1772169"&gt;&lt;div class="comment_actions"&gt;&lt;a onclick="'remove_feed_comment_dialog(" class="x_to_hide" title="Click here to remove this comment"&gt; &lt;/a&gt;&lt;span class="comment_meta_data"&gt;&lt;/span&gt;&lt;a href="http://www.facebook.com/profile.php?id=534081306"&gt;Annie Tan&lt;/a&gt;&lt;span class="comment_meta_data"&gt; at 2:37pm May 12&lt;/span&gt;&lt;span class="comment_credits"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="comment_text"&gt;&lt;div id="text_expose_id_4a0d2e639ecba9589253078" class="comment_actual_text"&gt;Fully agreeable with u James!&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;input name="charset_test" value="€,´,€,´,水,Д,Є" type="hidden"&gt;&lt;input id="fb_dtsg" name="fb_dtsg" value="0KSdImmitX2idUTK0pxotbbBiBY" type="hidden"&gt;&lt;input id="post_form_id" name="post_form_id" value="faa3b9b1ed55affc9d208b7ae1960b51" type="hidden"&gt;&lt;div class="comments_add_box_image"&gt;&lt;span class="UIRoundedImage UIRoundedImage_GIRLIE UIRoundedImage_SMALL"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="UIRoundedImage_Corners"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-661973034535746949?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/661973034535746949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=661973034535746949&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/661973034535746949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/661973034535746949'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/05/love-is-decision-not-by-feeling.html' title='Love is decision, not by feeling!!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-1763149385488427465</id><published>2009-05-05T12:36:00.007+08:00</published><updated>2009-05-05T12:56:24.497+08:00</updated><title type='text'>Wedding Invitation</title><content type='html'>&lt;p class="western" align="center"&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;img style="width: 440px; height: 653px;" src="http://docs.google.com/File?id=ddb3g8mt_24cnbxx5dk_b" name="graphics1" align="left" border="0" hspace="13" /&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-size:6;"&gt;&lt;span style="font-size:6;"&gt;B&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:130%;"&gt;ecause you have shared in our lives&lt;/span&gt;&lt;/i&gt; &lt;span style="font-size:130%;"&gt;&lt;i&gt;by your friendship and love we,&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;p style="text-align: center;" class="western"&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;Winnie Wong Wai Lin&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;&amp;amp;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;p style="text-align: center;" class="western"&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;James Khoo Chen Shiang&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;cordially invite you to share&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;the beginning of our new life together&lt;/i&gt;&lt;/span&gt; &lt;span style="font-size:130%;"&gt;&lt;i&gt;when we exchange marriage vows&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;on Saturday, 4th July 2009, 10:30am&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;@ Church of St Francis Xavier,&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;135, Jalan Gasing, 46000 Petaling Jaya, Selangor.&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;p style="text-align: center;" class="western"&gt;&lt;i&gt;&lt;span style="font-size:130%;"&gt;follow-by luncheon &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;on Saturday, 4th July 2009, 12:30pm&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;@ &lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt; Jaya  Palace Restaurant,Ground Flour Wisma LYL,&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;No 12 Jalan 51A/223, Petaling Jaya.&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:130%;"&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;table style="width: 513px; height: 249px; text-align: left; margin-left: auto; margin-right: auto;" class="zeroBorder" border="0" cellpadding="8" cellspacing="0"&gt;&lt;tbody align="left"&gt;&lt;tr valign="top"&gt;&lt;td width="280"&gt;&lt;p style="text-align: center;" class="western"&gt;&lt;img src="http://docs.google.com/File?id=ddb3g8mt_26hr3nw3cm_b" name="graphics4" align="bottom" border="1" height="332" hspace="1" vspace="1" width="555" /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;i&gt;&lt;b&gt;Location Map for ST Francis Xavier (SFX) Church&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class="western" align="center"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://docs.google.com/File?id=ddb3g8mt_28g4g7jtgj_b" name="graphics6" align="bottom" border="1" height="387" hspace="1" vspace="1" width="542" /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;i&gt;&lt;b&gt;Location Map for Jaya Palace Restaurant&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;/div&gt;&lt;p class="western" align="center"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-1763149385488427465?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/1763149385488427465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=1763149385488427465&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/1763149385488427465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/1763149385488427465'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/05/winniewongjameskhooinvitationcard.html' title='Wedding Invitation'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-7374768911431290440</id><published>2009-04-23T08:52:00.002+08:00</published><updated>2009-04-23T08:59:00.985+08:00</updated><title type='text'>What is Love?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3642/3465973984_2d3c8d46bb.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 500px; height: 332px;" src="http://farm4.static.flickr.com/3642/3465973984_2d3c8d46bb.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quoted from Bible (New International Version), 1 Corinthians 13&lt;br /&gt;&lt;br /&gt;Love If I speak in the tongues of men and of angels, but have not love, I am only a resounding gong or a clanging cymbal. If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. If I give all I possess to the poor and surrender my body to the flames, but have not love, I gain nothing.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3553/3465160241_c7dd6a2d4c.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 500px; height: 332px;" src="http://farm4.static.flickr.com/3553/3465160241_c7dd6a2d4c.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt; Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres. &lt;/p&gt;&lt;p&gt; Love never fails. But where there are prophecies, they will cease; where there are tongues, they will be stilled; where there is knowledge, it will pass away. For we know in part and we prophesy in part, but when perfection comes, the imperfect disappears. &lt;sup id="en-NIV-28661" class="versenum" value="11"&gt;1&lt;/sup&gt;When I was a child, I talked like a child, I thought like a child, I reasoned like a child. When I became a man, I put childish ways behind me. Now we see but a poor reflection as in a mirror; then we shall see face to face. Now I know in part; then I shall know fully, even as I am fully known. &lt;/p&gt;&lt;p&gt; And now these three remain: faith, hope and love. But the greatest of these is love.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;Note&lt;/span&gt;: Picture above is our is our wedding ring..&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-7374768911431290440?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/7374768911431290440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=7374768911431290440&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7374768911431290440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7374768911431290440'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/04/what-is-love.html' title='What is Love?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3642/3465973984_2d3c8d46bb_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-107149421348257330</id><published>2009-04-20T16:06:00.005+08:00</published><updated>2009-04-20T18:54:08.825+08:00</updated><title type='text'>Friends, we are officially engaged!..</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_V6xj_a3bH1c/SewxzF0sovI/AAAAAAAAALw/TXI9E_4WBfs/s1600-h/SNC00268.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 400px;" src="http://3.bp.blogspot.com/_V6xj_a3bH1c/SewxzF0sovI/AAAAAAAAALw/TXI9E_4WBfs/s400/SNC00268.jpg" alt="" id="BLOGGER_PHOTO_ID_5326687213078749938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;And Yes!! We getting married soon..&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-107149421348257330?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/107149421348257330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=107149421348257330&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/107149421348257330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/107149421348257330'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/04/yes-we-are-getting-married.html' title='Friends, we are officially engaged!..'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_V6xj_a3bH1c/SewxzF0sovI/AAAAAAAAALw/TXI9E_4WBfs/s72-c/SNC00268.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-4861907259926193212</id><published>2009-03-20T16:12:00.004+08:00</published><updated>2009-03-20T16:44:44.212+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='random thought'/><title type='text'>[Tips] An easy to remember and yet "strong" password</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_471vc1U2a3Q/R_C61BYFXeI/AAAAAAAAAg8/yonnkW92aYM/s320/forgot+password.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 266px; height: 282px;" src="http://bp3.blogger.com/_471vc1U2a3Q/R_C61BYFXeI/AAAAAAAAAg8/yonnkW92aYM/s320/forgot+password.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;My girlfriend have multiple passwords for multiple website, email, and desktop login, and one of common phase I hear from her is "oh oh, I forgot my password lieu!", and usually she will tear her hair up, with a very worry face (as shown in picture above)..so, here's my tips to her on creating an easy to remember yet "security" strong password, I hope it will benefits others as well.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Think of a short phrase that easy for u to remember, type out the phrase without space. For example,"YouJumpIJump", "Whyusolazyanddirty"&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Append the phrase with the website you wants to log into, for example "YouJumpIJumpFacebook"&lt;/li&gt;&lt;li&gt;For every phrase, replace all vowels to a special character that easy for u to remember, for example:&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;"a" with "^" or "@"&lt;/li&gt;&lt;li&gt;"e" with "3"&lt;/li&gt;&lt;li&gt;"i" with numeric "1"&lt;/li&gt;&lt;li&gt;"o" with numeric zero, i.e. "0", or with "()"&lt;br /&gt;&lt;/li&gt;&lt;li&gt;"u" with "*"&lt;/li&gt;&lt;/ul&gt;     4. Thus, phrase above will translated with "Y()*J*mp1J*mpF@c3b()()k"..  easy isn't it..&lt;br /&gt;&lt;br /&gt;Here are some more example:&lt;br /&gt;&lt;br /&gt;"YouJumpIJumpHotmail" -&gt; "Y()*J*mp1J*mpH()tm@1l"&lt;br /&gt;"iLoveDurianYahoo" -&gt; "1L()v3D*r1@nY@h()()"&lt;br /&gt;"JamesLoveUXP" -&gt; "J@m3sL()v3*XP"&lt;br /&gt;&lt;br /&gt;Hope u like it..&lt;br /&gt;&lt;br /&gt;PS: The fact is my darling did not tear her hair, I just make it up to spice up the story, sorry Darling....ha ha..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-4861907259926193212?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/4861907259926193212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=4861907259926193212&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4861907259926193212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4861907259926193212'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/03/tips-easy-to-remember-and-yet-strong.html' title='[Tips] An easy to remember and yet &quot;strong&quot; password'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_471vc1U2a3Q/R_C61BYFXeI/AAAAAAAAAg8/yonnkW92aYM/s72-c/forgot+password.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-4412927381832164988</id><published>2009-03-10T08:13:00.005+08:00</published><updated>2009-03-10T08:30:45.397+08:00</updated><title type='text'>A little fun game for my Girl Friend</title><content type='html'>My girl friend will be away from me for few days, so I wrote her a letter which read :&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Darling&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Warning, you have 5 minutes to find out the hidden message from the picture below, and send the hidden message to +60-16-XXXXXXX before 10:50pm.. failing to do so.. Muah ha ha ha..&lt;br /&gt;                                       &lt;br /&gt;You could request up to three hints to decrypt this message, to request a hint, type&lt;br /&gt;“Help me Dar, hint hint please” to +6016XXXXXXX.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;One kiss will be charge for this first hint given out&lt;/li&gt;&lt;li&gt;10 kisses will be charge for the second hint&lt;/li&gt;&lt;li&gt;20 kisses + 30 minutes massage from you will be charge if third hint given out..&lt;/li&gt;&lt;/ul&gt;Good Luck!!!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_V6xj_a3bH1c/SbWw4lO_EiI/AAAAAAAAALQ/Crsbj6HNK3A/s1600-h/missualot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 154px; height: 377px;" src="http://1.bp.blogspot.com/_V6xj_a3bH1c/SbWw4lO_EiI/AAAAAAAAALQ/Crsbj6HNK3A/s320/missualot.png" alt="" id="BLOGGER_PHOTO_ID_5311345821667496482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So, to my dear reader, could you decrypt the message from the picture above, here are same tips I given out to my girl friend (&lt;span style="font-weight: bold;"&gt;Note&lt;/span&gt;, to solve the puzzle, it's best to print out the picture on piece of paper);&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;A lot of people still believe that the world is &lt;span style="font-weight: bold;"&gt;"Flat" &lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;When attempt to solve a problem, one must consider every possible&lt;span style="font-weight: bold;"&gt; angle&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Lay the letter&lt;span style="font-weight: bold;"&gt; flat&lt;/span&gt; on your hand, about 30-40cm away from your body, close one of your eye, slowly raise your hand&lt;span style="font-weight: bold;"&gt; up till the letter is same height with you eye.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Cheers&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-4412927381832164988?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/4412927381832164988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=4412927381832164988&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4412927381832164988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4412927381832164988'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/03/little-fun-game-for-my-girl-friend.html' title='A little fun game for my Girl Friend'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_V6xj_a3bH1c/SbWw4lO_EiI/AAAAAAAAALQ/Crsbj6HNK3A/s72-c/missualot.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-5510614285983580241</id><published>2009-02-15T22:28:00.009+08:00</published><updated>2009-02-16T09:46:47.635+08:00</updated><title type='text'>A very special Valentine Gift</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_V6xj_a3bH1c/SZgneXyo0zI/AAAAAAAAAKY/7d7_CiPnc74/s1600-h/SNC00174.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://4.bp.blogspot.com/_V6xj_a3bH1c/SZgneXyo0zI/AAAAAAAAAKY/7d7_CiPnc74/s320/SNC00174.jpg" alt="" id="BLOGGER_PHOTO_ID_5303031963964724018" border="0" /&gt;&lt;/a&gt;Last Saturday, I received a very special Valentine Gift from my darling. A nicely wrap box with two T-shirts inside, one small, and one XXL..&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_V6xj_a3bH1c/SZgnephMLfI/AAAAAAAAAKg/cbDqBtV40NA/s1600-h/SNC00175.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_V6xj_a3bH1c/SZgnephMLfI/AAAAAAAAAKg/cbDqBtV40NA/s320/SNC00175.jpg" alt="" id="BLOGGER_PHOTO_ID_5303031968723381746" border="0" /&gt;&lt;/a&gt;The small T-Shirt have a cartoon drawing of me, backpacking..&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/SZgoTbwS44I/AAAAAAAAAK4/add87jUZE5s/s1600-h/SNC00177.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/SZgoTbwS44I/AAAAAAAAAK4/add87jUZE5s/s320/SNC00177.jpg" alt="" id="BLOGGER_PHOTO_ID_5303032875561706370" border="0" /&gt;&lt;/a&gt;And the T-Shirt Read, &lt;span style="font-weight: bold;"&gt;"He is mine, Don't Touch!"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_V6xj_a3bH1c/SZgne7WSXZI/AAAAAAAAAKo/tkKF5xoWLm4/s1600-h/SNC00176.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_V6xj_a3bH1c/SZgne7WSXZI/AAAAAAAAAKo/tkKF5xoWLm4/s320/SNC00176.jpg" alt="" id="BLOGGER_PHOTO_ID_5303031973509488018" border="0" /&gt;&lt;/a&gt;The XXL T-shirt have a sexy drawing of my darling, Winnie wearing bikini, sunbathing at the beach.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_V6xj_a3bH1c/SZgoTuhfhzI/AAAAAAAAALA/1hWQ5TO6_rg/s1600-h/SNC00178.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_V6xj_a3bH1c/SZgoTuhfhzI/AAAAAAAAALA/1hWQ5TO6_rg/s320/SNC00178.jpg" alt="" id="BLOGGER_PHOTO_ID_5303032880599893810" border="0" /&gt;&lt;/a&gt;And the T-Shirt read: &lt;span style="font-weight: bold;"&gt;"She mine, don't touch!"&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/SZgoTmrZnvI/AAAAAAAAALI/VJc1f9VnhaE/s1600-h/SNC00179.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/SZgoTmrZnvI/AAAAAAAAALI/VJc1f9VnhaE/s320/SNC00179.jpg" alt="" id="BLOGGER_PHOTO_ID_5303032878493966066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;Thanks darling, this is the best Valentine gift I ever receive, is so  creative and really touch by your effort (&lt;span style="font-weight: bold;"&gt;See Note&lt;/span&gt;) &lt;span style="font-weight: bold;"&gt;&lt;/span&gt;of making this very special T-Shirt.. Love u!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note A&lt;/span&gt;: To make this special T-Shirt,&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Winnie have to go to Kodak to take picture herself.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Then, she needs to rush to KL Central point, find an artist to draw us, per her instruction, i.e me backpacking, and she's is sunbathing.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Winnie then needs to choose two good T-Shirt for us.&lt;/li&gt;&lt;li&gt;Take the T-Shirt, the painiting to a printing shop, type out the text, choose fonts, color, layout..and finally print on the T-shirt.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;It take her a total 4-5 hours to do all the above. A project well executed.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Idea above is copy right to Winnie..&lt;/span&gt;do write to us if u wants use the idea.&lt;br /&gt;Any donation are welcome...haha.&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;Note B&lt;/span&gt;:  For me, I have give my best effort of making our first Valentine a very special one, Winnie give me score of 90/100 of my effort..and this will be secret between me and her, however, do write to me if u interested to find out..I might share u a tips or two..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-5510614285983580241?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/5510614285983580241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=5510614285983580241&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5510614285983580241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5510614285983580241'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/02/very-special-valentine-gift.html' title='A very special Valentine Gift'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_V6xj_a3bH1c/SZgneXyo0zI/AAAAAAAAAKY/7d7_CiPnc74/s72-c/SNC00174.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-765386746993445932</id><published>2009-02-09T14:07:00.007+08:00</published><updated>2009-02-09T23:43:45.215+08:00</updated><title type='text'>Lazy afternoon with my girl friend,</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/SZAiWLyb7SI/AAAAAAAAAKI/oaB13btO7Nc/s1600-h/SNC00165.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/SZAiWLyb7SI/AAAAAAAAAKI/oaB13btO7Nc/s320/SNC00165.jpg" alt="" id="BLOGGER_PHOTO_ID_5300774525931875618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_V6xj_a3bH1c/SY_IjZVF5uI/AAAAAAAAAJ4/mecXV1FjqQY/s1600-h/SNC00162.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_V6xj_a3bH1c/SY_IjZVF5uI/AAAAAAAAAJ4/mecXV1FjqQY/s320/SNC00162.jpg" alt="" id="BLOGGER_PHOTO_ID_5300675796858693346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_V6xj_a3bH1c/SY_IjA6BF0I/AAAAAAAAAJw/OAI3GtY7Qnw/s1600-h/SNC00166.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_V6xj_a3bH1c/SY_IjA6BF0I/AAAAAAAAAJw/OAI3GtY7Qnw/s320/SNC00166.jpg" alt="" id="BLOGGER_PHOTO_ID_5300675790302680898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Today is Malaysia public holiday, my darling Winnie decided to cook a yummy yummy lunch for me today. So, we both went to market early morning,  bought some fresh vegetables, chicken, some prawns, and some cooking ingredients, such as cooking oil, soya source, garlic, chicken stock, and etc.&lt;br /&gt;&lt;br /&gt;I help her to prepare the food, and she did most of the cooking. The dish is simple and nice, we both enjoy this quality time together. I feels very 幸福 (happiness). Thank God that, I have found you, Winnie. I wished that we will have many many such beautiful moments together in many many years to come.&lt;br /&gt;&lt;br /&gt;Love you!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-765386746993445932?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/765386746993445932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=765386746993445932&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/765386746993445932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/765386746993445932'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/02/lazy-afternoon-with-my-girl-friend.html' title='Lazy afternoon with my girl friend,'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_V6xj_a3bH1c/SZAiWLyb7SI/AAAAAAAAAKI/oaB13btO7Nc/s72-c/SNC00165.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8708925067604220723</id><published>2009-02-03T08:56:00.002+08:00</published><updated>2009-02-03T09:07:02.124+08:00</updated><title type='text'>Support Sarawak Children Cancer Society</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a href="http://www.kennysia.com/gobald/" target="_blank"&gt;&lt;img src="http://www.kennysia.com/gobald/appeal.jpg" border="0" height="332" width="500" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;1. Read Kenny Sia about supporting &lt;a href="http://www.kennysia.com/archives/2009/02/starting-the-ye.php"&gt;Sarawak Children Cancer Society&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2.&lt;a href="http://www.kennysia.com/gobald/"&gt; Donate here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Watch Kenny Sia turn to botak by 15th Feb.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://www.kennysia.com/gobald/" target="_blank"&gt;&lt;img src="http://www.kennysia.com/gobald/appeal-small-anim.gif" border="0" height="97" width="160" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8708925067604220723?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8708925067604220723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8708925067604220723&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8708925067604220723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8708925067604220723'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/02/support-sarawak-children-cancer-society.html' title='Support Sarawak Children Cancer Society'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-7133500276448828048</id><published>2009-01-27T10:30:00.010+08:00</published><updated>2009-06-24T11:59:58.410+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='我的初恋 - 海珊'/><title type='text'>我的初恋 - 海珊 - Part IV</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://img.photobucket.com/albums/v260/baby_micko/hand_hold.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 448px; height: 298px;" src="http://img.photobucket.com/albums/v260/baby_micko/hand_hold.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;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.&lt;br /&gt;&lt;br /&gt;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?&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;珊 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..&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Suddenly, someone hold my hand..&lt;br /&gt;&lt;br /&gt;"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..&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://media.imeem.com/p/sVWTtmIFHc.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 217px; height: 289px;" src="http://media.imeem.com/p/sVWTtmIFHc.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Then she give me  a light kiss on my cheek, and said. "btw, u are very handsome today.."&lt;br /&gt;&lt;br /&gt;"But, only for today..haha", 珊 giggled.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;------------- To be Continue --------------&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-7133500276448828048?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/7133500276448828048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=7133500276448828048&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7133500276448828048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7133500276448828048'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/part-iv.html' title='我的初恋 - 海珊 - Part IV'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8506217146222571071</id><published>2009-01-26T13:57:00.004+08:00</published><updated>2009-01-26T14:01:20.784+08:00</updated><title type='text'>Gong Xi Gong Xi 2009</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_V6xj_a3bH1c/SX1RRBbw0NI/AAAAAAAAAJo/yCZdhV79E-4/s1600-h/DSC_0316.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 385px; height: 400px;" src="http://4.bp.blogspot.com/_V6xj_a3bH1c/SX1RRBbw0NI/AAAAAAAAAJo/yCZdhV79E-4/s400/DSC_0316.JPG" alt="" id="BLOGGER_PHOTO_ID_5295478089742078162" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Coolboy and family (i.e Mimi) would like to wish u and your family a very happy, romantic, prosperous Moo Moo Chinese New year...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8506217146222571071?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8506217146222571071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8506217146222571071&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8506217146222571071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8506217146222571071'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/gong-xi-gong-xi.html' title='Gong Xi Gong Xi 2009'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_V6xj_a3bH1c/SX1RRBbw0NI/AAAAAAAAAJo/yCZdhV79E-4/s72-c/DSC_0316.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8984137831843766068</id><published>2009-01-22T15:42:00.009+08:00</published><updated>2009-06-24T11:59:58.411+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='我的初恋 - 海珊'/><title type='text'>我的初恋 - 海珊 - Part III</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://upload.wikimedia.org/wikipedia/commons/7/79/Sea_otters_holding_hands.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 341px; height: 247px;" src="http://upload.wikimedia.org/wikipedia/commons/7/79/Sea_otters_holding_hands.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;珊 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  珊.&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;I know my only chance to hold her hand &lt;span style="font-weight: bold;"&gt;legally &lt;/span&gt;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.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://tbn1.google.com/images?q=tbn:kwelSOfNlfJFcM:http://www.romancetracker.com/wp-content/uploads/2007/06/holding-hands.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 120px; height: 79px;" src="http://tbn1.google.com/images?q=tbn:kwelSOfNlfJFcM:http://www.romancetracker.com/wp-content/uploads/2007/06/holding-hands.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;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..&lt;br /&gt;&lt;br /&gt;To attend the party, and to  make me stands out compare with others, I needs the following:&lt;br /&gt;a) A new shining cloth and jean&lt;br /&gt;b) A smooth and clean face,&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;-----------------------------------------------------------&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;A) Getting a new Shining Cloth and Jean&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"Mom, can I have RM50?", I asked my Mom.&lt;br /&gt;&lt;br /&gt;"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.&lt;br /&gt;&lt;br /&gt;"I needs to buy new cloth and jean..", I said&lt;br /&gt;&lt;br /&gt;"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..&lt;br /&gt;&lt;br /&gt;"Our school's Chinese New Year party is coming in two weeks time", I said&lt;br /&gt;&lt;br /&gt;"So what, can't ur wear your exsting cloth..blah blah blah...blah", Mom continue to nag me&lt;br /&gt;&lt;br /&gt;"But Mom! I have to wear a bit smart to impress a girl I like loh, her name is 海珊", I said&lt;br /&gt;&lt;br /&gt;"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.."&lt;br /&gt;&lt;br /&gt;"Mom!"..&lt;br /&gt;&lt;br /&gt;"OK OK, will not ask any more question, when u will bring back the girl for mom to see.?"&lt;br /&gt;&lt;br /&gt;"Bye, Mom.."&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;---------- To be continue -------&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8984137831843766068?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8984137831843766068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8984137831843766068&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8984137831843766068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8984137831843766068'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/part-iii.html' title='我的初恋 - 海珊 - Part III'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-98647423428499292</id><published>2009-01-20T21:26:00.004+08:00</published><updated>2009-06-24T11:59:58.411+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='我的初恋 - 海珊'/><title type='text'>我的初恋 - 海珊 - Part II</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://snapshot.parade.com/main.php?g2_view=core.DownloadItem&amp;amp;g2_itemId=1241391&amp;amp;g2_serialNumber=7"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 401px; height: 289px;" src="http://snapshot.parade.com/main.php?g2_view=core.DownloadItem&amp;amp;g2_itemId=1241391&amp;amp;g2_serialNumber=7" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;珊 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.&lt;br /&gt;&lt;br /&gt;Our second magical moments  happen  three weeks later..&lt;br /&gt;&lt;br /&gt;"Everyone, do finish up your essay, and submit to my desk by today", our Chinese language teacher remind us, before she end the class.&lt;br /&gt;&lt;br /&gt;Everyone has finished their essay, and rushing for lunch. Except  珊..still working hard to finish her essay.&lt;br /&gt;&lt;br /&gt;"Still have a lot to write?", I ask.&lt;br /&gt;&lt;br /&gt;"Yep", she answer quietly.&lt;br /&gt;&lt;br /&gt;"Ubi Khoo, hurry up, we all waiting for u, hungry lah!!!!", my friends urging me to go to cafeteria for our lunch..&lt;br /&gt;&lt;br /&gt;"Ok, Ok, coming", me walking unwillingly toward my friends.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;I walk quietly toward her,  slowly and nervously  hand over the foods and drink  to her, and say "Err....this is for u.."&lt;br /&gt;&lt;br /&gt;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!..&lt;br /&gt;&lt;br /&gt;Then ..the magic  just happen..&lt;br /&gt;&lt;br /&gt;She slowly raise her hand, to tidy up  my shirt, and comb my hair a bit..&lt;br /&gt;"Next time, u don't have to run, ok."&lt;br /&gt;&lt;br /&gt;Wow, I am just stun, like forever,  and no idea what to do next..she just smile away.&lt;br /&gt;&lt;br /&gt;From that moment, I know I am  in love with her, and she soft of "confirm" that I am her Boyfriend.&lt;br /&gt;&lt;br /&gt;However, we only start holding each other hand about two weeks later.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;-------  To be continue --------&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-98647423428499292?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/98647423428499292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=98647423428499292&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/98647423428499292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/98647423428499292'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/part-ii.html' title='我的初恋 - 海珊 - Part II'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2953207140435173645</id><published>2009-01-16T12:06:00.008+08:00</published><updated>2009-06-24T11:59:58.411+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='我的初恋 - 海珊'/><title type='text'>我的初恋 - 海珊</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.arenaflowers.com/product_image/large/2598-puppy_love_grey_dog.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; width: 261px; cursor: pointer; height: 261px; text-align: center;" alt="" src="http://www.arenaflowers.com/product_image/large/2598-puppy_love_grey_dog.jpg" border="0" /&gt;&lt;/a&gt;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?&lt;br /&gt;&lt;br /&gt;Well, I do. Her name is 海珊 (i.e Coral), and here is our story.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;"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.&lt;br /&gt;&lt;br /&gt;"Ubi (my nick name, i.e Potato), wake up! got Leng Lui (pretty girl) joining our class..", my friend Thong try to awake me...&lt;br /&gt;&lt;br /&gt;"huh....Where?"&lt;br /&gt;&lt;br /&gt;"Hi everyone, my name is 海珊, glad to joining this class..."&lt;br /&gt;&lt;br /&gt;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?&lt;br /&gt;&lt;br /&gt;"珊, 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.&lt;br /&gt;&lt;br /&gt;"Hi, 珊 here, nice to meet you.",&lt;br /&gt;&lt;br /&gt;"Hi, my name is Khoo.. ", When I am about to start my usual James Bond style introduction, i.e Khoo, James Khoo.. ..&lt;br /&gt;&lt;br /&gt;"And we all call him Ubi", Thong interrupted, stupid Thong, spoil my image..&lt;br /&gt;&lt;br /&gt;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"..&lt;br /&gt;&lt;br /&gt;"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..&lt;br /&gt;&lt;br /&gt;We looks into each other..&lt;br /&gt;Eye to Eye.&lt;br /&gt;Then time just stop.&lt;br /&gt;The whole class room just have me and her,&lt;br /&gt;And, we shake hand, smile, and laugh at each other.&lt;br /&gt;And this is how we first meet.&lt;br /&gt;&lt;br /&gt;To be continue..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2953207140435173645?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2953207140435173645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2953207140435173645&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2953207140435173645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2953207140435173645'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/blog-post.html' title='我的初恋 - 海珊'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8867569788410693763</id><published>2009-01-13T14:33:00.002+08:00</published><updated>2009-01-13T14:55:52.371+08:00</updated><title type='text'>A new start</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3103/2847520663_5bcd410dbf.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 500px; height: 333px;" src="http://farm4.static.flickr.com/3103/2847520663_5bcd410dbf.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The rain finally stop&lt;/span&gt;,  I open up my window, the air is so fresh, sunlight shinning through my eye, warm, and full of energy.&lt;br /&gt;&lt;br /&gt;After weeks living in the dark, the Ram is about to embark a new journey.&lt;br /&gt;Is the world ready for the Ram?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;1,2,3 Go!&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8867569788410693763?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8867569788410693763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8867569788410693763&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8867569788410693763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8867569788410693763'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/new-start.html' title='A new start'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3103/2847520663_5bcd410dbf_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2595010883021777642</id><published>2009-01-07T12:20:00.007+08:00</published><updated>2009-01-07T15:38:19.146+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><category scheme='http://www.blogger.com/atom/ns#' term='JPA'/><title type='text'>The Nasty JPA "Unknown abstract schema type" error</title><content type='html'>I been trying to debug the following error for days, and it drive me nuts!&lt;br /&gt;&lt;br /&gt;The problem: JPA refuse to compile one of my NamedQuery, and throws the following error:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Error compiling the query [UserVO.findByUserName: SELECT u FROM UserVO u WHERE u.name = :name].&lt;span style="font-weight: bold;"&gt; Unknown abstract schema type [UserVO] &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;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:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;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 "&lt;span style="font-weight: bold;"&gt;SELECT u from users u&lt;/span&gt;" will throw the above exception.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;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.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;None of above apply to my case, I have explicit listed all my entities class in the persistence.xml&lt;br /&gt;and I am sure my JPA query is valid. I have tested my code with  different JPA implementations, but always resulted the same error..&lt;br /&gt;&lt;br /&gt;Here my UserVO class&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;@Entity(name = "users")&lt;br /&gt;@NamedQuery(name = "UserVO.findByUserName",&lt;br /&gt;       query = "SELECT u FROM UserVO u WHERE u.name = :name")&lt;br /&gt;public class UserVO extends implements Serializable {&lt;br /&gt;&lt;br /&gt;             |&lt;br /&gt;             |&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;If I remove the NamedQuery, my JPA able to work as expected, i.e I am able to insert, delete, and update UserVO object.&lt;br /&gt;Now, to all my smart reader, can u spot what's wrong in my code? Scroll down for answer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;                                  |&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;|&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Answer: &lt;/span&gt;The culprit is the Entity annotation, I explicit name the &lt;span style="font-weight: bold;"&gt;UserVO&lt;/span&gt; entity as &lt;span style="font-weight: bold;"&gt;users&lt;/span&gt;, which JPA have no problem to map the &lt;span style="font-weight: bold;"&gt;UserVO&lt;/span&gt; to &lt;span style="font-weight: bold;"&gt;users&lt;/span&gt; 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 &lt;span style="font-weight: bold;"&gt;UserVO&lt;/span&gt; entity have rename to &lt;span style="font-weight: bold;"&gt;users&lt;/span&gt; entity by me, got it, or confuse..&lt;br /&gt;&lt;br /&gt;To resolve this, just add a @Table annotation with the table name, as shown code below:&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;@Entity&lt;br /&gt;@Table(name = "users")&lt;br /&gt;@NamedQuery(name = "UserVO.findByUserName",&lt;br /&gt;       query = "SELECT u FROM UserVO u WHERE u.name = :name")&lt;br /&gt;public class UserVO extends implements Serializable {&lt;br /&gt;&lt;br /&gt;             |&lt;br /&gt;             |&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Cheers, Happy New Year!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2595010883021777642?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2595010883021777642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2595010883021777642&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2595010883021777642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2595010883021777642'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/nasty-jpa-unknown-abstract-schema-type.html' title='The Nasty JPA &quot;Unknown abstract schema type&quot; error'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-6823446666695942554</id><published>2009-01-02T09:17:00.005+08:00</published><updated>2009-01-07T15:29:21.514+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><category scheme='http://www.blogger.com/atom/ns#' term='random thought'/><title type='text'>My New Tattoo</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/SV1smIa2cdI/AAAAAAAAAIo/r3DGLJW9fKk/s1600-h/SNC00137.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/SV1smIa2cdI/AAAAAAAAAIo/r3DGLJW9fKk/s400/SNC00137.jpg" alt="" id="BLOGGER_PHOTO_ID_5286500939953762770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Finally, I did it..&lt;br /&gt;&lt;br /&gt;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&lt;br /&gt;&lt;br /&gt;Here's the video of the process, warning, a bit violent&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/WVRR6dWcMv8&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/WVRR6dWcMv8&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Know what my mom say, when she saw my new Tattoo?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:180%;"&gt;"Wow, gangster ah, u.....!"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-6823446666695942554?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/6823446666695942554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=6823446666695942554&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6823446666695942554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6823446666695942554'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/my-new-tattoo.html' title='My New Tattoo'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_V6xj_a3bH1c/SV1smIa2cdI/AAAAAAAAAIo/r3DGLJW9fKk/s72-c/SNC00137.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2393378469506131631</id><published>2009-01-02T08:58:00.002+08:00</published><updated>2009-01-02T09:14:30.765+08:00</updated><title type='text'>My 2009's Resolution</title><content type='html'>1. Get a Tattoo on my left arm,  prefer an Aries Ram, which truly represent my character.&lt;br /&gt;2. Back pack to Tibet at somewhere around Aug-Sept, 2009, anyone wants to join me.&lt;br /&gt;3. To deliver some of my cool mobile service ideas, which I think going to "Wow the market"&lt;br /&gt;4. To "reactivate" one of my open source project, "Java batch process management console", time to contribute back open source community&lt;br /&gt;5. Donate one Cow to one of Family via World Vision and adopt one more children.&lt;br /&gt;6. Finally, find my Ms Right....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2393378469506131631?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2393378469506131631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2393378469506131631&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2393378469506131631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2393378469506131631'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2009/01/my-2009s-resolution.html' title='My 2009&apos;s Resolution'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8008865857705673072</id><published>2008-12-23T09:05:00.004+08:00</published><updated>2008-12-23T10:24:22.947+08:00</updated><title type='text'>Miss, u have  Banana?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_cSMGB9hjXFA/SCIktLN0OwI/AAAAAAAABRQ/JPNvmNtGN2g/s400/banana1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 108px; height: 158px;" src="http://bp0.blogger.com/_cSMGB9hjXFA/SCIktLN0OwI/AAAAAAAABRQ/JPNvmNtGN2g/s400/banana1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;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. &lt;br /&gt;&lt;br /&gt;Guess what I draw?&lt;br /&gt;&lt;br /&gt;A Banana, and this is question I keep on asking to 100 girls at that night, "Miss, u have Banana?"&lt;br /&gt;&lt;br /&gt;None of girls draw banana? why...I thot Banana is such a healthy fruit, and make people happy and smile...&lt;br /&gt;&lt;br /&gt;Banana, anyone?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8008865857705673072?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8008865857705673072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8008865857705673072&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8008865857705673072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8008865857705673072'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/12/miss-u-have-banana.html' title='Miss, u have  Banana?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_cSMGB9hjXFA/SCIktLN0OwI/AAAAAAAABRQ/JPNvmNtGN2g/s72-c/banana1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8826442385337074216</id><published>2008-12-01T08:34:00.006+08:00</published><updated>2008-12-01T17:05:15.259+08:00</updated><title type='text'>Photo Sharing-  Malacca day trip</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3271/3070135063_fd54767131_b.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 685px; height: 1024px;" src="http://farm4.static.flickr.com/3271/3070135063_fd54767131_b.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3179/3071256884_cc10d0df13_b.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 680px; height: 1024px;" src="http://farm4.static.flickr.com/3179/3071256884_cc10d0df13_b.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3145/3070974532_482bf18047_b.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 1024px; height: 680px;" src="http://farm4.static.flickr.com/3145/3070974532_482bf18047_b.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm4.static.flickr.com/3186/3071258774_822ec52cf7_b.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 724px; height: 1024px;" src="http://farm4.static.flickr.com/3186/3071258774_822ec52cf7_b.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;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 "&lt;span style="font-weight: bold;"&gt;Steam Squid and Spanish with special source" &lt;/span&gt;. &lt;span style="font-size:180%;"&gt;Thanks Louise..&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Will update my journey in my next post&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8826442385337074216?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8826442385337074216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8826442385337074216&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8826442385337074216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8826442385337074216'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/12/photo-sharing-melacca-day-trip.html' title='Photo Sharing-  Malacca day trip'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3271/3070135063_fd54767131_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-5109959864069471419</id><published>2008-11-28T10:04:00.003+08:00</published><updated>2008-11-28T10:23:21.127+08:00</updated><title type='text'>Beat me! Climing 10th floor of stairs in 1:48</title><content type='html'>Hi hi&lt;br /&gt;&lt;br /&gt;This blog is special dedicated to Marcel (my close friend in USA), who claim he can climb 10th floor of stairs in &lt;span style="font-weight:bold;"&gt;30 seconds&lt;/span&gt;, sure or not?&lt;br /&gt;&lt;br /&gt;I could only do it at best in &lt;span style="font-weight:bold;"&gt;1 minute and 47 seconds&lt;/span&gt;, while carrying my notebook, as shown in Video below:&lt;br /&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/LI430RcHlyY&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/LI430RcHlyY&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;So Marcel, please prove that u could do it better&lt;br /&gt;&lt;br /&gt;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..&lt;br /&gt;&lt;br /&gt;Let's the game begin!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-5109959864069471419?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/5109959864069471419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=5109959864069471419&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5109959864069471419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5109959864069471419'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/11/beat-me-climing-10th-floor-of-stairs-in.html' title='Beat me! Climing 10th floor of stairs in 1:48'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-863986346575218782</id><published>2008-11-21T08:02:00.006+08:00</published><updated>2009-05-24T09:33:42.578+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Open Source.'/><title type='text'>[Tips] tired of Windows Spam and Virus?</title><content type='html'>Then listen to me, please try &lt;span style="font-size:180%;"&gt;"&lt;a href="http://www.ubuntu.com/"&gt;Ubuntu 8.10&lt;/a&gt;!, the right OS!"&lt;/span&gt;&lt;br /&gt;Once u download, and install, follow this &lt;a href="http://www.quicktweaks.com/2008/04/11/three-little-things-to-make-your-ubuntu-desktop-beautiful-and-productive/"&gt;guide&lt;/a&gt; to make ur desktop sexy, here are some screen shots of my current desktop, very sexy and very productive..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_V6xj_a3bH1c/SSX6-w4SRwI/AAAAAAAAAH8/3BifoRpgDss/s1600-h/myDesktop1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://1.bp.blogspot.com/_V6xj_a3bH1c/SSX6-w4SRwI/AAAAAAAAAH8/3BifoRpgDss/s400/myDesktop1.jpg" alt="" id="BLOGGER_PHOTO_ID_5270894895086847746" border="0" /&gt;&lt;/a&gt;Running on Awn launcher bar and Conky that display&lt;br /&gt;weather, CPU stat, and my gmail status.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_V6xj_a3bH1c/SSX6_JG3AgI/AAAAAAAAAIU/8YuWwaYLKEY/s1600-h/myDesktop4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://3.bp.blogspot.com/_V6xj_a3bH1c/SSX6_JG3AgI/AAAAAAAAAIU/8YuWwaYLKEY/s400/myDesktop4.jpg" alt="" id="BLOGGER_PHOTO_ID_5270894901590426114" border="0" /&gt;&lt;/a&gt;I have up to 4 virtual desktops to work with.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/SSX6_OQK8TI/AAAAAAAAAIM/7uf2wLt8_eo/s1600-h/myDesktop3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/SSX6_OQK8TI/AAAAAAAAAIM/7uf2wLt8_eo/s400/myDesktop3.jpg" alt="" id="BLOGGER_PHOTO_ID_5270894902971658546" border="0" /&gt;&lt;/a&gt;The sexy task switcher..&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_V6xj_a3bH1c/SSX6-4mArkI/AAAAAAAAAIE/kIeIK4XOMYI/s1600-h/myDesktop2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://3.bp.blogspot.com/_V6xj_a3bH1c/SSX6-4mArkI/AAAAAAAAAIE/kIeIK4XOMYI/s400/myDesktop2.jpg" alt="" id="BLOGGER_PHOTO_ID_5270894897157680706" border="0" /&gt;&lt;/a&gt;Rotate the desktop cube, just to impress Windows user.&lt;br /&gt;btw, the background image is the pic I take from KL Lookout point.&lt;br /&gt;if u interest, u can download the pic from  &lt;a href="http://flickr.com/photos/jameskhoo"&gt;http://flickr.com/photos/jameskhoo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_V6xj_a3bH1c/SSX-AzxCJhI/AAAAAAAAAIc/rOqjwiAqtrE/s1600-h/myDesktop5.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://1.bp.blogspot.com/_V6xj_a3bH1c/SSX-AzxCJhI/AAAAAAAAAIc/rOqjwiAqtrE/s400/myDesktop5.jpg" alt="" id="BLOGGER_PHOTO_ID_5270898228756358674" border="0" /&gt;&lt;/a&gt;and finally, because Ubuntu 8.10 comes with VirtualBox, u can install&lt;br /&gt;Windows Vista, and surprising, it run very smooth on top of Ubuntu.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;If u still not convince, do check out this&lt;a href="http://www.collegehumor.com/video:1886349"&gt; Video &lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;Haha, enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-863986346575218782?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/863986346575218782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=863986346575218782&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/863986346575218782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/863986346575218782'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/11/tips-tired-of-windows-spam-and-virus.html' title='[Tips] tired of Windows Spam and Virus?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_V6xj_a3bH1c/SSX6-w4SRwI/AAAAAAAAAH8/3BifoRpgDss/s72-c/myDesktop1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-7931447807580068035</id><published>2008-11-05T12:14:00.002+08:00</published><updated>2008-11-05T12:18:39.312+08:00</updated><title type='text'>Moving on</title><content type='html'>I been through a very bad relationship recently, where I fall down  and hurt myself badly.&lt;br /&gt;&lt;br /&gt;I needs to move on from now..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-7931447807580068035?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/7931447807580068035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=7931447807580068035&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7931447807580068035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7931447807580068035'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/11/moving-on.html' title='Moving on'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-4413544007506988789</id><published>2008-10-13T21:33:00.004+08:00</published><updated>2008-10-13T21:46:37.784+08:00</updated><title type='text'>KL Lookout points</title><content type='html'>&lt;a href="http://farm4.static.flickr.com/3290/2933257076_ef57ab9b22_b.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://farm4.static.flickr.com/3290/2933257076_ef57ab9b22_b.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://farm4.static.flickr.com/3059/2932399649_1e8e44b420_b.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 503px; CURSOR: hand; HEIGHT: 352px; TEXT-ALIGN: center" height="332" alt="" src="http://farm4.static.flickr.com/3059/2932399649_1e8e44b420_b.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Been living in KL for pass 10+ years, never know there is this place call "KL Lookout Points" for people to chit chat, "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;minum&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;kopi&lt;/span&gt;", 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.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;I think is some where in between &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;Ampang&lt;/span&gt; and &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;Cheras&lt;/span&gt;, over a small hills call "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;Hulut&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;Langat&lt;/span&gt;".  Warning : The place is "&lt;strong&gt;too romantic&lt;/strong&gt;" 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...&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Hope u like it.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-4413544007506988789?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/4413544007506988789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=4413544007506988789&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4413544007506988789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4413544007506988789'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/10/kl-lookout-points.html' title='KL Lookout points'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3290/2933257076_ef57ab9b22_t.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-5476236722708636072</id><published>2008-08-19T21:45:00.005+08:00</published><updated>2008-08-23T16:40:51.157+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Please Hire Me'/><title type='text'>My big big Secret..</title><content type='html'>&lt;p class="MsoNormal"&gt;My friends, I am going to reveal one of my big big secret, please promise me not to tell anyone, u swear?&lt;span style=""&gt;  &lt;/span&gt;It happen two weeks ago, when I meet this lovely girl name Wendy…&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;Ha ha ha ha, obviously this is not a post about my love affairs (and btw I don’t have any love affairs) but this is more about my dreams. I am writing this post to tell the universal law of attraction and my readers what I want to achieve in my career in 3-5 years time. According to the book "&lt;a href="http://www.amazon.com/Secret-Rhonda-Byrne/dp/1582701709/ref=pd_bbs_sr_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1219153911&amp;amp;sr=8-1"&gt;The Secret&lt;/a&gt;", to make one's dream comes true, we just need to ask for it, visualize our needs, write it down in detail somewhere and feel it. One day, what you have request/dream will come true ……&lt;br /&gt;&lt;br /&gt;So, here is my &lt;span style="font-weight: bold;"&gt;“Secret”.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Date: 2011/2012&lt;br /&gt;Venue: KL Hilton Hotel, Lobby&lt;br /&gt;&lt;br /&gt;Wendy, from The Edge Magazine : "Hi James, thanks for your valuable time to do this interview."&lt;br /&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;Me: "It’s my pleasure."&lt;br /&gt;&lt;br /&gt;Wendy: "First of all, could u share with our readers how u end up in &lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;ur&lt;/st1:city&gt;&lt;/st1:place&gt; current job, i.e Google Creative Director for Asian region."&lt;/p&gt;      &lt;p class="MsoNormal" style=""&gt;Me: “I have always wanted to work with Google, so 4-5 years ago, I decided to apply for a technical job position at Google. However, given that I am already 35 years old that time, and working as a boring software development manager but not as talented (in terms of technical) as most of Google staff, and does not hold any working permit for US/India/China (where Google R&amp;amp;D centre is based), &lt;span style=""&gt; &lt;/span&gt;my chance of Google granting me an interview 4-5 years ago is very,very, very slim, :-(&lt;br /&gt;&lt;br /&gt;So, instead of going via the normal route of applying a job at Google (i.e upload my resume to Google jobs portal and throwing my CV into giant black hole), I have to try another route. &lt;/p&gt;      &lt;p class="MsoNormal"&gt;I am very creative person, I also have ideas to make life easy, and some of my crazy ideas are very “Google” when I discuss some of my Google idea with my friends, and most of them agree that idea will work. So I decided to post my ideas to Google at my blog, and hope that Google HR will one day notice my creativity and call me for an interview. &lt;span style=""&gt; &lt;/span&gt;After posting about 10-15 ideas, I finally got call from Google HR for an interview, and after couple of more interviews and tests, I ended up with my current job position.”&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;Wendy: “Wow, that’s a unique way getting a company’s attention. So tell me, what is the job scope for Creative Director, i.e what do you need to do and deliver.”&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Me: “Well, as Creative director for Google, I have to invent and deliver three-four ideas (i.e new Google services) to Google per year, The 2 -3 ideas must be profitable, and rest of ideas are platforms to improve community lifestyle, like free education for poor people, making our earth greener, reduce the gap of digital divine and etc. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;My daily work involves discussing ideas to product and user groups, do a quick POC of my idea with my team, perform market survey about the idea, and finally work closely with product development group to implement the idea”&lt;/p&gt;      &lt;p class="MsoNormal"&gt;Wendy: “Oh, that’s a very fun and exciting job, so Khoo, tell me, where u get &lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;ur&lt;/st1:city&gt;&lt;/st1:place&gt; creative juice for all these great ideas.”&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Me: “Hmmm, good question, and I don’t think I have answer for that, &lt;span style=""&gt; &lt;/span&gt;new idea will strike me out of no where, while driving, while watching movie, at the beach and even day dreaming. Hm..ok,, seriously, if I really have to put a answer on this question, I believed most of my creativities are from my observation. I like to do a lot of research, try out new things, observe people, and always aware of happenings around me. &lt;/p&gt;    &lt;p class="MsoNormal"&gt;Let me give u an example, the idea of “&lt;a href="http://coolboykl.blogspot.com/2007/10/google-idea-sms-protect-me.html"&gt;SMS Protect Me&lt;/a&gt;” came about after I read a news report that the rate of Malaysia women Malaysia being hit, raped, even murdered is increasing each year, and the sad part is most of victims are just doing day to day activities like taking a cab back home, jogging, shopping, waiting for someone to pick them up, and etc. So while driving to work, I am thinking is there any way to prevent this or reduce the crime rate, and out of sudden, my friend SMS me to go for breakfast. This is how the idea strike me.”&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;Wendy: “Cool, so James, or shall I address u as Mr Coolboy, out of so many ideas u invented, do u have one idea u very proud off?”&lt;/p&gt;    &lt;p class="MsoNormal"&gt;Me: “Hm, another good question. Well, if I have to pick one, I will pick "&lt;a href="http://coolboykl.blogspot.com/2007/09/ideas-to-google-part-ii-save-our-mother.html"&gt;Google earth points&lt;/a&gt;", as I am very concern about our environment, and I wants our children have better place to live tomorrow. I am glad that the launch of Google earth points are very well receive by many parties, a recent study shows that, since launch of Google earth points, Google and other partners have help reduce global &lt;span style=""&gt; &lt;/span&gt;carbon emission by a total of 3-4%. Thanks to all the loving and caring Google users. &lt;/p&gt;      &lt;p class="MsoNormal"&gt;Oh, oh speaking of Google earth points, let’s me reveal this great marketing plan to u, thanks to &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Toyota&lt;/st1:place&gt;&lt;/st1:city&gt;. Starting next month, for anyone who purchase new Toyota 5 star green energy efficient car, Toyota will automatically granted purchaser for total 10 million Google earth points, 10 million Google earth points will entitled user to redeem latest Android Phone with 1 year unlimited voice, video calls, and unlimited usage of premium Google service for a year, Isn’t that exciting?”&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Wendy: “This is a very good news, do tell us more”&lt;/p&gt;      &lt;p class="MsoNormal"&gt;Me: “Sure, wait till next month, at our press conference. Ha ha”&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Wendy: “…&lt;/p&gt;    &lt;p class="MsoNormal"&gt;Stay tune for part two.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-5476236722708636072?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/5476236722708636072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=5476236722708636072&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5476236722708636072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5476236722708636072'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/08/my-big-big-secret.html' title='My big big Secret..'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-4158439175661357031</id><published>2008-08-14T14:22:00.013+08:00</published><updated>2011-08-10T11:51:42.512+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Please Hire Me'/><title type='text'>[Google Idea]  gLove.google.com</title><content type='html'>&lt;p&gt;Wow, it's been a long time since I post "&lt;b&gt;Google Please hire m&lt;/b&gt;e" series, well, for fans that follow this series (ahem..as if I got many fans that read my blog, Haha), so sorry for the delay&lt;br /&gt;&lt;/p&gt;Anyway, my 6th idea to Google is a Mobile match maker application for lonely hearts. The application utilizing Mobile Phone with 3G and GPS service, such as Google Android phone. Although there are many variance of mobile match making application out there, there are many cool features of my application. Here how the application should work:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;First of all, user needs to register themselves via Google love matching website (i.e glove.google.com), entering their personal's detail such as name, age, birthday, astrology sign, preferences, language, hobbies, and etc. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;User can also choose to upload their picture, and enter criteria of their preferred partner (race, age range, hobbies, and etc)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Once register, user proceed to download the mobile match making application from the web site. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Once the application is activated, and sign on, user is presented a real time love chart, shown below:&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_V6xj_a3bH1c/SKPyk3oRZsI/AAAAAAAAAHU/g8QVeYyw4cw/s1600-h/googleidea1.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5234293907156723394" style="margin: 0px auto 10px; display: block; cursor: pointer; text-align: center; width: 358px; height: 369px;" alt="" src="http://2.bp.blogspot.com/_V6xj_a3bH1c/SKPyk3oRZsI/AAAAAAAAAHU/g8QVeYyw4cw/s400/googleidea1.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Heart shapes represent love match found from user existing location. The three circles here help user to visualize on how far/near between  each love match and the user. For example, inner circle means the love match is about 250 meter between user and potential love match, middle circle is about 500 meter and distance on outer circle is about 1 KM.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Color of love shapes shows match compatibility, red color &amp;gt; 90%, green color &amp;gt; 80%, and yellow &amp;gt;70%&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;User could click on any love shape to view more information about the love match, as shown in picture below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_V6xj_a3bH1c/SKPbVQ_Q53I/AAAAAAAAAHM/GeRc0Tn50t0/s1600-h/googleidea2.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5234268350318700402" style="margin: 0px auto 10px; display: block; cursor: pointer; text-align: center;" alt="" src="http://3.bp.blogspot.com/_V6xj_a3bH1c/SKPbVQ_Q53I/AAAAAAAAAHM/GeRc0Tn50t0/s400/googleidea2.png" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;If user like the love match found, user could opted to:&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Get more info about the user.&lt;/li&gt;&lt;li&gt;Send a short message to the user&lt;/li&gt;&lt;li&gt;Invite user to play online love quiz, where system will ask both the user and the potential partner a series of love/compatibilities questions (like top ten prefer movies, top ten place to spend romantic holiday) and at the end, present  both parties each other answer.&lt;/li&gt;&lt;li&gt;Play  "find me if u can",  where system present both parties hints (about 30 steps NW from XYZ Shopping center) to find each other.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span id="desc_content_882DB81F"&gt;The application/portal will be designed  as open platform which enable third party developer to develop  interesting "plugins" (can be free of charge for user, or needs to  purchase with credit) to enhance the mobile application. &lt;br /&gt;&lt;br /&gt;To further increase the chance for each other to fall in love, following are some examples of such third party app.&lt;br /&gt;- An app that  study how compatible they are base on their birthday and astrology sign.&lt;br /&gt;- A app that study user's circle of friend, and provide a social  graph (with interesting graphic) how they are related to each other. For  example, if Mr A match with Ms D, the app could show A knows B from  Primary School, B is friend of C, and C working together with D at  company XYZ.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please note that, to find a closer match, user do needs to informs  the server where is he/she, so that the server is able to find one's  soul mate that is located near to his/her current location.  If the  application detected that there is no GPS Signal, it will use following  channels to find user's location, example:&lt;br /&gt;&lt;br /&gt;a) Mobile Cell tower - Use of mobile cell tower to find user's location.&lt;br /&gt;b) Wifi access points.&lt;br /&gt;c) Base on the trail of the movement (GPS) of the person until he goes indoor.&lt;br /&gt;d) if all above fail, the app will ask user's to enter his/her location (e.g Sungai Wang, Mid Valley) and find closer match..&lt;br /&gt;&lt;br /&gt;On top of that, We  partner with other big shopping centers to further promote this mobile application, i.e special  discount is given for "Love is in the air" user, each shopping mall  could have a giant display on their info desk, or main entrance showing  real time info how many "Love is in the air" user is in their shopping  center, each with interesting statistics, for example-&lt;br /&gt;&lt;br /&gt;- There are total of 10 5-stars most wanted bachelor in this building, and 15 5-stars single lady in the building.&lt;br /&gt;- There are total 10 pair of people are 90% match with each other,  are u one of them? quickly find your match now, and claim (together with  your potential partner) your free movie tickets in next 30 minutes  here..&lt;br /&gt;&lt;br /&gt;I believe with the right marketing and development, this will be killer application.&lt;br /&gt;&lt;/span&gt;So, that's it, what do u think? do share me your thoughts on the comments page, stay tune for my next idea.&lt;br /&gt;&lt;br /&gt;PS: As always, if anyone find these ideas interesting and wants to further build up those ideas, do drop me an email.&lt;br /&gt;&lt;br /&gt;Cheers&lt;br /&gt;&lt;br /&gt;One World One Dream&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-4158439175661357031?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/4158439175661357031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=4158439175661357031&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4158439175661357031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4158439175661357031'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/08/google-idea-glovegooglecom.html' title='[Google Idea]  gLove.google.com'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_V6xj_a3bH1c/SKPyk3oRZsI/AAAAAAAAAHU/g8QVeYyw4cw/s72-c/googleidea1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-195017040671493638</id><published>2008-08-06T09:28:00.002+08:00</published><updated>2008-08-06T09:44:38.195+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='office work'/><category scheme='http://www.blogger.com/atom/ns#' term='ranting'/><title type='text'>Please edit email subject line before u send email</title><content type='html'>Please change your email subject before replying a email&lt;br /&gt;&lt;br /&gt;I feel annoy when receiving a reply email, where the email content are not related with the email subject. People are just “lazy” to compose new email, and fill in address field with new email subject, they simply wanted hit reply button, where the address is pre-filled, even if the content is not related to the subject. Here's what happen to me today.&lt;br /&gt;&lt;br /&gt;My recruitment agents call: "Hi, James, have u review the Java Developer CV I send to u yesterday?"&lt;br /&gt;&lt;br /&gt;Me: "I didn't receive any email on regards Java Developer CV oh"&lt;br /&gt;&lt;br /&gt;Agent: "Did lah, I send it yesterday about 3:30pm, could u check ur email again"&lt;br /&gt;&lt;br /&gt;Me: "Hm, let me check, I did receive one email with the subject of 'Free for lunch?' from u.."&lt;br /&gt;&lt;br /&gt;Agent: "That's the email..that's a CV attached".&lt;br /&gt;&lt;br /&gt;Me: "Then why don't u change the email subject to 'new Java Developer CV to review' to me before u sending email back to me?"&lt;br /&gt;&lt;br /&gt;Agent: "Err......"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-195017040671493638?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/195017040671493638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=195017040671493638&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/195017040671493638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/195017040671493638'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/08/please-edit-email-subject-line-before-u.html' title='Please edit email subject line before u send email'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2846864751554805222</id><published>2008-04-15T15:23:00.004+08:00</published><updated>2008-04-15T16:41:34.848+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><category scheme='http://www.blogger.com/atom/ns#' term='JPA'/><title type='text'>A quick update on JPA Boolean Magic Converter</title><content type='html'>Some update on changes:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Fixed the bug of Null pointer exception, when JPA return null on the annotated field.&lt;/li&gt;&lt;li&gt;Introduce a new properties call &lt;span style="font-weight: bold;"&gt;ifNull, &lt;/span&gt;which allows user to configure what to return if  JPA returns  null,  it expect enum of &lt;span style="font-weight: bold;"&gt;org.jbpcc.util.jpa.ReturnTyp&lt;/span&gt;e, which have values of ReturnType.True, ReturnType.FALSE, and ReturnType.Null,. The default value of ifNull is ReturnType.Null&lt;/li&gt;&lt;/ul&gt;Thus as an example, assuming we have model class define as below:&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;package org.jbpcc.domain.model;&lt;br /&gt;&lt;br /&gt;import javax.persistence.Entity;&lt;br /&gt;import javax.persistence.Id;&lt;br /&gt;import org.jbpcc.util.jpa.BooleanMagic;&lt;br /&gt;&lt;b&gt;import org.jbpcc.util.jpa.BooleanMagic.ReturnType;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;@Entity&lt;br /&gt;public class SomeVO {&lt;br /&gt;   @Id&lt;br /&gt;   private Integer id;&lt;br /&gt;   @BooleanMagic(trueValue = "Yes", falseValue = "No",&lt;br /&gt;                 columnName = "OVERDUED", &lt;b&gt;ifNull = ReturnType.FALSE&lt;/b&gt;)&lt;br /&gt;   private transient Boolean overdued;&lt;br /&gt;&lt;br /&gt;   public Boolean isOverdued() {&lt;br /&gt;       return overdued;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   public void setOverdued(Boolean overdued) {&lt;br /&gt;       this.overdued = overdued;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Java APT with &lt;span&gt;&lt;span style="font-weight: bold;"&gt;JPABooleanMagicConverter factory&lt;/span&gt;,  code above will be converted to:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;@Entity&lt;br /&gt;public class SomeVO {  &lt;br /&gt;   @Id&lt;br /&gt;   private Integer id;&lt;br /&gt;   private transient Boolean overdued;&lt;br /&gt;   //--- Lines below are generated by JBPCC BooleanMagicConvertor PROCESSOR&lt;br /&gt;   //--- START :&lt;br /&gt;&lt;br /&gt;   @Column(name="OVERDUED")&lt;br /&gt;   private String magicBooleanOverdued;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   public Boolean isOverdued() {&lt;br /&gt;       if (this.magicBooleanOverdued == null)&lt;br /&gt;           return false;&lt;br /&gt;       return this.magicBooleanOverdued.equals("Yes") ? Boolean.TRUE : Boolean.FALSE;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   public Boolean getOverdued() {&lt;br /&gt;       if (this.magicBooleanOverdued == null)&lt;br /&gt;           return false;&lt;br /&gt;       return this.magicBooleanOverdued.equals("Yes") ? Boolean.TRUE : Boolean.FALSE;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   public void setOverdued(Boolean trueFlag) {&lt;br /&gt;        this.magicBooleanOverdued = trueFlag ? "Yes" : "No";&lt;br /&gt;   }&lt;br /&gt;   //--- END&lt;br /&gt;   //--- GENERATED BY JBPCC BooleanMagicConvertor PROCESSOR&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;That's all, as usual, you could find the &lt;span style="font-weight:bold;"&gt;JPABooleanMagicConverter&lt;/span&gt; binary at &lt;a href="http://code.google.com/p/jbpcc/downloads/list"&gt;http://code.google.com/p/jbpcc/downloads/list&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Do share me your thoughts and comments, happy coding&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2846864751554805222?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2846864751554805222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2846864751554805222&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2846864751554805222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2846864751554805222'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/04/quick-update-on-jpa-boolean-magic.html' title='A quick update on JPA Boolean Magic Converter'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-4349637518355663293</id><published>2008-04-13T19:38:00.011+08:00</published><updated>2008-04-15T16:41:44.591+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><category scheme='http://www.blogger.com/atom/ns#' term='JPA'/><title type='text'>A portable JPA Boolean Magic Converter</title><content type='html'>While doing some small POC with JPA, I am surprise to find out that the current Java Persistence API (JPA) standard does not mandate JPA provider to support data type conversion via annotation, not even a with simple boolean field. For reader who unfamiliar with JPa, what I means is, to persist and "JPA" manage a boolean field, JPA   expect the database data type to be integer, where value of "1" means true, and value of "0" means false.&lt;br /&gt;&lt;br /&gt;You got to be joking, right?  Every "&lt;span style="font-weight: bold;"&gt;real life&lt;/span&gt;" programmer knows that, there are many existing database use  different combination of char or string on a table boolean field, such as "True/False", "T/F", "Yes/No", "Y/N", "-1/0", and etc. Thus,  as a "real life" programmer,  I kind expect the JPA should allows me specific a boolean field via Annotation, such as example below:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;@booleanField(trueValue="Yes", falseValue="No")&lt;br /&gt;private Boolean enabled;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;And to my surprise, the answer is nope!!!..So far only Hibernate JPA provider provide data type conversation.  Daniel Pfeifer, have explain the problem in details, he also discuss some solutions to work around this stupid limitation at his blog, title "&lt;a href="http://www.mindbug.org/2008/03/type-conversion-with-jpa.html"&gt;T&lt;/a&gt;&lt;a href="http://www.mindbug.org/2008/03/type-conversion-with-jpa.html"&gt;ype Conversation with JPA&lt;/a&gt;", do check it out.&lt;br /&gt;&lt;br /&gt;Daniel's "manual mapping" idea,  do solve the limitation. However, maybe it's just me,  I just don't like the idea to temporary change a &lt;span style="font-weight: bold;"&gt;Boolean &lt;/span&gt;field to map with  database data type (either char, string) in order to resolve the limitation, even we make the field private, this is just me. And I am stubborn, and old . :-)&lt;br /&gt;&lt;br /&gt;Anywhere, after some research (Also, a good excuse to my manager to research how difficult to come out our own custom Java 5 annotation with custom Java APT process factory), I come out our own compile time annotation, called &lt;span style="font-weight: bold;"&gt;@BooleanMagic&lt;/span&gt; with our own &lt;span&gt;&lt;span style="font-weight: bold;"&gt;BooleanMagicProcessorFactory&lt;/span&gt;, &lt;/span&gt; which I hope, shall temporary resolve the problem.&lt;br /&gt;&lt;br /&gt;@BooleanMagic comprise of three attributes:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;trueValue, specified the table  boolean field true value here, such as "True", "T", "Yes"&lt;br /&gt;&lt;/li&gt;&lt;li&gt;falseValue, specified the table boolean field false value here, such as "False", "F","N" &lt;/li&gt;&lt;li&gt;columnName, tableColumn name;&lt;/li&gt;&lt;/ul&gt;Also please note that BooleanMagicProcessorFactory mandate any field annotated with @BooleanMagic annotation, must either annotated with @Transient annotation or with modifier transient.&lt;br /&gt;&lt;br /&gt;Thus, as an example, assuming we have a boolean field called "enabled", which map to table "ENABLED" field, with boolean value of "True"/"false", we will specified our VO as below:&lt;br /&gt;&lt;span&gt;&lt;pre&gt;&lt;br /&gt;@Entity&lt;br /&gt;public class SomeVO {&lt;br /&gt;@Id&lt;br /&gt;Integer id;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   @BooleanMagic(trueValue="True", falseValue="false", columnName="ENABLED")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;private transient Boolean enabled;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;public Boolean isEnabled() {&lt;br /&gt; return enabled;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void setEnabled(Boolean enabled) {&lt;br /&gt; this.enabled = enabled;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Using &lt;span style="font-weight: bold;"&gt;Java "APT" tool with JPABooleanMagicConverter factory&lt;/span&gt;,  code above will be converted to:&lt;/p&gt;&lt;pre&gt;&lt;br /&gt;@Entity&lt;br /&gt;public class SomeVO {&lt;br /&gt;@Id&lt;br /&gt;Integer id;&lt;br /&gt;&lt;br /&gt;private transient Boolean enabled;&lt;br /&gt;//---&lt;br /&gt;//--- Lines below are generated by JBPCC BooleanMagicConvertor PROCESSOR&lt;br /&gt;//--- START :&lt;br /&gt;&lt;br /&gt;@Column(name="ENABLED")&lt;br /&gt;private String magicBooleanEnabled;&lt;br /&gt;&lt;br /&gt;public Boolean isEnabled() {&lt;br /&gt;return this.magicBooleanEnabled.equals("True") ? Boolean.TRUE : Boolean.FALSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public Boolean getEnabled() {&lt;br /&gt;return this.magicBooleanEnabled.equals("True") ? Boolean.TRUE : Boolean.FALSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void setEnabled(Boolean trueFlag) {&lt;br /&gt; this.magicBooleanEnabled = trueFlag ? "True" : "false";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//--- END&lt;br /&gt;//--- GENERATED BY JBPCC BooleanMagicConvertor PROCESSOR&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now, isn't that cool (haha, sorry, I am bit biased here). Btw, BooleanMagicConvertor is portable across JPA protable, and IMHO, this is a &lt;span style="font-weight: bold;"&gt;better interim&lt;/span&gt; solution till JPA make data conversation standard.&lt;br /&gt;&lt;br /&gt;I decided to contribute my BooleanMagicConverter back to open source community, it's currently park under my open source project Java Batch Process Control  Center, at &lt;a href="http://code.google.com/p/jbpcc"&gt;http://code.google.com/p/jbpcc&lt;/a&gt;, you could either build from the source, or get the "BooleanMagicProcessorFactory.jar" from &lt;a href="http://code.google.com/p/jbpcc/downloads/list"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Here an example of how to use the BooleanMagicConvertor using Ant 1.7 apt tasks,  assuming all your entity class is declare at ${src.dir}/org/abc/domain/model  directory, and you wants to output all generated call to ${basedir}/target directory&lt;br /&gt;&lt;pre&gt; &lt;span class="ST0"&gt;&amp;lt;target&lt;/span&gt; &lt;span class="ST1"&gt;name&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"preProcessJPABoolean"&lt;/span&gt; &lt;span class="ST1"&gt;depends&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"buildJPABoolenProcessorFactory"&lt;/span&gt;&lt;span class="ST0"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;   &lt;span class="ST0"&gt;&amp;lt;apt&lt;/span&gt; &lt;span class="ST1"&gt;srcdir&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"${src.dir}/org/abc/domain/model&lt;/span&gt;&lt;span class="ST2"&gt;"&lt;/span&gt;&lt;br /&gt;      &lt;span class="ST1"&gt;destdir&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"${build.classes.dir}"&lt;/span&gt;&lt;br /&gt;      &lt;span class="ST1"&gt;classpath&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"./dist/BooleanMagicProcessorFactory.jar:./lib/&lt;/span&gt;&lt;span class="ST2"&gt;Model_Dependent_thirdparty.jar"&lt;/span&gt;&lt;br /&gt;      &lt;span class="ST1"&gt;debug&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"on"&lt;/span&gt;&lt;br /&gt;      &lt;span class="ST1"&gt;compile&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"false"&lt;/span&gt;&lt;br /&gt;      &lt;span class="ST1"&gt;factory&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"o&lt;/span&gt;&lt;span class="ST2"&gt;rg.jbpcc.util.jpa.BooleanMagicProcessorFactory"&lt;/span&gt;&lt;br /&gt;      &lt;span class="ST1"&gt;preprocessdir&lt;/span&gt;&lt;span class="ST1"&gt;=&lt;/span&gt;&lt;span class="ST2"&gt;"${basedir}/target"&lt;/span&gt;&lt;span class="ST0"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class="ST0"&gt;&amp;lt;/apt&lt;/span&gt;&lt;span class="ST0"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="ST0"&gt;&amp;lt;/target&lt;/span&gt;&lt;span class="ST0"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt; That's all, do share me your thoughts  and comments, cheers!&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-4349637518355663293?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/4349637518355663293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=4349637518355663293&amp;isPopup=true' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4349637518355663293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4349637518355663293'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/04/portable-jpa-boolean-magic-converter.html' title='A portable JPA Boolean Magic Converter'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2573727650825026067</id><published>2008-03-27T16:16:00.007+08:00</published><updated>2008-03-29T21:44:55.329+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JBPCC'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='JMX'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>I started yet another open source project</title><content type='html'>&lt;a href="http://picasaweb.google.co.uk/khoo.james/JBPCC/photo#5182315928056023506"&gt;&lt;img src="http://lh5.google.co.uk/khoo.james/R-tI4SWgydI/AAAAAAAAADg/oiGDNo0JJJM/s800/jbpccDesign.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I decided to start another open source project name &lt;span style="font-weight: bold;"&gt;Java Batch Process Control Center (JBPCC)&lt;/span&gt;.  "What, another open source project again!, what happen to your &lt;a href="http://sudokusudoku.sourceforge.net/"&gt;suduko&lt;/a&gt; project?", some of u may ask.  Well, the project still hosted at sourceforge,  we just not going to maintain the project any more. Reason being, I am tired of suduko already, and there are far too many variance of suduko open source project exists. Sorry!&lt;br /&gt;&lt;br /&gt;Anywhere, the idea of Java Batch Process Control Center is somehow continue from my original idea on "&lt;a href="http://coolboykl.blogspot.com/2007/11/automatic-remote-logging-management-via.html"&gt;Automatic Remote Logging Management via JMX&lt;/a&gt;".  by using Java 5 instrument API, developer able  to "wrap" any Java base process, and automatically offer JMX monitoring and remote logging management functionalities,  and the idea of &lt;a href="http://code.google.com/p/jbpcc/"&gt;JBPCC&lt;/a&gt;, is to deliver end user an AJAX web application to manage, monitor and schedule any those "wrap" processes.&lt;br /&gt;&lt;br /&gt;Proposed Features: &lt;ul&gt;&lt;li&gt;An in-memory module for remote servers to register, execute, and manage batch processes. &lt;/li&gt;&lt;li&gt;Time-based and duration-based scheduling of any configured or registered batch process for execution. &lt;/li&gt;&lt;li&gt;Monitoring currently running processes, including resources used and logs. &lt;/li&gt;&lt;li&gt;Server management for configuration of servers that hold remote batch processes. &lt;/li&gt;&lt;li&gt;A simple rights-based user management module. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Our project is hosted at &lt;a href="http://code.google.com/p/jbpcc"&gt;http://code.google.com/p/jbpcc&lt;/a&gt; , Please note that, as this is still a fairly new project, there isn't much user could download from our project repository. But, rest assure that, we will post project news, progress report, tutorial, even web cast here. So, stay tune..&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Wish me luck!&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2573727650825026067?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2573727650825026067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2573727650825026067&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2573727650825026067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2573727650825026067'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2008/03/i-started-yet-another-open-source.html' title='I started yet another open source project'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-3301452583216502636</id><published>2007-12-31T18:32:00.000+08:00</published><updated>2008-01-08T11:15:40.411+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rumah Rehat Adeline'/><category scheme='http://www.blogger.com/atom/ns#' term='Holiday'/><category scheme='http://www.blogger.com/atom/ns#' term='our environment'/><title type='text'>A Relaxing Weekend at Eco Friendly resort</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm3.static.flickr.com/2180/2149330474_84eb4a1e71_b.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 422px; height: 280px;" src="http://farm3.static.flickr.com/2180/2149330474_84eb4a1e71_b.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;As 2007 comes to the end, we decided to go for a short weekend break at a &lt;a href="http://cookingismypassion.blogspot.com/2007/12/rumah-rehat-adeline.html"&gt;highly recommended&lt;/a&gt; Eco Friendly Resort - &lt;a href="http://www.rumahrehatadeline.com/"&gt;Rumah Rehat Adeline&lt;/a&gt; in Gopeng, Perak. This 'Resort' which we discovered over the Internet looked just like what we are looking for ... a cheap and idyllic place to spend the holiday. This place is in a natural setting, offers only basic amenities and is a 2 hours drive from Kuala Lumpur. At first, I was quite skeptical about staying in a small hut constructed by Orang Asli (local aborigine people) in the deep jungle. Questions such as will there be mosquitoes? Is it safe to sleep in a hut without door and lock? Will I feel too hot since there is no attached air-con? and I was worried that I actually have to share a toilet with others !!!!. (Usual typical City Boy who's been spoiled by 3 - 5 stars hotel).&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Anyway, all worries was gone once we reached the front entrance of Adeline's Rest House. The owner Adeline greeted us and quickly made us feel at home. Maybe we were lucky because there were not many groups (only 1) so we had a choice of a nice hut above a stream.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm3.static.flickr.com/2091/2148326715_26d8e4e000.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://farm3.static.flickr.com/2091/2148326715_26d8e4e000.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;Our hut was on top of small stream with sounds of flowing water 24/7.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;After resting for a while, Adeline invited us for a lunch -buffet style. She cooked all the dishes herself with helpers, of course. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm3.static.flickr.com/2289/2149165510_c4d80acc4b.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://farm3.static.flickr.com/2289/2149165510_c4d80acc4b.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;My Yummy Lunch &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Thoughts of lazing and doing nothing for the afternoon quickly disappeared when Adeline organised &lt;a href="http://www.rumahrehatadeline.com/eco_adventure.htm"&gt;activities&lt;/a&gt; for us - caving, trekking, waterfalls, body rafting or water rafting ? She asked us excitedly during lunch and because we did not want to look like boring city folks we joined a group going for caving and the waterfalls. Unexpectedly for us, it was a &lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;font-size:100%;" &gt;"near death experience&lt;/span&gt;&lt;span style="font-size:100%;"&gt;" cos we did not know that the trek was going to be an introduction giude to Survivor ! Though the 2 hours of trekking and climbing was difficult but the experience - priceless.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;embed src="http://widget-0c.slide.com/widgets/slideticker.swf" type="application/x-shockwave-flash" quality="high" scale="noscale" salign="l" wmode="transparent" flashvars="cy=bb&amp;amp;il=1&amp;amp;channel=1441151880759233548&amp;amp;site=widget-0c.slide.com" style="width: 400px; height: 320px;" name="flashticker" align="middle"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;object style="font-style: italic;" height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/9jFXwDsKsK8&amp;amp;rel=1"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/9jFXwDsKsK8&amp;amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;Me trying body rafting&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;After the afternoon activities, we headed back to the resort with tired body, a twisted ankle and a very hungry stomach. Auntie Adeline once again performed her magic and prepared us a very yummy dinner and BBQ in buffet style.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.slide.com/pivot?cy=b%3C/div%3E%3Cbr%3E%3Cbr%3E%3Cdiv%20style="&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://www.slide.com/pivot?cy=b%3C/div%3E%3Cbr%3E%3Cbr%3E%3Cdiv%20style="&gt;&lt;br /&gt;&lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://www.flickr.com/photos/jameskhoo/2148513019/" title="DSC_0160 by James Khoo, on Flickr"&gt;&lt;img style="width: 425px; height: 284px;" src="http://farm3.static.flickr.com/2306/2148513019_da9dc5fd4b.jpg" alt="DSC_0160" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;yum yum..&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;After dinner, we all adjourned back to our small hut. Surprisingly the surrounding air is cool and with continuous water flowing sound, wind blowing, we quickly fell a sleep at around 10.00pm.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Next morning, we were greeted with this "poster picture of morning sunshine" below, right outside our hut windows:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://www.flickr.com/photos/jameskhoo/2149337548/" title="DSC_0185 by James Khoo, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2268/2149337548_b08f345344.jpg" alt="DSC_0185" height="500" width="333" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;After our breakfast, we relax a bit around the resort, before we back to our sweet home. Overall I rate this trip 4/5 stars, and we will be back again to this lovely resort.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://www.flickr.com/photos/jameskhoo/2149105888/" title="CIMG0538 by James Khoo, on Flickr"&gt;&lt;img style="width: 438px; height: 329px;" src="http://farm3.static.flickr.com/2231/2149105888_02fc687209.jpg" alt="CIMG0538" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;PS: &lt;/span&gt;Throughout our stay on the resort, we are eying this durian (show at picture below), and hope that it will fall, well, our wish was granted, just minutes before we depart, the durain drop, Auntie Adeline quickly takes the durian, and prepare us yummy durain pancake as our farewell gift.   Thanks Auntie Adeline.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://www.flickr.com/photos/jameskhoo/2148647543/" title="DSC_0252 by James Khoo, on Flickr"&gt;&lt;img style="width: 262px; height: 391px;" src="http://farm3.static.flickr.com/2096/2148647543_db089d0e77.jpg" alt="DSC_0252" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-3301452583216502636?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/3301452583216502636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=3301452583216502636&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/3301452583216502636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/3301452583216502636'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/12/relaxing-weekend-at-eco-friendly-resort.html' title='A Relaxing Weekend at Eco Friendly resort'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2180/2149330474_84eb4a1e71_t.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-4445353880283076086</id><published>2007-12-14T09:17:00.000+08:00</published><updated>2009-05-24T09:34:31.545+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>Glass Fish Installation from Hell, really?</title><content type='html'>I like Sun's  open source application server, &lt;a href="https://glassfish.dev.java.net/"&gt;GlassFish&lt;/a&gt;, thus when I feels a bit offended when  Jevgeni Kabanov wrote &lt;a href="http://www.zeroturnaround.com/blog/glassfish-installation-from-hell/#comments"&gt; an article about how difficult to install GlassFish&lt;/a&gt;, and comments that the documentation is suck, and not friendly..&lt;br /&gt;&lt;br /&gt;Hm, ok, to give Jevgeni Kabanov benefits of doubts, I decided to do a fresh installation of GlassFish version 2, and observe the manual installation process myself..maybe he is right, as my GlassFish always pre-bundle with Netbeans, and so far, I haven't try to install GlassFish maually myself.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So.here it go..&lt;br /&gt;a) I visit GlassFish's web site at &lt;a href="https://glassfish.dev.java.net/"&gt;https://glassfish.dev.java.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;b) I click on "download GlassFish v2 now" icon, and directed to this page &lt;a href="https://glassfish.dev.java.net/downloads/v2-b58g.html"&gt;https://glassfish.dev.java.net/downloads/v2-b58g.html&lt;/a&gt;&lt;br /&gt;, which I presented a step by step instruction on how to install GlassFish, follows by links to download GlassFish binary for various platform&lt;br /&gt;&lt;br /&gt;c) I choose to download GlassFish build for Linux platform, as I am running on Ubuntu Gusty. Once download, I follows the &lt;span style="font-weight: bold;"&gt;documented instruction&lt;/span&gt; to install GlassFish, i.e&lt;br /&gt;-&gt; java -Xmx256m -jar  "downloaded.jar"&lt;br /&gt;-&gt; cd glassfish&lt;br /&gt;-&gt; chmod -R +x lib/ant/bin&lt;br /&gt;-&gt; lib/ant/bin/ant -f setup.xml&lt;br /&gt;&lt;br /&gt;d) Once setup, I follows the  &lt;a href="https://glassfish.dev.java.net/downloads/quickstart/index.html"&gt;quick start guide&lt;/a&gt; to start the application server, i.e.&lt;br /&gt;-&gt;Add the install-dir/bin directory as PATH env variable&lt;br /&gt;-&gt; Start the server "asadmin start-domain domain1"&lt;br /&gt;&lt;br /&gt;e) To verify, I open my browser, and points the URL to http://localhost:8080,  which I presented a welcome page, and messages stated my server is up and running running..BTW, port 8080 is default installation port, and u could change the default port by editing the setup.xml&lt;br /&gt;&lt;br /&gt;f) To manage the server, I point my browser at http://localhost:4848  to access GlassFish admin console, I entered my given admin user id and password (ie admin, password, adminadmin) to login to the console. I presented a very nice GUI to manage my server, and deploy my application (WAR, EAR, and etc).&lt;br /&gt;&lt;br /&gt;g) To deploy one of my application, I click "Deploy web application(.war)", select my war file, and click deploy, and just like that, my application is up and running..&lt;br /&gt;&lt;br /&gt;That's it, the whole process takes less then 20 minutes (depends on how fast ur internet connection is to download the installation jar), and all the steps above are well documented at GlassFish's installation and quick start guide.  I admit the installation process is "out of norm" and could be improve, but to go to the extends and claim it is installation from hell is bit too extreme, isn't?&lt;br /&gt;&lt;br /&gt;Peace!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-4445353880283076086?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/4445353880283076086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=4445353880283076086&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4445353880283076086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4445353880283076086'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/12/glass-fish-installation-from-hell.html' title='Glass Fish Installation from Hell, really?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-6470470541012362177</id><published>2007-11-19T21:30:00.000+08:00</published><updated>2007-11-19T21:31:41.027+08:00</updated><title type='text'>Beautiful Krabi</title><content type='html'>&lt;p style="visibility:visible;"&gt;&lt;object type="application/x-shockwave-flash" data="http://widget-9e.slide.com/widgets/slideticker.swf" height="320" width="426" style="width:426px;height:320px"&gt;&lt;param name="movie" value="http://widget-9e.slide.com/widgets/slideticker.swf" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="scale" value="noscale" /&gt;&lt;param name="salign" value="l" /&gt;&lt;param name="wmode" value="transparent"/&gt; &lt;param name="flashvars" value="cy=ms&amp;il=1&amp;channel=792633534418359454&amp;site=widget-9e.slide.com"/&gt;&lt;/object&gt;&lt;p&gt;&lt;a href="http://www.slide.com/pivot?cy=ms&amp;ad=0&amp;id=792633534418359454&amp;map=1" target="_blank"&gt;&lt;img src="http://widget-9e.slide.com/p1/792633534418359454/ms_t016_v000_a000_f00/images/xslide1.gif" border="0" ismap="ismap" /&gt;&lt;/a&gt; &lt;a href="http://www.slide.com/pivot?cy=ms&amp;ad=0&amp;id=792633534418359454&amp;map=2" target="_blank"&gt;&lt;img src="http://widget-9e.slide.com/p2/792633534418359454/ms_t016_v000_a000_f00/images/xslide2.gif" border="0" ismap="ismap" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-6470470541012362177?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/6470470541012362177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=6470470541012362177&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6470470541012362177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6470470541012362177'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/11/beautiful-krabi.html' title='Beautiful Krabi'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-3556028953884403234</id><published>2007-11-19T21:16:00.000+08:00</published><updated>2007-11-19T21:24:56.440+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='our environment'/><title type='text'>Do u ever read your cable TV guide?</title><content type='html'>Do u? If not, do yourself a favor and call ur Cable TV provider to cancel your TV guide subscribtion. By doing that, you'll be a part of making our earth greener.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-3556028953884403234?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/3556028953884403234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=3556028953884403234&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/3556028953884403234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/3556028953884403234'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/11/do-u-ever-read-your-cable-tv-guide.html' title='Do u ever read your cable TV guide?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-8305515915177226315</id><published>2007-11-05T15:17:00.000+08:00</published><updated>2007-11-06T14:09:37.867+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>Automatic Remote Logging Management via JMX.</title><content type='html'>&lt;style type="text/css"&gt;  &lt;br /&gt;&lt;!--  body {color: #000000; background-color: #ffffff; font-family: Monospaced} table {color: #000000; background-color: #e9e8e2; font-family: Monospaced} .ST0 {color: #969696; font-family: Monospaced; font-weight: bold} .comment {color: #969696} .keyword-directive {color: #0000e6} @page { size: 8.27in 11.69in; margin: 0.79in }    P { margin-bottom: 0.08in } --&gt;  &lt;br /&gt;&lt;/style&gt;  &lt;p style="margin-bottom: 0in;"&gt;Wow, the post title definitely sound “very technical”, and I do hope that it will attract more readers here. :-)&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;It all started a weeks ago, where I have accidentally discovered  a “hidden JDK 5 treasure” (from  Daniel Fuch, blogs &lt;a href="http://blogs.sun.com/jmxetc/"&gt;http://blogs.sun.com/jmxetc/&lt;/a&gt;) ,  called java.lang.instrument, a Java package that provides services that  allowing Java language agents to instrument programs running on the JVM. Most people use it for profiling, or pre-instrument purpose.&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;But I have a idea, why don't we create a  logging management wrapper, which allows us to wrap any Java application, and provide us some logging management functionalities without any modification on our application source code. The logging agent will offer the following:&lt;br /&gt;&lt;/p&gt;   &lt;ul&gt;&lt;li&gt;Abilities to change log level (debug, info, warning, error) on any configured logger dynamically without restart.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Abilities to locate any configured log output files.&lt;/li&gt;&lt;li&gt;Abilities to browse (either head, or tail) any configured log files.&lt;/li&gt;&lt;/ul&gt;Base on requirements above,  I come out JMXMBean interface below:&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;pr&gt;&lt;span class="keyword-directive"&gt;public&lt;/span&gt; &lt;span class="keyword-directive"&gt;interface&lt;/span&gt; &lt;span class="identifier"&gt;RemoteLoggingMBean&lt;/span&gt; {&lt;br /&gt;&lt;/pr&gt;&lt;pre&gt; &lt;span class="keyword-directive"&gt; public&lt;/span&gt; &lt;span class="keyword-directive"&gt;void&lt;/span&gt; &lt;span class="identifier"&gt;activateDebug&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;loggerName&lt;/span&gt;);&lt;br /&gt;&lt;span class="keyword-directive"&gt;  public&lt;/span&gt; &lt;span class="keyword-directive"&gt;void&lt;/span&gt; &lt;span class="identifier"&gt;activateInfo&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;loggerName&lt;/span&gt;);&lt;br /&gt;&lt;span class="keyword-directive"&gt;  public&lt;/span&gt; &lt;span class="keyword-directive"&gt;void&lt;/span&gt; &lt;span class="identifier"&gt;activateWarning&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;loggerName&lt;/span&gt;);&lt;br /&gt;&lt;span class="keyword-directive"&gt;  public&lt;/span&gt; &lt;span class="keyword-directive"&gt;void&lt;/span&gt; &lt;span class="identifier"&gt;activateError&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;loggerName&lt;/span&gt;);&lt;br /&gt;&lt;span class="comment"&gt;    /**&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="comment"&gt;Retrieve&lt;/span&gt; &lt;span class="comment"&gt;current&lt;/span&gt; &lt;span class="comment"&gt;configured&lt;/span&gt; &lt;span class="comment"&gt;log&lt;/span&gt; &lt;span class="comment"&gt;output&lt;/span&gt; &lt;span class="comment"&gt;files&lt;/span&gt; &lt;span class="comment"&gt;base&lt;/span&gt; &lt;span class="comment"&gt;on&lt;/span&gt; &lt;span class="comment"&gt;given&lt;/span&gt; &lt;span class="comment"&gt;logger&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="comment"&gt;The&lt;/span&gt; &lt;span class="comment"&gt;system&lt;/span&gt; &lt;span class="comment"&gt;will&lt;/span&gt; &lt;span class="comment"&gt;only&lt;/span&gt; &lt;span class="comment"&gt;return&lt;/span&gt; &lt;span class="comment"&gt;log&lt;/span&gt; &lt;span class="comment"&gt;files&lt;/span&gt; &lt;span class="comment"&gt;with&lt;/span&gt;  &lt;span class="comment"&gt;the&lt;/span&gt; &lt;span class="comment"&gt;following&lt;/span&gt; &lt;span class="comment"&gt;appender&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="comment"&gt;org&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;apache&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;log4j&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;DailyRollingFileAppender&lt;/span&gt;&lt;span class="comment"&gt;, &lt;/span&gt;&lt;span class="comment"&gt;org&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;apache&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;log4j&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;FileAppender&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="comment"&gt;org&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;apache&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;log4j&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;RollingFileAppender&lt;/span&gt;&lt;span class="comment"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="ST0"&gt;@param&lt;/span&gt; &lt;span class="comment"&gt;loggerName&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="ST0"&gt;@return&lt;/span&gt; &lt;span class="comment"&gt;Array&lt;/span&gt; &lt;span class="comment"&gt;of&lt;/span&gt; &lt;span class="comment"&gt;file&lt;/span&gt; &lt;span class="comment"&gt;name&lt;/span&gt; &lt;span class="comment"&gt;with&lt;/span&gt; &lt;span class="comment"&gt;relataive&lt;/span&gt; &lt;span class="comment"&gt;file&lt;/span&gt; &lt;span class="comment"&gt;path&lt;/span&gt; &lt;span class="comment"&gt;points&lt;/span&gt; &lt;span class="comment"&gt;to&lt;/span&gt; &lt;span class="comment"&gt;current&lt;/span&gt; &lt;span class="comment"&gt;running&lt;/span&gt; &lt;span class="comment"&gt;directory&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;    */&lt;/span&gt;&lt;br /&gt;&lt;span class="keyword-directive"&gt;  public&lt;/span&gt; &lt;span class="identifier"&gt;String&lt;/span&gt;[] &lt;span class="identifier"&gt;retrieveCurrentConfiguredLogFiles&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;loggerName&lt;/span&gt;);&lt;br /&gt;&lt;span class="comment"&gt;    /**&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="comment"&gt;Similar&lt;/span&gt; &lt;span class="comment"&gt;to&lt;/span&gt; &lt;span class="comment"&gt;Unix&lt;/span&gt; &lt;span class="comment"&gt;head&lt;/span&gt; &lt;span class="comment"&gt;command&lt;/span&gt;&lt;span class="comment"&gt;, &lt;/span&gt;&lt;span class="comment"&gt;read&lt;/span&gt; &lt;span class="comment"&gt;a&lt;/span&gt; &lt;span class="comment"&gt;text&lt;/span&gt; &lt;span class="comment"&gt;file&lt;/span&gt; &lt;span class="comment"&gt;forward&lt;/span&gt; &lt;span class="comment"&gt;from&lt;/span&gt; &lt;span class="comment"&gt;the&lt;/span&gt; &lt;span class="comment"&gt;beggining&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="comment"&gt;of&lt;/span&gt; &lt;span class="comment"&gt;the&lt;/span&gt; &lt;span class="comment"&gt;file&lt;/span&gt; &lt;span class="comment"&gt;till&lt;/span&gt; &lt;span class="comment"&gt;it&lt;/span&gt; &lt;span class="comment"&gt;reaches&lt;/span&gt; &lt;span class="comment"&gt;line&lt;/span&gt; &lt;span class="comment"&gt;limit&lt;/span&gt;&lt;span class="comment"&gt;, &lt;/span&gt;&lt;span class="comment"&gt;or&lt;/span&gt; &lt;span class="comment"&gt;EOF&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="ST0"&gt;@param&lt;/span&gt; &lt;span class="comment"&gt;fileName&lt;/span&gt; &lt;span class="comment"&gt;the&lt;/span&gt; &lt;span class="comment"&gt;logFileName&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="ST0"&gt;@param&lt;/span&gt; &lt;span class="comment"&gt;linesToRead&lt;/span&gt;&lt;span class="comment"&gt;, &lt;/span&gt;&lt;span class="comment"&gt;Number&lt;/span&gt; &lt;span class="comment"&gt;of&lt;/span&gt; &lt;span class="comment"&gt;line&lt;/span&gt; &lt;span class="comment"&gt;to&lt;/span&gt; &lt;span class="comment"&gt;be&lt;/span&gt; &lt;span class="comment"&gt;read&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="ST0"&gt;@return&lt;/span&gt; &lt;span class="comment"&gt;JMX&lt;/span&gt; &lt;span class="comment"&gt;CompositeData&lt;/span&gt; &lt;span class="comment"&gt;with&lt;/span&gt; &lt;span class="comment"&gt;the&lt;/span&gt; &lt;span class="comment"&gt;structure&lt;/span&gt; &lt;span class="comment"&gt;of&lt;/span&gt; &lt;span class="comment"&gt;StartFilePointer&lt;/span&gt;&lt;span class="comment"&gt; (&lt;/span&gt;&lt;span class="comment"&gt;SimpleType&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;Long&lt;/span&gt;&lt;span class="comment"&gt;), &lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="comment"&gt;EndFilePointer&lt;/span&gt;&lt;span class="comment"&gt;(&lt;/span&gt;&lt;span class="comment"&gt;SimpleType&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;Long&lt;/span&gt;&lt;span class="comment"&gt;), &lt;/span&gt;&lt;span class="comment"&gt;LogMessages&lt;/span&gt;&lt;span class="comment"&gt;(&lt;/span&gt;&lt;span class="comment"&gt;SimpleType&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;String&lt;/span&gt;&lt;span class="comment"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;     * &lt;/span&gt;&lt;span class="ST0"&gt;@throws&lt;/span&gt; &lt;span class="comment"&gt;java&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;io&lt;/span&gt;&lt;span class="comment"&gt;.&lt;/span&gt;&lt;span class="comment"&gt;IOException&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;    */&lt;/span&gt;&lt;br /&gt;&lt;span class="keyword-directive"&gt;  public&lt;/span&gt; &lt;span class="identifier"&gt;CompositeData&lt;/span&gt; &lt;span class="identifier"&gt;headLog&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;fileName&lt;/span&gt;, &lt;span class="keyword-directive"&gt;int&lt;/span&gt; &lt;span class="identifier"&gt;linesToRead&lt;/span&gt;) &lt;span class="keyword-directive"&gt;throws&lt;/span&gt; &lt;span class="identifier"&gt;OpenDataException&lt;/span&gt;, &lt;span class="identifier"&gt;IOException&lt;/span&gt;;&lt;br /&gt;&lt;span class="keyword-directive"&gt;  public&lt;/span&gt; &lt;span class="identifier"&gt;CompositeData&lt;/span&gt; &lt;span class="identifier"&gt;headLog&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;fileName&lt;/span&gt;, &lt;span class="keyword-directive"&gt;int&lt;/span&gt; &lt;span class="identifier"&gt;linesToRead&lt;/span&gt;, &lt;span class="keyword-directive"&gt;long&lt;/span&gt; &lt;span class="identifier"&gt;fromFilePointer&lt;/span&gt;) &lt;span class="keyword-directive"&gt;throws&lt;/span&gt; &lt;span class="identifier"&gt;OpenDataException&lt;/span&gt;, &lt;span class="identifier"&gt;IOException&lt;/span&gt;;&lt;br /&gt;&lt;span class="keyword-directive"&gt;  pub&lt;/span&gt;&lt;span class="keyword-directive"&gt;lic&lt;/span&gt; &lt;span class="identifier"&gt;CompositeData&lt;/span&gt; &lt;span class="identifier"&gt;tailLog&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;fileName&lt;/span&gt;, &lt;span class="keyword-directive"&gt;int&lt;/span&gt; &lt;span class="identifier"&gt;linesToRead&lt;/span&gt;) &lt;span class="keyword-directive"&gt;throws&lt;/span&gt; &lt;span class="identifier"&gt;OpenDataException&lt;/span&gt;, &lt;span class="identifier"&gt;IOException&lt;/span&gt;;&lt;br /&gt;&lt;span class="keyword-directive"&gt;  public&lt;/span&gt; &lt;span class="identifier"&gt;CompositeData&lt;/span&gt; &lt;span class="identifier"&gt;tailLog&lt;/span&gt;(&lt;span class="identifier"&gt;String&lt;/span&gt; &lt;span class="identifier"&gt;fileName&lt;/span&gt;, &lt;span class="keyword-directive"&gt;int&lt;/span&gt; &lt;span class="identifier"&gt;linesToRead&lt;/span&gt;, &lt;span class="keyword-directive"&gt;long&lt;/span&gt; &lt;span class="identifier"&gt;fromFilePointer&lt;/span&gt;) &lt;span class="keyword-directive"&gt;throws&lt;/span&gt; &lt;span class="identifier"&gt;OpenDataException&lt;/span&gt;, &lt;span class="identifier"&gt;IOException&lt;/span&gt;;&lt;br /&gt;}&lt;/pre&gt;&lt;hr /&gt;      &lt;style type="text/css"&gt;  &lt;!--   @page { size: 8.27in 11.69in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;  &lt;p style="margin-bottom: 0in;"&gt;The rest of code is delivered by using various JMX and Apache Log 4J API, which I am not going to discuss  here, as this is obviously not JMX nor Java Logging tutorial.&lt;br /&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;If u interest, u could download the whole project source from  &lt;a href="http://www.mediafire.com/?cbbyei40m0m"&gt;here&lt;/a&gt;. Is not under any copy write protection. U are welcome to download it, modify it, change the author name, use it or distribute it to anyone. IMHO, The IT have to many unfair patents, or copy protection law, which in  a way, have stop us on moving forward.&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;Anywhere, back to topic. To use the wrapper on any Java application that use Apache Log4J for logging, follows steps below:&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Either download the binary  &lt;a href="http://www.mediafire.com/?f5y0zm0gmtj"&gt;RemoteJMXLoggingAgent.jar&lt;/a&gt;, or build it from the source&lt;/li&gt;&lt;li&gt;Put the binary to your application class path, make sure it sit together with log4j.jar&lt;/li&gt;&lt;li&gt;Append the line at your Java Application startup script&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold; font-style: italic;font-size:85%;" &gt;"-javaagent:(deploy directory)/RemoteJMXLoggingAgent.jar&lt;br /&gt;-Drmi.agent.port=AnyRMIPort (optional, default=3000)"&lt;/span&gt;&lt;a href="http://www.mediafire.com/?f5y0zm0gmtj"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;That's it, u application is now able to offer above Remote Logging management functionalities via JMX.  To test this, open jconsole from any PC, and connect your remote application via the JMX URL below:&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;service:jmx:rmi:///jndi/rmi://hostname:rmi_port/remoteLoggerAgent&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The Mbean on managing your application logger is called "org.coolboy.RemoteLoggingManager", have fun!&lt;span style="font-style: italic; font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;  &lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-8305515915177226315?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/8305515915177226315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=8305515915177226315&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8305515915177226315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/8305515915177226315'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/11/automatic-remote-logging-management-via.html' title='Automatic Remote Logging Management via JMX.'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-5393820551433976571</id><published>2007-10-23T10:47:00.000+08:00</published><updated>2007-10-23T11:33:39.106+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='random thought'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Before upgrade to Windows Vista..</title><content type='html'>Seriously, &lt;a href="http://www.itnews.com.au/News/62060,five-ways-linux-is-better-than-vista.aspx"&gt;think twice before u upgrad&lt;/a&gt;e, o consider open, secure and free alternative Linux OS. Out of so many Linux distribution,  I strongly recommends &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu Gusty&lt;/a&gt;.&lt;br /&gt;Here why:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Needs goods reasons why Linux is better OS compare with Windows&gt; looks &lt;a href="http://www.whylinuxisbetter.net/"&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;It just work - Upon installed, ubuntu detected my all my devices, and install drivers correctly, this include my media card, wireless network, video,  usb, and etc.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.dell.com/content/topics/segtopic.aspx/linux_3x?c=us&amp;amp;cs=19&amp;amp;l=en&amp;amp;s=dhs"&gt;Dell start selling PC/notebook with Ubuntu pre-installed&lt;/a&gt;, other vendor like &lt;a href="http://www.lenovoblogs.com/insidethebox/?p=98"&gt;Lenovo &lt;/a&gt;will follows soon.&lt;/li&gt;&lt;li&gt;If u impressed Windows Vista offer "Wowo wow"3D desktop effect, well, looks what Ubuntu Gusty + Compiz offer:&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/bvnQE1EAEZY&amp;amp;rel=1"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/bvnQE1EAEZY&amp;amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Linux could run Windows applications such as MS Outlook, PhotoShop, IE, even MSOffice (If u really really have to, but do consider use open office..) either via Wine (A windows emulator), or via Windows XP vmware image. User could create an empty OS image using VMware server (Free), and install Windows XP (Using legal Windows XP licenses, off course), and install applications on the vm image created.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Seriously, do u really have to upgrade to Windows Vista, post your doubts on my comments page, I am more happy to help here&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-5393820551433976571?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/5393820551433976571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=5393820551433976571&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5393820551433976571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/5393820551433976571'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/10/before-upgrade-to-windows-vista.html' title='Before upgrade to Windows Vista..'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-9182007820290326578</id><published>2007-10-18T09:14:00.000+08:00</published><updated>2007-10-18T09:41:38.369+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blog Action Day'/><category scheme='http://www.blogger.com/atom/ns#' term='random thought'/><category scheme='http://www.blogger.com/atom/ns#' term='our environment'/><title type='text'>[Blog Action Day] - Watch Planet Earth</title><content type='html'>Ops, I suppose to post a blog on saving our planet earth at 15-Oct-2007 for Blog Action day, and I forgot about it.. , shit...I am getting old...:-(&lt;br /&gt;&lt;br /&gt;Anywhere, since I am not very good about environment statistic, political issues on green effort, and how we could really help, I link up few environmentalist's blog for ur reading:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cleantechblog.com/"&gt;Cleantech Blog&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://thesecomefromtrees.blogspot.com/"&gt;These come from trees Blog&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://environmentalaction365.com/"&gt;Environment Action Blog&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;For me, my suggestion is simple. Go and get Planet Earth Series from BBC, (rent it, &lt;a href="http://www.amazon.com/gp/product/B000MRAAJM/ref=amb_link_4566342_2/102-6887500-0784963?pf_rd_m=ATVPDKIKX0DER&amp;amp;pf_rd_s=special-offers-1&amp;amp;pf_rd_r=1XRJ2MQ8F10AJYS2NQW4&amp;amp;pf_rd_t=201&amp;amp;pf_rd_p=280997901&amp;amp;pf_rd_i=B000MRAAJW"&gt;purchase it&lt;/a&gt;, or steal it from ur friend), spend a weekend, and watch it together with your family. I personal guarantee u will amaze and appreciate how beautiful our planet earth is.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://ecx.images-amazon.com/images/I/51951PA6SRL._SS500_.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://ecx.images-amazon.com/images/I/51951PA6SRL._SS500_.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Then, just think that, most of beautiful scenes or animals we seen from the series will probably  disappear  in 1-2 years time...shouldn't we all do somethings to preserve our beautiful  lands...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-9182007820290326578?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/9182007820290326578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=9182007820290326578&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/9182007820290326578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/9182007820290326578'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/10/blog-action-day-watch-planet-earth.html' title='[Blog Action Day] - Watch Planet Earth'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2651545902367659167</id><published>2007-10-09T08:38:00.002+08:00</published><updated>2011-11-18T15:10:57.973+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Please Hire Me'/><title type='text'>[Google Idea] SMS Protect Me</title><content type='html'>&lt;style type="text/css"&gt;  &lt;!--   @page { size: 8.27in 11.69in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;  &lt;p style="margin-bottom: 0in;"&gt;Last month, a 8 years old girl  was kidnapped, sexually assaulted and murdered. Till now,  our police still trying their very best to looks for the monster. Almost every month, there always a news about a girl being kidnapped, rapped, or worst being killed.  I am shocked when and where the accident happen, it happen while the victims  taking late bus home, jogging early morning at public park, waiting to be pick up by friend, or taking car from shopping mall car park, and normal routine u and me are doing every day. I feels sick and upset when reading this kind of news.. What is going wrong with our world? what have happen to our soul? I am constantly thinking  how  technology could help to prevent his kind of situation, and this is how I come out the idea of SMS protect me service.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;Here how it work.&lt;/p&gt; &lt;ol&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;First, user needs to register  themselves via a portal, given their contact detail, and group of 5  emergency contact numbers (User relative and friend).&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;Upon registration, user are given  a pair of PIN number, one number is use for protect me event  registration (see below), one PIN number is use for emergency.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;When user feels unsafe at any  place at any time, he/she could register a protect me event via SMS,  with the format of [user pin] [event's detail] [event duration].   Here are few examples:&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;I waiting my friend to pick me up   at office building A, and my pin code is “1234”, I will key in   “1234, waiting friend at Office Bulding A, Gate 2, 20 minutes”&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;I am taking a cab back home at   late night, “1234, taking cab number WEB1023 home, 30 minutes”&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;I am going to take my car from   public car park, “1234, taking my car at Shopping Mall Apple, car   park at floor B2, bay 92, 10 minutes”&lt;/p&gt;   &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;User send in the protect me event  to a local service center number, system will registered the event&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;When event expired, system will  sends user confirmation SMS to end the protect me event&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;To reply, user have to key in  their pin number, follow by  “yes” to end the protect me event,  or “extend 10 minutes” to extend the event.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;If system didn't received user's  confirmation after certain retry, system will send alert SMS message  to his/her configured emergency contact numbers, if user's Telco  provider provide Location base services, system will find user  location, and alert  his/her friend about user location.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;The emergency number is use when  user are in danger, thus is in short and easy to send, user are just  require to key in the emergency pin number, with any detail if  needed, and send to the local service center number, system will  straight away notify user friend and family.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;The emergency number is also  useful when user force to terminate a protect me SMS event, thus,  instead of using user given pin to end the event, user could always  use their emergency pin to indicate they are in real danger.&lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;Some possible options on extending the services&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;Integrate with  local police   patrolling system.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;Partner with insurance company,  user are charge per protect me SMS event, in case on any unwanted  incident happen, user are insured.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Integrate with Phone GPS syetem.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;So, what do u think? do share me your thoughts on the comments page, stay tune for my next idea.&lt;br /&gt;&lt;br /&gt;PS: As always, if anyone (perhaps Yahoo Inc.) find these ideas interesting and wants to further build up those ideas, do drop me an email.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2651545902367659167?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2651545902367659167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2651545902367659167&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2651545902367659167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2651545902367659167'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/10/google-idea-sms-protect-me.html' title='[Google Idea] SMS Protect Me'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-6039911524087999791</id><published>2007-10-03T10:17:00.001+08:00</published><updated>2007-10-05T08:57:43.073+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='random thought'/><title type='text'>[Survey] Are we depends on MSN/Yahoo Messganger too much?</title><content type='html'>I just discovered that many of my team members like to communicate with each other over MSN, even they just sit beside with others!&lt;br /&gt;Out of curiosity,  I pull one of them in my office, and ask them why, and here are their  "official" reasons:&lt;br /&gt;a) Keep it low - They don't wants to bother other people, and prefer quiet conversation.&lt;br /&gt;b) Audit log - They could record the conversation&lt;br /&gt;c) Is the "in" things, and I belong to older generations..&lt;br /&gt;&lt;br /&gt;Wow, the third point actually hurt me..but I tend to not agree with the first two points.&lt;br /&gt;First, I believe verbal communication is far more effective than typing words in the chat windows, one can't simply shows his/her emotion or body languages over MSN  (Although some will argue of using Smiley icons is as effective as our body language).  And two, we are  team mates, why we like to record our conversation? To protect ourself?&lt;br /&gt;&lt;br /&gt;I am lost here, can't imagine what will happen 5-10 years later? Do I have to SMS my Son for dinner, even he is just upstairs playing computer game?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-6039911524087999791?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/6039911524087999791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=6039911524087999791&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6039911524087999791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6039911524087999791'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/10/survey-are-we-depends-on-msnyahoo.html' title='[Survey] Are we depends on MSN/Yahoo Messganger too much?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-4620610050090944453</id><published>2007-10-01T08:26:00.000+08:00</published><updated>2007-10-05T08:30:10.597+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='random thought'/><title type='text'>We are living on a very unfriendly world..</title><content type='html'>My post about &lt;a href="http://coolboykl.blogspot.com/2007/09/ideas-to-google-part-iii-google-carpool.html"&gt;Car Pool idea&lt;/a&gt; created a lot of heated discussion. Couple of my friends commented that although, in general, they like my idea. they do concern about security, question like "what if car pool partner is a crazy person, or a rapist", or "how could I trust my Car Pool Partner if we never meet before", and etc.&lt;br /&gt;&lt;br /&gt;This has strike me a lot of thinking, and wonder what's happening to our world? &lt;br /&gt;I still remember when I was young, I always go out and play with my neighbor's kid for hours before dinner time, and most of time, out of our parent's vision. We always go back on time for dinner, and Mom/Dad seldom question us where we went, how's our school, as long as we finished our homework before bed time.&lt;br /&gt;&lt;br /&gt;I remember back then, where there 's not Astro (Our Boardband TV provider), we always pass our rental Hong Kong TV series video tape to each other, and returned our tape just before the due date. My mom always exchanges food with my neighbor, and we always "pijam" (i.e borrow) things from each other. When there is new people move into our area, we always go and help, and that always ends with a welcome tea party.&lt;br /&gt;&lt;br /&gt;I can't recall there is many crimes back then as compare today. Now, kids always closely monitor by their parent. I hardly know my neighbor, and people in general, just don't open their heart easily as compare to the pass. What's has change?&lt;br /&gt;&lt;br /&gt;It's is due to all the media (TV, news paper, radio, internet) like to cover bad news then good news? Or people in generally poorer as compare to past, and hence the increase of crime rate?&lt;br /&gt;&lt;br /&gt;I have no idea...could anyone enlighten me?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-4620610050090944453?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/4620610050090944453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=4620610050090944453&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4620610050090944453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/4620610050090944453'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/10/we-are-living-on-very-unfriendly-world.html' title='We are living on a very unfriendly world..'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-7320118883876295117</id><published>2007-09-25T08:58:00.000+08:00</published><updated>2007-09-27T15:43:50.182+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Please Hire Me'/><title type='text'>Ideas to Google (Part III) -  Google CarPool Portal</title><content type='html'>This is the third part of my series of articles published with the intention of "selling" my ideas to Google and subsequently to be recruited by Google. By the way did anyone from Google notice my blog .... ?&lt;br /&gt;&lt;br /&gt;My third idea is the Google CarPool Portal, my contribution to make our earth greener. I admit this idea is not new as there already many CarPool portals on the web. I visited some of portals, and have yet to come across a portal that I consider a successful one. Most of portals I visited have been inactive for a long time, and for those still consider active, I only see an average one or two posts of interested looking for carpool partner per week. In my opinions, some of the reasons why such portals fail.   &lt;br /&gt;&lt;br /&gt;1) Lack of big marketing push - Success of this kind of portal is pretty much depends on users participation, the more user participate, the better. Most of the portals I visited are run by personal or community, and usually only have limited funds for Marketing. &lt;br /&gt;&lt;br /&gt;2) Poor Location Selection - Most of CarPool portal offers only limited origin/destination selection, and often limited to zip code selection, which in my opinion, it's not comprehensive and customizable enough. &lt;br /&gt;&lt;br /&gt;3) Poor user interface - Due to budget problem, most portal offer very basic UI for user to locate CarPool Partner. &lt;br /&gt;&lt;br /&gt;4) Lack of incentive to do so, let's admit that, people are motivated when awarded by something. &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;So how can Google help? &lt;br /&gt;Well, if Google do roll out a CarPool Portal, we already iron out our first problem, and if Google adopt &lt;a href="http://coolboykl.blogspot.com/2007/09/ideas-to-google-part-ii-save-our-mother.html"&gt;my second idea&lt;/a&gt;, we solve our fourth problems. Thus, we only needs to deliver a fairly easy to use CarPool Portal to solve problems 2 and 3. &lt;br /&gt;&lt;br /&gt;Here's my vision of Google CarPool Portal:&lt;br /&gt;1. Upon login to Google CarPool Portal, user could post one or many CarPool adv, specifying travel origin, and destination using Google Earth/Google Map, where user could specify the location up to  street address, or select buildings (such as office building) from Google Earth/Map. User could also entered their prefer travel time slot (e.g From 7-7.30am), and repeat of the travel (e.g Everyday excepts Weekends, once only).&lt;br /&gt;&lt;br /&gt;2. Google will attempt to find closer match per CarPool adv, and will present user a list of adv that matches user's CarPool criteria. User could sort the list by origin, destination and travel time slot. User will get notify via Gmail on every new match found when they are not online.&lt;br /&gt;&lt;br /&gt;3. While browsing the CarPool match list, if the match adv owner is online, user could chat (via Google Chat) to the owner to seal the deal. Else, user will have to send a private message to the adv owner, and schedule a time to discuss the CarPool adv&lt;br /&gt;&lt;br /&gt;4. User and adv owner identity are protected throughout the conversation. The only way for user to communicate with adv owner is via private messages, and online chat from CarPool portal. Is up to the user, and adv owner when is best time to reveal their identity.&lt;br /&gt;&lt;br /&gt;5. Once both parties agree to seal to deal, the adv will close. User and adv owner have the option to claim Google Earth points from the Car portal. Also, for security reason, user could opt on telling the portal when the CarPool going to start, who is driving, the Car Plate number, identity of both parties. This is to protect user in case of any unwanted accidents.&lt;br /&gt;&lt;br /&gt;6. There is a forum for users to post FAQ, success stories, experiences, and etc.&lt;br /&gt;&lt;br /&gt;7. There is also a running counter from Google CarPool Portal main page showing how many Carpools adv being seals, how many petrol has been save, and most importantly, how many CO2 is save from emitted to the air.&lt;br /&gt;&lt;br /&gt;So, what do u think? do share me your thoughts on the comments page, stay tune for my next idea.&lt;br /&gt;&lt;br /&gt;PS: As always, if anyone (perhaps Yahoo Inc.) find these ideas interesting and wants to further build up those ideas, do drop me an email.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-7320118883876295117?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/7320118883876295117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=7320118883876295117&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7320118883876295117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7320118883876295117'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/09/ideas-to-google-part-iii-google-carpool.html' title='Ideas to Google (Part III) -  Google CarPool Portal'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2645318709360327512</id><published>2007-09-21T09:47:00.000+08:00</published><updated>2007-09-27T12:09:07.930+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Mimi'/><title type='text'>Introducing Mimi, my new Pug</title><content type='html'>I just realized that a lot of people are still not aware that we have brought back a new pug call Mimi few weeks ago. Mimi is a female black pug, which is rare in Malaysia, and like her brother, she is very naughty and always begging me to play with her.&lt;br /&gt;&lt;br /&gt;Here is Mimi's Picture:&lt;br /&gt;&lt;br /&gt;&lt;a title="Photo Sharing" href="http://www.flickr.com/photos/jameskhoo/1359836679/"&gt;&lt;img height="500" alt="DSC_0111" src="http://farm2.static.flickr.com/1235/1359836679_21dee4111d.jpg" width="333" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As always, we will constantly update Mimi's journal at &lt;a href="http://pugdiary.blogspot.com/"&gt;&lt;/a&gt;, do drop by to visit Mimi and leave a comment.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2645318709360327512?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2645318709360327512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2645318709360327512&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2645318709360327512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2645318709360327512'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/09/introducing-mimi-my-new-pug.html' title='Introducing Mimi, my new Pug'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm2.static.flickr.com/1235/1359836679_21dee4111d_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-1861010213351787900</id><published>2007-09-12T08:31:00.001+08:00</published><updated>2011-08-10T11:53:17.430+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Please Hire Me'/><title type='text'>Ideas to Google (Part II) - Saving Our Mother Earth</title><content type='html'>This is the second part of a series of articles to impress Google, if you are a Google employee and reading this could you please forward this to your Recruiter, thanks.&lt;br /&gt;&lt;br /&gt;My second idea is to make our Mother Earth a better place to live. We can't deny that our environment has change dynamically in past few years, the temperature is increasingly hotter each year, CO2 is rising, and there is more frequent floods, typhoons and thunder storms almost everywhere. Seriously, if we don't do anything now, things will get worst, and our children may be victims to this global warming phenonmenal. We need to do something and should Google take the initiative to step in to help and create an awareness (I think they should ....)?&lt;br /&gt;&lt;br /&gt;Here I would like to introduce &lt;span style="FONT-WEIGHT: bold"&gt;Google Earth Points...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;FAQ&lt;br /&gt;1. What is Google Earth Points&lt;br /&gt;&lt;/span&gt;Google Earth Points is a points reward system for individual who have take extra effort and making our earth greener, and help slowing down Global Warming effect, thus everyone has better place to live.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;2. What can one do with Google Earth Points&lt;br /&gt;&lt;/span&gt;Well, a lot, Google earth points can be use to redeem any non free Google services, for example, we could redeem 100,000 Google Earth Points per 100 MB Gmail storage, or redeem 10,000 points to download a mobile application from Google partner, or increase photos upload limit, and etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;3. How can one earn Google Earth Points&lt;br /&gt;&lt;/span&gt;I have a lot of ideas how one can earn Google earth points but in general it could break down to the following categories:&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;By Personal Pledge&lt;/span&gt;&lt;br /&gt;One will pledge how he/she is going to help to save our mother earth on Google Earth Portal (by submitting a youtube video), and the pledge must be verifiable by third party with upload video showings the promise be carry out. Google Earth Portal then will calculate Google earth points base on the pledge, and award points accordingly.&lt;br /&gt;&lt;br /&gt;Here are some of the example:&lt;br /&gt;-One could pledge to cycle to work at least one day a week to his office. His office is about 10KM away from his home, thus in a way, thus save X amount of CO2 emitted to the air, and Google Earth Points is the awarded base on X amount of CO2 emitted he save per week&lt;br /&gt;&lt;br /&gt;-One family could pledge they will plants 4 trees at their backyard, now 4 trees will recycle X amount of CO2, and thus, they will get certain number of Google Earth Points.&lt;br /&gt;&lt;br /&gt;-One lady pledge she will carpool with her friend.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;By summiting cool ideas on saving Earth resources to Google Earth Portal&lt;br /&gt;&lt;/span&gt;Anyone could summit cool ideas on how we could save our limited earth resources like how our electric, water, petrol usages to Google Earth Portal, a monthly competition will be carried out to all of us to vote the most coolest idea, and Google Earth Points will then be awarded base on the ranking.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;From Consumer Product Vendor&lt;/span&gt;&lt;br /&gt;Google could partner with any Consumer product vendor that produce "Greener" product (which needs to certify by some environmental control body, like organic vegetables, non chemical detergent, energy saver computer, and etc), and to give away a number Google Earth points when we purchase those product.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Why Google Earth Points&lt;br /&gt;&lt;/span&gt;&lt;span id="desc_content_AD3A4BE9"&gt;Most of time, average people (me  included) do aware the environmental issue, and we do sometime put in  our effort on making this earth a better place to live, but there is  still more we could do.. &lt;br /&gt;&lt;br /&gt;For example, in my previous company, I know 3 of my colleague are  staying nearby, but it never come to our mind of car pooling, even  though the petrol price is expansive that time.  I never planted a  single tree in my life, I take my car out for breakfast even is just 5  minutes walk from where I stay.. &lt;br /&gt;&lt;br /&gt;Thus, with Google earth points, I am hoping this service will start  cultivate people habit of doing their part on saving our mother earth..  including myself, as people love accumulate points, and get awarded, isn't it.  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, what do u think? do share me your thoughts on the comments page, stay tune for my next idea&lt;br /&gt;&lt;br /&gt;PS: If anyone (perhaps Yahoo Inc.) finds these ideas interesting and wants to further build up those ideas, do drop me an email.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-1861010213351787900?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/1861010213351787900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=1861010213351787900&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/1861010213351787900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/1861010213351787900'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/09/ideas-to-google-part-ii-save-our-mother.html' title='Ideas to Google (Part II) - Saving Our Mother Earth'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2930510163183071941</id><published>2007-09-05T09:57:00.000+08:00</published><updated>2007-09-25T09:25:00.613+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Please Hire Me'/><title type='text'>Google Please Hire Me (Ideas to Google)</title><content type='html'>&lt;div align="justify"&gt;I always wanted to work at Google so that I can bring my dog to work, enjoy yummy yummy meals and work with all the cool people at Google. Given my current status:&lt;br /&gt;- A 35 years old bored software development manager and performing mostly boring management stuff.&lt;br /&gt;- Technically strong but yet I believe I am not as good as most of Google staff.&lt;br /&gt;- Does not hold any working permit for US/India/China&lt;br /&gt;&lt;br /&gt;Thus, the chance Google granting me an interview is very, very slim, :-(&lt;br /&gt;&lt;br /&gt;Thus, instead of going via the normal route of applying a job at Google (i.e upload my resume to Google jobs portal and throwing my CV into giant black hole), I will try another route.&lt;br /&gt;&lt;br /&gt;Starting from today and for every two weeks, I will try to post some of my crazy ideas to Google in my Blog. Hopefully, Google HR will one day notice my creativity and call me for an interview. Wish me luck.&lt;br /&gt;&lt;br /&gt;My first idea to Google is "Google Mobile Phone Address Book" service.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Summary:&lt;/span&gt;&lt;br /&gt;Google mobile phone address book services comprise of the following modules:&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;A web portal for user to manage their contacts&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;A mobile application for user to upload and sync contacts to Google mobile phone address book portal&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Why:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Each phone vendor uses native address book format so there isn't an easy way to migrate our address book from our vendor to another (When you are switching phone, or lost your phone).&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;It is difficult for user to backup their address book.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Propose Features:&lt;/span&gt; &lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;The propose web portal will understand address book format from different vendor and provide data conversion service. &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;User could login to the web portal to manage their contact (insert, delete, update) &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;User could download a customzied mobile app from the web portal that allow them to sync/update their contact to the address book portal.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;If user change to a new phone, he/she could download the mobile app for the new phone and request full address book download from the web portal. Web portal will automatically convert to address book data format&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Integrated with Gmail, user could send SMS to his/her contact using gmail interface.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;&lt;br /&gt;That's all for now. Stay tune for my next crazy idea.&lt;br /&gt;&lt;br /&gt;PS: If anyone finds this interesting and wants to further build up those ideas, do drop me an email.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2930510163183071941?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2930510163183071941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2930510163183071941&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2930510163183071941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2930510163183071941'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/09/google-please-hire-me-ideas-to-google.html' title='Google Please Hire Me (Ideas to Google)'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-6804965329057651267</id><published>2007-07-04T20:55:00.000+08:00</published><updated>2007-09-24T11:28:40.512+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>I lost my little hero</title><content type='html'>&lt;div align="justify"&gt;My beloved little hero &lt;a href="http://pugdiary.blogspot.com/"&gt;Donu&lt;/a&gt;t went to Heaven 0n 3rd July 2007. No words could describe how sad and heart broken I am. He was my little hero and my best friend. Always there for me step by step. Unconditional sitting there beside me, and sharing my ups and downs.&lt;br /&gt;&lt;br /&gt;I still remember he was always there to cheer me up, even whe he's in the great pain in his last few hours with us.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(255,102,102)"&gt;Donut..U will be missed...&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-6804965329057651267?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/6804965329057651267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=6804965329057651267&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6804965329057651267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6804965329057651267'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/07/i-lost-my-little-hero.html' title='I lost my little hero'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-2164270914583670894</id><published>2007-05-21T17:01:00.000+08:00</published><updated>2007-10-05T08:28:14.473+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>100% Unit Test Code coverage using Mock, does it really matter?</title><content type='html'>&lt;style type="text/css"&gt;  &lt;!--   @page { size: 8.27in 11.69in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;&lt;/style&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt; &lt;span style="font-family:arial;"&gt;I always believe delivering a comprehensive integration/functional testing code is far far more important/productive  than blindly try to achieve 100% unit testing code coverage. I believe:&lt;/span&gt; &lt;span style="font-family:arial;"&gt;&lt;br /&gt;a) A integration/functional testing code will always deliver more test coverage then unit testing code.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;b) Integration testing code allows us to capture our program  error as earlier as possible, and avoid “big bang” integration error at the end.     &lt;/span&gt;&lt;/span&gt;&lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;Thus, I always have “heat and interesting” discussion with some developers where they always believe:&lt;br /&gt;a) Achieve high percentage of unit testing code coverage is very important&lt;br /&gt;b) unit testing code must be “unit testable”, all dependency classes/resources should be “mocked”, even sometime is so so difficult to mock such objects.&lt;br /&gt;c) if our code is not testable, that must be something wrong with our design.  We have to change our code to make it testable. Thus making our class final, or our class not implementing an interface, or using static methods are all bad!.   &lt;/span&gt;&lt;/p&gt;     &lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;Don't get me wrong, I am not 100% against points above, and I understand important of unit testing.   But believe the unit testing code we deliver must return  good  “Return of Investment” (ROI).  Investment here mean our effort of delivering/maintaining the unit testing code.  A good ROI unit testing code have the following characteristic:&lt;br /&gt;a) It  use “black box” approach , where we pass parameters to a method, test the method and we verified the return value against expected result, we should not care how's the methods executed, and what underlying resources being called.&lt;br /&gt;b) The testing code should be easily promoted to  functional/integration testing code, why reinvent the wheel?&lt;br /&gt;c) The testing code must drafted base on agree use case, and tight back to your application's features. Thus, using HR application as an example, to unit test you annual leave application is always approved by your manager produce good ROI value. but to unit test your database connection pooling utilities, or utilities to read properties files or parsing a fake XML file does not produce good ROI value.  &lt;/span&gt;&lt;/p&gt;  &lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;To illustrate what I mean by good ROI unit testing code, consider the following examples:  &lt;/span&gt;&lt;/p&gt;  &lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;       &lt;p  style="margin-bottom: 0in; font-style: italic; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Public class OrderManager {&lt;br /&gt;public boolean proceedOrder(OrderVO anOrder) {&lt;br /&gt;                 return ( inventoryManager.hasStock(anOrder) &amp;amp;&amp;amp;&lt;br /&gt;                                                                                                                 accountManager.customerGoodCreadit(anOrder.getCustomer()) &amp;amp;&amp;amp;&lt;br /&gt;                                                shipmentManager.shipmentDateOK(anOder.getPreferShipmentDate()&lt;br /&gt;        );&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0in; font-style: italic; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;     }&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;To unit test proceedOrder() methods using Mock:&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;1. First, create InventoryManager,  accountManager, and shipmentManager mocks&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:arial;"&gt;2. Instruct our mock framework on  mock methods that called, and for each mock methods call, we instruct expected return value.&lt;/span&gt; &lt;span style="font-family:arial;"&gt;&lt;br /&gt;3. And finally, we test return value  with our expected result, and ensure mock methods being called.  &lt;/span&gt;&lt;/span&gt;&lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;Does the above code give us good ROI?  IMHO, it does not...&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;a) It's breaking the black box  testing approach, we are telling our mock framework steps by steps  what mock methods will be call, and specifically ask them to return  the value we set, and test method proceedOrder() return value with  our expected result, which we already know what it will return in the first hand.&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;What happen if we wants to change the implementation, do we have to change our testing code as well.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;b) It does not bring any business value...&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;A ROI testing code for the above use case:&lt;br /&gt;1. Set a InventoryManager product (say product “A”)  quantities to a specific amount (say 50)&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="font-family:arial;"&gt;2. test the proceedOrder() by placing  product A with various quantities&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. Verify the result against  expectedResult&lt;/span&gt;&lt;/span&gt;&lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;So, to conclude,  if a unit testing code does not produce good ROI, do spend more time on delivering functional/integration testing code, and delivering good "ROI" usable code coverage&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;Apply my points to Automobile industries, we will not hear an engineer that  create mock of car tires, or create a mock for road surface to test a car braking system,  he/she will actually “integrate” the braking system with a set of tires (make by different rubbers),  and conduct braking test on various surface (maybe on a rolling board with different surfaces)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p  style="margin-bottom: 0in; color: rgb(0, 0, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;Share me your thoughts...  &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-2164270914583670894?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/2164270914583670894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=2164270914583670894&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2164270914583670894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/2164270914583670894'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/05/100-unit-test-code-coverage-using-mock.html' title='100% Unit Test Code coverage using Mock, does it really matter?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-1217983861553504850</id><published>2007-04-02T19:42:00.000+08:00</published><updated>2007-09-24T11:34:18.276+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>If u have PS3...</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://media.1up.com/media?id=1278121"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 102px; height: 136px;" src="http://media.1up.com/media?id=1278121" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please get the Elder Scrolls IV: Oblivion...&lt;br /&gt;&lt;br /&gt;Read the review &lt;a href="http://www.1up.com/do/reviewPage?cId=3158125&amp;sec=REVIEWS"&gt;here&lt;/a&gt; and &lt;a href="http://www.gamespot.com/ps3/rpg/theelderscrollsivoblivion/index.html?tag=topten;all;title;2"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-1217983861553504850?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/1217983861553504850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=1217983861553504850&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/1217983861553504850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/1217983861553504850'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/04/if-u-have-ps3.html' title='If u have PS3...'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-9197635475605563084</id><published>2007-02-27T19:50:00.000+08:00</published><updated>2007-10-17T08:50:41.507+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>[quick tips] To Speedup your junit testing in Ant</title><content type='html'>If your development project get bigger, and have incorporated thousands of test cases, u may find that unit testing target getting slower and slower. It may come to a point your developers start to ignore test cases, or worst, don't write any test cases at all, as it will slow down build process.&lt;br /&gt;&lt;br /&gt;Now, before u look into your unit testing code to improve the performance, why don't have a check on your Ant Junit Target (I discovered this accidentally yesterday, as I am frustrated by the slow build process).  If u have setup ur Ant to fork a new JVM for unit testing target, by default, Ant will fork a new VM per Test Class, which is slow, and expansive (imagine forking 1000+ jvm for your project). To correct this, we just needs to set correct forkmode="perBatch".&lt;br /&gt;i.e&lt;br /&gt;junit fork="true" forkmode="perBatch"&lt;br /&gt;&lt;br /&gt;My test result, before forkmode="perBatch", my test process take ~= 16 minutes&lt;br /&gt;after, my test process take &lt; 2 minutes&lt;br /&gt;&lt;br /&gt;Cheers, and happy coding&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-9197635475605563084?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/9197635475605563084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=9197635475605563084&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/9197635475605563084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/9197635475605563084'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/02/quick-tips-to-speedup-your-junit.html' title='[quick tips] To Speedup your junit testing in Ant'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-6302122714276825398</id><published>2007-02-12T12:08:00.000+08:00</published><updated>2007-10-17T08:50:41.508+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>[Tech Tips] Implementing Command Design Pattern via Spring Framework - Part II</title><content type='html'>&lt;style type="text/css"&gt;&lt;!-- pre {  color: #000000; font-size: normal; font-family: Monospaced; background-color: #aec8ec; padding-top: 0.5em;  padding-bottom: 0.5em;  padding-left: 0.5em;  padding-right: 0.5em;  line-height: 1.3em;  border-color:  #778dcf;  border-width: 0px 0px 0px 1.0em;  border-style: none none none solid; } --&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;The RemoteControl class needs to hold list of supported commands, and needs to delegate  request to respective command class base on the pass in command string. Here is the RemoteControl source:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="highlight-match-brace"&gt; 1&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 2&lt;/span&gt; &lt;span class="java-keywords"&gt;package&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 3&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 4&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;java&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;util&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;List&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 5&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;java&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;util&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;HashMap&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 6&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;CommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 7&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;Command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 8&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 9&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;10&lt;/span&gt; &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;class&lt;/span&gt; &lt;span class="java-identifier"&gt;RemoteControl&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;11&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;12&lt;/span&gt;   &lt;span class="java-keywords"&gt;private&lt;/span&gt; &lt;span class="java-identifier"&gt;HashMap&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;&lt;&lt;/span&gt;&lt;span class="java-identifier"&gt;String&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;,&lt;/span&gt; &lt;span class="java-identifier"&gt;Command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;&gt;&lt;/span&gt; &lt;span class="java-identifier"&gt;supportedCommands&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-keywords"&gt;null&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;13&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;14&lt;/span&gt;   &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-layer-method"&gt;RemoteControl&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{ }&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;15&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;16&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;17&lt;/span&gt;   &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;void&lt;/span&gt; &lt;span class="java-layer-method"&gt;setListOfSupportedCommands&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;List&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;&lt;&lt;/span&gt;&lt;span class="java-identifier"&gt;Command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;&gt;&lt;/span&gt; &lt;span class="java-identifier"&gt;commandList&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;18&lt;/span&gt;         &lt;span class="java-identifier"&gt;supportedCommands&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-keywords"&gt;new&lt;/span&gt; &lt;span class="java-identifier"&gt;HashMap&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;&lt;&lt;/span&gt;&lt;span class="java-identifier"&gt;String&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;,&lt;/span&gt; &lt;span class="java-identifier"&gt;Command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;&gt;&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;19&lt;/span&gt;         &lt;span class="java-keywords"&gt;for&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;Command&lt;/span&gt; &lt;span class="java-identifier"&gt;cmd&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;:&lt;/span&gt; &lt;span class="java-identifier"&gt;commandList&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;20&lt;/span&gt;            &lt;span class="java-identifier"&gt;supportedCommands&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;put&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;&lt;br /&gt;                      cmd&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;getCommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;getCommandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;,&lt;/span&gt; &lt;span class="java-identifier"&gt;&lt;br /&gt;                      cmd&lt;/span&gt; );&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;21&lt;/span&gt;         &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;22&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;23&lt;/span&gt;   &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;24&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;25&lt;/span&gt;   &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;void&lt;/span&gt; &lt;span class="java-layer-method"&gt;execute&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;String&lt;/span&gt; &lt;span class="java-identifier"&gt;cmdString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;26&lt;/span&gt;         &lt;span class="java-identifier"&gt;Command&lt;/span&gt; &lt;span class="java-identifier"&gt;cmd&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-identifier"&gt;supportedCommands&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;get&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;cmdString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;27&lt;/span&gt;         &lt;span class="java-keywords"&gt;if&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;cmd&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;!=&lt;/span&gt; &lt;span class="java-keywords"&gt;null&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;28&lt;/span&gt;             &lt;span class="java-identifier"&gt;cmd&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;execute&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;29&lt;/span&gt;         &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt; &lt;span class="java-keywords"&gt;else&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;30&lt;/span&gt;             &lt;span class="java-identifier"&gt;System&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;out&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;println&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"The cmd-&gt;"&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;+&lt;/span&gt; &lt;span class="java-identifier"&gt;&lt;br /&gt;                             cmdString&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;+&lt;/span&gt; &lt;span class="java-char-literal"&gt;" is not supported!"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;31&lt;/span&gt;         &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;32&lt;/span&gt;   &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;33&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;34&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;The RemoteControl will transfer a list of supported commands to internal HashMap using commandString as object key, thus, removing the needs of iterating commands list for each new command execution.&lt;br /&gt;&lt;br /&gt;Here's  the fun part, we will inject list of supported commands to the RemoteControl above using Spring XML configuration, as shown in code below:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="xml-pi-start"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="xml-pi-start"&gt;xml&lt;/span&gt; version="1.0" encoding="UTF-8"&lt;span class="xml-pi-start"&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="xml-tag"&gt;&amp;lt;beans&lt;/span&gt; &lt;span class="xml-attribute"&gt;xmlns&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"http://www.springframework.org/schema/beans"&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-attribute"&gt;xmlns:xsi&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"http://www.w3.org/2001/XMLSchema-instance"&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-attribute"&gt;xsi:schemaLocation&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"http://www.springframework.org/schema/beans&lt;br /&gt;http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"&lt;/span&gt;&lt;span class="xml-tag"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="xml-comment"&gt;&amp;lt;!-- listing  of supported Commands here --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="xml-tag"&gt;&amp;lt;bean&lt;/span&gt; &lt;span class="xml-attribute"&gt;id&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"tvOnCommand"&lt;/span&gt;&lt;br /&gt;  &lt;span class="xml-attribute"&gt;class&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"blog.coolboy.springexample.cp.command.impl.TVOnCommand"&lt;/span&gt;&lt;span class="xml-tag"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-tag"&gt;&amp;lt;bean&lt;/span&gt; &lt;span class="xml-attribute"&gt;id&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"tvOffCommand"&lt;/span&gt; &lt;span class="xml-attribute"&gt;&lt;br /&gt;  class&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"blog.coolboy.springexample.cp.command.impl.TVOffCommand"&lt;/span&gt;&lt;span class="xml-tag"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-tag"&gt;&amp;lt;bean&lt;/span&gt; &lt;span class="xml-attribute"&gt;id&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"lightOnCommand"&lt;/span&gt;&lt;br /&gt;  &lt;span class="xml-attribute"&gt;class&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"blog.coolboy.springexample.cp.command.impl.LightOnCommand"&lt;/span&gt;&lt;span class="xml-tag"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-tag"&gt;&amp;lt;bean&lt;/span&gt; &lt;span class="xml-attribute"&gt;id&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"lightOffCommand"&lt;/span&gt;&lt;br /&gt;  &lt;span class="xml-attribute"&gt;class&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"blog.coolboy.springexample.cp.command.impl.LightOffCommand"&lt;/span&gt;&lt;span class="xml-tag"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="xml-tag"&gt;&amp;lt;bean&lt;/span&gt; &lt;span class="xml-attribute"&gt;id&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"remoteControl"&lt;/span&gt; &lt;span class="xml-attribute"&gt;&lt;br /&gt;  class&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"blog.coolboy.springexample.cp.RemoteControl"&lt;/span&gt;&lt;span class="xml-tag"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;   &lt;span class="xml-tag"&gt;&amp;lt;property&lt;/span&gt; &lt;span class="xml-attribute"&gt;name&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"listOfSupportedCommands"&lt;/span&gt;&lt;span class="xml-tag"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;       &lt;span class="xml-tag"&gt;&amp;lt;list&lt;/span&gt;&lt;span class="xml-tag"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;           &lt;span class="xml-tag"&gt;&amp;lt;ref&lt;/span&gt; &lt;span class="xml-attribute"&gt;bean&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"tvOnCommand"&lt;/span&gt;&lt;span class="xml-tag"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;           &lt;span class="xml-tag"&gt;&amp;lt;ref&lt;/span&gt; &lt;span class="xml-attribute"&gt;bean&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"tvOffCommand"&lt;/span&gt;&lt;span class="xml-tag"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;           &lt;span class="xml-tag"&gt;&amp;lt;ref&lt;/span&gt; &lt;span class="xml-attribute"&gt;bean&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"lightOnCommand"&lt;/span&gt;&lt;span class="xml-tag"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;           &lt;span class="xml-tag"&gt;&amp;lt;ref&lt;/span&gt; &lt;span class="xml-attribute"&gt;bean&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;=&lt;/span&gt;&lt;span class="xml-value"&gt;"lightOffCommand"&lt;/span&gt;&lt;span class="xml-tag"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;       &lt;span class="xml-tag"&gt;&amp;lt;/list&lt;/span&gt;&lt;span class="xml-tag"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;   &lt;span class="xml-tag"&gt;&amp;lt;/property&lt;/span&gt;&lt;span class="xml-tag"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-tag"&gt;&amp;lt;/bean&lt;/span&gt;&lt;span class="xml-tag"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-tag"&gt;&amp;lt;/beans&lt;/span&gt;&lt;span class="xml-tag"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;That's all, our remote control class is finished. To roll out new Command, developer just needs to&lt;br /&gt;1. declare the new command type, and it's command string at the CommandType enum&lt;br /&gt;2. implements the command, and&lt;br /&gt;3. inject new command via Spring Configuration.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here are remoteControlService class to test the remoteControl&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="highlight-match-brace"&gt; 1&lt;/span&gt; &lt;span class="java-keywords"&gt;package&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 2&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 3&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;java&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;io&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;BufferedReader&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 4&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;java&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;io&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;IOException&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 5&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;java&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;io&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;InputStreamReader&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 6&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;org&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springframework&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;context&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;support&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;ClassPathXmlApplicationContext&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 7&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;org&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springframework&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;context&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;ApplicationContext&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 8&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;org&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springframework&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;jms&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;listener&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;DefaultMessageListenerContainer&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 9&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;10&lt;/span&gt; &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;class&lt;/span&gt; &lt;span class="java-identifier"&gt;RemoteControlService&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;11&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;static&lt;/span&gt; &lt;span class="java-keywords"&gt;void&lt;/span&gt; &lt;span class="java-layer-method"&gt;main&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;String&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;[&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;]&lt;/span&gt; &lt;span class="java-identifier"&gt;args&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;12&lt;/span&gt;         &lt;span class="java-identifier"&gt;ApplicationContext&lt;/span&gt; &lt;span class="java-identifier"&gt;context&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-keywords"&gt;&lt;br /&gt;                                new&lt;/span&gt; &lt;span class="java-layer-method"&gt;ClassPathXmlApplicationContext&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"/conf/remoteControlConfig.xml"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;13&lt;/span&gt;         &lt;span class="java-identifier"&gt;RemoteControl&lt;/span&gt; &lt;span class="java-identifier"&gt;remoteControl&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;RemoteControl&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="java-identifier"&gt;context&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;getBean&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"remoteControl"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;14&lt;/span&gt;         &lt;span class="java-identifier"&gt;BufferedReader&lt;/span&gt; &lt;span class="java-identifier"&gt;reader&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-keywords"&gt;new&lt;/span&gt; &lt;span class="java-layer-method"&gt;BufferedReader&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-keywords"&gt;new&lt;/span&gt; &lt;span class="java-layer-method"&gt;InputStreamReader&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;System&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;in&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;15&lt;/span&gt;         &lt;span class="java-identifier"&gt;System&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;out&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;println&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"Remote Control Ready, enter 'Quit' to terminate the program"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;16&lt;/span&gt;         &lt;span class="java-identifier"&gt;String&lt;/span&gt; &lt;span class="java-identifier"&gt;txtCommand&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;17&lt;/span&gt;         &lt;span class="java-keywords"&gt;try&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;18&lt;/span&gt;            &lt;span class="java-keywords"&gt;do&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;19&lt;/span&gt;                 &lt;span class="java-identifier"&gt;System&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;out&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;print&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"Enter your command-&gt;"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;20&lt;/span&gt;                 &lt;span class="java-identifier"&gt;txtCommand&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-identifier"&gt;reader&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;readLine&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;21&lt;/span&gt;                 &lt;span class="java-keywords"&gt;if&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;txtCommand&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;equalsIgnoreCase&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"quit"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;22&lt;/span&gt;                     &lt;span class="java-keywords"&gt;break&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;23&lt;/span&gt;                 &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt; &lt;span class="java-keywords"&gt;else&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;24&lt;/span&gt;                     &lt;span class="java-identifier"&gt;remoteControl&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;execute&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;txtCommand&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;25&lt;/span&gt;                 &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;26&lt;/span&gt;                 &lt;span class="java-identifier"&gt;System&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;out&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;println&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;""&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;27&lt;/span&gt;             &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt; &lt;span class="java-keywords"&gt;while&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-keywords"&gt;true&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;28&lt;/span&gt;         &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt; &lt;span class="java-keywords"&gt;catch&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;IOException&lt;/span&gt; &lt;span class="java-identifier"&gt;ex&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;29&lt;/span&gt;             &lt;span class="java-identifier"&gt;ex&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;printStackTrace&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;30&lt;/span&gt;         &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;31&lt;/span&gt;        &lt;br /&gt;&lt;span class="highlight-match-brace"&gt;32&lt;/span&gt;     &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;33&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;/pre&gt;Here are the try run:&lt;br /&gt;------------------&lt;br /&gt;&lt;br /&gt;Remote Control Ready, enter 'Quit' to terminate the program&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;Enter your command-&gt;tv.on&lt;br /&gt;Switching On TV&lt;br /&gt;Enter your command-&gt;tv.off&lt;br /&gt;Switching off TV&lt;br /&gt;Enter your command-&gt;light.on&lt;br /&gt;Turning on Light&lt;br /&gt;Enter your command-&gt;light.off&lt;br /&gt;Turning off Light&lt;br /&gt;Enter your command-&gt;quit&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;----------------&lt;br /&gt;&lt;br /&gt;Isn't this fun?  In the next article, I will explain how I would extends the app to support JMS and SOAP command request, using Spring, stay tune.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-6302122714276825398?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/6302122714276825398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=6302122714276825398&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6302122714276825398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/6302122714276825398'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/02/tech-tips-implementing-command-design_12.html' title='[Tech Tips] Implementing Command Design Pattern via Spring Framework - Part II'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-7967168224431622053</id><published>2007-02-09T16:04:00.000+08:00</published><updated>2007-10-17T08:50:41.509+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>[Tech Tips] Implementing Command Design Pattern via Spring Framework - Part 1</title><content type='html'>&lt;style type="text/css"&gt;  &lt;!--   @page { size: 21.59cm 27.94cm; margin: 2cm }   P { margin-bottom: 0.21cm }    body {     font-family: verdana, sans-serif;     font-size: small;     color: black;     background-color: white; }   pre {  color: #000000; font-size: normal; background-color: #aec8ec; padding-top: 0.5em;  padding-bottom: 0.5em;  padding-left: 0.5em;  padding-right: 0.5em;  line-height: 1.3em;  border-color:  #778dcf;  border-width: 0px 0px 0px 1.0em;  border-style: none none none solid; } --&gt;&lt;/style&gt;&lt;a name="DDE_LINK1"&gt;&lt;/a&gt;&lt;br /&gt;I been using &lt;a href="http://www.springframework.org/"&gt;Spring Framework&lt;/a&gt; for pass few months, and I am big fans of the Framework. The framework   help a lot, as we don't have to write lengthly, repetitive boring code, most application code are wire via Spring XML configuration, the framework also make our code cleaner, as it provide out of box AOP engine, developer could focus on implementing module core function, and “AOPing” other programming aspects such as transaction control, logging, security, and etc when require.     &lt;p style="margin-bottom: 0cm;"&gt;Thus, to say a big thank u on providing such great framework, and contribute back to the communities, starting from today, I will use this blog to share my experience, tips, and journal of using Spring here. Most of the write up will assume u have some basic idea of using Spring (Just do a google search on Spring tutorial).  &lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;So, my very first 2007 technical topic is “Implementing Command Design Pattern using Spring”. I will use the remote control example from very popular design pattern book,  &lt;a href="http://www.oreilly.com/catalog/hfdesignpat/"&gt;“Head First Design Patterns” from OREILLY.&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;The original requirement of the remote control are&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;1 . The remote control will have multiple buttons,&lt;br /&gt;2.  Each  button could be program  to turn on/off a household device.&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;I change the requirement a little, the remote control will not have any buttons, but:&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;1.  It will accept command as a string from a console&lt;br /&gt;2. Each device's command will have unique command String, such as&lt;br /&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;The very first thing we need to do is to roll out the command interface&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="highlight-match-brace"&gt;1&lt;/span&gt; &lt;span class="java-keywords"&gt;package&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;2&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;3&lt;/span&gt; &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;interface&lt;/span&gt; &lt;span class="java-identifier"&gt;Command&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;4&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-identifier"&gt;CommandType&lt;/span&gt; &lt;span class="java-layer-method"&gt;getCommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;5&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;void&lt;/span&gt; &lt;span class="java-layer-method"&gt;execute&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;6&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;Next, we needs to define an enum to hold all possible supported  CommandType, each CommandType  holds it's command string, which is unique. That's a helper method to return CommandType base on passing command string.&lt;br /&gt;&lt;pre&gt;&lt;span class="highlight-match-brace"&gt; 1&lt;/span&gt; &lt;span class="java-keywords"&gt;package&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 2&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 3&lt;/span&gt; &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;enum&lt;/span&gt; &lt;span class="java-identifier"&gt;CommandType&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 4&lt;/span&gt;     &lt;span class="java-layer-method"&gt;LIGHT_ON&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"light.on"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 5&lt;/span&gt;     &lt;span class="java-layer-method"&gt;LIGHT_OFF&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"light.off"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 6&lt;/span&gt;     &lt;span class="java-layer-method"&gt;TV_ON&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"tv.on"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 7&lt;/span&gt;     &lt;span class="java-layer-method"&gt;TV_OFF&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"tv.off"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 8&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 9&lt;/span&gt;     &lt;span class="java-keywords"&gt;private&lt;/span&gt; &lt;span class="java-identifier"&gt;String&lt;/span&gt; &lt;span class="java-identifier"&gt;commandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;11&lt;/span&gt;    &lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;" class="java-block-comment"&gt;// return CommandType base on passing &lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;12&lt;/span&gt;    &lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;" class="java-block-comment"&gt;// commandString&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;13&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;static&lt;/span&gt; &lt;span class="java-identifier"&gt;CommandType&lt;/span&gt; &lt;span class="java-layer-method"&gt;valueOfCommandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;String&lt;/span&gt; &lt;span class="java-identifier"&gt;cmdString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;14&lt;/span&gt;         &lt;span class="java-identifier"&gt;CommandType&lt;/span&gt; &lt;span class="java-identifier"&gt;theCommandType&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-keywords"&gt;null&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;15&lt;/span&gt;         &lt;span class="java-keywords"&gt;for&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;CommandType&lt;/span&gt; &lt;span class="java-identifier"&gt;cmdType&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;:&lt;/span&gt; &lt;span class="java-identifier"&gt;CommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;values&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;16&lt;/span&gt;             &lt;span class="java-keywords"&gt;if&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;cmdType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;getCommandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;equals&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;cmdString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;17&lt;/span&gt;                 &lt;span class="java-identifier"&gt;theCommandType&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-identifier"&gt;cmdType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;18&lt;/span&gt;                 &lt;span class="java-keywords"&gt;break&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;19&lt;/span&gt;             &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;20&lt;/span&gt;       &lt;br /&gt;&lt;span class="highlight-match-brace"&gt;21&lt;/span&gt;         &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;22&lt;/span&gt;         &lt;span class="java-keywords"&gt;return&lt;/span&gt; &lt;span class="java-identifier"&gt;theCommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;23&lt;/span&gt;     &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;24&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;25&lt;/span&gt;     &lt;span class="java-layer-method"&gt;CommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;String&lt;/span&gt; &lt;span class="java-identifier"&gt;cmdString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;26&lt;/span&gt;         &lt;span class="java-identifier"&gt;commandString&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-identifier"&gt;cmdString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;27&lt;/span&gt;     &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;28&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;29&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-identifier"&gt;String&lt;/span&gt; &lt;span class="java-layer-method"&gt;getCommandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;30&lt;/span&gt;         &lt;span class="java-keywords"&gt;return&lt;/span&gt; &lt;span class="java-identifier"&gt;commandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;31&lt;/span&gt;     &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;32&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;33&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;void&lt;/span&gt; &lt;span class="java-layer-method"&gt;setCommandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-identifier"&gt;String&lt;/span&gt; &lt;span class="java-identifier"&gt;commandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;34&lt;/span&gt;         &lt;span class="java-keywords"&gt;this&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;commandString&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-identifier"&gt;commandString&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;35&lt;/span&gt;     &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;36&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;37&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;38&lt;/span&gt; &lt;/pre&gt;&lt;br /&gt;Now,  implements all supported commands, below is sample code TV ON Command;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="highlight-match-brace"&gt; 1&lt;/span&gt; &lt;span class="java-keywords"&gt;package&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;impl&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 2&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 3&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;Command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 4&lt;/span&gt; &lt;span class="java-keywords"&gt;import&lt;/span&gt; &lt;span class="java-identifier"&gt;blog&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;coolboy&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;springexample&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cp&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;command&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;CommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 5&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 6&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 7&lt;/span&gt; &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;class&lt;/span&gt; &lt;span class="java-identifier"&gt;TVOnCommand&lt;/span&gt; &lt;span class="java-keywords"&gt;implements&lt;/span&gt; &lt;span class="java-identifier"&gt;Command&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 8&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt; 9&lt;/span&gt;     &lt;span class="java-keywords"&gt;private&lt;/span&gt; &lt;span class="java-keywords"&gt;final&lt;/span&gt; &lt;span class="java-keywords"&gt;static&lt;/span&gt; &lt;span class="java-identifier"&gt;CommandType&lt;/span&gt; &lt;span class="java-identifier"&gt;cmdType&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;=&lt;/span&gt; &lt;span class="java-identifier"&gt;CommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;TV_ON&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;11&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-layer-method"&gt;TVOnCommand&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;12&lt;/span&gt;         &lt;span class="java-block-comment"&gt;// U suppose to pass in a TV instance here..&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;13&lt;/span&gt;     &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;14&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;15&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-identifier"&gt;CommandType&lt;/span&gt; &lt;span class="java-layer-method"&gt;getCommandType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;16&lt;/span&gt;         &lt;span class="java-keywords"&gt;return&lt;/span&gt; &lt;span class="java-keywords"&gt;this&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;cmdType&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;17&lt;/span&gt;     &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;18&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;19&lt;/span&gt;     &lt;span class="java-keywords"&gt;public&lt;/span&gt; &lt;span class="java-keywords"&gt;void&lt;/span&gt; &lt;span class="java-layer-method"&gt;execute&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;20&lt;/span&gt;         &lt;span class="java-identifier"&gt;System&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-identifier"&gt;out&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;.&lt;/span&gt;&lt;span class="java-layer-method"&gt;println&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;(&lt;/span&gt;&lt;span class="java-char-literal"&gt;"Switching On TV&lt;/span&gt;&lt;span class="java-char-literal"&gt;"&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;)&lt;/span&gt;&lt;span class="highlight-match-brace"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;21&lt;/span&gt;     &lt;span class="highlight-match-brace"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;22&lt;/span&gt;&lt;br /&gt;&lt;span class="highlight-match-brace"&gt;23&lt;/span&gt; &lt;span class="highlight-match-brace"&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;The rest of commands (TV.Off, Light On, Light.Off) follows the same structure..&lt;br /&gt;&lt;br /&gt;In part II, we will roll out the RemoteControl class, and use Spring to inject supported commands to  the Remotecontrol, and provide remoteControlService as an interactive shell for user to test out the remote control, stay tune.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-7967168224431622053?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/7967168224431622053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=7967168224431622053&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7967168224431622053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/7967168224431622053'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/02/tech-tips-implementing-command-design.html' title='[Tech Tips] Implementing Command Design Pattern via Spring Framework - Part 1'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-116938340435327324</id><published>2007-01-21T20:41:00.000+08:00</published><updated>2007-09-24T11:28:40.512+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Good morning Nut!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/5536/415/1600/817631/GoodMorningNut.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/x/blogger/5536/415/400/983908/GoodMorningNut.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Captured at  this morning, isn't he cute?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-116938340435327324?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/116938340435327324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=116938340435327324&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/116938340435327324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/116938340435327324'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2007/01/good-morning-nut.html' title='Good morning Nut!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-116524242998847228</id><published>2006-12-04T22:25:00.000+08:00</published><updated>2007-09-24T11:28:40.512+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Ever since I got my Wii</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/5536/415/1600/345162/collage.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/x/blogger/5536/415/400/403188/collage.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Donut is not very happy!!!&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-116524242998847228?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/116524242998847228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=116524242998847228&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/116524242998847228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/116524242998847228'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/12/ever-since-i-got-my-wii.html' title='Ever since I got my Wii'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-116190963525850350</id><published>2006-10-27T08:18:00.000+08:00</published><updated>2006-12-16T23:43:20.153+08:00</updated><title type='text'>Latest US TV Series that I enjoyed</title><content type='html'>It's been a long time since my last update, anywhere..&lt;br /&gt;Listed below are few TV series that I am really enjoyed:&lt;br /&gt;&lt;br /&gt;1. Heroes (From ABC network) - A series about a group of people all over the world on discovering their special power (e.g. reading people mind, stopping the time, paint the future, and others), and how the discovering process affect the surrounding world, This series is far more better then the "Lost" in terms of character building, plot, and the story. Highly recommended.&lt;br /&gt;&lt;br /&gt;2. Justice - "CSI + LA Law", and the formula works..&lt;br /&gt;&lt;br /&gt;3. House - Still the best TV series on Medical/Hospital, like the character House, very cool and cruel.. &lt;br /&gt;&lt;br /&gt;and finally&lt;br /&gt;&lt;br /&gt;4. Desperate House Wives, yeh yeh, call me sissy if u like, but I still like the series...So what..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, whcih shows u will recommends?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-116190963525850350?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/116190963525850350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=116190963525850350&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/116190963525850350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/116190963525850350'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/10/latest-us-tv-series-that-i-enjoyed.html' title='Latest US TV Series that I enjoyed'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-115068044540051241</id><published>2006-06-19T09:21:00.000+08:00</published><updated>2007-09-24T11:28:40.512+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>New Blog for Donut !</title><content type='html'>&lt;br&gt;&lt;div style="text-align: justify;"&gt;To all Donut's Fans:&lt;br /&gt;&lt;br /&gt;After months of preparation, we finally set up a blog called &lt;a href="http://pugdiary.blogspot.com"&gt;http://pugdiary.blogspot.com&lt;/a&gt;, a blog just for Donut! You can access all Donut's latest photos, adventures, videos and also links to other pug blogs. Check it out, enjoy and please do leave a comment or two !&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Coolboy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-115068044540051241?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/115068044540051241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=115068044540051241&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/115068044540051241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/115068044540051241'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/06/new-blog-for-donut.html' title='New Blog for Donut !'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-114890680991938474</id><published>2006-05-29T20:14:00.000+08:00</published><updated>2007-09-24T11:34:18.276+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>Playing NDS with bunch of Kids.</title><content type='html'>&lt;br&gt;On 27 May 2006. Out of curiosity and ahem  .... just to feel young again, I purposely dropped by a local NDS group gathering at KLCC yesterday and to check out what's all the hype about NDS wireless game. The NDS group gathers once a month in various locations in KL city.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;At the gathering, all the members are younger than me. In fact, very much younger. I try to be cool and  pretend to understand  the latest “X/Y” gen language but felt so so lost. I still could not understand why all the kids are obsessed about item swapping, chopping your tree, visit your house, post a note, watering your plants at your gardens and other&lt;span style="font-weight: bold;"&gt; boring  activities &lt;/span&gt;in NDS game called “&lt;a href="http://nds.gamezone.com/gamesell/p18822.htm"&gt;Animal Crossing&lt;/a&gt;”, anyone care to enlighten me ???&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Here are a couple of photos taken at the gathering:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos.yafro.com/pics3/i/20060527/04/1/5/0/1504c29f7c9c11dc1a89f9cb39f3ce64200605270_full.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://photos.yafro.com/pics3/i/20060527/04/1/5/0/1504c29f7c9c11dc1a89f9cb39f3ce64200605270_full.jpg" alt="" border="0" /&gt;&lt;/a&gt;Me playing wireless "&lt;a href="http://nds.gamezone.com/gamesell/p28517.htm"&gt;Tetrises&lt;/a&gt;" with all the Kids&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos.yafro.com/pics3/i/20060527/04/7/5/6/756c09a80f5a74680fdd1c0f845f4e60200605270_full.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://photos.yafro.com/pics3/i/20060527/04/7/5/6/756c09a80f5a74680fdd1c0f845f4e60200605270_full.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;Me trying to act cool but blur blur ...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos.yafro.com/pics3/i/20060527/04/e/f/1/ef1b9ffb9098807410ab5301db57a8ca200605270_full.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://photos.yafro.com/pics3/i/20060527/04/e/f/1/ef1b9ffb9098807410ab5301db57a8ca200605270_full.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:100%;"&gt;Members are engrossed in playing &lt;a href="http://nds.gamezone.com/gamesell/p18822.htm"&gt;animal crossing&lt;/a&gt; (a boring game in my opinion)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Overall, I had a nice break from my daily work routine and pretty much enjoyed myself.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-114890680991938474?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/114890680991938474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=114890680991938474&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114890680991938474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114890680991938474'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/05/playing-nds-with-bunch-of-kids.html' title='Playing NDS with bunch of Kids.'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-114666487573102933</id><published>2006-05-03T21:49:00.000+08:00</published><updated>2007-09-24T11:28:40.512+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Donut  Latest Video Update, May 2006</title><content type='html'>&lt;br&gt;&lt;br /&gt;I am having a lot of fun using Google &lt;a href="http://picasa.google.com/"&gt;Picasa Tools&lt;/a&gt; to compose and edit all my photos. One of the coolest feature of the tool is it allows me to create video by simply selecting a set of photos from my photo folders. Below is a video created using Donut's latest photos .... hope u'll like it. &lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/LNufsMCcvYA"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/LNufsMCcvYA" type="application/x-shockwave-flash" width="600" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-114666487573102933?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/114666487573102933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=114666487573102933&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114666487573102933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114666487573102933'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/05/donut-latest-video-update-may-2006.html' title='Donut  Latest Video Update, May 2006'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-114404666243221480</id><published>2006-04-03T14:30:00.000+08:00</published><updated>2007-09-24T11:28:40.512+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>[Donut's Diary] - How to resist tempation ...</title><content type='html'>&lt;p&gt;&lt;p align="center"&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;a href="http://photos1.blogger.com/blogger/5536/415/1600/donutwithComputer.jpg"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; WIDTH: 243px; CURSOR: hand; HEIGHT: 195px" height="172" alt="" src="http://photos1.blogger.com/blogger/5536/415/320/donutwithComputer.jpg" width="264" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;Most of the time, my father treat me like his precious. He will hug me, kiss me and treat me like his son. Sometimes , he “tortures” me by putting my favorite food beside or on my paws and see how long I can resist the temptation. I think it's my Father's dream for me to break the World Guinness Record and make him famous ... ha ha, in his dream lah! OK! I hate this training so much. Everybody please see the video below and u will know why.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resist temptation Take I&lt;/strong&gt; – Which I failed ....&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/Zw0wmc8D5kQ" width="600" height="350" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resist temptation Take II&lt;/strong&gt; : I break the 25 seconds record ...&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/jPlGjx0F6eE" width="600" height="350" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;Now u see. My father is very mean, isn't he? bow, wow,wow!!!&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-114404666243221480?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/114404666243221480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=114404666243221480&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114404666243221480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114404666243221480'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/04/donuts-diary-how-to-resist-tempation.html' title='[Donut&apos;s Diary] - How to resist tempation ...'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-114320025322610950</id><published>2006-03-24T19:36:00.000+08:00</published><updated>2006-03-24T19:37:33.226+08:00</updated><title type='text'>Looking for Java Developers !!</title><content type='html'>&lt;br&gt;&lt;div style="text-align: justify;"&gt;We are looking for good Java Developers. If u think u are young (physical age is not important here) and dynamic, love challenges and likes working in a friendly and fun environment, able to take one or two jokes from me (or jokes about me)  ....  &lt;a href="http://my.jobstreet.com/jobs/2006/3/default/10/262498.htm"&gt;apply here&lt;/a&gt;! &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-114320025322610950?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/114320025322610950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=114320025322610950&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114320025322610950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114320025322610950'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/03/looking-for-java-developers_24.html' title='Looking for Java Developers !!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-114300425742188304</id><published>2006-03-22T12:57:00.000+08:00</published><updated>2007-10-17T08:50:41.510+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>Project All About Sudoku!</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;"Hi I am James, and I am addicted to &lt;a href="http://en.wikipedia.org/wiki/Sudoku"&gt;Sudoku&lt;/a&gt;, it all started few weeks ago...".&lt;br /&gt;&lt;br /&gt;I admit that I am very addicted to the game. I must play at least one Sudoku puzzle a day or else I feel that something is missing from me. And it's a very good brain exercise for everyone, is highly recommended for anyone who's older then 30+ and people will start calling u "uncle", like me :-(&lt;br /&gt;&lt;br /&gt;I love the game so much that I was actually thinking of putting one Sudoku puzzle as part of the interview questions for a Java developer position which I'm hiring for my present Company. I think that if one can't even solve a simple Sudoku puzzle within a given time frame, their problem solving skill is pretty much limited. Somehow, my Manager rejected this idea. &lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;My "Geek" friend &lt;a href="http://blogs.sun.com/paulho"&gt;Paul Ho&lt;/a&gt; and I had several interesting discussions about the game ... about algorithms on generating a unique Sudoku, what is the best program logic to solve a given puzzle ... so on. As a 120% "geek" than me and a very good Java developer, Paul was able to come out with a &lt;a href="http://blogs.sun.com/roller/page/paulho?entry=creating_sudoku_puzzle_a_brain"&gt;Java base Sudoku game&lt;/a&gt; under 4K and completed within 1 week time frame. Well done Paul! Bravo !&lt;br /&gt;&lt;br /&gt;Paul 4K Sudoku game (&lt;a href="http://javaunlimited.net/games/view.php?id=94"&gt;download from here&lt;/a&gt;) actually triggered me to start my very first open source project called "&lt;a href="http://sudokusudoku.sourceforge.net/index.html"&gt;Project all about Sudoku&lt;/a&gt;" hosted at sourceforge.com. The aim of this project is to provide a platform (A Java Swing Application) for developers around the world to participate by delivering various kind of plugins to make this addictive game more fun, entertaining and most importantly ... Free For All!.&lt;br /&gt;&lt;br /&gt;Well, this project just went "live" yesterday and u can download a "&lt;a href="http://sudokusudoku.sourceforge.net/download.html"&gt;SQLPlus&lt;/a&gt;" version of the game. Appreciate if u could check it out and do tell me what do u think. I could use all your support to boost the project ranking.&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-114300425742188304?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/114300425742188304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=114300425742188304&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114300425742188304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114300425742188304'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/03/project-all-about-sudoku.html' title='Project All About Sudoku!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-114158943820714868</id><published>2006-03-06T04:00:00.000+08:00</published><updated>2007-09-24T11:34:18.276+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>Coolboy at Bristol</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;My sister complained to me about why I didn’t write any thing about Bristol at my blog, a place where I have been staying for almost 3 weeks. Well, here are &lt;span style="font-weight: bold;"&gt;the reasons&lt;/span&gt;: &lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;BLIZZARD !!!!&lt;/strong&gt;&lt;/p&gt;&lt;/span&gt; On this day, a huge blizzard of snow came down out of nowhere as I was walking to the Office. The snow melted away during lunchtime.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5536/415/1600/Photo-0052.6.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5536/415/400/Photo-0052.4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5536/415/1600/Photo-0053.6.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5536/415/400/Photo-0053.4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Eversince I touched down in Bristol, UK the weather here has been between 0 - 5 degrees celcius. At night, the temperature can go down to -8 degrees. It's so cold that I have not travelled anywhere, not even to the City. I prefer to stay in my warm heated room.&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/Photo-0038.0.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; width: 362px; cursor: pointer; height: 258px;" alt="" src="http://photos1.blogger.com/blogger/5536/415/320/Photo-0038.0.jpg" border="0" height="250" width="362" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;After our morning breakfast, me and my colleague walk to our Office from The &lt;a href="http://www.rookery227.com/"&gt;Rookery 227&lt;/a&gt; B&amp;B Inn, work from 9 till 5:30pm, walk back and eat microwave foods, do some surfing, watch TV and go to sleep.&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;During weekends, we go to a nearby supermarket, get more microwave foods, juices and some fruits. Why buy microwave foods, you may ask? Well, because it’s too bloody cold to go outside for proper dining. So there isn’t much I can write about. Especially when u feel very moody and miserable … the only things to get me going is the yummy breakfast … which is the same old, same old (see above pic) each morning.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal" align="justify"&gt;Whoopee ! The sun is out today and weather is actually warm enough for me to travel into the city. I took a bus from Bristol (Paid 3.50 pounds - so expensive for half hour bus ride !!!!) to the famous &lt;a href="http://www.clifton-suspension-bridge.org.uk/"&gt;Bristol Suspension Bridge&lt;/a&gt;.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/panorama-2-resize.jpg"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/panorama-bridge-resize.0.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; width: 352px; cursor: pointer; height: 208px;" alt="" src="http://photos1.blogger.com/blogger/5536/415/320/panorama-bridge-resize.0.jpg" border="0" height="191" width="329" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p class="MsoBodyText"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoBodyText"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoBodyText" style="text-align: left;"&gt;The picture is actually made up by two pictures. The bridge is too long to fit in one camera shoot.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoBodyText" style="text-align: left;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoBodyText" style="text-align: left;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoBodyText"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;/p&gt;&lt;p class="MsoBodyText"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/P1010005-resize.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; width: 352px; cursor: pointer; height: 256px;" alt="" src="http://photos1.blogger.com/blogger/5536/415/320/P1010005-resize.jpg" border="0" height="246" width="332" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoBodyText"&gt;Taken from other side of the bridge. (risked my life to take this picture) I had to stand near to a cliff in order to show my readers how far above ground the bridge is build upon.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoBodyText"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/P1010016-resize.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; width: 353px; cursor: pointer; height: 264px;" alt="" src="http://photos1.blogger.com/blogger/5536/415/320/P1010016-resize.jpg" border="0" height="255" width="341" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;span style="font-size:0;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;View from the Bridge. And finally ...&lt;br /&gt;&lt;/div&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/P1010019-resize.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; width: 354px; cursor: pointer; height: 248px;" alt="" src="http://photos1.blogger.com/blogger/5536/415/320/P1010019-resize.jpg" border="0" height="248" width="362" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: left;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: left;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: left;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: left;"&gt;This is a picture of me on the bridge ... just to prove that I was actually there ! &lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-114158943820714868?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/114158943820714868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=114158943820714868&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114158943820714868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/114158943820714868'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/03/coolboy-at-bristol.html' title='Coolboy at Bristol'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-113988961862772978</id><published>2006-02-14T11:55:00.000+08:00</published><updated>2007-09-24T11:28:40.513+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Donut Diary: Bapa, don't go.</title><content type='html'>My father coolboy acted very strange pass few days, he always look at me with a depressing eye, and said something like: “Please take care of Mama”, “Remember to drink more water”,  “be Strong”, and all other nonsense...  &lt;p style="margin-bottom: 0in;"&gt;I found out today that my Baba have to travel to Bristol, UK, for job training, and he will be there for a month long..my god...who's going to sleep with me? who's going to clean my cage? who's going to give me daily training, and most importantly, who's going to bath me..and feed me, and “sayang” me, and clean my wrinkle face, sing night night song for me...&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;I don't want u to go!!! I don't care.....srr...&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/DonutatBag.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/400/DonutatBag.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;  &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;So the moment he bring up the big suitcase for packing, I straight away jump into and “kacau” him...&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;/p&gt;&lt;span style="font-weight: bold;"&gt;Please dont't go!&lt;/span&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-113988961862772978?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/113988961862772978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=113988961862772978&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113988961862772978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113988961862772978'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/02/donut-diary-bapa-dont-go.html' title='Donut Diary: Bapa, don&apos;t go.'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-113955843001105705</id><published>2006-02-10T15:53:00.000+08:00</published><updated>2007-09-24T11:34:18.276+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>I am old today!</title><content type='html'>Well, time do fly, isn't? Wake up this morning, and discovered that Chinese new year almost over..damp! I am getting old, feels old, and looks old..today... and  I am doing nothing about all these, what a lazy person!  I think I am heading to the “30 years++” middle age man crises? I start grumbling a lot, concern little boy/girls call me "uncle", paid a lot of time in front of mirrot, and other "middle age man" symptoms..,oh my God, please help me!&lt;br /&gt;&lt;p&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;I needs some ideas to feels young again, the concept of “middle age man” still very far from me..thus please help me if u have any idea to make one feels young again. Listed here are my so call new year resolutions to avoid middle age man crises:&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;"&gt;          &lt;style&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;  &lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;1.  To feels young, one needs to be around with young peoples –one way to achieve this is to hire more young people (Java peoples) as my team members, then I will understand their “culture”, talk their language, play their games, and most importantly, feels young again.&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;So, if u have more then 3 years development with Java, knows J2EE, Hibernate, Spring, and other open source frameworks, and most importantly, you are young (I mean you feels young everyday, physical age is not important here), and you are fun and outgoing people, like to work with a “ahem” easy going and fun, and not so old manager...do help me by dropping  me your resume at my email at khoo dot james at gmail dot com (Will let u know my new company later)&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;            &lt;style&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;  &lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;2. I needs to go to &lt;a href="http://www.pulauperhentian.com.my/"&gt;Pulau Perhentian&lt;/a&gt; often, that's place is a “energy recharge” place for me. Clear water, clean air, and most importantly, good looking young people, like young Japanese girl likes to go there. Guarantee will feels young there, don't believer me, here a picture of Pulau Perhentian taken from CNY break:&lt;/p&gt;&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/Perhentian.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 369px; height: 255px;" src="http://photos1.blogger.com/blogger/5536/415/320/Perhentian.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;        &lt;style&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;  &lt;p style="margin-bottom: 0in;"&gt;3. To get Diving license by this year.. Needs to have one dive at Malaysia Famous diving spot, at &lt;a href="http://www.marimari.com/cOnTENT/malaysia/popular_places/islands/sipadan/sipadan.html"&gt;Pulua Simpadan&lt;/a&gt; before I reach 35...very very important.&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;"&gt;          &lt;style&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;  &lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;Well, that's all folks...Feels young! and act young! Here a latest Donut's picture wishing u all...”Gong Xi Fai Chai”&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/DonutNewYearClothRezise.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/400/DonutNewYearClothRezise.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-113955843001105705?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/113955843001105705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=113955843001105705&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113955843001105705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113955843001105705'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/02/i-am-old-today.html' title='I am old today!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-113817419707049983</id><published>2006-01-25T15:26:00.000+08:00</published><updated>2007-09-24T11:28:40.513+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Gong Xi Fai Chai from Donut</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/HappyNewYear.0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/400/HappyNewYear.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Enjoy!, and Happy New Year!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-113817419707049983?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/113817419707049983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=113817419707049983&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113817419707049983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113817419707049983'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/01/gong-xi-fai-chai-from-donut.html' title='Gong Xi Fai Chai from Donut'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-113790130703276595</id><published>2006-01-22T11:36:00.001+08:00</published><updated>2007-09-24T11:34:18.277+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>It's me in 3D!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/crazyme.1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 246px; height: 151px;" src="http://photos1.blogger.com/blogger/5536/415/320/crazyme.1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am having fun on creating a 3D Avater of me over weekend, using "it's me v2" that come with my WebCam I purchased at Lowyat. After hours of fine tuning, here the  very first result of me dacing crazily.. Enjoy!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Update 22 Jab.9:13pm] I jJust discover one stupid blogspot feature, blogger will automatically convert animation gif file to jpeg format. So to see the stupid me dacing, click the following link at&lt;br /&gt;&lt;a href="http://donutdiary.multiply.com/photos/photo/6/1.gif"&gt;crazyme.gif&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My next project is to put Donut Face on an Avater, and say "Gong Xi Fah Chai" for all Chinese Reader..kee kee!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-113790130703276595?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/113790130703276595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=113790130703276595&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113790130703276595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113790130703276595'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/01/its-me-in-3d.html' title='It&apos;s me in 3D!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-113714485776198532</id><published>2006-01-13T17:18:00.000+08:00</published><updated>2007-09-24T11:28:40.513+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>[Tips for Lazy Person] - How to work out your dog!</title><content type='html'>Here's  a tips on how to work out your dog!&lt;br /&gt;&lt;br /&gt;1. Get a Remote Control car, aim for a car which are bit bigger then your dog's soft toy, the RC car below cost me about RM30.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0065.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0065.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Get your dog's favorite soft toy ready&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0066.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0066.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;3. Attached the soft toy on the RC car  with a rubber band&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0067.0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0067.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;4. And test run it, ha ha. Enjoy!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0071.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0071.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;FYI, Donut is chasing his toy for a good 10 minutes..now I called  that a good exercise for the day!&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-113714485776198532?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/113714485776198532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=113714485776198532&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113714485776198532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113714485776198532'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2006/01/tips-for-lazy-person-how-to-work-out.html' title='[Tips for Lazy Person] - How to work out your dog!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-113310293914843956</id><published>2005-11-27T22:38:00.000+08:00</published><updated>2007-09-24T11:28:40.514+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'></title><content type='html'>&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0124.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0124.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: arial;"&gt;Woke up this morning and discovered that two of our RM50 notes shredded to pieces. The only living object in our apartment who could reach into our wallet and who does not appreciate the real value of RM100 is no other then our Monster, Donut ...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0131.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0131.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;At first, I was so so very upset because RM100 could buy me a lot of things eg: 10 “Magic the Gathering” booster packs or two gold class movie ticket or one very good Thai Massage or .... (the list can go on and on) but ... ahem, as an “understanding” father, I think I better give the Monster a benefit of doubt.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-family: arial;"&gt;Maybe the "Culprit" is a bird or is it my other two green turtles who has committed the crime, right? So, here's how I started my very “detailed” crime scene investigation (CSI).&lt;/span&gt;&lt;span style="font-family: arial;"&gt; Aha! I found two tiny pieces of RM50 notes hidden between Donut's fav places - the floor cushions. The tiny pieces matches perfectly with the big dollar notes plus the notes are slightly wet with Donut's saliva. Thus, little monster must be the Culprit. Better bring him for questioning .... After about 10 minutes of questioning, Donut finally admitted he chewed the RM50 notes.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;...... no,no,no.....that pathetic or "please for give me" look will not help you a bit !&lt;/span&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0113.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0113.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family: arial;"&gt;After he admited that he did commit the crime (no reason given), we decided to bring Donut to Local Police Station for confession.&lt;/span&gt;.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0122.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0122.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family: arial;"&gt;Donut is punished in cage for two hours. We think that the punishment is too light. &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/CIMG0136.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/CIMG0136.jpg" alt="" border="0" height="213" width="277" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-113310293914843956?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/113310293914843956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=113310293914843956&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113310293914843956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113310293914843956'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/11/woke-up-this-morning-and-discovered.html' title=''/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-113271002053168786</id><published>2005-11-23T09:28:00.000+08:00</published><updated>2007-09-24T11:27:52.233+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Donut's latest  Video</title><content type='html'>&lt;style&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;  &lt;p style="margin-bottom: 0in;"&gt;Oh my god, just realized that I haven't updated my blog for sometime, sorry for all my fans out there (I do have fans, right?.... or do I?) . Being very very busy on work, so sorry. To apologize, listed below are some Latest Donut Video we taken past weeks, I hope u will enjoy them, some of them are very very funny. &lt;/p&gt;  &lt;ol&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;a href="http://donutdiary.multiply.com/video/item/1"&gt;Donut enjoying his daily greenie.&lt;/a&gt;&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;a href="http://donutdiary.multiply.com/video/item/3"&gt;Donut at daily training session&lt;/a&gt;&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;a href="http://donutdiary.multiply.com/video/item/4"&gt;Donut somehow don't remember how  to do “High Five”&lt;/a&gt;&lt;/p&gt; &lt;/li&gt;&lt;/ol&gt;  &lt;p style="margin-bottom: 0in;"&gt;I promise I will continue update my blog...promise...till next time, kisses  from Donut!!!&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;PS: All the video are encoded using WMV format, which is not "Linux" or "Unix" friendly..could someone tell me how to convert a WMV file to a more friendly real media file?&lt;br /&gt;Thanks&lt;br /&gt;&lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-113271002053168786?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/113271002053168786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=113271002053168786&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113271002053168786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/113271002053168786'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/11/donuts-latest-video.html' title='Donut&apos;s latest  Video'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112851743613359191</id><published>2005-10-05T20:56:00.000+08:00</published><updated>2007-09-24T11:27:52.234+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Why I love Pug so so much</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5536/415/1600/psg20_11.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5536/415/320/psg20_11.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Hi all&lt;br /&gt;&lt;br /&gt;Check &lt;a href="http://www.zippyvideos.com/149137710739195.html"&gt;this out&lt;/a&gt;, this pug is so smart....&lt;br /&gt;Nowonder my dog food consume so fast, must be that little buster!&lt;br /&gt;&lt;br /&gt;For those who miss Donut, here his recent cutest picture..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112851743613359191?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112851743613359191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112851743613359191&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112851743613359191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112851743613359191'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/10/why-i-love-pug-so-so-much.html' title='Why I love Pug so so much'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736785528278669</id><published>2005-09-22T13:43:00.000+08:00</published><updated>2007-09-24T11:27:52.234+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Donut Diary - Dogathon 2005</title><content type='html'>&lt;p&gt;Hello, bow bow, wow wow!&lt;/p&gt;&lt;p&gt;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:&lt;/p&gt;&lt;table style="page-break-inside: avoid;" border="1" cellpadding="4" cellspacing="3" width="100%"&gt; &lt;col width="85*"&gt; &lt;col width="81*"&gt; &lt;col width="89*"&gt; &lt;thead&gt; &lt;tr&gt; &lt;td colspan="2" valign="top" width="65%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/manydogs1.jpg" name="Graphic1" align="left" border="0" height="300" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;/td&gt; &lt;td width="35%"&gt; &lt;p&gt;There were many kinds of dogs at the event. Some with nice cloths and accessories, and some were “naked”.&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width="33%"&gt; &lt;p&gt;“Cowboy” dog from Texas!!&lt;/p&gt; &lt;/td&gt; &lt;td colspan="2" valign="top" width="67%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/cowboy.jpg" name="Graphic2" align="left" border="0" height="282" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" valign="top" width="65%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/newcloth.jpg" name="Graphic3" align="left" border="0" height="300" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;/td&gt; &lt;td width="35%"&gt; &lt;p&gt;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!&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width="33%"&gt; &lt;p&gt;But I want all the nice clothes... I don't care...&lt;/p&gt; &lt;/td&gt; &lt;td colspan="2" valign="top" width="67%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/cloths.jpg" name="Graphic4" align="left" border="0" height="300" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" valign="top" width="65%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/mom.jpg" name="Graphic5" align="left" border="0" height="300" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;/td&gt; &lt;td width="35%"&gt; &lt;p&gt;“Hi, could I rest beside you for a while”&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" valign="top" width="65%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/bigbigdog.jpg" name="Graphic6" align="left" border="0" height="300" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;/td&gt; &lt;td width="35%"&gt; &lt;p&gt;Out of sudden, I saw the biggest dog ever. He is really big!! very big!&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td width="33%"&gt; &lt;p&gt;So, now u see, how tiny I am.....oh man! I need some protection from the very huge dog.&lt;/p&gt; &lt;/td&gt; &lt;td colspan="2" valign="top" width="67%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/me_and_bigdog.jpg" name="Graphic7" align="left" border="0" height="300" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" valign="top" width="65%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/godfather.jpg" name="Graphic8" align="left" border="0" height="300" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;/td&gt; &lt;td width="35%"&gt; &lt;p&gt;Big Dog: Kiss my nose and I will protect u.&lt;/p&gt; &lt;p&gt;Me: OK, God Father ...&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;That is all for now. I hope u like my doggie adventures. Untilnext time ... au revoir !&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736785528278669?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736785528278669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736785528278669&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736785528278669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736785528278669'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/donut-diary-dogathon-2005.html' title='Donut Diary - Dogathon 2005'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736774317591539</id><published>2005-09-22T13:41:00.000+08:00</published><updated>2007-09-24T11:27:52.234+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Donut Diary - I went to Party!</title><content type='html'>&lt;p&gt;30th July 2005- Saturday &lt;/p&gt; &lt;p&gt;I overhear there is a party for pugs. So I beg my slave James to bring me to the party. &lt;/p&gt; &lt;table style="page-break-before: always;" border="0" bordercolor="#000000" cellpadding="2" cellspacing="0" width="100%"&gt; &lt;colgroup&gt;&lt;col width="76"&gt;&lt;col width="180"&gt;&lt;/colgroup&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="30%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/bringMeToParty.jpg" name="Graphic1" align="left" border="0" height="228" width="251" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;“Hello, I want to go to &lt;a href="http://www.pugsquad.com/"&gt;PugSquad&lt;/a&gt; party! I want to meet with other pugs....please.......please!”&lt;/p&gt; &lt;p&gt;James: But I am so tired ... I need to rest OK?&lt;/p&gt; &lt;p&gt;Joyce: I am also very tired. Please understand OK, nice puppy!&lt;/p&gt; &lt;p&gt;Note: The PugSquad party is a monthly gathering event for Pug Owners in KL area.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="30%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/bringMeToParty2.jpg" name="Graphic2" align="left" border="0" height="292" width="247" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;&lt;span style="font-size: 12pt;font-size:130%;" &gt;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...&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="30%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/style_1.jpg" name="Graphic4" align="left" border="0" height="202" width="248" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;OK, my slave owner finally granted my request and preparing me for my first big social event.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="30%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/bringMeToParty4.jpg" name="Graphic5" align="left" border="0" height="335" width="287" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;I am so handsome and so ready for Party, yes!!!!&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="30%"&gt; &lt;p&gt;&lt;img style="width: 286px; height: 271px;" src="http://blogs.sun.com/roller/resources/jamesk/AtParty1.jpg" name="Graphic6" align="left" border="0" height="324" width="321" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;At the party!&lt;/p&gt; &lt;p&gt;“Hi, I am Donut, very nice to meet you !!!”&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="30%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/AtParty2.jpg" name="Graphic7" align="left" border="0" height="285" width="321" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;L-R Doggies: Smith, Sugar and Donut&lt;/p&gt; &lt;p&gt;“Let go of me, your armpit is so smelly”&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="30%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/AtParty3.jpg" name="Graphic8" align="left" border="0" height="241" width="321" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;“Where are my slave (i.e James and Joyce) gone?”&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="30%"&gt; &lt;p&gt;&lt;img style="width: 306px; height: 228px;" src="http://blogs.sun.com/roller/resources/jamesk/AtParty4.jpg" name="Graphic9" align="left" border="0" height="241" width="321" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;“Who cares!!!, let's party again...1, 2, 3 and 1,2 3”..&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="30%"&gt; &lt;p&gt;&lt;img style="width: 287px; height: 226px;" src="http://blogs.sun.com/roller/resources/jamesk/At%20Party5.jpg" height="259" width="285" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;Slave: “ So, u happy now?”&lt;/p&gt; &lt;p&gt;Me: “Yes!!”&lt;/p&gt; &lt;p&gt;Slave: “And, you want to go for next party?”&lt;/p&gt; &lt;p&gt;Me: “Yes! Yes! Yes!”&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="30%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/Sleeping.jpg" name="Graphic10" align="left" border="0" height="241" width="321" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="70%"&gt; &lt;p&gt;It's 10.00 pm and I'm so tired and sleepy already .... What a night !&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736774317591539?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736774317591539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736774317591539&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736774317591539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736774317591539'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/donut-diary-i-went-to-party.html' title='Donut Diary - I went to Party!'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736729477808355</id><published>2005-09-22T13:33:00.000+08:00</published><updated>2007-09-24T11:27:52.234+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Donut's Diary - Please Take me home II</title><content type='html'>&lt;table style="page-break-before: always;" border="0" cellpadding="4" cellspacing="0" width="100%"&gt; &lt;colgroup&gt;&lt;col width="92"&gt;&lt;col width="164"&gt;&lt;/colgroup&gt;&lt;thead&gt; &lt;tr valign="top"&gt; &lt;td width="36%"&gt; &lt;p&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/donut_1.jpg" name="Graphic1" align="left" border="0" height="447" width="335" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="64%"&gt; &lt;p&gt;8&lt;sup&gt;th&lt;/sup&gt; July 2005&lt;/p&gt; &lt;p&gt;Bow, wow.Bow.wow.wow...&lt;/p&gt; &lt;p&gt;Ops, sorry, you probably don't understand my language.&lt;/p&gt; &lt;p&gt;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..&lt;/p&gt; &lt;p&gt;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.&lt;/p&gt; &lt;p&gt;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..&lt;/p&gt; &lt;p&gt;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!&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736729477808355?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736729477808355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736729477808355&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736729477808355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736729477808355'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/donuts-diary-please-take-me-home-ii.html' title='Donut&apos;s Diary - Please Take me home II'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736720415720868</id><published>2005-09-22T13:31:00.000+08:00</published><updated>2007-09-24T11:27:52.234+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My Pet Donut'/><title type='text'>Donut Diary - Please take me home</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;  &lt;p style="margin-bottom: 0in;"&gt;[Me talking to myself at one of Peg Shops in KL. yesterday]&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;..Wow, look at this puppy (A two months old pug, he is so adorable, I wants to take him home....now..&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;..Wait, stupid, you can't have the puppy, remember..you stay in Apartment in which Cats sand Dogs are prohibited.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;..but, he is so cute, look at his eye, he is begging me to take him home.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;..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..&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;..but, he is so cute!!!! I don't care..I want! I want!&lt;br /&gt;&lt;/p&gt; &lt;div style="text-align: center;"&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;&lt;/div&gt; &lt;p style="margin-bottom: 0in;"&gt;Paid RM200 down payment to the shop owners, I am taking him home this Saturday. Picture on next blog&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt; &lt;/div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736720415720868?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736720415720868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736720415720868&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736720415720868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736720415720868'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/donut-diary-please-take-me-home.html' title='Donut Diary - Please take me home'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736705511581790</id><published>2005-09-22T13:29:00.000+08:00</published><updated>2007-09-24T11:39:50.249+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>[Movie Review] Nobody Knows</title><content type='html'>&lt;br&gt; &lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/nobody.jpg"&gt;&lt;br&gt; &lt;br&gt; 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.&amp;nbsp; 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&amp;nbsp; ...&lt;br&gt; &lt;br&gt; &lt;p style="margin-bottom: 0in;"&gt;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,&amp;nbsp; ....&amp;nbsp; 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 &lt;span style="font-family: courier new,courier,mono; color: rgb(204, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; font-family: courier new,courier,mono; color: rgb(204, 0, 0);"&gt;NOBODY KNOWS" &lt;/span&gt;? &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;If we could just care a little more .....&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;PS. Please watch this movie . Don't read any critics or reviews first . And most importantly do share your thoughts with Me.&lt;br&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br&gt; &lt;/p&gt; &lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736705511581790?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736705511581790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736705511581790&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736705511581790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736705511581790'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/movie-review-nobody-knows.html' title='[Movie Review] Nobody Knows'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736692049687065</id><published>2005-09-22T13:27:00.000+08:00</published><updated>2007-09-24T11:31:08.325+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>[Tips ] – “On the fly” deployment under NetBeans</title><content type='html'>&lt;p style="margin-bottom: 0in;"&gt;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:&lt;br&gt; -1. Production, my application will be connected to client's Oracle database, and log level set to warning.&lt;br&gt; -2. Local, HSQLDB running on my local machine will be use, log level set to debug&lt;br&gt; -3. Test, for unit testing purpose&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;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:&lt;br&gt; - Firstly, I create a folder name "cfg" under project project, I then create “production”, “local”, and “test” folders under the cfg folder.&lt;br&gt; - Put properties files in to respective folder, shown in figure below:&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;img src="http://blogs.sun.com/roller/resources/jamesk/cfg_folder.png"&gt;&lt;br&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;- 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:&lt;span style="font-family: monospace;"&gt;&lt;br&gt; &lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: monospace;"&gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;target name="-pre-compile"&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input message="Please enter deploy mode? (production, local, test)-&amp;gt;"&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addproperty="mode"&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; defaultvalue="local"/&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;echo message="Copying application configuration file for ${mode} mode"/&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;copy todir="${src.dir}" overwrite="true"&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fileset dir="${basedir}/cfg/${mode}"/&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/copy&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/target&amp;gt;&lt;br&gt; &lt;br&gt; &lt;/span&gt;- Clean and Build my project, surprise, surprise, Netbean actually popup a nice dialog ask me to enter deploy mode, as shown in figure below:&lt;br&gt; &lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/enter_mode.png"&gt;&lt;br&gt; &lt;br&gt; &lt;br&gt; - 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:&lt;br&gt; &lt;br&gt; &lt;span style="font-family: monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;target name="-pre-compile"&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input message="Please enter deploy mode? (production, local, test)-&amp;gt;"&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b style="font-style: italic; font-weight: bold; color: rgb(51, 102, 255);"&gt;validargs="local,production,test"&lt;/b&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt; &lt;/span&gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addproperty="mode"&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; defaultvalue="local"/&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;echo message="Copying application configuration file for ${mode} mode"/&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;copy todir="${src.dir}" overwrite="true"&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fileset dir="${basedir}/cfg/${mode}"/&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/copy&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/target&amp;gt;&lt;br&gt; &lt;br&gt; - Clean and Build my project, Netbean surprise me again, by showing me a popup with a pulldown showing available delopyment modes. &lt;br&gt; &lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/enter_mode_pulldown.png"&gt;&lt;br&gt; &lt;br&gt; Now, that what I called hidden Easter egg in Netbean..Enjoy!&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;/span&gt; &lt;b&gt;&lt;b&gt;&lt;br&gt;&lt;/b&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736692049687065?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736692049687065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736692049687065&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736692049687065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736692049687065'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/tips-on-fly-deployment-under-netbeans.html' title='[Tips ] – “On the fly” deployment under NetBeans'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736658108892450</id><published>2005-09-22T13:22:00.000+08:00</published><updated>2007-09-24T11:39:50.250+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>[Help Wanted] Where are the dolphins?</title><content type='html'>&lt;p style="margin-bottom: 0in;"&gt;I always believe I still carry a young and innocent heart, that why, my girl friend always call me childish, that's another story. Well, this has all change after I read &lt;a href="http://blogs.sun.com/tor"&gt;Tor Norbye's blog&lt;/a&gt; last night :-(. Thanks Tor!&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;In his blog, he pointed "deceptive" picture, where most kids who see the picture see dolphins. I just can't! Here's the picture:&lt;/p&gt; &lt;div style="text-align: center;"&gt;&lt;img src="http://blogs.sun.com/roller/resources/tor/dolphins.jpg"&gt;&lt;br&gt; &lt;/div&gt; &lt;p style="margin-bottom: 0in;"&gt;I had spent a good 30 minutes last night just to locate dolphins from the picture,this include rotate my monitor, change brightens and contrast of my monitor, change color, photoshop it and layer it and others, but where is the damp dolphins?&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;Could u help? this is very urgent.Thanks!&amp;nbsp; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736658108892450?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736658108892450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736658108892450&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736658108892450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736658108892450'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/help-wanted-where-are-dolphins.html' title='[Help Wanted] Where are the dolphins?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736650625178066</id><published>2005-09-22T13:21:00.000+08:00</published><updated>2007-09-24T11:39:50.251+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>Please change your email subject before replying a email</title><content type='html'>&lt;p style="margin-bottom: 0in;"&gt;I feel annoy when receiving a reply email, where the email content are not related with the email subject. People are just “lazy” to compose new email, and fill in address field with new email subject, they simply wanted hit reply button, where the addree is pre-filled, even if the content is not related to the subject. Here's what happen to me today.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;(Phone ringing)&lt;br&gt; Me: “Hello, James Khoo Speaking”&lt;br&gt; Wong: “Hello, James, this is Wong, could u send me your project status report ASAP. I have send u a email to remind u this morning.”&lt;br&gt; Me: “No, I did not receive any reminder email from u this morning.”&lt;br&gt; Wong: “ I did send!”&lt;br&gt; Me :No, you didn't”&lt;br&gt; --- One Minute later ---&lt;br&gt; Wong: “ OK, OK stop fighting like a child, Could u check your inbox now.”&lt;br&gt; Me : “OK, opening my inbox, let me check, you did send me a email with subject of “[RE:Wanted to see Star Wars III this Friday?]..but I didn't receive any reminder email from u”&lt;br&gt; Wong: “Tha't the reminder email, check the content"&lt;br&gt; Me:"Then in the first place, why don't u cange the email subject.."&lt;br&gt; Wong:"...."&lt;br&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;What do you u think?&lt;br&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736650625178066?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736650625178066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736650625178066&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736650625178066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736650625178066'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/please-change-your-email-subject.html' title='Please change your email subject before replying a email'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736602125815693</id><published>2005-09-22T13:12:00.000+08:00</published><updated>2007-09-24T11:39:50.251+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Others'/><title type='text'>My First Comic -Software War</title><content type='html'>This is my very first comic. All characters are created from &lt;a  ="" href="http://www.planearium2.de/flash/sp-studio-e.html"&gt;Planearium&lt;/a&gt; web site which I discovered from my friend&lt;a  ="" href="http://blogs.sun.com/paulho"&gt; Paul's Blog&lt;/a&gt;. At the same time, I also found another great blogger, introducing the only &lt;a href="http://blogs.sun.com/emma"&gt;Sun Supper Support Girl&lt;/a&gt;, very fun blog to read! Anyway, here we go ... &lt;br&gt; Note: (All characters's name has been altered to prevent any legal issues...peace!!)&lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/startwars_comicnew.png"&gt;&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/startwars_comicnew2.png"&gt;&lt;br&gt; &lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/startwars_comicnew3.png"&gt;&lt;br&gt; &lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/startwars_comicnew4.png"&gt;&lt;br&gt; &lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/startwars_comicnew5.png"&gt;&lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/startwars_comicnew6.png"&gt;&lt;br&gt; &lt;img src="http://blogs.sun.com/roller/resources/jamesk/startwars_comicnew7.png"&gt;&lt;br&gt;&amp;nbsp; Well, we know which side will eventually win, right? Hope u enjoy this short comic ..... and May the Force be with U !!! &lt;br&gt; &lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736602125815693?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736602125815693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736602125815693&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736602125815693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736602125815693'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/my-first-comic-software-war.html' title='My First Comic -Software War'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736594067211920</id><published>2005-09-22T13:09:00.000+08:00</published><updated>2007-09-24T11:31:08.325+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>[Tips] Wanted to use Log4j with Sun Java System App Server 8?</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;/span&gt;I prefer log4j over JDK 1.4 logging library, hera are some of the "obvious" reasons: How about log4j comes with more appenders compare to JDK1.4 Logging, it easier to configure, and support many layouts. However, log4j does not “sits” very well in our App Server, some of identified problems are:&lt;br /&gt;1.Deployed logging configuration file (i.e. log4j.properties) is totally ignore, even we put in correct class path.&lt;br /&gt;2.Logger ClassCast Exception upon restart of an application server instance.&lt;br /&gt;&lt;br /&gt;A further investigate reveal that our Apps Server use JDK1.4 logging (i.e. Java.util.logging) via apache commons-logging, which should be avoided according to this article http://www.qos.ch/logging/thinkAgain.jsp, I agree. So, here's propose “work around”:&lt;br /&gt;1.Write you own log4j wrapper class. Refer to “Ch9, Log4j, the complete manual” by log4j author Ceki Gülcü for more information on how to write a good log4j logger wrapper class.&lt;br /&gt;&lt;br /&gt;2.Create a new Logger Manager, which will a)Configure log4j properties if is not configured yet b)Return the logger wrapper class to calling class. As an example of such Logger Manager class: &lt;pre&gt;&lt;span class="gutter"&gt;   1:&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   2:&lt;/span&gt;&lt;span class="syntax8"&gt;public&lt;/span&gt; &lt;span class="syntax10"&gt;class&lt;/span&gt; MyLogManager &lt;span class="syntax18"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   3:&lt;/span&gt;    &lt;span class="syntax8"&gt;private&lt;/span&gt; &lt;span class="syntax8"&gt;static&lt;/span&gt; &lt;span class="syntax10"&gt;boolean&lt;/span&gt; isLogPropertiesConfigure &lt;span class="syntax18"&gt;=&lt;/span&gt; &lt;span class="syntax14"&gt;false&lt;/span&gt;;&lt;br /&gt;&lt;span class="gutter"&gt;   4:&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   5:&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   6:&lt;/span&gt;    &lt;span class="syntax8"&gt;public&lt;/span&gt; &lt;span class="syntax6"&gt;MyLogManager&lt;/span&gt;() &lt;span class="syntax18"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   7:&lt;/span&gt;    &lt;span class="syntax18"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   8:&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   9:&lt;/span&gt;&lt;br /&gt;&lt;span class="gutterH"&gt;  10:&lt;/span&gt;    &lt;span class="syntax8"&gt;public&lt;/span&gt; &lt;span class="syntax8"&gt;static&lt;/span&gt; MyLog4JWrapper &lt;span class="syntax6"&gt;getInstance&lt;/span&gt;(String logInstance) &lt;span class="syntax18"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;  11:&lt;/span&gt;        &lt;span class="syntax8"&gt;try&lt;/span&gt; &lt;span class="syntax18"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;  12:&lt;/span&gt;            &lt;span class="syntax8"&gt;if&lt;/span&gt; (&lt;span class="syntax18"&gt;!&lt;/span&gt;isLogPropertiesConfigure) &lt;span class="syntax18"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;  13:&lt;/span&gt;                PropertiesConfiguration pp &lt;span class="syntax18"&gt;=&lt;/span&gt; &lt;span class="syntax8"&gt;new&lt;/span&gt; &lt;span class="syntax6"&gt;PropertiesConfiguration&lt;/span&gt;(Constants.PRJ_PROPERTIES_FILE);&lt;br /&gt;&lt;span class="gutter"&gt;  14:&lt;/span&gt;                String configFile          &lt;span class="syntax18"&gt;=&lt;/span&gt; pp.&lt;span class="syntax6"&gt;getString&lt;/span&gt;(&lt;br /&gt;&lt;span class="gutter"&gt;  15:&lt;/span&gt;                        &lt;span class="syntax13"&gt;"&lt;/span&gt;&lt;span class="syntax13"&gt;log4j.properties.file&lt;/span&gt;&lt;span class="syntax13"&gt;"&lt;/span&gt;);&lt;br /&gt;&lt;span class="gutter"&gt;  16:&lt;/span&gt;                FileInputStream istream &lt;span class="syntax18"&gt;=&lt;/span&gt; &lt;span class="syntax8"&gt;new&lt;/span&gt; &lt;span class="syntax6"&gt;FileInputStream&lt;/span&gt;(configFile);&lt;br /&gt;&lt;span class="gutter"&gt;  17:&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;  18:&lt;/span&gt;                Properties props &lt;span class="syntax18"&gt;=&lt;/span&gt; &lt;span class="syntax8"&gt;new&lt;/span&gt; &lt;span class="syntax6"&gt;Properties&lt;/span&gt;();&lt;br /&gt;&lt;span class="gutter"&gt;  19:&lt;/span&gt;                props.&lt;span class="syntax6"&gt;load&lt;/span&gt;(istream);&lt;br /&gt;&lt;span class="gutterH"&gt;  20:&lt;/span&gt;                istream.&lt;span class="syntax6"&gt;close&lt;/span&gt;();&lt;br /&gt;&lt;span class="gutter"&gt;  21:&lt;/span&gt;                PropertyConfigurator.&lt;span class="syntax6"&gt;configure&lt;/span&gt;(props);&lt;br /&gt;&lt;span class="gutter"&gt;  22:&lt;/span&gt;                isLogPropertiesConfigure &lt;span class="syntax18"&gt;=&lt;/span&gt; &lt;span class="syntax14"&gt;true&lt;/span&gt;;&lt;br /&gt;&lt;span class="gutter"&gt;  23:&lt;/span&gt;            &lt;span class="syntax18"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;  24:&lt;/span&gt;        &lt;span class="syntax18"&gt;}&lt;/span&gt; &lt;span class="syntax8"&gt;catch&lt;/span&gt; (Exception e) &lt;span class="syntax18"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;  25:&lt;/span&gt;            System.out.&lt;span class="syntax6"&gt;println&lt;/span&gt;(&lt;span class="syntax13"&gt;"&lt;/span&gt;&lt;span class="syntax13"&gt;Error&lt;/span&gt;&lt;span class="syntax13"&gt; &lt;/span&gt;&lt;span class="syntax13"&gt;:&lt;/span&gt;&lt;span class="syntax13"&gt;"&lt;/span&gt; &lt;span class="syntax18"&gt;+&lt;/span&gt; e.&lt;span class="syntax6"&gt;toString&lt;/span&gt;());&lt;br /&gt;&lt;span class="gutter"&gt;  26:&lt;/span&gt;        &lt;span class="syntax18"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;  27:&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;  28:&lt;/span&gt;        &lt;span class="syntax8"&gt;return&lt;/span&gt; &lt;span class="syntax8"&gt;new&lt;/span&gt; &lt;span class="syntax6"&gt;MyLog4JWrapper&lt;/span&gt;(logInstance);&lt;br /&gt;&lt;span class="gutter"&gt;  29:&lt;/span&gt;    &lt;span class="syntax18"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="gutterH"&gt;  30:&lt;/span&gt;&lt;span class="syntax18"&gt;}&lt;/span&gt; &lt;/pre&gt; 3. Finally, use LoggerManager, and MyLogJWrapper for logging in your J2EE applications, example:   &lt;pre&gt;&lt;span class="gutter"&gt;   1:&lt;/span&gt;&lt;span class="syntax8"&gt;public&lt;/span&gt; &lt;span class="syntax10"&gt;class&lt;/span&gt; MyClass&lt;span class="syntax18"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   2:&lt;/span&gt;      &lt;span class="syntax8"&gt;static&lt;/span&gt; MyLog4jWrapper log&lt;span class="syntax18"&gt;=&lt;/span&gt; MyLoggerManager.&lt;span class="syntax6"&gt;get&lt;/span&gt;(MyClass.&lt;span class="syntax10"&gt;class&lt;/span&gt;.&lt;span class="syntax6"&gt;getName&lt;/span&gt;());&lt;br /&gt;&lt;span class="gutter"&gt;   3:&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   4:&lt;/span&gt;              &lt;br /&gt;&lt;span class="gutter"&gt;   5:&lt;/span&gt;                      &lt;br /&gt;&lt;span class="gutter"&gt;   6:&lt;/span&gt;      &lt;span class="syntax8"&gt;public&lt;/span&gt; &lt;span class="syntax10"&gt;void&lt;/span&gt; &lt;span class="syntax6"&gt;someMethod&lt;/span&gt;() &lt;span class="syntax18"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   7:&lt;/span&gt;             log.&lt;span class="syntax6"&gt;debug&lt;/span&gt;(&lt;span class="syntax13"&gt;"&lt;/span&gt;&lt;span class="syntax13"&gt;Testing...&lt;/span&gt;&lt;span class="syntax13"&gt;"&lt;/span&gt;);&lt;br /&gt;&lt;span class="gutter"&gt;   8:&lt;/span&gt;      &lt;span class="syntax18"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="gutter"&gt;   9:&lt;/span&gt;&lt;span class="syntax18"&gt;}&lt;/span&gt; &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736594067211920?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736594067211920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736594067211920&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736594067211920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736594067211920'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/tips-wanted-to-use-log4j-with-sun-java.html' title='[Tips] Wanted to use Log4j with Sun Java System App Server 8?'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112736543485821807</id><published>2005-09-22T13:01:00.000+08:00</published><updated>2007-09-24T11:31:08.325+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical Discussion'/><title type='text'>Tips: Making Hibernate 3.0 work with Sun App Server 8.1</title><content type='html'>I am struglling a bit recently on making a J2EE references architecture&lt;br /&gt;(JSF 1.1 + Hibernate 3.0) work for our Sun App Server 8.1. for a local&lt;br /&gt;project here. It work finally, here what I have learn:&lt;br /&gt;&lt;br /&gt;1. Always catch runtime exception &lt;br /&gt;Remember to catch the runtime exception in your java program whenever&lt;br /&gt;you calling any hibernate functions. Most of Hibernate exceptions are&lt;br /&gt;runtime, which mean by default most of programmer, including myself&lt;br /&gt;will “forgot” to catch it, and issue printStackTrace( ) to find out the&lt;br /&gt;actual cause of the problem.&lt;br /&gt;&lt;br /&gt;2. Hibernate require few reflection&lt;br /&gt;permissions for data mapping and reflection, adds the following&lt;br /&gt;permissions to your appserver  server.policy, which is&lt;br /&gt;located  at $AppServer8InstallDir/domains/domain1/config.&lt;br /&gt;&lt;br /&gt;grant {&lt;br /&gt;permission java.util.PropertyPermission "*", "read";&lt;br /&gt;permission java.lang.reflect.ReflectPermission "suppressAccessChecks";&lt;br /&gt;permission java.lang.RuntimePermission "getProtectionDomain";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;and finally&lt;br /&gt;&lt;br /&gt;3. Copy Hibernate libraries (together with the runtime libraries, such as&lt;br /&gt;your JDBC driver) to the Sun Java Application Server Class Path. For&lt;br /&gt;Sun App Server 8.1, this will be at&lt;br /&gt;$AppServer8InstallDir/domains/domain1/lib/ext&lt;br /&gt;Restart your application server.. that's all&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112736543485821807?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112736543485821807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112736543485821807&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736543485821807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112736543485821807'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/tips-making-hibernate-30-work-with-sun.html' title='Tips: Making Hibernate 3.0 work with Sun App Server 8.1'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11158661.post-112727533533477747</id><published>2005-09-21T12:01:00.000+08:00</published><updated>2005-09-21T12:02:15.340+08:00</updated><title type='text'>My First Post</title><content type='html'>This is a very first post, just to verify everythings works....ignore it..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11158661-112727533533477747?l=coolboykl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coolboykl.blogspot.com/feeds/112727533533477747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11158661&amp;postID=112727533533477747&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112727533533477747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11158661/posts/default/112727533533477747'/><link rel='alternate' type='text/html' href='http://coolboykl.blogspot.com/2005/09/my-first-post.html' title='My First Post'/><author><name>James Khoo</name><uri>http://www.blogger.com/profile/16227403501629231154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
