Wednesday, December 31, 2008

From 2008 to 2009

So again its the last day of the year.Its been a long year for me.And now I am planning for what I should do at 2009.
1.Attend scrum master course at beijing at March.
2.Start my personal project,using groovy on grails and related technologies.
3.Get my SCBCD,I tried on 2008 but i failed the test,hopefully can pass the exam this year.
4.Go to travel alone.
5.Gain more knowledge on photo shooting.

That's all, folks.Happy new year...haha...

Wednesday, October 8, 2008

返學打油詩

生係中國人,死係中國魂

要我學英文,梗係冇可能

英語唔合格,更顯我性格

數學唔合格,老師負全責

語文唔合格,我都冇辦法

考試考得好,全靠隔離好

考試考唔好,隔離唔識做

這個中國人,真係失禮人

叫佢學語文,佢話佢低能

叫佢學英文,佢話冇可能

叫佢學計數,佢話會頭暈

考試考得好,全靠運氣好

考試考唔好,完全意料到

唔駛睇相佬,大家估得到

返學九個月 怨聲已不絕

晨早六點九 趕住著衫走

路口等小巴 車費又再加

爬到校門口 仲有幾層樓

望望班房內 竟然冇人在

聽到人示愛 遲到又要再

今日第一堂 學生已發狂

漏帶一本書 九族都要誅

空堂唱下歌 傾計都唔多

科學孖連擊 聽完都唔識

跟住中文堂 擦鞋仔最忙

最後英文科 變曬做睡魔

打鐘各自飛 就咁又一 Day

返學為左乜 日日被糟質

返學等放學 放學飲可樂

Thursday, June 12, 2008

马来西亚的中文

中國人 :今晚你有空嗎?我沒空!
馬來西亞華人 :今晚你得不得空?我不得空!
中國人 :餅干受潮了…。
馬來西亞華人 :餅干'漏風'了…。
中國人 :從上海去蘇州要多少個小時?
馬來西亞華人:從上海去蘇州要幾粒鍾?
中國人 :難道他不可以來嗎?
馬來西亞華人:你不給他不來啊?
中國人 :周傑倫不喜歡穿內褲。
馬來西亞華人:周傑倫不喜歡穿底褲。

中國人 :我一向都是這樣的
馬來西亞人:我一路來都是這樣的啦
中國人 :我的手機掉進溝渠了。
馬來西亞華人:我的手機掉進龍溝了。
中國人 :這樣你不是很不值得嗎?
馬來西亞華人:這樣你'馬'很不 '歹'?
中國人 :你真是聰明!
馬來西亞華人:你真是pan nai!(源自馬來語pandai,聰明的意思)
中國人 :你安靜!
馬來西亞華人:你diam diam!(源自馬來語diam,安靜的意思)


中國人 :我要去銀行取款。
馬來西亞華人:我要去銀行'按錢'。
中國人 :為什麼?
馬來西亞華人:做麼?
中國人 :你很強~
馬來西亞華人:你很夠力~
中國人 :明天也叫他一起去吧!
馬來西亞華人:明天叫'埋'他一起去!
中國人 :我很郁悶~~~
馬來西亞華人:我很'顯'(sien)啊~~~~('顯'比郁悶的境界更高)
中國人 :你再說我就打你!
馬來西亞華人:你再說我就hood你!(有點粗俗的)
中國人 :你在說什麼?
馬來西亞華人:你在說sommok?


中國人 :你不要令我丟臉~
馬來西亞華人:你不要'下水'我~
中國人 :真被你氣到…。
馬來西亞華人:被你炸到…。
中國人 :你別亂來~
馬來西亞華人:你表亂亂來~
中國人 :你很無聊
馬來西亞華人:你很廢
中國人 :XX你
馬來西亞華人:Kanasai(意思是像大便一樣,罵人的話)
中國人 :迫切
馬來西亞華人:bek chek


中國人 :我們一起吃這碗面~
馬來西亞華人:我們'公司'吃這碗面~(源自馬來語的kongsi,就是一起分享的意思)
中國人 :我們結婚吧!
馬來西亞華人:我們結'分'吧!('婚'字受粵語影響,所以音不標准)
中國人 :今天的天氣很熱~
馬來西亞華人:今天的天氣熱到啊。。。。。。。。。。。。。。~~~~~~~('啊'字要拉長,然後沒有下文了)
中國人 :哇!
馬來西亞華人:哇撈weh!!!!
中國人 :我受不了他!
馬來西亞華人:我behtahan他!

Tuesday, April 1, 2008

Some photos - Yong He Gong


Tree beside the temple



Temple

Where should Jason go next?Wondering....


The streets outside of the temple

Temple

Temple

The entrance


Mr Jason,stop blocking the view...haha


Temple



Jason still thinking whether wants to go in there..smoking~~


Turning this may give you better luck...


Thursday, March 6, 2008

Tuesday, March 4, 2008

What my name,Thor means?

You are a seeker. You often find yourself restless - and you have a lot of questions about life.
You tend to travel often, to fairly random locations. You're most comfortable when you're far away from home.
You are quite passionate and easily tempted. Your impulses sometimes get you into trouble.

You are truly an original person. You have amazing ideas, and the power to carry them out.
Success comes rather easily for you... especially in business and academia.
Some people find you to be selfish and a bit overbearing. You're a strong person.

You are well rounded, with a complete perspective on life.
You are solid and dependable. You are loyal, and people can count on you.
At times, you can be a bit too serious. You tend to put too much pressure on yourself.

You are wild, crazy, and a huge rebel. You're always up to something.
You have a ton of energy, and most people can't handle you. You're very intense.
You definitely are a handful, and you're likely to get in trouble. But your kind of trouble is a lot of fun.

Friday, February 29, 2008

Some snapshots of my apartment

The sun doesn't always that shiny here,especially this morning.

The first sight when i wake up every morning.

The drying yard is linked to the kitchen.
The washing machine.

The smallest washing machine i ever see.Its 2.8KG!!

The view form the drying yard window.
A snapshot of my bedroom.



Bird eye view from the window.Its 17th floor of height.
Another view from the window of my bedroom.Nothing much,just some shops.


Wednesday, February 27, 2008

Dream

昨晚,我梦见我在水底
别问我为什么在哪里
这只是个梦
在梦里,什么也有可能发生的哟

看到一大群鱼儿向我游来
在差点撞到我的同时,
巧妙的从我身边游过

看见了很多奇怪的鱼我
看了看自己,
还好,我还没变成鱼,
至少双手没退化成鳍
脚也没变成尾巴

空气,从我的鼻子不停的冒出来
咕噜咕噜的,象是在跟我道别
突然,感觉快要窒息

现在我反倒希望我变成鱼了
或者,变成海龟什么的也行
只要活着就行了

我很努力的往水面上游去
跟空气一起,逃出这个可恶的地方
逃出后能做什么,我也不知道
大概会象 TOM HANKS 一样流落荒岛
还是什么的我只知道,我不属于这里

我不停地游,游了好久,好久
只觉得离水面还有好远
感觉空气越来越少了
我,会死吗?
我惊醒了
昨晚不停重复播放的歌曲, Beatles 的 《Norwegian Wood》仿佛又在耳畔响起

I once had a girl, or should I say, she once had me...
She showed me her room, isn't it good, norwegian wood?

She asked me to stay and she told me to sit anywhere,
So I looked around and I noticed there wasn't a chair.

I sat on a rug, biding my time, drinking her wine
We talked until two and then she said, "It's time for bed"

She told me she worked in the morning and started to laugh.
I told her I didn't and crawled off to sleep in the bath

And when I awoke, I was alone, this bird had flown
So I lit a fire, isn't it good, norwegian wood.

Tuesday, February 26, 2008

One of my favorite article

by:村上春树

四月一个晴朗的早晨,遇见一个百分之百的女孩

四月一个晴朗的早晨,我在原宿后街同一个百分之百的女孩擦肩而过。
不讳地说,女孩算不得怎么漂亮,并无吸引人之处,衣着也不出众,脑后的头发执着地带有睡觉挤压的痕迹。年龄也已不小了---应该快有30了。严格地说来,恐怕很难称之为女孩。然而,相距50米开外我便一眼看出:对于我来说,她是个百分之百的女孩。从看见她身姿的那一瞬间,我的胸口便如发生地鸣一般的震颤,口中如沙漠干得沙沙作响。
或许你也有你的理想女孩。例如喜欢足颈细弱的女孩,毕竟眼睛大的女孩,十指绝对好看的女孩,或不明所以地迷上慢慢花时间进食的女孩。我当然有自己的偏爱。在饭店时就曾看邻桌一个女孩的鼻形看得发呆。
但要明确勾勒百分之百的女孩形象,任何人都无法做到。我就绝对想不起她长有怎样的鼻子。甚至是否有鼻子都已记不真切,现在我所能记的,只有她并非十分漂亮这一点。事情也真是不可思议。
“昨天在路上同一个百分之百的女孩擦肩而过。”我对一个人说。
“唔,”他应道,“人可漂亮?”
“不,不是说这个。”
“那,是合你口味那种类型喽?”
“记不得了。眼睛什么样啦,胸部是大是小啦,统统忘得一干二净。”
“莫名其妙啊!”
“是莫名其妙。”
“那么,”他显得兴味索然,“你做什么了?搭话了?还是跟踪了?”
“什么都没有做。”我说,“仅仅是擦肩而过。”
她由东往西走,我从西向东去,在四月里一个神清气爽的早晨。
我想和她说话,哪怕30分钟也好。想打听她的身世,也想全盘托出自己的身世。而更重要的,是想弄清导致1981年4月一个晴朗的早晨我们在原宿后街擦肩而过这一命运的原委。里面肯定充满和平时代的古老机器般温馨的秘密。
如此谈罢,我们可以找地方吃午饭,看伍迪。爱伦的影片,再顺路到宾馆里的酒吧喝鸡尾酒什么的。弄得好,喝完说不定能同她睡上一觉。
可能性在扣击我的心扉。
我和她之间的距离以近至十五六米了。
问题是,我到底该如何向她搭话呢?
“你好!和我说说话可以吗?哪怕30分钟也好。”
过于傻气,简直象劝人加入保险。
“请问,这一带有24小时营业的洗衣店吗?”
这也同样傻里傻气。何况我岂非连洗衣袋都没带!有谁能相信我的道白呢?
也许开门见山好些。“你好!你对我可是百分之百的女孩哟!”
不,不成,她恐怕不会相信我的表白。纵然相信,也未必愿同我说什么话。她可能这样说:即便我对你是百分之百的女孩,你对我可不是百分之百的男人,抱歉!而这是大有可能的。假如陷入这般境地,我肯定全然不知所措。这一打击说不定使我一蹶不振。我已32岁,所谓上年纪归根结底便是这么一回事。
我是在花店门前和她擦肩而过的,那暖暖的小小的气块儿触到我的肌肤。柏油路面洒了水,周围荡漾着玫瑰花香。连向她打声招呼我都未能做到。她身穿白毛衣,右手拿一个尚未贴邮票的四方信封。她给谁写了封信。那般睡眼惺忪,说不定整整写了一个晚上。那四方信封里有可能装有她的全部秘密。
走几步回头时,她的身影早已消失在人群中。

※ ※ ※
当然,今天我已完全清楚当时应怎样向她搭话。但不管怎么说,那道白实在太长,我笃定表达不好――就是这样,我所想到的每每不够实用。
总之,道白自“很久很久以前”开始,而以“你不觉得这是个忧伤的故事吗”结束。

※ ※ ※
很久很久以前,有个地方有一个少男和一个少女。少男18,少女16。少男算不得英俊,少女也不怎么漂亮,无非随处可见的孤独而平常的少男少女。但两人一直坚信世上某个地方一定存在百分之百适合自己的少女和少男。是的,两人相信奇迹,而奇迹果真发生了。
一天两人在街头不期而遇。
“真巧!我一直在寻找你。也许你不相信,你对我是百分之百的男孩。从头到脚跟我想象的一模一样。简直是在做梦。”
两人坐在公园长椅上,手拉手,百谈不厌。两人已不再孤独。百分之百需求对方,百分之百已被对方需求。而百分之百需求对方和百分之百地被对方需求是何等美妙的事情啊!这已是宇宙奇迹!
但两人心中掠过一个小小的,的确小而又小的疑虑:梦想如此轻易成真是否就是好事?
交谈突然中断时,少男这样说道:
“我说,再尝试一次吧!如果我们两人真是一对百分之百的恋人的话,肯定还会有一天在哪里相遇。下次相遇时如果仍觉得对方百分之百,就马上在那里结婚,好么?
“好的。”少女回答。
于是两人分开,各奔东西。
然而说实在话,根本没有必要尝试,纯属多此一举。为什么呢?因为两人的的确确是一对百分之百的恋人,因为那是奇迹般的邂逅。但两人过于年轻,没办法知道这许多。于是无情的命运开始捉弄两人。
一年冬天,两人都染上了那年肆虐的恶性流感。在死亡线徘徊几个星期后,过去的记忆丧失殆尽。事情也真是离奇。当两人睁眼醒来时,脑袋里犹如D。H劳伦斯少年时代的贮币盒一样空空如也。
但这对青年男女毕竟聪颖豁达且极有毅力,经过不懈努力,终于再度获得了新的知识新的情感,胜任愉快地重返社会生活。啊,我的上帝!这两人真是无可挑剔!他们完全能够换乘地铁,能够在邮局寄交快信了。并且分别体验了百分之七十五和百分之八十五的恋爱。
如此一来二去,少男32,少女31岁了。时光以惊人的速度流逝。
四月一个晴朗的早晨,少男为喝折价早咖啡沿原宿后街由西向东走,少女为买快信邮票沿同一条街由东向西去,两人恰在路中间失之交臂。失却的记忆的微光刹那间照亮两颗心。
两人胸口陡然悸颤,并且得知:
她对我是百分之百的女孩。
他对我是百分之百的男孩。
然而两人记忆的烛光委实过于微弱,两人的话语也不似十四年前那般清晰。结果连句话也没说便擦身而过,径直消失在人群中,永远永远。
你不觉得这是个令人感伤的故事么?
是的,我本该这样向她搭话。

Monday, February 25, 2008

Keroro = Olympic Mascot!?

To 讨厌鬼

开朗的你,不见了
是什么把它带走了
是工作
是生活
还是那段已逝去的爱情

我相信,
时间会给你带来忘记
忘记了烦恼,
开朗的你,就会回来了。。。

Sunday, February 24, 2008

Some pics I took

Walking on the street
Walking on the street
Check out the amount of bicycles
Some local old neighbourhood
Some local old neighbourhood

Monday, February 4, 2008

What if you were told ...

Lately we've been busy with the relocation to Beijing,China. The management actually let each of us to decide whether we want to go or not.For me,its actually a good chance to expose to different environment,therefore i agreed to go.But there is one guy that can't make up his mind whether want to go or not.He just have far too many concerns,like what to do with current credit card,buying new pc so that if the family pc spoiled there is a backup etc etc.So yesterday he mentioned some other reasons again.Of which i have been told are Beijing is very crowded,because of the population its quite hard to find food in Beijing,and Beijing is full of bicycles.I was like, what the fuck,what are the bicycles have anything to do with our work there?As a capital of China,what are the possibilities that we can't find food there.I am really speechless on this.
If I am your CEO and I ask you to go Beijing.Here are my promises
  1. Beijing is not crowded
  2. Beijing can find good food
  3. Beijing is not full of bicycles
Would you even go?

Thursday, January 3, 2008

Change log4j properties dynamically

Most of the time,we will define log4j properties in a log4j.properties file.But sometimes,we might need to modify the properties value dynamically,instead of keep modifying the properties file.Example,we want to log a file with the timestamp as file name everytime we run the application.So, here is how we do it.

In the properties file,we will have something like this.
log4j.appender.fileAppender=org.apache.log4j.FileAppender
log4j.appender.fileAppender.File=logs/${logFileName}
log4j.appender.fileAppender.Append=false
log4j.appender.fileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.fileAppender.layout.ConversionPattern=%d [%-5p] %c{1} - %m%n
You will notice that we have a ${logFileName} in our properties file.This is meant to be substituted later.So when we run the application,we will type the following command
java -DlogFileName=20080104.log YourClass
Happy programming. :)