Did Supreme Court Justice Also Say “Don’t Ask For Raise”

Stephen Breyer is one of the Supreme Court Justices. In an interview in 2010, he was asked to give young persons career advice. He said these words:

My father gave me a good advice. He said when you have a job, someone wants you to do something, the thing to do is you do it. You do it as well as you can and you take into account what other people are thinking and what the needs of other people are. He said, now if you do it real well and you pay attention, then maybe someone will notice. If you’re noticed, you might get a better job. But maybe they won’t notice. But you still have done that job well. So there is no lose.

What if Stephen Breyer was invited to speak at the Grace Hopper conference and said the same words when he was asked to give advice? Did Stephen just say the same: (don’t ask for raise, instead,) just do your job well and a better job might come.

The Tech Gender Gap

In the last a few months, people are talking about the tech gender gap, that a lot more software engineers are men (e.g. 80%) than women (e.g. 20%) in big Internet companies like Google, Facebook, Yahoo, as well as in the tech industry.

I am not suggesting that the current gender gap is justifiable. I am just curious: when folks crucify the tech companies and industry, what is the right ratio in their mind? One can’t just say “there should be the same amount of men and women computer engineers because men and women are equally smart”.

Put that aside, why is the companies and the industry to blame? It seems to me that the companies just inherited the gender gap from their talent supplier — the colleges. Per the data on Wikipedia, the men-women ratio in college students in computer science related majors seems to be in line with the ratio in the companies.

Actually, in the tech companies, the age discrimination may be a much worse issue than the gender gap.

I Want An Owl

Harry Potter has an owl, Hedwig. I want one, too. For many times, I wished I had one. That would have saved me a lot of time and hassles. Here are three examples.

Example one: repair my iPad. Last Saturday night, the home button on my iPad stopped working. I went to the Apple Store in the university village in Seattle on Sunday morning. The store was full of people and I was told that the waiting time would be half an hour. So I made an appointment in the afternoon, hoping that would get shorter wait. But when I came back and checked in on time, I still waited more than twenty minutes until I got help. The rest didn’t take more than a couple minutes. Since I was still in warranty, I simply got a replacement iPad. I wish I had an owl, which can carry my iPad to the store, get replacement and fly back, so that I don’t have visit the Apple Store in person and wait in line.

Example two: pharmacy trip. We were traveling in San Francisco last year and in that night, my boy had fever and cough. My wife needed help but we had to get some Tylenol. It was after midnight and not quite easy to get a cab. It took me about an hour to get the Tylenol from a 24-hours pharmacy several miles away. If I had an owl, I would have sent my owl to the pharmacy so that I could stay with my boy and give my wife help.

Example three: garage door. Yeah, there are many people like me: I often don’t remember whether I have shut my garage door, so I come back from a few blocks away to double check. For the record, I did forget for a couple times. So it wasn’t always wasteful. But if I had an owl, I would keep going and send my owl back to take a peek. After that, the owl would fly back to where I am, which might have been several miles away from where I launched her.

Harry Potter’s owl only lives in the books and movies. The owl that I want will be a drone, a smart drone. It may take quite a few years to get there: that I can send my smart drone to run the errands for me. There will be things to iron out, such as what if somebody shoots down my drone and takes my replacement iPad; how will it launch and land in urban area; etc.. Affordability is a thing, too. But thirty years ago, a PC wasn’t too affordable and twenty years ago, a cell phone wasn’t too affordable.

I believe the dream will come true and when I am old, I will send my drone to pick up my prescriptions rather than going to the Walgreens by myself.

一年看五十本书•目标达成

2014年看50本书的目标已经达成了,提前了三个多月。接下去的打算是看掉几本砖头书,比如《约翰•克里斯朵夫》和《资本论》,以及多看更多的英文书。

这些就是今年我看过的50本书:


君主论

金融的本质

思考的乐趣

我的两个世界

冰与火之歌·卷五·魔龙的狂舞

冰与火之歌·卷四·群鸦的盛宴

悲剧的诞生

动荡的世界

那一张旧书单

寻味

右派国家

国史四十四讲

Flash Boys

从莫斯科到古拉格

听不完的历史

历史的细节

说谎者的扑克牌

先生,伦勃朗又不见了

绩效致死

One Up On Wall Street

美国的奠基时代(1585―1775)

巴黎烧了吗?

四大门

信号与噪声

富兰克林自传

NoSQL Distilled

I. M. Wright’s “Hard Code”

一头猪在普罗旺斯

旧制度与大革命

山河岁月

经典普洱

拾年

中国的经济制度

民国的角落

一个:很高兴见到你

战国日本

江村经济

墙·呼啸

哲学家们都干了些什么?

美国种族简史

给理想一点时间3

货币的教训

工作颂歌

我们的国家公园

Longitude

你一定爱读的极简欧洲史

两宋文化史

一网打尽

美国最高法院通识读本

青春

Exploratory Mode of GPS

GPS is making traffic congestion worse, as more people more rely on GPS to find their way home. GPS’ routing algorithm is so repeatable that from a given point A to point B, it always gives the same route (note: recently some GPS devices introduced the “eco” mode, whose routing algorithm optimize for less fuel instead of less travel time. But it doesn’t change the deterministic nature of GPS routing algorithm). Some time some people want to take a bit detour, knowing the local roads (rather than the highway that GPS suggested), which cars drive slower though, may have much less traffic which eventually may result in less travel time. But GPS always faithfully and promptly recalculate and suggest a new route leading back to the congested highway. I don’t have the exact data but I believe that as the result of GPS recommending the same route to everybody, the worth of time and fuel wasted and the extra emission will add up huge.

Another problem of GPS always recommending the same route is that it deprives our opportunity to explore. The best way to know the area that I live is to see where there are what in my own eyes. Often times, when I drive passing a corner, I noticed a nice shop and remembered to pay a visit later; I noticed that there was a farmer’s market on that street on Saturday morning; I noticed that there was a drive-through 24 hours Walgreens on that block; so on and so on. To me personally, such way (knowing my area by driving around) works better than Bing/Google maps, Yelp and yellow pages. Also, when I’m travelling in other cities, I have abundant time and I want to drive around to discover the things that I won’t see if I just follow GPS’ directions from A to B.

So for those two reasons, I think GPS should have the exploratory mode (or maybe “Surprise Me” would be a catchier name): instead of reliably always recommend the same route with the least travel time (or least fuel consumption), I hope I can switch my GPS into the exploratory mode, so that it adds some detours, as far as it only adds a couple minutes travel time or a couple miles distances. Better if the GPS can remember where I have been already recently, so that next time when it introduces the detour in exploratory mode, it takes me to the neighborhood where I haven’t been to recently.

Such exploratory mode may also enable a new monetization way: local business can pay the GPS/map providers so that the exploratory mode increases the odds to detour the driver to where that local business is.

In my opinion, such exploratory mode will be a good differentiator in today’s market, not too hard to implement and increases profitability.

带着郑轶嘉去旅行 (II)

去年这个时候写过一篇《带着郑轶嘉去旅行》,说到郑轶嘉从四个月大到一岁半去过的地方:四个月大的时候去了夏威夷,六个月大的时候去了San Diego,八个月的时候去了Banff国家公园,快一岁的时候回了一次上海,一岁出头一点去了Las Vegas,去年五月份他一岁半的时候去了大峡谷。

一晃一年过去了,郑轶嘉两岁半了。这一年小胖子又去了不少好地方:

1. 去年七月份去了纽约。

2. 去年九月份去了佛罗里达,还坐了游轮。

3. 感恩节去了意大利。这张照片是在San Gimignano拍的,就是最近《花儿与少年》去过的那个San Gimignano。

4. 今年一月份去了Whistler滑雪,就是2010年开冬奥会的地方。雪道超赞的,但小胖子还太小,只能在下面耍耍:

5. 五月份,也就是上个月,去了Tahiti。

# to be continued #

跑步和编程

以前有阵子我有玩足球经理类的游戏,游戏里面我就是一个俱乐部的主教练和总经理,有一笔钱,转会费,可以到市场上去买球员。游戏一开始钱很少,只买的起便宜的球员。便宜没好货,买的起的都有这样那样的缺点:前锋Finish数值挺高的,但Acceleration不行,中场Passing不错的,Stamina不行。但几个赛季过后钱就多起来了,越到后面钱越多,那时候买球员就眼光高了:搜索所有的前锋,先把按照速度和射门过滤一遍,只保留速度和射门都高于80的,然后再按照Flair、Passing、Heading、Team Work等慢慢选。这样挑剩下来的都身价不菲,但咱不在乎。咱有钱,都买的起。大不了买来用用,不好用就贱卖了,不为收回投资,只为尽快腾出位子买新的。

现在有些搞软件、互联网的公司的套路和我当年玩足球经理有钱了以后的做法挺像的。他们但凡面试人,就是做编程题,而且还是有点难有点复杂的编程题。但凡是编程题做的不好的一律不要,只在做得好的里面再挑选。道理大部分人都明白:做产品并不只是写程序,写编程题写得好,真的工作起来未必能做好。面试程序员主要靠四五个小时的编程题来决定,就有点像足球俱乐部只根据射门准不准和跑步跑得快不快来决定买不买人。但谁让那些公司有钱又有名呢,像皇马曼联一样,大家都想去,就可以把跑得不怎么快的直接涮掉,剩下还有足够多的可以选。

十几年前Microsoft就是这么一家公司,后来Microsoft失宠了,轮到Google和Facebook来这么玩了。Microsoft当红的时候是不把其他公司的职衔放在眼里的,比如来个惠普或者摩托罗拉的,管你是Lead还是Manager,来了一律只给Engineer的职位。太阳底下无新事,现在这么干的是Google。前两个月跟一个Google的人吃饭,他说着说着说到从外面去他们那儿的,职位都是要降一级的(从M2变成M1,从M1变成IC)。当时我一阵恍惚,分不清他在说的是今天的Google,还是我刚毕业那阵子的微软。

Why Startups Use Misspelled Names

When I read the news these days, I see lots of startups using misspelled words as their names, though when you read them, they pronounce like legit words. A few of them have grown pretty big, such as: Flickr (flicker), Tumblr (tumbler) and Reddit (read it).

There are more out there:

The list goes on and on.

Why they are using misspelled words as company names? In one of his post, Jeff Knupp said: “Start-ups don’t make developers wear multiple hats by choice, they do so out of necessity“. Similarly, I believe startups chose the misspelled words as their names out of two necessities.

First, domain names are very expensive. It was said that XiaoMi paid tens of millions of dollars for the new domain name mi.com (was xiaomi.com). I also heard that JD.com paid a lot for the new domain name, to replace 360buy.com. I haven’t seen any rumor about box.com, but I believe the price tag must be at least multi million. To get more idea about the hefty price tag on domain names, go to godaddy.com and check it out.

Second, I guess those misspelled names are good SEO (search engine optimization). For example, see what you can get by searching for “louder” in Bing. But if you search for “loudr”, loudr.fm pops up as the first result.

一年看五十本书

去年年底的时候给自己定了一个2014年的目标:一年看五十本书。

当时订这个目标的时候参考了自己在大学本科时候的阅读量。大四毕业的时候在图书馆退借书证的时候我数过一下,大学三年半,差不多从学校图书馆借了两百本书的样子。去掉其中一小部分的专业书(我很少借专业书……),加上从宿舍里其他人那里蹭着看的,加上从上海图书馆借的一些,基本上是每周一到两本的样子。现在的空闲时间不比当年大学里的时候,所以就暂且按照一周一本的量来订目标吧。

现在差不多四分之一的时间过掉了,目标完成了一半:已经看了26本书了。除了其中的三本英文书,剩下的都是在Kindle上看的。Kindle真的好方便,出去的时候也不用在行李箱里塞厚厚的书,又重又占地方。要是没有Kindle,去年去意大利的时候怎么可能把七本《明朝那点事儿》和四本《绝代双骄》都给看了。

有人问我怎么能看这么多书。其实主要原因有两个。第一,我看书快。最快的时候是在大学里的时候,有些书(比如《围城》)一个小时可以看一百页左右。第二,有了Kindle,各种碎片时间都能利用起来了:坐在车里等小胖子睡醒的时候,晚上看着小胖子洗澡的时候,陪小胖子睡觉的时候,周末出去朱苹果开车的时候,还有去dealer给车子做oil change的时候。从amazon.cn买中文版的电子书也挺方便的,而且价格也很便宜,便宜得让人觉得没有必要费尽心机搞免费版的了。

我看的这些书统统都是non-fiction(非小说类)。我倒是想看《冰与火之歌》来着,但是amazon.cn没有中文版的。英文版的就算了,看着还是累。等到现在买了的那些看得差不多了,倒可以把莫言的搞来看两本。其他的fiction就算了,我不喜欢看fiction,对编出来的故事兴趣不大。主要还是看一些文史哲、经济、名人传记之类的。

今年到目前为止看过的书:


富兰克林自传

NoSQL Distilled

I. M. Wright’s “Hard Code”

一头猪在普罗旺斯

旧制度与大革命

山河岁月

经典普洱

拾年

中国的经济制度

民国的角落

一个:很高兴见到你

战国日本

江村经济

墙·呼啸

哲学家们都干了些什么?

美国种族简史

给理想一点时间3

货币的教训

工作颂歌

我们的国家公园

Longitude

你一定爱读的极简欧洲史

两宋文化史

一网打尽

美国最高法院通识读本

青春

Firefighting vs. Fire Prevention

One of my team members shared this article with me: Treat bugs as fires. The author said,

“There are software devs who follow a different approach. They focus on fire prevention, not fire cure. Sure, they have to put out fires. But they use each fire as an opportunity to learn how to prevent fires, and then they build new parts of the city in a way that prevents the fires they have seen. Over time, these teams live in cities that don’t burn down. They go weeks and months between alarms going off. They rarely even have building code violations (risks found by QA or build verification tools).”

There are very few number of such teams. It’s because balancing between firefighting vs. fire prevention is hard:

1. Firefighting is heroic and many managements reward such heroic behavior. If they don’t do so, there will be no fire fighters. The dilemma is: then, preventing fire is less rewarded than firefighting and it’s human nature to go after bigger rewards. So fewer people will do fire prevention and more people will do firefighting.

2. Few people stay in the same place long enough to start to harvest from their investments in fire prevention. To optimize for the outcome in 18 months, I would rather to cut a lot corners in order to ship a lot of shining features, get a promotion, and move on. The corner-cutting will hurt us after 2-3 years, but why would I care if I am not here anymore?

Both need to be address by the managements:

For (1), the managements have to first be conscious about how he/she is rewarding firefighting vs. fire prevention. Then find out a balanced way to encourage fire prevention while keep firefighters a desired job.

For (2), attrition is natural, but the managements can keep people stay a bit longer and can make ownership stable. It also depends on the management’s judgment. Management needs to point it out when people cut corner and punish people if it’s too much.

That’s why the management is so critical (especially the first line as well as middle management). If the management fails to steer the team toward the right balance between firefighting vs. fire prevention, or the management themselves only plan to be here for 18 months, the team/product has little chance to thrive.

Where we are in the history of software

I have been always thinking that we are very early in the history of software. Using timepiece as a metaphor:

  • The software in the 50’s and 60’s were like the sundial.
  • The software in the 80’s are like the clock made in 16th century: need to be wound daily, and off by a couple minutes daily.
  • The software today are somewhat like the first generation of pocket watch, such as those made by John Harrison: they are pretty sophisticated and works really well, but each of them took John a dozen years to make.

Today there are very few number of watches are handmade. Most of them are hand-assembled, or purely machine made. When we look at the craftsmanship a few centuries ago, we don’t think their techniques are too impressive. A teenage today probably knows everything that the greatest mathematics and physicists knows in the 17-18th century. I believe, in maybe 50 years from now, when people look back at us and how we make software today, they will have similar feeling.

Today, all software are handmade. It has been talked for a decade or two about producing software in the way how today’s plants produce cars. But I believe there will be another several decades when that become true. By the time we retire, I believe most of the software will be written by software. There will be very few of software engineers at that moment. Their main job is to write the “seed” software or component, to kick-start the whole software-writing-software chain. When software is written by software, bugs will be like the fires.

印度老板

我们公司的大老板原来是美国人,美国人之前是另一个美国人。不过前两天变成印度人了。据三爷说,外面有很多中国人对此有很多的牢骚和怪话。我比较闭塞,也基本不去mitbbs那种地方,不过可以想象那些牢骚和怪话大概是什么样子的。比较常见的基本上就是说以后中国人更加难混了,印度人只会重用印度人。大概还会有人会高声疾呼中国人也要提携中国人。 大概还会有人对陆奇的前路发表一些揣测。我想我揣测得大概有个八九不离十吧。

我不觉得印度人都像有些人描述的那样不堪,那样纯粹的任人唯亲。就像三爷说的,每个族群都有a-hole,印度人里面有a-hole,中国人里面也有a-hole,美国人里面也有a-hole。比例多寡我没有比较过,不过我不觉得有什么天壤之别。我的历任老板里面的人印度人,一只手快要数不过来了,加上其他很多我共事过的印度人,这些人里面颇有不少人业务精良、人品端正的。

想要那样子发牢骚的人就让他们去发吧。其实这件事情有很多积极的一面。和我一样,和我们很多人一样,这个新的印度大老板是个第一代移民:他是出生在印度的,在印度念的大学。这件事情告诉我们,第一代移民也是有机会上位的。这件事情又告诉我们,没有在美国念过大学并不是一个deal breaker。这件事情还告诉我们,就算不是跟老板属于同一个族群,也是有机会的上位。今天印度人能接美国人的班,明天俄罗斯人或者中国人就能接印度人的班。

其实印度人这个话题在我们公司里,在我们这个行当的中国人圈子里,已经是一个非常非常历史悠久的话题了。十几年前,我刚刚工作刚刚进这个公司的时候,就已经有这个话题了。那时候就在讲外包。其实那时候印度人就已经走在中国人前面了。那时候李开复做了副总裁,大家一下子觉得有希望了,指望着靠着这个副总裁的影响力给中国多拉一点项目。不知道抱有这样想法的人,到后来李开复投靠股沟的时候,是不是觉得自己在这家公司里面的前景也因此一下子黯淡了许多。

我跟身边的人谈到印度人这个话题的时候一直是这么说的:我们中国人,在一家美国人公司工作,如果有一天这家公司变成了印度人公司,也没啥两样,你担心印度人只会提携印度人,难道美国人就会照顾中国人了不成?就算回头这家公司变成中国人的公司了,比如,杨元庆同学把咱们买走了,就像买IBM和买摩托罗拉那样买走了,那又能怎样呢?在一个全都是中国人的公司里面,难道不是一样要靠努力才能上位么?努力干活,努力搞好关系。在腾讯、百度、阿里巴巴,我就不信没有争权夺势和勾心斗角。

我一直跟周围的人引用张廷玉做例子。我对这老兄印象比较深是因为看了好多遍的《雍正王朝》电视剧。抛开不谈电视剧是否包含很多文艺创作的成分。张廷玉这人在清朝做官,做到头了也就是尚书房大臣,而且排名一直都排在其他满人尚书房大臣的后面:一开始排在佟国维和马齐后面,后来排在马齐后面,到很后面才排到第一位。但再怎么往前排,也就是尚书房大臣,不是王爷,更不是皇帝。人家就好好的把文官的工作做好,也算是做到了兼济天下,而不是去整天发愁:我的老板是满人,满人总是优先照顾满人,我再怎么努力也就是做到一个Director,真没意思啊真没意思。