Sportsman-like Strategy

By now, you know the story. IOC threw eight players, in Badminton, out for “not using one’s best efforts to win.”

Did Michael Phelps give his best efforts during the semi-final? Did anyone, who had already qualified to advance but were not yet in the medal round?

In the book Freakonomics, the authors discovered that Sumo wrestlers who already qualified for next year’s promotion are likely to lose to an otherwise weaker competitor. In NFL, teams that have already missed the play-off have the incentive to lose to get a better drafting order, as well as a more favorable schedule for the next season.

For Badminton in this Olympics, the teams that have already qualified for the medal round would play for only one thing: the draw order. Since the championship round is a knock-out format, one loss and you are out. Everyone would like to avoid the strong teams until the last possible moment, preferably only during the medal round. Since the draw order is based on the win-lose record of the qualifying round, there is no incentive to win more after you have already qualified.

For any competition, or war, it is common to lose a battle to win the war. For Badminton, the strategy is simple: first try your best to qualify, then try not to win anymore. Those players were using their best efforts to win, just not necessarily for that specific match. IOC should throw out the Badminton World Federation, or at least their rule book.

Posted in Peek into my mind | Leave a comment

He Won’t Hire People Who Use Poor Grammar.

HBR blog recently has this one from a Kyle Wiens, “CEO of iFixit, the largest online repair community, as well as founder of Dozuki, a software company dedicated to helping manufacturers publish amazing documentation.”

If you think an apostrophe was one of the 12 disciples of Jesus, you will never work for me. If you think a semicolon is a regular colon with an identity crisis, I will not hire you. If you scatter commas into a sentence with all the discrimination of a shotgun, you might make it to the foyer before we politely escort you from the building.

Even in this hyper-competitive market, I will pass on a great programmer who cannot write. Programmers who pay attention to how they construct written language also tend to pay a lot more attention to how they code. You see, at its core, code is prose. Great programmers are more than just code monkeys; according to Stanford programming legend Donald Knuth they are “essayists who work with traditional aesthetic and literary forms.”

Grammar is my litmus test. All applicants say they’re detail-oriented; I just make my employees prove it.

Mr. Wien, the boss, wants only those people with certain traits and skills. For that, he uses grammatical proficiency as the screen. This approach is based on several critical assumptions: grammatical proficiency is strongly correlated to those traits; the strengths of both are linearly proportional, that if one is very strong grammatically, he or she is similarly strong in those traits; he can have an effective test to screen people’s grammatical proficiency; lastly, the reverse is true, that if someone is not good at grammar, the person also must lack those traits he desires.

Except for the tests, these are not rational. And the test is true only for English. If we chart one of those traits: detail attentiveness, diligence at work, software programming skills, etc., against grammatical proficiency. What correlation coefficient would we expect?

Many of the best software engineers, that I know of, are grammatically terrible. Mr. Wiens will never get to know any of them. Come to think of it, Mr. Wiens won’t hire myself either. Oh, well.

Posted in Peek into my mind | Leave a comment

三國(7): 關羽之傲

關羽之人,羅貫中寫透了.中國人聽到關公,沒有不立大指的.義薄雲天,忠勇膽大,有武有謀.這種英雄,當然可以升天為神,被世世代代瞻拜.台北有個行天宮,拜的就是關公.香火鼎盛,信徒三拜九叩,絡繹不絕.但羅貫中筆鋒一轉.讓我們看到了關羽的驕傲.小時讀三國,看到這就摔書不看了.再讀,明白了三國的深刻.

劉備自封漢中王.曹操結東吳要滅他.諸葛瑾想和,所以來作媒,替孫權兒子取關羽女兒.結果一句”虎女不嫁犬子”,氣的孫權和曹操結盟.他一路打樊城,安排的不錯.水淹七軍,刀宰龐德,生擒于禁,威名大盛.但是很明顯的人才不足:通信線太長沒人監督,補給線太長沒人維持,最重要的是荊州沒有人守.被東吳呂蒙白衣渡江,偷了荊州.關羽補給線斷了,又腹背有曹操孫權.手下只有關平廖化兩將.沒戲了.

第一錯就是逼著孫權和曹操結盟.有個諸葛瑾不用,反而不斷的得罪孫權.這步錯了,別的都難圓. 第二錯就是沒想好”萬一”.一切的安排,都只有表面的第一步,沒有考慮安排第二防線.所以一敗就全垮.這就是大意失荆州.神武關雲長也只就只能說”玉可碎而不可改其白,竹可焚而不可毀其節”.死時年58.


孫權殺了關羽,逼劉備發兵,打破了三國的均勢,也開始了三國的結束.

Posted in Books & Reviews, China, Peek into my mind | Tagged , | 1 Comment

Symbolically speaking…

pa·tri·ot·ism

devoted love, support, and defense of one’s country

pro·tec·tion·ism

practice or system of fostering or developing domestic industries by protecting them from foreign competition through duties or quotas imposed on importations.

Senate Majority Leader Harry Reid

I think they should take all the uniforms, put them in a big pile and burn them and start all over again

Politicians and leaders of large organizations knew that there are two level of communications: one at symbolic level and other on the specifics. There are many advantages of staying at symbolic level. The audience are easier motivated by a belief, a value, or a vision. Once motivated, they move at the right direction without much need for herding; they are self-managed; the interpretations are left to the listeners and the speaker, therefore, avoided direct responsibility for the actions taken; lastly, it is much easier to adjust or change later, since nothing specific was said.

Staying at pure symbolic level, however, disconnects with the reality. Therefore, a skilled politician will try to appear concrete to galvanize the support.

Bashing China is popular, yet it does not get trite. Chinese should feel good. The USA is clearly treating China as her major, and probably only, rival and equal — not much different from other rivalries such as USC-UCLA, TsingHua-Peking U., or Cambridge-Oxford. When the said rival comes up in any conversation, trash talk excessively, drink up, and let out a few grunts for good measure. Only petty actions, if that, will take place. Real games will be played in a different arena with a completely different set of rules.

Yes, symbolically, it looks so bad for the US Olympic team to wear uniforms made in China (designed by Ralph Lauren). If we inspect the equipment the aesthetes use for compete: shoes, balls, rackets, lenses, etc., I doubt many of them were made in USA. If anyone bring their tablet, MP3 player, digital camera, or cell phone with them. The chances are pretty slim that they were made in the USA. In terms of monetary value, the uniforms are really quite trivial compared to those. But they are big symbolically. Wearing what made by the rival is just not patriotic.

Note that none of the politicians turned this into a protectionism conversation. Everyone knew that Chinese only got a petty sum of the value from the whole uniform deal. Ralph Lauren is is pleased to be labelled an “Iconic American Company,” publicized by the US Olympic Committee.

So the proper play is to follow the tradition: trash talk as much as you please, drink up, grunt for good measure, and do nothing.

Posted in Peek into my mind | Leave a comment

5th Ave Theater: Les Misérables

Downtown Seattle has many active venues for performing arts. These places specialized for formats. Benaroya Hall is for classic and instrumental music; Paramount Theater is more for pop music, and occasionally musicals; 5th Ave Theater is pretty much dedicated to musicals; Act is for plays; and Town Hall is for speeches and occasional light music performance. Of course there are also many jazz bars, music bars, comedy bars, dinner plays, and dinner-included live entertainment places. Overall, if you are into performing arts or live entertainments, this is a great place to be.

5th Ave Theater has a pretty elaborate Chinese decor in wall covering, ceiling, and most of the columns. The ceiling in the main floor is strikingly impressive. The chandelier, called the Pearl of Perfection, comes out of the dragon’s mouth. That is very apropos to the traditional Chinese dragon concept. Somehow the chandelier and the traditional Chinese ceiling go quite well together.

Although open in 1926, the theater is a modern establishment for live stage performance with a very decent pit space: I counted 4 brasses, 3 woods, 4 strings, 1 percussion, and obviously a conductor. The sound quality was exceptional. The seats are comfortable with good enough leg room. There are cushions and blankets at the entrances for those who need them.


First time I saw Les Misérables. It was worth the price I paid for a 3rd row seat. The theater had a pre-show workshop where they found a professor in WSU to introduce the historical background of the show. I realized how little I knew about French revolution, also how that period was similar to the Chinese revolution period in the early 1900s. There was the time of big ideas, big changes, and many personal tragedies.

Jean Valjean’s life began miserably, as a hard labor slave for 19 years over a petty crime. After he jumped the parole, Jean changed his name and became wealthy. When one of his employees, Fantine, died, Jean adopted her daughter, Cosette. All the time, a dogged detective, Javert, tried to apprehend this fugitive.

The society was nearly lawless. Jean had a saintly heart about the people around him. He also lived in the era that idealists fought for noble causes and sacrificing dearly, the general society struggled just to survive. The music was beautiful. I left the theater filled with feelings. Then I dug out the music (that Kids bought after they saw the same show) and re-heard the whole thing over again.

Posted in Books & Reviews, Seattle, Tour guides, Witness to my life | 1 Comment

Spinward Fringe

The universe in the future were governed by several evil empires (called corporations) and many smaller independent entities similar to city states. The protagonists were very skilled and capable people that flew around galaxy like gun slingers of the western movies.

The afterword by Randolph Lalonde, the author, told an interesting journey. He was a support person for a company (answer the phone for a New York cable company) that wanted to become an author. He self-printed Spinward Fringe and offered it to his colleagues at work, in exchange for critics and thoughts. They liked it and he published it on eBook format (MobiPocket).

Spinward is a series of shorter stories structured like a TV series episodes. They are best read together, but were meant to stand on their own individually, more or less. The first three episodes are like a mini-series and they became what Randolph Lanlonde called the Broadcast 0; confusingly also understood as the First Light Trilogy, since there are three stories there. So far, the series has 8 books.

Book 1 (Broadcast 0) is a free eBook: a growing trend among new writers that aimed at mass market. I am very fond of this marketing technique and was willingly hooked to buy Book 2/3 together. To my disappointment, somewhat, the Book 2/3 actually began a new story (and really are one integral unit, instead of two books). Broadcast 0, the Origins, was the prequel. That said, both were quite enjoyable and the eBooks prices are very affordable.

And I chose not to continue the Broadcasts. They are very entertaining and imaginary, but not thought provocative. After 3 books, I felt Randolf was running out of creativity. Obviously, many fans disagreed with me. He has become a best-seller author. Yet another eBook success story.

Posted in Books & Reviews | Leave a comment

Foie Gras and Plastic Bags

Few months ago, I went to a restaurant called Playground in Santa Ana, California. It is a place customers pay to consume what chefs having fun making. Everything was artisan: beers, breads, desserts, and, of course, all the dishes. Waiting staff will tell you a little story on each dish when it was served, “My grandfather had this bread recipe…” When the foie gras dish came up, the waitress said, “Enjoy while you can, this will be banned in a couple of months.” It was delicious, sheared to the perfection, melt in your month with a hint of meaty foul flavor, and sinfully creamy.

Yes, starting July 1st, California banned the selling and production of Foie Gras, the fatty goose liver loved by many. Although the most sweeping, California is pretty late in joining the anti-foie movement. Countries, states, and cities around the world has been banning the production or force-feeding of geese and ducks for decades. It is cruel, said the activists, to force-feed the fouls to enlarge their livers over 10 times the healthy size.

Do ducks prefer eating too much corn and died of liver disease over being slaughtered for their meats? Which one is more painful? Which is more cruel?


On the same day, Seattle banned plastic bags in all super-markets. Technically, they only banned the flimsy kind. A more sturdy kind will cost 10 cents each, paper bags 5 cents. China and many more places have done this years ago.

Americans prefer to use the invisible hand, or the market force, to control social behavior. People consume more if prices are low, less if high. To change behavior, simply change the price. But why would 5 and 10 cents make any difference? The idea seems to utilize other changers of behaviors: the quest for convenience and social acceptance. Paying for those bags is such a bother and using them is wrong: it hurts the earth.


Foie Gras exists because enough people like the taste of them. Bag exists because people need to take grocery home. They are hard to eradicate and therefore market will find ways. Restaurants are talking about giving away Foie Gras free, or offer to cook for the customers who brought the meat in themselves, similar to charging corkage fees when customers bring their own wines. As for bags, people will bring their own. But when they did not, they really have no choices but just pay for the bags. After all, 10 cents are not really beyond affordability. How many you can carry anyway?

Posted in Peek into my mind | 1 Comment

US Immigration Policies

President Obama decided to let some illegal aliens to work legally for two-years at a time. Once this door is cracked, these people can extend their work visa and eventually become US citizens. The Supreme Court just ruled most of Arizona’s tough anti-immigration laws unconstitutional, but left the “racial profiling” part intact. Some applauded these and others were infuriated. And everyone is debating the wrong thing.

The critically important immigration policy to debate is not about Mexicans dropping their kids, or pregnant wives, inside of the US borders. It is not whether “show me your paper” is the same as “racial profiling.” It is how to attract elite and wealth — those who try harder, are younger, and bring resources — into this country. Immigrants usually intensify competition for opportunities and therefore push the whole society to be more efficient. There are people who can make this country better, stronger, and wealthier. Inviting them into the citizenship is good for the country.

Even when the US produces a tenth of science and engineering majored college graduates than the industries need, we cap H1B visa to a ridiculous small number. Even when there is a severe shortage of service sector labor, we don’t grant temporary visa for qualified workers. Even when the economy is in desperate need for boosting, we don’t allow foreign investors to come. Even when National Parks are falling apart, we still make tourist visa difficult to get. Why? Because many of us fear competitions, we might lose.

The thing is, competitions are there anyway, next door or abroad. If Mexicans, Filipino, Indians, and Chinese work harder than Americans, why does it matter if they are in the country or not? Besides, don’t we want hard-working and well educated people working for us, instead of them?

Posted in Peek into my mind | Leave a comment

Stop Infinitive Appeal

“We will fight until the last breath,” the fighters swore! So battles after battles, they fought on. The spirits were high, the bodies were tired, the coffers emptied, lives ruined, but the glory of the fight will be remembered by the history. What causes are worth such price?

Well being of our descendants forever? The land our ancestors were buried? The name of the family? The destruction of our belief? The union with our love?

No. Americans fight for whether a union of two loved ones can be called marriage, growers of marijuana be treated like murderers, non-Anglo Saxon descents or less fluent English speakers prove their right to live here, or every sick person receive health care.

Republicans lost the first battle, Obamacare passed as laws. The lost the second battle, it was upheld by the Supreme Court. “We shall repeal!” claims the party.

Yes, it is a divided issue. No, Obamacare is not perfect, far from it. But honestly, we are tired and our coffers are far from full. Can we try to make it work instead of fighting to the last breath?

I don’t understand the arguments against individual mandate. If hospital cannot turn away patients and there is no individual mandate, then no one will buy insurance and just get free treatments. The result is all tax payers will pay for the hospitals and we will have nationalized health-care. So you will either pay for it as taxes or as mandate.

Posted in Peek into my mind | Leave a comment

They don’t work hard enough!

Software geeks work in mysterious ways, also in strange hours. That they are also highly paid makes others wonder if this is just a big scam. These people created all those bugs and then demand high compensation to fix them! At the same time, the products are never ready or good enough in time for selling. Besides, they come in late and disappear in the mid-afternoon. This is just anarchy.

Can you ask a musician to work 10 hours a day so that he can compose more music than 8? Preferably, 25% more? In fact, can you expect the same for any professional or creative jobs? Sales, lawyers, doctors, painters, writers, etc. Is “hard working” a valid concept for these jobs? If so, what does it mean?

There are many indicators for productivity: hours of working, lines of code, number of “check-in units,” amount of discussions, schedule of projects, etc. Then there are various ways to measure quality of work: review comments, bugs found, customer feedback, support cases, etc. Over the decades of this software industry, we have pretty much concluded that none of them are definitive but all of them are partial indicators. Therefore, if willing, a manager can track several of those mentioned above and arrive at a very reasonable metrics for productivity and quality of work for any individual software engineer. At least those not yet in pure architecting roles.

But so what? If I have concluded that individual is not productive enough, what can be done anyway?

The most effective way to motivate a software engineer is to challenge him/her with an interesting project. The best way to find interesting projects is to ask the person, “What can be done to make … better?” (Insert managerial creativity.) The variation of that is, “What else can we use … for?” (Insert something you have abundance: computing cycles, spare parts, expertise, etc.) After getting answer, offer some thoughts and opinions, send the person to talk to some more people, and request to chat with him/her again in a couple of weeks. In that second meeting, encourage some prototypical or experimental works to be done. The rest will be automatic.

Of course a manager can always demand more professionalism from the works. Be direct and make the request:

  • How was it documented? Was training considered?
  • How thorough was error checking? How was that part unit tested?
  • How diagnosable when things go wrong?
  • Is it scalable? Multi-threaded? 64-bit safe? Internationalized?
  • How does it affect system performance? How do you know?
  • How testable is it? Can that be automated?

Not only these questions make the code better, they also make them better engineers. If the answers to them are all positive, then you can promote the engineer and ask him/her to inspect others’ work.

This is why good engineers work that much harder and average ones are bored.

Posted in Management Thoughts | Leave a comment