Wednesday, October 31, 2007

Pay Debt With More Debt

On US monetary policy:

There are speculations on Fed's decision on interest-rate. Given the current uncertainty in the US financial market, a lot of people really think the Fed has to cut the interest rate further to give a boost the economy.

Though in the short term the interest cut may prove to be useful, but it also tends to let those bad debts to live longer and make the financial blackhole formed by shaky sub prime market. In other words, an interest cut is like borrowing money to feed the debts. To paraphrase Buffett, when the market confidence drops and creditors start demanding their money back, the financial tide is out. At that time we will know who are swimming naked. Heh.

On Malaysia:
It seems Malaysia is pushing its Bolehness to another level by setting up more and more free trade zone. On the surface this looks ok, we want to attract FDI, but wait. What is the main feature of a FTZ? A hefty tax incentive. By having so many FTZ, where are the government's income? We could argue those FDIs will bring job opportunities, but if a government plays its card properly, it really doesn't need to hit so low-ball to keep distributing tax incentives. After 50 years, where are we, really?

Oh, I am confused.

Wednesday, October 24, 2007

What Does He Really Mean?

I always enjoy what Lee Kuan Yew has to say. All his talks are very well-thought of, intelligent, practical, and relevant. University professors may be intelligent, however most of the thoughts are not practical or relevant to the real-world. The fact he is a politician really makes him unique: how many politicians, past or present, who are comparable? I am not ass'ing up Lee, but just to be fair

Recently Lee was interviewed by Tom Plate and Jeffrey Cole and his talk has generated some stirs in Malaysia.

Lee: When [Malaysia] kicked us out [in 1965], the expectation was that we would fail and we will go back on their terms, not on the terms we agreed with them under the British. Our problems are not just between states, this is a problem between races and religions and civilizations. We are a standing indictment of all the things that they can be doing differently. They have got all the resources. If they would just educate the Chinese and Indians, use them and treat them as their citizens, they can equal us and even do better than us and we would be happy to rejoin them.
Most people don't care to read the sentence properly: Lee said 'If Malaysia would just educate the Chinese and Indians, use them and treat them as citizens' and that is the key to understand the whole statement.

If A, then B


If A is not true, it doesn't matter what B is.

Now is A true? So what are all the hu-ha's??

Other interesting thoughts:

Here is what he has to say on setting up of public policy school in Singapore:

Lee: I think that's an investment worth making because [students from the region] will go back and they will tell their media chaps and their leaders and say, look this country works because it's working like this: first, it's honest; second, it's rational; third, it makes decisions and follows through on those decisions. The decisions are made after very careful consideration of all options and consequences.
Immediate that points out what most countries in the world are lacking big time. Instead, these countries delude themselves by buying what advanced countries have. No, that is called masturbation, not advancement.

Full transcript of the interview here

Tuesday, October 23, 2007

Remember Laika

Who is Laika?

Laika the dog was sent to outer space on Sputnik 2 by Russians on Nov 2, 1957. Though it only survived for a few hours in space due to overheating and stress, this experiment proved that living organism can survive in weightlessness for an extended amount of time.



Experiments must be done with clear objectives and plans. Sending Laika was to test the hypothesis living organism can survive in outer space. The subsequent experiments after Laika's trip paved the way to ISS, until our Sheikh could comfortably played gasing there.

Now my question is: What is next?

Tuesday, October 16, 2007

拥抱我



对游鸿明印象并不深, 只记得大概十年前他的一首‘狂悲狂喜’的MV拍的挺好。

最近他发了一个专辑 《倦鳥餘花》, 里头重唱柯以敏的拥抱我,好的令我刮目相看。

那声线,那深情,那歌词。。。

套一句英文:“It blew me away"

拥抱我:

作曲:游鸿明 作词:姚谦

有些时候微笑是最好藉口
让爱的人贴在心口体会著
不需要言语解说一份默契在心中
片刻的交流在爱里遨游
有些时候眼泪只是小藉口
可以躺进爱人怀中找寄托
世界太大太寂寞只有这一个角落
片刻的温柔让心情解脱
拥抱我在悲伤的时候
你心事种种我愿意有相同的感受
拥抱我在喜悦的时候
你情绪所有我都梦寐以求
拥抱我
有些时候眼泪只是小藉口
可以躺进爱人怀中找寄托
世界太大太寂寞只有这一个角落
片刻的温柔让心情解脱
拥抱我在悲伤的时候
你心事种种我愿意有相同的感受
拥抱我在喜悦的时候
你情绪所有我都梦寐以求
拥抱我
因为在拥抱的时候有一种完全的拥有
是彼此的体温是彼此的心跳
是彼此的感动
拥抱我在悲伤的时候
你心事种种我愿意有相同的感受
拥抱我在喜悦的时候
你情绪所有我都梦寐以求
拥抱我

On The Way To Office

This morning while walking to office, I saw this boy. Wondering what he was up to, I walked forward...

Oh, an unfortunate lizard was wasted by this boy.

After playing with lizard, he jumped into the drain and looked at me

Monday, October 15, 2007

Cargo Cult Science in Malaysia

Malaysia once again over-stretches itself by sending Sheikh to space. Even though the minister argued bitterly Sheikh indeed is a really cosmonaut and not a flight participant.

"Because the Russians said so!", he claimed proudly.

However little did he realize even though the Russians call Sheikh as cosmonaut, but in terms of rank, Sheikh is flight participant (aka Mr. Tourist). This naming is consistent with NASA's classification.

What are the differences? Simple, everybody in ISS is cosmonaut by the nature of their physical presence. The rank describes their job scope. Our Sheikh's job scope is as a tourist. Period.


URL here (Click on the UK flag to read the English version).

On the surface, Malaysia looks like an advanced country, because it is doing what advanced countries do. For example it is making its own car (but of inferior quality and finally has to beg a Mat Salleh company to bail it out), having someone to walk both poles, having a lot of tall and big buildings, and sending someone off to space.

The key question: will Malaysia truly become an advanced country by mimicking what those advanced countries are doing?

What are the ingredients of being an advanced country?

What I fail to see is steps taken to stabilize the economy, drive down the crime rate, improve inter-racial harmony, and raise competencies in universities.

Why? Because all these are hard to do, and the yields are so slow and marginal at any given time that you don't have 'the moment' to jump up and down and yell "Malaysia Boleh!" We want instant gratification, we just want that short moment of glory. What do we do for the upcoming endless darkness after the incandescence? Don't care, let's just raise the tax, up the toll price, and let hell loose. Who cares?

An article by Richard Feynman comes to mind, the Cargo Cult Science. Relevant excerpt:

In the South Seas there is a cargo cult of people. During the war they saw airplanes with lots of good materials, and they want the same thing to happen now. So they've arranged to make things like runways, to put fires along the sides of the runways, to make a wooden hut for a man to sit in, with two wooden pieces on his head to headphones and bars of bamboo sticking out like antennas -- he's the controller -- and they wait for the airplanes to land. They're doing everything right. The form is perfect. It looks exactly the way it looked before. But it doesn't work. No airplanes land. So I call these things cargo cult science, because they follow all the apparent precepts and forms of scientific investigation, but they're missing something essential, because the planes don't land. Now it behooves me, of course, to tell you what they're missing. But it would be just about as difficult to explain to the South Sea islanders how they have to arrange things so that they get some wealth in their system. It is not something simple like telling them how to improve the shapes of the earphones. But there is one feature I notice that is generally missing in cargo cult science. That is the idea that we all hope you have learned in studying science in school -- we never say explicitly what this is, but just hope that you catch on by all the examples of scientific investigation. It is interesting, therefore, to bring it out now and speak of it explicitly. It's a kind of scientific integrity, a principle of scientific thought that corresponds to a kind of utter honesty -- a kind of leaning over backwards. For example, if you're doing an experiment, you should report everything that you think might make it invalid -- not only what you think is right about it: other causes that could possibly explain your results; and things you thought of that you've eliminated by some other experiment, and how they worked -- to make sure the other fellow can tell they have been eliminated.

Even though Feynman talks about the way to do science, and the context of this blog is on how a country should be run, the essences are the same.

Change all occurrences of 'scientific investigation' to 'advanced countries' and re-read:

They're doing everything right. The form is perfect. It looks exactly the way it looked before. But it doesn't work. No airplanes land. So I call these things cargo cult science, because they follow all the apparent precepts and forms of scientific investigation, but they're missing something essential, because the planes don't land.

Thursday, October 11, 2007

Technical Deep Dive of P1i

After some investigation, this phone is in fact a miniature computer.

First of all, it will be more apt to call it "a computer with phone ability": it has all the characteristics of a computer. A display, inputs, a standard processor (ARM9 running at 200MHz), primary storage: memory (128Mb), and secondary storage which consists of in-built flash (256Mb) and external flash (M2 card, max 4Gb). On top of that, it even has Bluetooth, GPRS, WLAN (802.11b only...), and the standard USB connection. So from any angle, this is computer-grade piece of hardware. Full spec of this phone can be found here (2.62Mb PDF).

How about software then? It has a pretty robust OS - Symbian OSv9.1 with UIQ3 graphical user interface. Symbian employs a micro-kernel-ism approach with the core kernel only keeps the minimal functionalities while other features are implemented elsewhere and interact with the core kernel through message-passing. This contrasts greatly with monolithic kernels like Linux and Windoze. However, this OS is coded in C++, which is something Cuppa Chai not familiar with.

It turns out Nokia is very keen to promote the Symbian + UIQ combo (Nokia has 47.9% stake in Symbian Ltd.). The result is Carbide.C++.

Carbide.C++ is an Eclipse-based IDE targeting Symbian-based devices. It even comes with a variant with much-reduced functionality (read: nearly useless for anything serious) for free. To produce something more useful, you need to pay at least US$450 and purchase the missing essential functions like on-device debugging and real-time profiling. Even more advanced version where you can work on the ROM and do kernel debugging is available at a whopping US$6000 price tag.

Familiarity notwithstanding, C++ can't prevent me from having a shot at programming this device. Well, this is what the free Carbide.C++ can do anyway.

Here you go.

My salute to all my fellow nerds in this world: Hello World

The Life of Having P1i

This is the third day I have my SE P1i, and let me write down some of my thoughts.

Some of my friends questioned my decision of getting such fancy phone, arguing 90% of the time we will only use it to talk and sms.

Reading documents on the go? "You must be kidding" they said with both mouth and eyes wide-open.

Truth be told I would have been in their camp just a couple of months back, saying "I can buy 4 phones with this price!"

However I know I can't keep running away from technology. Now ubiquitous devices is the trend and as a software engineer, the least that I can do is to understand, but not necessary to embrace it.

Ok, the above sounds cheesy.

I admit I want a new toy :P

Wednesday, October 10, 2007

Bye Bye Moto

With mixed emotions, I announce the demise of my Moto Razr V3i phone.

I am not happy because this stupid V3i died at the time where there wasn't any phone on the market that I like. In order to replace it, I had to bite the bullet and chose one that I hate the least.

The symptoms of its ailing showed on last Friday, which I suspected was a sickness called firmware-couldn't-boot-properly, which led to complications like all-white-screen and slow-to-start.

An engineer I am, I was quick to give it the highly complicated operations of removing-battery-and-put-it-back and also removing-sim-card-and-also-put-it-back, hoping to save its life (Thanks to LY for suggestion of the latter operation). It survived for another 2 days until the following Monday.

It was a fine Monday morning, I powered on the V3i as usual, but it responded very slowly. The air was filled with ominous aura, foretelling the withering life of V3i. After trying all the methods I knew, the phone went from bad to worse and it couldn't even power down properly.

"Must be the stupid bootloader can't boot without a proper prior shutdown."

With that hypothesis, I painstakingly boot the device without sim card and let it shut down, to make sure the shut down sequences were done in order. It proved this indeed again pulled the V3i from the brink of dying.

Like a hunter in a treacherous ground, I trust no luck. With the gait of a well-trained innocent wolf, I dashed out my house, phone in hand and wallet in pocket. I didn't need much anyway. I reached down, yes, my undies was still on. Good.

Time was ticking, I went to a few places where famous hunter-gatherers meet and weighted the bargains. The games were abundant: Sony Ericsson, Nokia, LG, Samsung, etc. My mind had purposefully filtered out any combination of "Moto" or "Rola". No, these terms freak me out.

I was considering Nokia and went to one of the shops, but there was a sign caught my attention:

"Our shop has terminated the 7-days refund and exchange policy. Kindly please inspect your new handset before leaving the counter. Any issue after the purchase please proceed to the Nokia service center."

Shit, I heard Nokia is having quality issue, but I never thought it is so severe. I backed out and there was only Sony Ericsson. When looking at the selections, I was thinking to get T250i which costs S$200+, but the camera is only VGA.

I had been the ardent advocate of "a phone only needs to be a phone, no more", but I start to wonder will a multi-purpose phone can boost my productivity? With that in mind, with a big round of applause, please welcome the new member to my humble abode, Sony P1i!!!!

P/S: What happened to the dying V3i? I sold it, together with all its accessories, for S$70. It would be worthless in no time if I chose to keep it. S$70 is better than a piece of junk, in my opinion.

Thursday, October 04, 2007

Extenting the Fox

Here you go, 200+ add ons for the Firefox here


Still using MS IE? You suck.

Let's Look At The Drain

If you have read more than one day of Malaysian newspaper, definitely you will always see our politicians (usually from opposition parties, those from BN are hibernating until the next election) in action: they are such a bunch of down-to-earth people in the sense they attend to matters as mute as clogged drains, burst sewage pipes, sunken pavements, or broken road signs. To make sure you know and see the problems, they will even pose by pointing to the structure in question, and of course, also make sure the photographers have filmed them in an unequivocal light.

Though this is already part of our (and their) daily lives, what does this imply to our societal health as a whole?

First, isn't these issues should be addressed by the individual municipal officers? Where are they, and why we must have high ranking MPs or state representatives to look at clogged drains? The most amazing thing is despite the glaring mis-steps and plain negligence, there is no one held responsible for the mess, and there is no change at all at the root of the problems. There is not even remedial steps taken, let alone heads rolling. If the government will take the step to fire a few of its useless staff (which actually comprises most of the staff anyway), I am sure those so called government servants will sit up and pay attention.

Second, when a country where those leaders are not addressing the real challenges, but only squabbling on making something tallest, biggest, or going on tour to watch belly dancing, or screwing other races for not singing the national anthems right, where is this nation heading? In Singapore, the government not only is able to identify the issues on hand, but it also looks pro-actively at all nascent trends. For example SG has invested like crazy in bio-technology 5 years ago, although the return of investment on this sector is hard to measure in near term, at least it has tried. Do I need to pan the camera back to our beloved government and see what it is up to?

I have had enough of 'setting up special committee' and terms like 'we will investigate this matter further'. Fine, after years of investigation, I can't see things getting better. With fuel price getting higher and higher, the inflation pressure hits hard on common folks. Salaries are depreciating in value due to inflation and the depreciation of the ringgit, further more, with falling foreign direct investment, job opportunities also shrink (FYI, Inventec withdraws from Penang now), I foresee the people will have to endure a double-hit: ever-increasing prices for almost everything, and sky-high crime rate in the months to come.

For those in Malaysia, good luck (trust me, you need that)