Wednesday, December 5, 2007

Management vs Leadership


















"You cannot manage men into battle. You manage things; you lead people." Grace Hopper. I don't like to be managed, but if you lead me, I'll follow you anywhere.

Friday, April 6, 2007

Leadership

I am reading this story and feel that I get a sense of humor from it. 

A lead hardware engineer, a lead software engineer, and their project manager are taking a walk outdoors during their lunch break when they come upon an old brass lamp. They pick it up and dust it off. Poof--out pops a genie.

"Thank you for releasing me from my lamp-prison. I can grant you 3 wishes. Since there are 3 of you I will grant one wish to each of you."

The hardware engineer thinks a moment and says, "I'd like to be sailing a yacht across the Pacific, racing before the wind, with an all-girl crew."

"It is done," said the Genie, and poof, the hardware engineer disappears.

The software engineer thinks a moment and says, "I'd like to be riding my Harley with a gang of beautiful women throughout the American Southwest."

"It is done," said the Genie, and poof, the software engineer disappears.

The project manager looks at where the other two had been standing and rubs his chin in thought. Then he tells the Genie, "I'd like those two back in the office after lunch.

Tuesday, March 27, 2007

Riddles and Thinkers

Question: Every man in a village of 100 married couples has cheated on his wife. Every wife in the village instantly knows when a man other than her husband has cheated, but does not know when her own husband has. The village has a law that does not allow for adultery. Any wife who can prove that her husband is unfaithful must kill him that very day. The women of the village would never disobey this law. One day, the queen of the village visits and announce that at least one husband has been unfaithful. What happens?

In logically thinking...

Lets say n is the number of cheaters. Some wifes think there are n cheaters and some wifes think there are n-1 cheaters as they assume their husbands are innocent.

If n = 1, the wife who thinks the number of cheaters are zero. She will kill her husband when the queen announces at least one.

If n = 2, some wifes will know number of cheaters are 2 and some wifes will know number of cheater is 1. In the first (1) day, the wife who knows the number of cheater is 1 will not sure whether her husband is cheater or not. In the second (2) day, if no one kill their husbands and it implies her own husband is the cheater.

In conclusion, in n th day, the cheaters will be killed by their wifes.

From inner thinking, I will kill my own husband in the very first day. In Chinese, it is so called "kill 1 alert 100". ;)

Friday, March 23, 2007

Extensible Test Framework

In short release cycle, most test software is written without clear thought on underlying plan. Nowadays, most software components are brought from different companies. The final product is the integration of the acquiring companies' product. When automating the test case, it is usually just implemented to suit for certain users' view depends on how broad knowledge the test developers have. How can we do systematic testing through discovery approach with limited time?

Lets say deployment testing. There are different ways to deploy an application to the server. Applications can be deployed via java application, ant tasks, scripting, and IDE etc. However, the correlation for deployment are between applications, deployment vehicle, procedures and verifiers. To study the relation to one another of different form of deployment processes, we can build an extensible test framework. i.e. Even we don't aware of scripting which can be counted as one kind of vehicle, we can still build the test components up and extend the vehicle when it is needed in the future.