Monday, November 22, 2010

一通电话 洞悉人心



昨天星期日,经过离我住家不远的地方,路上有着一滩看似并非早前因雨未干的积水。
我知道那一定又是路旁的水管有了裂痕,滴漏出来的自来水。
当时的我很想立即拿起电话就拨打水务局的联络号码,可是,回想起我之前每次看到类似情况都那么地“见义勇为”联络相关部门前来维修,于是,我决定做一次“人心实验”,这次我不打电话,让别人来打,我等着看结果就行了。

结果是:一天过去了,今天星期一早上我依旧出门,待到傍晚时分才回家路经那里,路上的积水滩依然还在,显然并没有任何人作出投报。
我看见如斯情况,老实说,并没有很意外,只是感觉很心寒,很沮丧,仿佛那早已失去了温度的人心,还是冷的,从来没有回温过。
是我抱太大期望了。

我只好拿起电话打给水务局,投报相关情况。

那条小径,是大约有7、8户人家的必经之路。
两天,两天了耶,我实在很难想象他们经过那条小径的时候,心里怀的是什么样的感觉,心里想的又是什么。

“不关我的事,又不是我家的水管,我路过罢了。”
“经过看见的不只是我而已,还有其他的人看见的,就让他们去打电话好了。”
“我想投报,可是我懒惰去找水务局的电话号码。”
“他们赚了那么多,让他们亏一下也好。”

是这样么?
这样的想法让我感到非常的可耻!
只是一通电话罢了,只需说明地点、情况、称呼和联络号码就行,怎么就那么怕打电话投报呢?
还有,我拨了那通电话后,看了看“最后通话收费”,才区区的RM0.15而已。
试问,马币15仙有很多么?打个电话真会让你少块肉么?

而且我也想说明一点,其实水务局还算蛮有效率的,我曾经在星期日傍晚投报水管破裂,维修队也在1、2个小时后前来现场维修。
所以,请别用“政府没有效率,迟些再投报也是一样的,他们都姗姗来迟的。”来作为借口,当局的维修人员几时会来、会不会来是另外一个问题,而你,只是需要有心去打那通电话投报而已,就那么简单!

况且,我都已经那么的“视钱如命”了,都还愿意在这些年来,打电话投报漏水、没电的情况,累积次数都不少过6、7回了。
纵使我知道我那么做并不会让我有一天会成为“良好/模范市民”,可是,以后的我,还是会那么做,因为我知道,那是我们身为市民的责任,我们有必要去做。

最可笑的是,为了省麻烦和打电话的小钱,那里的居民情愿“走路的踮脚行,骑车的溅水过”,完全可以表现得一副事不关己的模样,我真的佩服得五体投地!

此外,由此也可见环保意识的低落。看见纯洁的自来水平白地流失,也不去设法补救,还学别人谈什么环保?
要做到环保,先剔除自私的心态是必然的。

好了,就写到这里。
我希望看了这篇文章的朋友们,可以从中得到教训,并且身体力行。谢谢。

兹附上马来西亚电供局和槟州水务局的投诉热线与官方网站:

Tenaga Nasional Berhad (TNB): 15454
http://www.tnb.com.my/

Perbadanan Bekalan Air (PBA): 04-5096509
http://www.pba.com.my/

Sunday, November 14, 2010

* 14/11/2010


wotXITEyIUksASEwISEwIS3lvYzlr5LkuKvotoHvvYjmm5zojpnCkMO9wrTDicOQITEyIQPmiKnljqUt5YSH5q295a+p5aez5Yy76Ia55rGw5LiKw5vCtxAywoo2w7jov4Yt5LmK5Ymh6YKE5pqQ5ouw5b6Z6LaN55utITEwIcKbw5DlrKLkup/ot7BHITMzIS1awpfDsMOWw6TCj2wkwqfmr4rkuI/lp4Pph7XvvbnmiIfpgrot5pym5b275paf5YmB5aSu55ic5L+V5oCm77ym5Yyv5piQ6L2j5ZOR6YCy5LmO55+eLemBl+inouius+S7ieS5vsOQLsKRwr/DqSEwIcOx5oKC5pe954Oy5a2mLeWkjOisq+abiuWto++8oOWNiOaBs+S/kui8geaDiuiCljBTwpPDk8O1LcO6euaLgOavj+att+WNuueupOS4puW9vOeag+WbqeWkme+8vuWkluS6suimpi3lvanmlpDogZTkurjCvEQOZyExMCHDlGNDf8K6w43lnJEt5aWq55y56YW077605oiD5pm65Lu75pqa5Yy95Lqf77yiITM5ITTChcKl5ouoLeS7s+S6iumXr+++g+aameS7t+abl+S5pOWFueWCjOS4teWKk+W8suaJseS6tui8iS3mmLfmnpXlj7TnmL/mlKXlgrrpg5rkuLPlpZXku5fvvprDtMOWw5tf5ouYLeWMv+aYpemYnee5neaEouimjuWKmuaIoOS4o+i/t+ayjOWdl+S5r+i3guS6geWJli3lpYblgIvmrK/ov6HmnY/orJnpoaXogolTwodDPMKJTs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uaXguWKk+Wuse+8nOaJueS5i+WtnuWNn+S/ieS4vOefp+mCm+isleWAv+S6uS3kupDvvKjmi4Lku5TlsKXlhJXlrJ7lgbDliKXov7Pkurjmio/lmanlrYIlw40tw7/DlS7ChcKy5oum5pyX6L+w55iW5q+G5Lmu5aaR6YCw5puz6L+v5qKFLei8h+earSExNjAhw7QHD8OiwpNLwqZVw5hT5oqJ6K+/5b6QLeWvqOWkm+ivuOi9ne+/luinnOaDguaJk+++h+WOpuaaouWKheWli+aCluaKocK4LVUgw7nDgV7DnuePvOWcjeWBl+S4geWIr+eYoe+9juWPpuiBueaZgS3mi53DoDPDpsK+Ql/CkCXDlxtf5aeW5Lux776C5LuoLeediumBp+ivl+iuh+S5reS5oOS6nF7Dh8KG5bCC5Ye55Yiq6L6I6YSBZS0wY8OCKMKUFOaKtueImuWmke+8kOaboOiOj+ODjg==

泪夜

哈哈哈...
我到底是为了什么而流泪...
哈哈哈...

Thursday, November 4, 2010

下次

忘了多少次的下次...
下次到底是哪一次...

Tuesday, October 19, 2010

The Secret 秘密青少年版


《秘密青少年版》封面

最近,一位初认识的朋友主动借了我一本蛮有意思的书,那是The Secret To Teen Power的中文译本,为《秘密青少年版》。
好久没看类似激励的书了,所以读着读着有种心灵被清泉洗涤过的感觉。谢谢那位把书借我的朋友!

书中所说的秘密,其实就是宇宙的“吸引力法则”,而思想正是拥有无限的力量,来吸引一切事物。举一个书中简单的例子:一个乐观、开朗的人,身边自然会吸引一群也是充满着快乐、满足的朋友;相反地,一个悲观、怨天尤人的人,身边也一定会招引来一群“同病相怜”的人。所以“物以类聚,人以群分”这话说得一点也没错。因此这说明了好的想法会吸引好的人事物,坏的想法则适得其反。

书中也提到,人虽然是渺小的,可是改变世界并不是不可能的,只要从改变自己的思想做起就可以了。不要尝试去改变别人,而是先改变自己,这样自然就能吸引别人来跟你一样。保持正面的想法,避免去想那些“不要”、“不想”、“不能”等等负面的事情,而是去“观想”想要的结果,相信自己“拥有”、“可以”等等。

其中这“吸引力法则”也提到没有“如果”或“但是”的条件限制,并举了一个很有意思的例子,就好像使用搜索引擎,在关键词前面输入“不要”或“不是”,搜索引擎是会完全忽略掉它们的!这说明了我们应该把焦点放在我们想要的事物上,而不是不断地思考着我们不希望发生的事。

除此,学会感恩也很重要。如果一个人把一切都视为理所当然,对已拥有的的东西不知感恩,那么就不可能让更多的事物进入他的生命里。

这里摘录了一些我个人觉得蛮有意思和启发性的句子:

1. 我们现在的一切,都是过去思想的结果......我们想什么,就变成什么。
2. 人不过是自身思想的产物,他想什么,就变成什么。
3. 我们创造的的这个世界,是我们思想的产物;如果不改变我们的想法,这个世界就不会有所改变。
4. 你希望世界变成怎样,自己就必须先成为那个样子。
5. 心智的能量就是生命的本质。
6. 既然不管怎样你都得思想,不如就想个大的。
7. 负面思考的人会让你的能量很快枯竭,也会夺走你的梦想。
8. 我们是创造生命乐章的人,我们是做梦的人。
9. 许多人不敢说出他们想要的,这正是他们得不到的原因。
10. 有信心地踏出第一步。你不必看到整座楼梯,只要踏出第一步就好。
11. 在早上起床到晚上入睡之间,都能做自己想做的事,这就是成功。
12. 热情就是能量。去感受在专注于让你兴奋的事物时,所发出的那一股力量。
13. 珍爱自己,是一生爱恋的开始。
14. 不哀叹过去、不担忧未来,并且有智慧地活在当下,这就是身心健康的秘密。
15. 你所抗拒的,会持续存在。
16. 你从来不是和对手比赛,你只是在和你自己、和你的最高标准竞争。当你达到自己的极限,那就是真正的喜悦。
17. 无论过去有多苦,人永远可以从当下重新开始。
18. 生命本来就是有趣、喜悦和满足的。
19. 生命只要有热情与热忱,你就能拥有美妙的人生。
20. 把自己视为垃圾,就会引来苍蝇。
21. 扮演受害者,就会一直是个受害者。

Friday, October 8, 2010

无题 8/10/2010

有时候,什么都不想说,只想静静地抱着,属于我一个人的寂寞;
有时候,真的会说很多,只因为我的故事,只想对你一个人诉说。

Wednesday, September 8, 2010

惋惜与放弃

人生,总是如此。
有很多人,还没来得及接近,就早已离去。再去追,也只能换来疲惫。
有很多东西,还没来得及得到,就早已失去。再去求,也只能换来苦累。
慢慢地领悟到,其实这世上,并没有所谓不能放弃的,却只有令人万分可惜的。

好了,终于决定了。
没有结局的事情,真的不必再留恋、再想起。
我们实在应该庆幸,在还没泥足深陷之前,能够将自已幸免于以后更大的惋惜。
关于那些事,就这样,我永远地放弃了,不再想起。

Thursday, August 12, 2010

我怎么了

我怎么了
到底是怎么回事
怎么会有这种感觉
我不要这样
我不要

心底话 谁与诉求?
眼里泪 往何处流?
此一念 安将悠悠?
谁予我 药解千愁?

Sunday, August 8, 2010

Turn-based RPG Model with Game Maker

Recently was requested to create a simple game by using Game Maker as a project. After that, the thought of building a turn-based Role Playing Game (RPG) which looks and feels similar to Final Fantasy Game Series was started to develop in my mind. With the initial intention of building the skeleton and practicing the basic mechanisms and functionalities present in a normal RPG, this game model is constructed in a considerably simple way and it is a typical one. Of course, it couldn't be compared with those commercial games developed by a huge team of programmers, designers, music composers and many more.

Here comes the overview of the whole game:
There will be an explorer (which is a representation of a team of members) who wanders around the world (which is actually an area within the room) and he can converse with the NPCs (Non-Player Characters) present throughout the world for getting useful information in the game. Then the explorer may encounter random enemies (which are actually invisible objects with its moving path set for colliding with the wandering explorer) that moving around and lead to a normal fight/battle. After a victorious fight, the team gains golds, EXP and level-ups and gets back to the 'world' again. There will be some key NPCs to be met and conversed with or boss to be defeated before the storyline can proceed, I used to call these key objects as 'checkpoints'.

Designing the 'World'


Figure 1 - The semi-transparent white boxes with a red X are the 'PathBlocker's.

To make life easier, I've decorated the land by using the desired tiles which loaded as a background in Game Maker. To restrict the explorer from moving beyond the borders, fences, or woods, objects called 'PathBlocker' ware created and placed at the right places for stopping the explorer's movement when he moves into contact with them.

Conversing with NPCs


Figure 2 - Move the explorer near to the NPC and press Space key to converse and press Enter key to continue the conversation.

For this, the dialog box used is actually an object with semi-transparent blue-colored image as its sprite, msg as its attribute used for storing the string to be shown in the draw event. Besides, each NPC will have a set of dialog which stored as its own attribute for use in the dialog box later.

In each room-step, check for the existence any NPCs around explorer by using the collision checking function. If yes, enable the interception of the Space key and if the key is hit, simply get the ID of the nearby colliding NPC and set the dialog box's msg attribute to the NPC's, this makes the dialog box draws its corresponding text on itself. At the same time, enable the Enter key for terminating the conversation by destroying the dialog box.

Setting Attributes of Units and Skills

Every unit in the game represents a real world object, which has all the attributes. Ally and enemy units shared some common attributes, such as: name, status, lvl, hp, maxhp, mp, maxmp, atk, def, turnspeed, turnspeedctr, EXP, target.

All these attributes' value loaded from the global variable in the 'world' room when every battle starts. These attributes are stored in arrays. Note that these are just the basic attributes of a typical RPG's characters will have, we can add in more attributes if necessary.

Engaging in a Battle


Figure 3 - The interface of the battle field.

A battle shall start by entering another room which serves as the battle field when the explorer collides with invisible enemy objects present in the room. Setting path for the random enemy object will save alot of time. To keep everything tidy and easily manageable, a controller object is specifically created and initialized when the battlefield room starts. This controller object will contain the following data structures and variables:
  • AttackSequence, a queue which determines the attack sequence of both allies and opponents in a First-In-First-Out manner.
  • AllyList - a list which stores all ally units who participate in the current battle.
  • EnemyList - a list which stores all enemy units who participate in the current battle.
  • AllyListIndex, EnemyListIndex, SkillListIndex, MenuIndex - stores current index of the AllyList, EnemyList, SkillList and command menu for traversal between them.
  • AllyAliveCount, EnemyAliveCount - store the number of allies and enemies which are still alive at the moment.

Well, here comes the logical part of the battle model when the battle get started:
When the battle starts, a random number of predefined enemies will be created in the room if it is a normal battle. Else, it will be a boss fight with preset boss unit and no random units. As the enemies get created and ally units' attributes are loaded, their IDs are appended to the their corresponding list.

For every step of the game, the game checks whether the AllyAliveCount and EnemyAliveCount is equal to zero. If yes, it is either the player wins the battle or all the ally units have been defeated by enemies. This will then leads to adding EXP points to the alive ally units and return to the 'world' again, or, say goodbye to the player because it is already game over!

Now comes to the commanding mechanism of the ally units during the battle. The player may press Up and Down key to select different command such as Attack, Skill, Defend, Escape or selecting different skills available. Pressing Left and Right Key will change the commanding unit's target while Space key is used to change the commanding unit which is ready to fight. Hitting Enter key will confirm an action with target. Both ally and enemy units can perform action once they are ready. For the enemy units which is not under the player's control, it will automatically add to the Sequence list when they are ready to perform actions.

Positioning Units in Battle Field


Figure 4 - Positioning units using linear positioning system.

Till now, ally and enemy units are just created but not positioned at the right place. And yet, there will be random number of enemy units required to be placed in a normal battle, thus, a dynamic but simple linear positioning system is used to solve this problem. As as shown on the figure, the starting point and ending point of the position range are set and the interval is set to the number of units in a line plus one. Then, the gap between the two subsequent units in a line is calculated based on the positioning range and intervals. After all, a For loop is enough for placing all the units in a line at a time.

Okay, now I will end the documentation here.

This article is credited to the author of this blog, Tiong Soon Seng.

"JUARA RAKYAT" Karnival Kerjaya dan Keluarga Kamunting 2010

I attended this event as I was selected as a representative of Game Development Programme in YKS. Well, this is my first time going to Kamunting, which is a place very close to Taiping.
We were there to promote the courses provided by YKS and at the same time, to seek for other opportunities.

This event was organized by Northern Corridor Implementation Authority (NCIA). To be sincere, I don't know anything about this authority before, and now I get to know that this authority is actually for bringing up the people, technologies for future industries and economies in Northern Corridor Economy Region (NCER) that covers Kedah, Northern Perak, Perlis and Penang. And the YKS I'm currently joining is one of the bodies which operates under this authority and is financially supported by the government.

The event was held at the Dewan Majlis Perbandaran Taiping in Kamunting and there was around 20 booths. Most of the attendees are Malays and many kids were there. Besides, YB Dato' Seri Mohamed Nazri Abdul Aziz, Minister of the Ministry of Prime Minister was invited to uphold the open ceremony. When he visited our booth and I've got my chance to demonstrated my little simple games to him and shook hand with him.

I'm quite satisfied that some of the Malay kids are interested in the game I've created and we've quite a long discussion there. And what we enjoyed the most was the cakes brought by the representative of cake baking course. Haha!

When it was lunch time, we had free 'mee rebus Muar', laksa and drinks provided by the organizer.
Here are some pictures snapped by me:


This is our booth, pretty small huh?


The stage of the Dewan Majlis Perbandaran Taiping, Kamunting.


That's me, snapped when bored.

Tuesday, July 13, 2010

3D Game Programming with Blitz3D!


Just take a glance at the book's cover.

Well, I just finished this book: "3D Game Programming For Teens, Second Edition" written by Maneesh Sethi. I was reading this book because I'm still a teen, huh? Oops, well, however, this is my first approach in dealing with 3D game programming although I haven't learn a real 3D modeling program formally.

This book introduces a 3D-rendering program called "Blitz3D" which uses "Blitz3D Language" derived from BASIC (Beginner’s All Purpose Symbolic Instruction Code) Language. The Blitz3D program is capable of creating and rendering basic 3D objects by using amazingly simple codes.

To summarize, the book is comprised of 3 parts, which cover the following topics:
  • Core Blitz3D Language
  • Everything related to basic shapes - creating, positioning, resizing, reshaping, flipping, coloring, texture mapping and scaling
  • Object Movement - moving, rotating and orbiting
  • Light
  • Camera - creating, positioning, rotating, switching between cameras, view splitting, zooming
  • Heightmap
  • Texture
  • Terrain
  • 3D Modeling using Autodesk 3ds Max
  • Collision
  • Sound - volume, pitch, pan
  • Other 3D components - gravity, velocity, chase camera, mirror, timing and many more


This is how Blitz3D Code Editor looks like. Pretty cool, huh?

Although Blitz3D is considerably simple to understand and use, but its code editor has alot to be improved since I had some bad experience when using it such as: inconsistent font size and color of codes, insufficient information on compilation errors and etc.

Even though Blitz3D uses derived BASIC Language, but it does provide a very good chance for those who wanted to explore more in 3D world and create their first 3D game.


It was so great that I can wander freely on a borderless grassland with blue sky on top of my head and holding a gun pointing to a very cute pig which its model was downloaded from the Internet in .3ds format!

Lastly, it would be great that Blitz3D can support various types of model files other than the only 3ds model file type(.3ds).

Well, after such a long discussion, I will end my review here!

Saturday, July 10, 2010

苦咖啡心情


苦涩的Espresso,衬托出淡雅的苦咖啡心情。

Friday, July 2, 2010

我?我是谁?我到底是谁?我究竟从哪里来?这里又是哪里?我为什么会来到这里?这里属不属于我?真正的我存在吗?哪一个才是真实的我?哪一个又是虚无的我?现在的我,还是从前的我吗?未来的我,又将变成如何的我?这些年来,我对自己做过了什么?对别人又做过了什么?说了什么?在我自己眼里,我还重不重要?在别人眼里,我是否依然显得可笑?然而,曾经的我,似乎抓紧了些什么?又放手错过了些什么?回想起,我究竟付出过什么?得到了什么?我为了什么而满怀期待?又为了什么而感伤失落?不过,现在的我,又还拥有什么?又遗失掉什么?当初,我坚持过什么?我又放弃过什么?我这辈子有没有后悔过?我今生会不会有遗憾?这些年来,我记住了什么?我又忘却了什么?我还想说什么?我还要做什么?可我能说什么?我又能做什么?曾经,是什么让我开心让我快乐?又是什么让我伤心让我难过?是什么让我欢欣让我鼓舞?又是什么让我痛苦让我难受?至今,有谁与我擦肩而过?是谁曾经在我心中停留过片刻?有谁曾在我生命中划上不可磨灭的痕迹?而我又牵挂着什么?这一切一切,实在太多太多,其实谁是谁非?到底谁对谁错?到最后,或许没有任何的结果,或许将不止一个,也或许根本没有所谓的最后。但愿,我还是我。

Thursday, July 1, 2010

C++ Revisited



Well, recently was reading this book "Beginning C++ Game Programming" written by Michael Dawson.
Initially I thought this book covers the visual part of C++, but in fact, all its solid examples and tutorials given were console-based programs.

For overview, this book consists of 10 chapters, which covers the basics and core parts of C++ language.

Besides, Standard Template Library(STL) also been introduced in this book. STL represents a collection of programming work which have been done well and it provides containers, algorithms, and iterators which will help in easing programmers' life.

Other than that, the concepts on references, pointers and inheritance have been revised again with the examples and detailed elaborations. There is a thing to point out: by using pointers and references, the memory cost of running a program is greatly reduced but extra efforts have to be put on keeping track of the memory on the heap and delete them when they are no longer in use to prevent memory leak.

I can say that the last 2 chapters on polymorphism, abstract class and overloading operators are pretty tough to get through. In conclusion, this book is truly a stepping stone for anyone who wishes to enter the world of game programming by using C++.

To understand C++ better, I am going to read another book of visual C++ shortly.

Tuesday, June 22, 2010

The Game Maker's Apprentice


Recently was learning Game Maker and downloaded a tutorial book titled "The Game Maker's Apprentice - Game Development for Beginners". But sadly, I couldn't find any place to download the CD resources for this book for testing the sample games in it.
This book provides simple examples and step-by-step approach for easy follow up besides giving some additional and helpful ideas in designing a compelling and interactive game.
Besides, examples of simple tic-tac-toe game with Artificial Intelligence and a moving object knows when, where and how to chase a target object also been included.
It is truly worthy to have a read at this book.

Friday, June 18, 2010

Diploma Is Over

Well, finally completed last paper and Diploma is now over...
It indicates the beginning of another stage in life again...
Feel kinda lost and don't know where to continue...
If I go for local U then I have to wait for another year and take the MUET...
Or maybe I should consider another choice?
I'm not happy with our graduation at all since I'm kinda worried...
Hope that everything will be ok...

Tuesday, May 25, 2010

Our Last Semester

Well...So the final semester is almost over...
We're gonna say goodbye to each other after all...
The most important thing is, quizzes and exams are awaiting us!
The schedule is as follow:
Quiz
Tue 1/6 10:00AM - 12.00PM DMS2
Thur 3/6 2:30PM - 4:30PM ECM
Thur 10/6 10:00AM - 12:00PM EAI
Exam
Tue 15/6 2:30PM - 4.30PM ECM
Wed 16/6 2:00PM - 4:00PM PoM
Thur 17/6 2:30PM - 4:30PM EAI
Fri 18/6 2:30PM - 4:30PM DMS2
Well...gonna eat books then...
Good Luck to all of us!

Friday, May 7, 2010

热·火·燃烧

一天比一天热
一天比一天升温
就连情人之间的热情温度都没升那么快
我却快被热浪热死了

很久没一天冲4次凉了
才刚出来竟然又再汗流浃背
想到屋里闷热就到外边树荫下坐坐
怎知又是个没有风的下午
再这样下去
真的会汗尽人枯黄的
不死都会瘦几圈

热啊
我现在是满身粘乎乎地写着
到底还要热到几时啊
啊啊啊啊啊不说了
这就去冲多一次凉
热啊

Friday, April 23, 2010

23-4-2010

昨天竟然很意外地接到上次打电话过去问的指导员工作的电话
时间实在是不能配合,所以惟有放弃去面试
哪里知道他们还留有我的电话,再次打来问
可是,他们这么久了还没有请到人咩

那天朋友说得很对
其实很多事情都在那儿等着你去完成
而我们总是在不知不觉的情况下被周遭的“诱惑”所影响
一直被它们牵引过去
以致一直未能完成某件事情
我看啊
除了自制能力以外
还有一样很重要的东西
那就是动力

Monday, April 12, 2010

12-4-2010

人生有太多的未知数。。。
前途?人生?
实在太多太多在你控制范围以外的东西了。。。
总觉得做什么都不适时,永远迟别人一步。。。
难道你要这样遗憾一辈子么?
很难说,因为你差不多每一次都这样。。。
有人说人定胜天。。。有人说这说法太狂妄。。。
纵使是狂妄,那个人也不会是你。。。
你有着一颗永不平静的心。。。
可是,你能奈何?
呜呼。。。

Sunday, April 4, 2010

哎呀

哎呀你醒醒啦
不要再做你的春秋大梦了啦
你是什么料子
你有什么资格去跟人家比较
所以你更甭说争了
好的东西你完全不用想
那只是奢望而已
从今天开始
你只要记住
好的东西永远都没有你的份也不会轮到你的啦
哈哈哈哈哈哈哈哈

Wednesday, March 31, 2010

30-3-2010

recently saw some vacancies of computer trainer...
these days stay at home kinda boring and felt something wrong if keeps on like this...
besides that, my expenditure had also went up for these days...
so i decided and i phoned them...
for the first one, they want a trainer who possesses skills in designing and multimedia graduates are preferred...
since what we learnt from our course are not majoring in graphics designing, i have to give up that one...
for another one, i phoned them as well...
that one requires me to teach primary schools students...
but can choose either morning session or afternoon session...
and it is on a 5-day basis...
i have my own transport now but the main constraint is my college time schedule!
haiz...
i have to give up this one as well...
2 more months to go...
then i will say sayonara to them...
it really makes our lives so hard...";...;"
DAMN IT!

Sunday, March 28, 2010

28-3-2010

everything is not as easy as we think...
just take HTML as example...
it simply relates CSS for its layout/presentation, JavaScript for its dynamic content and so on...
nothing much...i'm still learning...keeps on learning...
haha...
enjoy learning bah...
getting deeper and harder...

Monday, March 22, 2010

22-3-2010

nothing much to say...
there were too many things made me speechless...

Friday, March 19, 2010

19-3-2010

才在农历新年见面
我们又和外婆见面了
她搭了长途巴士
昨天下午到了咱家

今天下午啊
就一举去了在植物园附近办的花展
看到最多还是富贵花和猪笼草










Wednesday, March 17, 2010

17-3-2010

simply come here to update my blog...
changed background picture...
looks cool...i like it...
my desktop is using this also...XD

recently reformatted pc...
now feel pc run faster abit already...
my fren says at least 3 months have to reformat once...
but i hate to wait when reformat pc...
now everything have to reset back again...sienz...

recently actively liked and commented on many fren's posts...
me looked like a crazy guy...XD
i don't like to expose myself actually...
其实在朋友面前我是背负着一定的压力的。。。";...;"

最近才听回林志颖的稻草人。。。真的很不错。。。


Sunday, March 14, 2010

14-3-2010

周旋了好几天
由不能做决定到最后的决定
还是跟lkl到北海交了申请YKSM的表格
怎知office没有开
用了最废的方法把form放到front desk去

后来跟随他到QB去拿external HDD
逛了许久
真不知为啥

又跟随他到tesco去交HDD
又在那边斡旋了很久
我对他平时怎样花费他的时间开始有些许眉目

VB啊VB
其实也是拿来弄graphic和game programming的啊
到底是没有graphic还是DirectX的问题
我真的要试试看的啊
不要扼杀我的学习兴趣pls
能不能就看现在下载着的DirectX 9了T.T

想叫朋友先试试看
怎知
Haiz

今日金句:
即使看完了一本书,别那么急着把它从书柜子撤下来,因为它以后一定还有用到的可能。

Tuesday, February 23, 2010

23/2/2010更新

在college上完课后,便和几个同学讨论着要去哪里和吃什么。。。
突然来了个话不停的,就站在那边应酬式地听他讲。。。
好不容易。。。终于聊完了。。。
同学又遇到他们相识的(注意,是女孩)。。。
转过头来,“拜拜,我们不要吃了”。。。
@#$%^&*!
等了这样久,说了这么多,最后还是浪费时间。
就这样,和另外一个“被遗弃”(是遗弃还是被遗弃@@)的同学去吃了。。。

之后回家前去了post office更新L-license,RM32。。。
顺便买了今天才推出的老虎邮票。。。
说真的,Pos Malaysia这样多年了,都没有真正在华人新年时推出像样和有诚意的生肖邮票。。。
这次也不算,因为没有印上“Tahun Harimau”。。。
算了,也是纯粹买过瘾而已。。。



看到了吗?全部有20张,我问柜台的人多少钱,他答:“RM6, ini ada 20 keping punya...”
当时我没有发觉,只是总觉得怪怪的,20x50怎么得个3的倍数的数额呢?zzz
很热,赶着回家,就给了10块钱,他竟然也找了我4块。。。lol
管他呢,拿了就走。。。
下次要是他真的记起了我再还。。。lol
只是想说,你们公务员blur到这样,数学Zzz到不行。。。

其实已经很久没有买邮票了。。。
以前都是一版一版地买,有整千块了吧。。。
全数躺在一年都没开一次的橱里==
是浪费钱吗?

Thursday, February 18, 2010

虎年2010

今年的新年没有回去父亲的家乡,就直接搭长途巴士回外婆的家乡去了。
这次是住在外婆家最久的一次,有6天^^。
这里就简单报告一下这几天的下乡之旅吧。

年二十九12/2/10
准备好就匆匆忙忙地到Sungai Nibong的巴士总站等车,竟然塞车塞到不行,幸亏没有miss掉4pm的巴士。。。
就这样上了巴士,5pm到Butterworth的巴士总站载其他乘客。
之后又到怡保的总站去,那些人真的是多到。。。
昏昏沉沉地坐了整五个小时的车,才到Tapah,原来三舅父早已经在车站等我们了。。。

年三十13/2/10
早上,跟随他们一起坐公共巴士到Tapah街上去吃早餐。
突然遇到亲戚,就不用那么麻烦等巴士咯。。。呵呵
烤面包那么大片没有切小块怎么吃啊?

之后就在茶室隔壁的理发店开门了,就在那边痴痴地等我妈我妹弄头发,新年DVD重复了3次。。。
其实我觉得没有什么分别咯。。。

之后到附近的mini market买罐头。。。
就无意中发现了这个。。。


之后就乘Regal公共巴士回家。。。手痒拍了。。。

怎样?还不错吧?

回家吃了午饭,跟随表嫂和舅母他们到Teluk Intan的The Store去,因为他们说要买鞋。。。
逛了满久一下,打算回了,就在走到底楼时,突然一片黑暗,停电!
第一次来就这样,而且是大半个Teluk Intan区没有电!
之后就转头到Rapid Mall的Giant去继续逛。。。

就在回家之前顺便到Tapah的火车总站问了问火车票详情。。。
时间不对,结果没有买到。。。

年初一14/2/10
今天吃了早餐就坐了表哥的车跟随外婆到Tapah的乐龄中心拜年。
往年的初一都有去,多拿几个红包未曾不是好事。。。
看见几个往年都有来的小孩,他们也大了。。。
我啊。。。脸上还挂着两撇胡子排队拿红包呢。。。有点paiseh咯
可是不是还没有结婚就可以拿红包的咩?我还要拿多少年的红包啊>.<

之后外婆在幸运抽奖的时候竟然会抽到自己报效的礼篮,这也太巧了吧。。。
在那边等了许久都没有轮到外婆上台唱歌,却有人唱了3首歌还意犹未尽。。。
这很不公平咯,外婆那天真的有点激动。。。结果回家开了唱机唱了半天。。。哈哈

这些是在中心楼下拍的。。。



爽爽来一张


一年见一次面,当然要合照咯~

回了家,舅父他们召来了来自霹雳金宝培元独中的舞狮队伍来家里采青拜年。。。满壮观一下的
大年初一,他们还要那么辛苦地舞狮。。。后来还下了雨。。。

有一个跟队的女生还蛮美下的^^

年初二,年初三15/2/10,16/2/10,
没有去哪里,就呆在家和表兄弟们看电视,踏脚车绕村子,玩poker,唱karaoke。。。

年初四17/2/10
当天下午,舅母和阿姨们准备好吃的喝的穿的后,我们大伙儿就往金马仑方向出发,行到大约7公里处的Kuala Woh去野餐玩水。。。
别小看那边小小的瀑布,也蛮多人到那儿玩的。。。
因为那边有自然的热泉从溪底涌出,温度足以烫熟鸡蛋。。。
感觉还不错,还看到很多蝴蝶和美女~ 哈哈




在吊桥上拍的


蛮多人一下的


等到没人过桥了再拍


想捉回去当标本,但还是放弃了


回家前拍的

年初五18/2/10
由于昨晚小姨丈中了小小的马票,所以一早我们就收拾好行李,一起到Bidor美罗的“一号大饭店”去吃点心。。。
新年期间的食物价格平均都上涨了30%,很不值得咯。

过后,三姨丈便载我们到Tapah的巴士总站等待巴士。


这是在上巴士之前在Tapah拥有很多年历史的Regal Transport公司前面拍的。

今年的新年就在平淡中度过~
亲戚们~明年再见!

Wednesday, February 10, 2010

就这样,虎年新年快乐!

就这样
又匆匆告别旧的一年
还有几天就是虎年了
怎么好像并没有很期待的样子

还有半年
将要和同学说再见了
说真的
这两年来
我们都没有真正的去了解我们的朋友
感觉上是表面上的打哈哈比较多

就这样嘻嘻哈哈地
日子终究还是过得那么快
现在对未来的路很迷茫
有点不知所措

今年决定乘长途巴士回外婆的老家
回想以前和表兄弟们玩在一起的时候
是那么地没有顾忌和放肆
现在大家都大了
言行举止严谨多了
应该没有从前好玩了
不过我就是喜欢小乡镇的纯朴
骑着脚踏车穿越那几十户人家的门前小巷

就这样
朋友们,新年快乐!


Friday, January 29, 2010

For those who studying or interested in IT: Skill Up Yourself


GET TRAINED IN IT BY THE WORLD'S LARGEST IT TRAINER
With the advent of 2010, NIIT (National Institute of Information Technology), the world's largest IT trainer is out on a mission - to build a taskforce of skilled IT professionals across various sectors. These trained youngsters will not only acquired a promising future for themselves but also focus the global spotlight on Malaysia.

Why Skill up?
Employers worldwide constantly seek ready and day-one productive manpower. The very reason you need to add an edge to yourself. So that you have all it takes to beat the global competition.

Why NIIT?
  • World's leading IT trainer and Asia's No. 1
  • Operations in over 40 countries wit 12,000 centres.
  • Over 5 million students worldwide
  • Ranked amongst the top 20 IT training institutions across the globe by International Data Corporation
  • One of the first 12 organisations in the world to receive the SEI-CMM Level 5 Quality Certification for Content Development

'Skill up' programs:
  • Career Programs - for all SPM pass-outs a comprehensive 2 year Diploma in Information Technology (DIT)
  • Technology Programs - Certification Training Programs in Technologies from Microsoft, CompTIA and Sun Microsystems

Enrol today at the nearest NIIT centre, and ride the global IT wave of success.

Education Partners:


NIIT Penang Centre: 04 - 2299 168

For additional information, please visit:

Friday, January 15, 2010

你愤世你嫉俗你怨天你尤人你不爽这你不爽那这个世界没有欠你是你欠了这个世界而已这个地球不会因为你而停止转动太阳不会因为你而不再升落你咬牙你切齿你愤恨你伤悲你没有伤天害理没有伤风败俗可就是得到不公平对待所以你呐喊你狂啸你撕心裂肺但心中的怨气就是不肯离你而去后来你沉默你寡言你安静虽有不清的不忿可这个世界也将毫不留情地把你彻底遗忘从前的你善良过热心过可是到了最后还是沦为被利用的狼狈结局所以现在你学会了冷漠学会了自私学会了拒绝学会了说不你有手有足有脑就是没有一张能看的面你感恩上帝你很知足因为你母亲没有把你生成一个残废无用的人你并不奢望你能被人仰慕被追崇但你只希望你能够被给予那么一丁点并微不足道的尊敬和认可你说在你失落在你低沉的时候你要的不是虚伪并且千篇一律的安慰句式也不是带有暗中取笑你的称赞你要的是非常简单和平凡的认同和肯定你伤心你失望因为你身旁从来没有出现过这种朋友曾经相信出外靠朋友的你心里不禁颤抖不禁抽搐所以你开始看破开始反省你开始把朋友当成是一种利用的工具而已你狂妄你自大你不知好歹你不知分寸为的是在自己和别人之间产生一种假象你躲避你隐藏深在你心处的自卑感因为你深深明白这是个弱肉强食的世界不可以让别人看见你的弱点于是你最终落得众叛亲离孤独终老死无人问