Friday, December 23, 2011

Don't terrify your kids in Christmas

Kids are afraid of Santa.

You get in lines to get your kids scared by taking them to take picture with a fictitious character? how silly is that. Besides Santa, kids are also afraid of big dolls their size or strangers (don't bring them close to your rarely-ever-visit friend)

Ok, when your kid gets older that won't be a problem anymore.

Merry Christmas to those who read/subscribe to my blog.

Thursday, December 22, 2011

2012 predictions

Election 2012
With no obviously-better-choice-than-the-incumbent Republican candidate, I predict Obama will get re-elected!

Tech
Android and iPhone will continue to battle with no winner needed. They can co-exist (like Apple and Microsoft coexist in desktop for decades). In the phone market, I am afraid Microsoft phones will be like Palm Pre. Microsoft Windows and Windows desktops will completely dead if people can do everything with their Android/IPads. But that day isn't here yet! The pads need a file system (like c:\mystuff) and an Office Suite at least. Otherwise pads will just be a portable browser and that can just run little apps.

World Events
Now that's hard to predict. Conflicts will continue and I just hope US is not going into another war. All these people worrying about China dominating militarily will prove to be like the ancient Chinese story of a man scaring of the sky collapse onto him. I hope to see: the new young leader of North Korea will learn a thing or two about its neighbors and at least reduce the famine in that country.

Higgs Boson
I do NOT predict the Higgs Boson be found in 2012 despite huge expensive machines. It does not seem to be easy (otherwise people found it long ago). All that to explain a fairly basic question, "why do things have mass".

2012 is not the end
I predict there will be 2013, despite the Mayan doomsday prophecy.

Thursday, December 15, 2011

End of War

The end of the Iraqi war is finally here. This is an excellent news coverage.

So our nation is tricked into war for Weapons of Mass Destruction. And the guy who says that just get away with that? Imagine this, I say FIRE and call 911 but there isn't fire. I probably will get charged for this misdemeanor, right?

For Americans, the ceremony on Thursday marked an uneasy moment of closure, with no clear sense of what has been won and lost. As of last Friday, the war had claimed 4,487 American lives, with another 32,226 Americans wounded in action, according to Pentagon statistics.

It was wrong to go to this war. Wrong for the thousands of Americans to lose their lives, and wrong for the many more civilians who lost their lives too. It is billions of dollars lost too.

This war ended in confusion: there is no clear sense of what has been won and lost.

Towers of Hanoi

News says, there are fires in some office tower of Hanoi. Details here.

I hope everyone is ok... I wonder if the news reporter has a computer science background. Why not simply call it office building?

The Towers of Hanoi is a famous mathematics/computer puzzle that every computer science student should know about.

Start with 3 pegs and a bunch of disks of various size. The goal is to move them from peg 1 to peg 3. The rules are simple: you can only one disk at a time and you cannot put a big disk on top of a small disk.

Now, write a program to solve this.

This can be solved ultra elegantly with recursion (and other methods), and I've seen that in high school.

If you interview an "architect" and he has no clue what it is immediately show him the door.

Monday, December 12, 2011

Book Donation

Yesterday I donated a big box of old books to a dropbox outside of the supermarket. They cost hundreds of dollars. Some are computer books for some obsolete technology. Some are college textbooks that are no longer useful.

Donating them is better than tossing them to the garbage. Some people may still find interesting stuff in there. The dropbox says if nobody wants them they will be recycled.

Recycle that paper! That is the #1 landfill item that can be recycled. I hope my books' next reincarnation will be a best seller.

Computer books used to be big business. Alas things are changing so fast. By the time a book is made it is already outdated. Perhaps a subscription service is a great idea.

I even tossed a draft copy of my book to it. Hope someone will find it interesting.

Tuesday, December 6, 2011

Kung Fu pays off

A robber got beaten up bad by a martial art expert. See story here.

That's exactly the purpose of martial art: to fend off villains.

However, I don't recommend martial art experts try to fight someone with a gun.

Of course, someone will misuse martial arts to be villains themselves, and perhaps kill his own master, and the good big brother must revenge in tears. Now that's a classic kung fu story scheme. This storyline I never get tired of.

Monday, December 5, 2011

Earth 2.0

This is exciting discovery... an earth-like planet. See here.

Ooh it sounds like a warm weather, roomy place: "2.4 times the size of Earth, and has a temperature of about 22C."

However, it is 600 lightyears away.

I am not even sure if human can ever get on Mars, our neighbor planet (and it is ok not to go there, that $ has better use on earth).

We aren't going nowhere. It is merely science fiction to migrate to the Moon or Mars. It is too harsh to live there, and too far to go even if you find a new place lightyears away... unless you got some sort of warp engine (which is just science fiction).

We are grounded on earth. Please love the Earth. Recycle that can. Make less waste. Don't play with nuclear weapons.