Monday, July 25, 2011

Puzzle of the day

One day, Wisely and Dinstein are running on the Olympic stadium running track. They started from same point with back -to-back position and running in opposite direction. Wisely finished 6 tracks in an hour while Dinstein only able to finish 5 tracks.

They started by facing away from each other and at the end of 1 hour they reach back to the same point and facing each other. Count how many times they have met on the running track in 1 hour.

Thursday, July 14, 2011

My Astrophotography

I bought my telescope since last month, its look like a toy, but the image is definitely sharper than any toy scope available from ebay or Toys'R'Us. I get the telescope kits and a 2x Barlow lens.

So far I only manage to see the moon since that is the most easiest object in the sky for us to see. The image is very very crisp, I feel so close to the moon for the first time. So, in order to share with everyone, I decided to modify my old webcam to capture the image from the telescope. The modification is quite simple, just unscrew the webcam and remove the lens and put the webcam into 1 piece again and tighten the screw. After that, I cut the bottom of the film roll plastic container so that it become a pipe. Then I stick one side of the plastic container to the webcam so that it can be mounted onto the telescope.

So here is the moon video that I'd captured using my old webcam and Firstscope.



Will try to take the video of Jupiter and Saturn when the sky is clear enough.

Sunday, July 10, 2011

七患 The seven causes of anxiety

An ancient article to share, even older than 2000 years after this publisher, it still meaningful to current world. Shared from Chinese Text Project.

子墨子曰:國有七患。七患者何?

城郭溝池不可守而治宮室,一患也。
邊國至境四鄰莫救,二患也。
先盡民力無用之功,賞賜無能之人,民力盡於無用,財寶虛於待客,三患也。
仕者持祿,游者愛佼,君脩法討臣,臣懾雨不敢拂,四患也。
君自以為聖智而不問事,自以為安彊而無守備,四鄰謀之不知戒,五患也。
所信不忠,所忠不信,六患也。
畜種菽粟不足以食之,大臣不足以事之,賞賜不能喜,誅罰不能威,七患也。

以七患居國,必無社稷;以七患守城,敵至國傾。七患之所當,國必有殃。

凡五穀者,民之所仰也,君之所以為養也。故民無仰則君無養,民無食則不可事。故食不可不務也,地不可不力也,用不可不節也。五穀盡收,則五味盡御於主,不盡收則不盡御。一穀不收謂之饉,二穀不收謂之旱,三穀不收謂之凶,四穀不收謂之餽,五穀不收謂之饑。歲饉,則仕者大夫以下皆損祿五分之一。旱,則損五分之二。凶則損五分之三。餽,則損五分之四。饑,則盡無祿,稟食而已矣。故凶饑存乎國,人君徹鼎食五分之三,大夫徹縣,士不入學,君朝之衣不革制,諸侯之客,四鄰之使,雍飧而不盛,徹驂騑,塗不芸,馬不食粟,婢妾不衣帛,此告不足之至也。

今有負其子而汲者,隊其子於井中,其母必從而道之。今歲凶,民饑道餓,重其子此疚於隊,其可無察邪?故時年歲善,則民仁且良;時年歲凶,則民吝且惡。夫民何常此之有?為者疾,食者眾,則歲無豐。故曰:“財不足則反之時,食不足則反之用。”故先民以時生財,固本而用財,則財足。故雖上世之聖王,豈能使五穀常收而旱水不至哉?然而無凍餓之民者,何也?其力時急而自養儉也。故《夏書》曰:“禹七年水。”《殷書》曰:“湯五年旱。”此其離凶餓甚矣。然而民不凍餓者,何也?其生財密,其用之節也。

故倉無備粟,不可以待凶饑;庫無備兵,雖有義不能征無義;城郭不備全,不可以自守;心無備慮,不可以應卒。是若慶忌無去之心,不能輕出。夫桀無待湯之備,故放;紂無待武王之備,故殺。桀、紂貴為天子,富有天下,然而皆滅亡於百里之君者,何也?有富貴而不為備也。故備者,國之重也;食者,國之寶也;兵者,國之爪也。城者所以自守也。此三者國之具也。

故曰:以其極賞,以賜無功,虛其府庫,以備車馬、衣裘、奇怪,苦其役徒,以治宮室觀樂;死又厚為棺槨,多為衣裘。生時治臺榭,死又脩墳墓。故民苦於外,府庫單於內,上不厭其樂,下不堪其苦。故國離寇敵則傷,民見凶饑則亡,此皆備不具之罪也。且夫食者,聖人之所寶也。故《周書》曰:“國無三年之食者,國非其國也;家無三年之食者,子非其子也。”此之謂國備。

Mozi said: There are seven causes of worry to a state and they are:

(1) When the outer and the inner city walls are not defensible;
(2) When an enemy state is approaching and yet one's neighbours do not come to the rescue;
(3) When the resources of the people have all been spent on useless enterprises and gifts all squandered upon incapable men, when people's resources are exhausted without producing any profit and the treasury is emptied by entertaining idle company;
(4) When the officials value only their salaries, and the sophists only friendship, and when the subordinates dare not remonstrate against the laws the ruler has made for persecution;
(5) When the lord is over-confident of his own wisdom and holds no consultation, when he feels he is secure and makes no preparations against attack; and when he does not know that he must be watchful while neighbours are planning against him;
(6) When those trusted are not loyal and the loyal are not trusted; and
(7) When the crops are not sufficient for food and the ministers can not be charged with responsibilities, and when awards fail to make people happy and punishment to make them afraid.

With these seven causes present in the maintenance of the state, the state will perish, and, in the defence of a city, the city will be reduced to ruin by the approaching enemy. Wherever these seven causes are found, the country will face calamity.

Now, the five grains are the people's mainstay and the source of the ruler's revenue. When the people lose their support the ruler cannot have any revenue either. And without food the people will not observe order. Therefore, food should be secured, land cultivated and expenditures cut down. When all the five grains are gathered, all the five tastes will be offered the ruler; when not all gathered, the five tastes will not be all offered. Failure of one grain is called dearth; failure of two grains is called scarcity; failure of three grains is called calamity; failure of four grains is called want; and failure of all five grains is called famine. When the country is in dearth, all the salaries of the officials below the rank of the minister will be reduced by one-fifth; in scarcity, they will be reduced by two-fifths; in calamity, they will be reduced by three-fifths; in want, they will be reduced by four-fifths; and when famine is in the country there will be no salaries beyond their rations. Therefore when famine and dearth visit a country, the ruler will omit three from the five items of sacrifice, the officials will suspend the courts, and the scholars will not go to school and the lord will not put on his robe to give audience. Even envoys from other feudal lords and messengers from neighbouring states are entertained with cooked food only, and it is not sumptuous. The side-horses of the carriage-team are done away with and the walks (in the palace) are not weeded. Neither are the horses fed with grains, nor are the concubines and maids clothed with silk. And this is the sign of extreme scarcity.

Now, if carrying her child and drawing water from a well, a woman dropped the child into the well, she would of course endeavour to get it out. But famine and dearth is a much greater calamity than the dropping of a child. Should there not be also endeavour (to prevent it)? People are gentle and kind when the year is good, but selfish and vicious when it is bad. Yet, how can they be held responsible? When many produce but few consume then there can be no bad year; on the contrary, when few produce but many consume then there can be no good year. Thus it is said: scarcity of supply should stimulate study of the seasons and want of food demands economy of expenditures. The ancients produced wealth according to seasons. They ascertained the source of wealth before they appropriated the products, and therefore they had plenty. Could even the ancient sage-kings cause the five grains invariably to ripen and be harvested and the floods and the droughts never to occur? Yet, none were frozen or starved, why was it? It was because they made full use of the seasons and were frugal in their own maintenance. The history of Xia says that the Deluge lasted seven years in the time of Yu and the history of Yin tells that a drought visited Tang for five years. These are the extremes of disasters. Yet the people were not frozen or starved. Why was this so? The reason lies in diligent production and thrifty consumption.

Therefore, famine and dearth cannot be prepared against unless there are stored grains in the granaries, and justice cannot be maintained against the unjust unless there are ready weapons in the armoury. One cannot defend himself unless the inner and the outer city walls are in repair, and one cannot meet emergencies unless his ideas are well thought out. Thus Qing Ji was unprepared, and he should not have set out on the journey. Jie made no preparations against Tang and he was sent to exile. And Zhou made no preparations against Wu and he was executed. Now, Jie and Zhou were both emperors in rank and possessed the whole empire, yet they both perished at the hands of rulers (of states) of only a hundred li square. What is the reason for this? Because they depended on their rank and wealth and made no preparations. Therefore, preparation is what a country should emphasize. Supply is the treasure of a country, armament its claws, and the city walls are the stronghold of its self-defence. And these three items are the essentials to the existence of a state.

(The present rulers) squander great amounts of wealth to reward the undeserving, empty the treasury to acquire carriages and horses, exhaust the labourers to build palaces and furnish amusements. Upon their death, again, thick coffins and many coats and fur coats are to be furnished. Porches and pavilions are built for them while they are living. and tombs when they are dead. By this the people are embittered and the treasury is left lean. While the amusements are not yet satisfying to the superiors, the hardship already becomes unbearable for the subjects. Such a state will fall under any attack and such people will perish by famine. And all this is due to the absence of preparation. Moreover, food is what the sages treasured. The history of Zhou says, "Without three years' food (in store) a state cannot be a state (as it is in danger of losing its sovereignty). A family being without food in store to be sufficient for three years its children cannot be its children (who are in danger of being abandoned or sold to others)." Such, then, is the preparation of a country.

Saturday, July 09, 2011

Bersih 2.0

First of all, I would like to tell you that I'm not posting about politics here. So please don't use ISA or anything to catch me.

Second, I don't care who the hell are governing my country, but I do care how they governing it.

So, about Bersih 2.0, I really don't have much details on this, but you can read the wiki. Therefore, I can only tell you what I feel about Bersih 2.0 from my point of view.

Bolehland is a democracy country, so we do have some rights, although not really much, to express our view. If you ask me do I support Bersih? My answer is yes, and I hope they can do it in peaceful way. We want to tell our government that we are not happy with what they did previously and we want to tell them we want change.

The rally shall not be a politic tool for any politicians to promote them self or to condemn other parties. It should be a gathering of our people to tell the government of what we want and why we want that.

I just came back from Penang yesterday night and I'm lucky that I have avoided all the jams happen last few days. From all the messages I received, I can tell our government that the way they handling this issue is just making us more pissed and angry. I saw lot of trucks sending polices to KL to setup road block, even in Penang, they setting up the road block. What the hell these idiots are doing? They wasted all our resources including man power and money just to stop something which is allowed in democracy country. Why don't they put more effort to make it right at the first place so that we don't get pissed and come and tell you how lousy you are.

Today, there is no much different to declare state of emergency since we can't really go out, everywhere is road block and you will suffer in the jam for hours and hours. And guest what, we should inform Guinness book of records to record this event as the longest jam in the world, or the largest car park in the world.

Do worry about me if you think I will go rally, anyway I don't have yellow shirt and I'm kiasi people. But I will write here and tell the world that I'm pissed and disappointed with the morons and I will make sure I will vote the other party even they put a monkey since that make no different. But what really different is that we want tell the government that we are pissed, we are angry, we are disappointed, we are tired and we want change. We can't guarantee that the new comer will do better, but that's the only way to tell everyone that we can put you up there and we can bring you down if you don't do it well.

So, last word, if you plan to go to join the party, make sure you do it peacefully and come back in one piece. Deliver the message but not damage our lovely country.

Good luck.