1.DuringhisownGoogleinterview,JeffDeanwasaskedtheimplicationsifP=NPweretrue.Hesaid,"P=0orN=1."Then,beforetheinterviewerhadevenfinishedlaughing,JeffexaminedGoogle’spubliccertificateandwrotetheprivatekeyonthewhiteboard.
当他被Google面试时,JeffDean被问及如果P=NP意味着什么。他说,“P=0或者N=1”。然后,在所有的面试官还没笑完之前,Jeff瞄了一眼Google的公共证书然后在白板上写上了对应的私钥。
2.Compilersdon’twarnJeffDean.JeffDeanwarnscompilers.
编译器从来不给Jeff编译警告,而是Jeff警告编译器
3.TherateatwhichJeffDeanproducescodejumpedbyafactorof40inlate2000whenheupgradedhiskeyboardtoUSB2.0.
在2000年后段,Jeff码代码的速度突然激增了40倍,原因是他把自己的键盘升级到了USB2.0
4.JeffDeanbuildshiscodebeforecommittingit,butonlytocheckforcompilerandlinkerbugs.
Jeff还是会在提交代码前把它们编译一遍,不过这么做的目的只是为了检查下编译器和链接器有没有bug
5.AllpointerspointtoJeffDean.
所有指针都是指向Jeff的
6.gcc-O4emailsyourcodetoJeffDeanforarewrite.
gcc的-O4优化选项是将你的代码邮件给Jeff重写一下
7.Thespeedoflightinavacuumusedtobeabout35mph.ThenJeffDeanspentaweekendoptimizingphysics.
光在真空中的速度曾近是35英里每小时,后来Jeff花了一个周末对物理学进行了小小的优化
8.JeffDeanwasbornonDecember31,1969at11:48PM.Ittookhimtwelveminutestoimplementhisfirsttimecounter.
Jeff出生于1969年12月31日的下午11点48分,然后他花了整整12分钟的时间实现了他的第一个计时器。(背景:计算机中的计时器数值通常被设计为从1970年1月1日0点0分0秒到当前为止的秒数)
9.WhenJeffDeansendsanethernetframetherearenocollisionsbecausethecompetingframesretreatbackupintothebuffermemoryontheirsourcenic.
当Jeff向以太网发送一个数据包时从来不会有冲突,原因是本来要和它有冲突的包都默默撤回了缓冲区
10.Unsatisfiedwithconstanttime,JeffDeancreatedtheworld'sfirstO(1/n)algorithm.
Jeff对常量的时间复杂度并不满足,于是他创造了世界上第一个O(1/n)的算法。(即随着问题规模的增大,其解决问题所花的时间会越短)
11.JeffDeanwasforcedtoinventasynchronousAPIsonedaywhenheoptimizedafunctionsothatitreturnedbeforeitwasinvoked.
Jeff曾被迫发明了异步API,原因是经他优化后的某个函数会在调用开始前返回
12.WhenJeffDeandesignssoftware,hefirstcodesthebinaryandthenwritesthesourceasdocumentation.
当Jeff写软件时,他是直接码机器码的。写源代码只是为了作为文档使用。
13.JeffDeanwroteanO(n^2)algorithmonce.ItwasfortheTravelingSalesmanProblem.
Jeff曾无奈写过一次O(n^2)的算法,其解决的问题是旅行商问题。(该问题是NPC的,即计算机中最复杂最难解决的一类问题,许多人相信这些问题是没有多项式时间复杂度的解的)
14.JeffDeancanbeatyouatconnectfour.Inthreemoves.
Jeff在四子连珠的游戏中能赢你,在三步内
15.Whenyourcodehasundefinedbehavior,yougetasegfaultandcorrupteddata.WhenJeffDean'scodehasundefinedbehavior,aunicornridesinonarainbowandgiveseverybodyfreeicecream.
当你的代码有不确定行为时,你通常得到一个段错误或者不正确的数据。当Jeff的代码有不确定行为时,孙悟空会驾着七彩云朵给每个人发免费的长寿仙桃
16.WhenJeffDeanfiresuptheprofiler,loopsunrollthemselvesinfear.
当Jeff触发程序的程序性能采样时,循环会因害怕而自动展开。
17.JeffDeanisstillwaitingformathematicianstodiscoverthejokehehidinthedigitsofPI.
Jeff依然孤独地等待着数学家们解开他在PI的数字中隐藏的笑话
18.JeffDean'skeyboardhastwokeys:1and0.
Jeff的键盘多达两个键:1和0
19.WhenJeffhastroublesleeping,heMapreducessheep.
当Jeff失眠时,他Mapreduce羊群。(Mapreduce是Jeff的作品之一,这个分布式处理的框架算法是Google立足的根本之一)
20.WhenJeffDeanlistenstomp3s,hejustcatsthemto/dev/dspanddoesthedecodinginhishead.
当Jeff听MP3时,他查看其中的二进制内容然后在他脑子里进行音频解码。
21.WhenGrahamBellinventedthetelephone,hesawamissedcallfromJeffDean.
当贝爷在沙漠中逮到一个手机时,他发现手机里有个Jeff的未接来电。
当贝尔发明电话后,他发现电话里有个Jeff的未接来电。
22.JeffDean'swatchdisplayssecondssinceJanuary1st,1970.Heisneverlate.
Jeff的手表显示的数字是自1970年1月1日0点0分0秒以来的秒数,他因此从来不迟到。
23.Jeffstartshisprogrammingsessionswith'cat>/dev/mem'.
Jeff在开始编程之前,会做'cat>/dev/mem'。(即把输入的内容直接导到内存中)
24.OnedayJeffDeangrabbedhisEtch-a-Sketchinsteadofhislaptoponhiswayoutthedoor.Onhiswaybackhometogethisreallaptop,heprogrammedtheEtch-a-SketchtoplayTetris.
有一次Jeff出门时错将草图画板当笔记本拿了。结果在他回家取笔记本的路上,他对画板进行了重编程以在其上玩俄罗斯方块
附一张说明Etch-a-Sketch是什么的图
//是一种画板,使用者通过控制两个旋钮来控制画笔在画板上的移动。
25.Googlesearchwentdownforafewhoursin2002,andJeffDeanstartedhandlingqueriesbyhand.SearchQualitydoubled.
在2002年,Google搜索曾挂了几个小时,于是Jeff站出来手动处理用户的查询请求。搜索准确度翻了番
26.Thex86-64specincludesseveralundocumentedinstructionsmarked'privateuse'.TheyareactuallyforJeffDean'suse.
x86-64指令集中有一些没有被记入到文档的‘私用’指令。事实上,他们是给Jeff用的
27.
mantri@mantri-laptop~$rm-r/
rm:cannotremoverootdirectory‘/’
mantri@mantri-laptop~$su-jeffdean-c"rm-r/"
Iamextremelysorry.Removingrootdirectory...
不解释
//rm-r是Linux系统中删除根目录所有文件的命令,这是不可能执行的(如同在win系统中不允许格式化c盘一样),su命令是在低权限账户操作Linux系统时想执行高权限命令时使用的。
28.JeffDeanonceshiftedabitsohard,itendeduponanothercomputer.
有次Jeff移位移得太恨了,结果那一位跑到另一台计算机上去了
29.JeffDeanhasgoneto/dev/nullandcomeback.
Jeff从/dev/null那涅槃了。(庞统啊~)
Jeff又从/dev/null那涅槃了。(擦!)
30.JeffDeansortshisphonecontactsbytheirvcard'smd5checksums.
Jeff通讯录的排序规则是按照联系人的md5值
31.JeffDeandoesn'tkillprocesses,heslaysthem.
Jeff他不杀进程,他肢解虐杀它们
32.TheneedleinhaystackfoundJeffDean
海底的针会自己找上Jeff

--33.AlloftheGoogleAppEngineisactuallyhostedfromJeffDean'sNexusS
GoogleAppEngine的服务器实际上是Jeff的NexusS
34.JeffDeans’skeyboarddoesn’thaveaCtrlkeybecausenothingcontrolsJeffDean.
Jeff的键盘压根就没有Ctrl(控制)键,因为没有什么东西能控制Jeff
35.Younamethreepointers,Einstein,Euler,andTuring,whenyoude-referencethem,allyougetisJeffDean.
如果你命名三个指针分别为爱因斯坦、欧拉和图灵,当你查看它们的指向时,你看到的都会是Jeff