My Pages

Monday, January 31, 2011

恶梦

放假了,闲着无事,回去office做工也好。

office冷冷清清的。因为新年嘛,很多人都拿假回家乡。我也是其中一个。但是因为在家里没有事情做,darling也回了hometown,所以我只好一个人回去咯。

做呀做,差不多要放工了。反正我只是回来打发时间的,当然不用像平时那样待到三更半夜嘛。不过,问题来了。我要怎么回家啊?我现在应该在Johor的哦。我竟然回了KL。我要怎么回家啊?Darling又不在这里。谁来载我回家啊?就算我要搭火车搭巴士,也要明天早上才可以回家。怎么办?回PJ还是回wangsa? 我第一次这么彷徨无助。

就在这时候,我醒来了。原来这只是一场恶梦。吓死我了。我第一次觉得,在KL做工要回家是那么辛苦的事。很无奈哦。而且,现在已经习惯darling在我身边了。他一不在,我就好像少了什么一样。唉,我真的很怕。我现在好像已经陷了很深了。是因为热恋吗?都快要一年了哦。我喜欢他好像有增无减哦。万一以后我们有什么冬瓜豆腐我该怎么办啊?亏我还整天笑LH粘他的Si Kak Bang,我好像比她有过之而无不及哦。

唉。。。。。


Sunday, January 30, 2011

希望你很好

刚刚看到facebook,看见你很开心的参加了PX他们的红衣派对,看起来你好像摆脱你妈妈那件事的阴影了。我很替你开心。特别是看到你竟然会参加派对哦。你真的长大了吧。哈哈。不再是以前那个老是躲在家里的小孩了。

闲来无事,就整理了许多旧照片。打开很久都没再开过的folder,原来,以前把你的照片,放在属于family的地方。原来以前我曾经把你当成一家人了。很遗憾,现在我要把你的照片放在friends的folder了。以前和你的亲密照片,我已经全部删除了。我们早就没有什么关系了。不,还有啦,就纯粹的朋友而已。这两年,我们的改变都很大。

以前你曾是我的中心,我曾是你的依靠。不过,现在我已经找到了我的中心。再过几年,我可能就会和我的中心继续人生的另一个旅程了。自从中学毕业后,我们都在各自的地方,照着不同的轨道,画着不同的圈圈。这些都是命中注定吧。我现在的圈圈只有围着darling一个。我希望你能在你自己的圈圈里面,找到新的依靠。不管我们以前曾发生过什么事,我还是把你当成我的朋友。至少你曾陪我走过人生的前半段(还是四分之一?),人生的后半段,我们得各自走下去。我希望你可以和我一样,找到一个你爱她,而她又爱你的人。

如果要我用一首歌来形容我现在的心情,应该只有这首歌吧。=)


爱的代价 - 张艾嘉

还记得年少时的梦吗 像朵永远不凋零的花
陪我经过那风吹雨打 看世事无常 看沧桑变化
那些为爱所付出的代价 是永远都难忘的啊
所有真心的 痴心的话 永在我心中虽然已没有他
走吧 走吧 人总要学着自己长大
走吧 走吧 人生难免经历苦痛挣扎
走吧 走吧 为自己的心找一个家
也曾伤心流泪 也曾黯然心碎 这是爱的代价


也许我偶尔还是会想他  偶尔难免会惦记着他
就当他是个老朋友啊 也让我心疼 也让我牵挂
只是我心中不再有火花 让往事都随风去吧
所有真心的 痴心的话 仍在我心中虽然已没有他
走吧 走吧 人总要学着自己长大
走吧 走吧 人生难免经历苦痛挣扎
走吧 走吧 为自己的心找一个家
也曾伤心流泪 也曾黯然心碎 这是爱的代价

Tuesday, January 25, 2011

没有希望多好。。

没有希望就没有失望,没有失望就不会像现在这样。

我不想假装我没有期待过。

我不想假装我没有对这次的事情很失望。

可是当我老板问起满不满意时,我还是笑笑说满意。

是因为我自己觉得我不够资格得到更多吗?不是啊。应该是我怕别人说我不自量力吧。

螳臂当车,不自量力。

我其实也没有想怎样啊。。我只想拿回我应该得到的。。

唉。。

Friday, January 21, 2011

<转载> 新的旧的都一样

一个朋友的婚礼上
司仪拿出一张百元钞票问在场所有人
谁想要请举手
大家想怕是司仪想出来整人的花招吧?
没人说话

司仪说:
我说真的
想要的请举手

终于有人举手了
接着越来越多的人举手了

司仪看了看大家
换了一张旧的百元钞票
举手的人明显的少了许多

司仪笑了笑了
又换了张皱巴巴的有点破损的旧百元钞票
但是现场举手的人寥寥无几了

司仪请了一位小男孩上台
并把那张旧钞票放在他的手里说:
因为他一直举着手
下面的人哄堂大笑

小男孩的脸有些发红
司仪摆摆手示意大家安静
拿出那张新的百元钞票说:
我这张新的跟你那张旧的换换
可以吗?

小男孩说:
不用了
谢谢叔叔
新的旧的都一样

司仪点点头
让小男孩拿着钱下去了

司仪让新郎新娘手拉手走上台说:
再美丽的容颜总有老去的一天
再浪漫的爱情也会随着生活的变化而变化
就如同我手中的钞票一样
随着时间的变化会慢慢变皱、变旧
但是也像那小男孩说的"新的旧的都是一百元"
它的价值不会因为上面的皱褶而改变
不是吗?

希望新人能懂得爱情真正的价值和意义
不要等到容颜老去
或是激情化为平淡的时候
就忘记了刚才亲口说出的<爱你一生一世>的誓言
请你们珍惜对方一辈子

新人对望了一下深深的点点头
台下暴发了热烈的掌声

大多数的人终其一生
不停地渴望、不停地追求、不停地夺取
却不知道珍惜手边的幸福
到头来一无所有
什么也没得到


Sunday, January 16, 2011

无所事事的夜晚


无聊的夜晚。

Darling已经睡着了。本来还以为我一个人上网,也可以很精彩,可是,好像不是这样哦。

MSN 开着都不知道要找谁聊天。

Facebook的游戏原来也只有在忙碌的时候才特别精彩。

在电脑前面待了几个小时,原来还不到11点。

工作的时候想早点睡都不可以,没有事做的时候却觉得早睡是一种浪费。

唉,人真是矛盾的动物。。。

Saturday, January 15, 2011

什么是感动

什么是感动?
感动是当半夜咳嗽醒来你会在我身边拍着我肩膀,用关心我的囗气问我怎么了。

什么是感动?
感动是你会在我失眠的时候,把我拥在怀里给我最温暖的抱抱。

什么是感动?
感动是看到你对我一天比一天好,一天一天在意我 =)

什么是感动?
感动是你喜欢我的一举一动,甚至会觉得这个从来没被人说过可爱的我很可爱。
其实,你才是最可爱的那个。

什么是感动?
感动是你会为了我掉下男儿泪,会因为我开心而开心,会开始和我分享你的所有不开心,会很无奈的答应我所有不合理的要求,还有你的很多很多•••••

感动是你对我做的一切一切•••••

Wednesday, January 12, 2011

心情低落

Down down down.... Down 到谷底。。

人生有高高低低才算人生?做人还真是辛苦。一时心情 high 翻天,一时心情 down 到谷底。为什么会 down? 不是不知道原因,只是不想说而已。怕说出来会让人觉得自己很小家子气。也怕人家会觉得自己小气。

我羡慕?我妒忌?我为什么羡慕?我为什么妒忌?我有的她没有,她有的我也不见得没有。也许真的是我自己太小气。

我生气?我不爽?我为什么要生气?都不关我的事。我干吗要不爽?别人要怎样是他的自由。你能忽略人家,人家也能忽略你。

反正就是不爽啦。都不知道是不是 auntie 要来了。“显”到毛酱!!!!




Sunday, January 09, 2011

20100108 - Bukit Tabur

第一次的爬山,还蛮恐怖的。脚力真的不够。我们从7点多开始,直到12点半才结束。本来还没什么信心可以完成整个路程的。不过,最后还是做到了。还真的有点小骄傲。至少又有个突破了吧。我老板还说我有爬山的潜质哦。哈哈。

不知名的湖。。不同的高度下看到不同的风景

Friday, January 07, 2011

<转载>帮你是出于交情,不帮你是应该

A不喜欢吃鸡蛋,每次发了鸡蛋都给B吃。刚开始B很感谢,久而久之便习惯了。习惯了,便理所当然了。于是,直到有一天,A将鸡蛋给了C,B就不爽了。她忘记了这个鸡蛋本来就是A的,A想给谁都可以。为此,她们大吵一架,从此绝交。

有一年,很热的夏天,一队人出去漂流。

女孩的拖鞋在玩水的时候,把拖鞋掉下去了,沉底了。到岸边的时候,全是晒的很烫的鹅卵石,他们要走很长的一段路。于是,女孩儿就向别人寻求帮忙,可是谁都只有一双拖鞋。女孩心里很不爽,因为她习惯了向别人求助,而只要撒娇就会得到满意地答复。可是这次却没有。她忽然觉得这些人都不好,都见死不救。

后来,有一个男孩将自己的拖鞋给了她,然后自己赤脚在那晒得滚烫的鹅卵石上走了很久的路。还自嘲说是铁板烧。女孩表示感谢,男孩说,你要记住,没有谁是必须要帮你的。帮你是出于交情,不帮你是应该。女孩记住了男孩的话,自此以后学会了对施以援手的人铭记在心,并给以更大的回报。

很多时候,我们总是希望得到别人的好。

一开始,感激不尽。可是久了,便是习惯了。习惯了一个人对你的好,便认为是理所应当的。有一天不对你好了,你便觉得怨怼。其实,不是别人不好了,而是我们的要求变多了。习惯了得到,便忘记了感恩。

Thursday, January 06, 2011

<转载>Stuck Thread

A stuck thread means a thread is blocked and can't return to the thread pool smoothly in a given period of time. When an application thread is blocked unintentionally, it means it can't quickly complete its dispatch and be reused. In most of production situations, the root cause of these stuck threads is also the root cause of bad system performance because it interferes with regular task execution. [It's also a performance issue for producers and healthy consumers. < 1 ] (request frequency) < (healthy thread count for request execution/average measured request execution time per healthy thread.]

Blocking without specifying a network connect or read timeout is the most frequent reason we have seen. When we don't manually configure a timeout for each method call involving networking, it will have a potential blocking behavior by the underlying physical socket read/connect characteristic. While waiting infinitely for the response from the other side, the native OS networking layer probably throws an I/O exception. By default this behavior takes an unexpectedly long time (e.g., 240 seconds). Modern distributed systems need to factor in this situation (especially, Web Services invocations). Though we may set timeouts for well-known protocols via some system properties (e.g., sun.net.client.defaultConnectTimeout and sun.net.client.defaultReadTimeout), the newer version of JDK might provide a generic mechanism to explicitly configure each default timeout value for those whose methods call socket connect/read as a security policy file. For example, com.sun.jndi.ldap.read.timeout (http://java.sun.com/docs/books/tutorial/jndi/newstuff/readtimeout.html) wasn't available prior to JDK 6.0 for LDAP service provider read timeout. Otherwise, when the problematic code isn't under the control of end users, it usually needs to restart the application to temporarily reset the abnormal phenomenon propagated from the other side. In addition, we should take into account whether the service we called is idempotent while analyzing this kind of issue in the design phase because we don't know whether the service at the other end keeps executing when the thread has ended its invocation after a timeout (see Figure 4).

The unexpectedly long execution time of a SQL statement is a common condition that causes a stuck thread. In the thread dump we collected, we can see that the stuck thread was running a network socket read for a long time without changes and the thread's stack trace contains many JDBC driver classes. Under these conditions, we can also check the status of the database it connected with and set the query timeout for all application code using a JDBC statement setQueryTimeout method. (Most JDBC drivers support this feature but we'd have to read the JDBC driver's release note first.) According to the different nature of every SQL query, it would be better to segregate the programs that have a longer execution time in another thread pool and tune the database table with indices for faster access. We would also need to check whether the JDBC driver is certified with the connected database. A sub-issue is the accessed table locked by other processes so the threads for the JDBC query couldn't continue because of table locking.

Resource contention is an issue that's hard to find if we don't get the entire thread dump to analyze. Basically, it's an issue of producers and consumers. Any limited resources on the system (JDBC connections, socket connections, etc.) will impact this issue. The best thing to do is look at the thread dump, get the stuck thread name from the log, and find the bottleneck that's causing the stuck thread.

File descriptor leaking is an issue that causes this phenomenon (Note that a Unix socket implementation requires a file descriptor). So the JVM should have enough file descriptor numbers to host our applications. Generally, we can adjust the open file limit with the Unix shell 'ulimit' command for the current shell. And we can list the open files with the public domain 'lsof' tool. It's intensely interesting that many developers don't explicitly use the 'close()' method in the final block when an object inherently provides a 'close()' method and want JVM to release these unclosed objects when garbage is collected. We should keep firmly in mind that that act is bad without closing the system resource after use. A special case is when the socket connections in the application don't close properly while still being underdeployed and then the application begins to throw an IOException with a 'Too many open files' message after repeated application redeployment.

Quotes from :
http://java.sys-con.com/node/358060 Looking Inside Stuck Thread

Sunday, January 02, 2011

The Curve - Bubba Gump

That was a few nights after Xmas. Darling said wish to bring me to a better place rather than having dinner around office. "A secret place for us to dinner" - darling said so. Although he had no idea where to eat. We stopped at this restaurant "Bubba Gump". This also the place that we celebrated his birthday for his 25th yrs old.

A good place for prawn lovers. =) Whole menu full with prawn and shrimp. But still provides some others food like fish and chips, chicken chop and bla bla bla. As for a person who doesn't love seafood, i chose fish and chips. =D

The logo for this restaurant, a smiling shrimp. But it doesnt look that cute. haha.


A signboard on the table. "Run Forrest Run", it tells the waiters u do not need their serving at that moment.


"Stop Forrest Stop" - It's time for serve us now. They are very sensitive to this sign. Do not simply flip to this sign unless you reali wish to. haha.