关于java:看了-Google-大牛-Jeff-Dean-的传说我拜服了~

43次阅读

共计 4846 个字符,预计需要花费 13 分钟才能阅读完成。

Jeff Dean(也称 Jeffrey Adgate Dean)是一名美国计算机科学家和软件工程师,出生于 1968 年,毕业于华盛顿大学,次要作品有《MapReduce》等。

次要成就:

  • MapReduce 一个大规模数据处理系统
  • BigTable 一个结构化数据的分布式存储系统
  • Spanner 一个全球性的数据库系统
  • 参加谷歌的网络爬虫、索引、查问零碎、AdSense、谷歌翻译的设计与实现。
  • 2009 年入选美国工程院院士
  • TensorFlow 人工智能学习零碎 我的项目负责人

Jeffrey Dean,简略来说,这货是 Google 牛逼的源泉之一。因为此人切实太牛了,于是呈现了对于他有多牛的几个笑话,间接笑翻,和大家共享下。

  1. During his own Google interview, Jeff Dean was asked the implications if P=NP were true. He said, “P = 0 or N = 1.” Then, before the interviewer had even finished laughing, Jeff examined Google’s public certificate and wrote the private key on the whiteboard.

当他被 Google 面试时,Jeff Dean 被问及如果 P =NP 意味着什么。他说,“P=0 或者 N=1”。而后,在所有的面试官还没笑完之前,Jeff 瞄了一眼 Google 的公共证书而后在白板上写上了对应的私钥。

  1. Compilers don’t warn Jeff Dean. Jeff Dean warns compilers.

编译器从来不给 Jeff 编译正告,而是 Jeff 正告编译器

  1. The rate at which Jeff Dean produces code jumped by a factor of 40 in late 2000 when he upgraded his keyboard to USB 2.0.

在 2000 年后段,Jeff 码代码的速度忽然激增了 40 倍,起因是他把本人的键盘降级到了 USB 2.0

  1. Jeff Dean builds his code before committing it, but only to check for compiler and linker bugs.

Jeff 还是会在提交代码前把它们编译一遍,不过这么做的目标只是为了查看下编译器和链接器有没有 bug

  1. All pointers point to Jeff Dean.

所有指针都是指向 Jeff 的

  1. gcc -O4 emails your code to Jeff Dean for a rewrite.

gcc 的 -O4 优化选项是将你的代码邮件给 Jeff 重写一下

  1. The speed of light in a vacuum used to be about 35 mph. Then Jeff Dean spent a weekend optimizing physics.

光在真空中的速度曾近是 35 英里每小时,起初 Jeff 花了一个周末对物理学进行了小小的优化

  1. Jeff Dean was born on December 31, 1969 at 11:48 PM. It took him twelve minutes to implement his first time counter.

Jeff 出生于 1969 年 12 月 31 日的下午 11 点 48 分,而后他花了整整 12 分钟的工夫实现了他的第一个计时器。(背景:计算机中的计时器数值通常被设计为从 1970 年 1 月 1 日 0 点 0 分 0 秒到以后为止的秒数)

  1. When Jeff Dean sends an ethernet frame there are no collisions because the competing frames retreat back up into the buffer memory on their source nic.

当 Jeff 向以太网发送一个数据包时从来不会有抵触,起因是原本要和它有抵触的包都默默撤回了缓冲区

  1. Unsatisfied with constant time, Jeff Dean created the world’s first O(1/n)algorithm.

Jeff 对常量的工夫复杂度并不满足,于是他发明了世界上第一个 O(1/n) 的算法。(即随着问题规模的增大,其解决问题所花的工夫会越短)

  1. Jeff Dean was forced to invent asynchronous APIs one day when he optimized a function so that it returned before it was invoked.

Jeff 曾被迫创造了异步 API,起因是经他优化后的某个函数会在调用开始前返回

  1. When Jeff Dean designs software, he first codes the binary and then writes the source as documentation.

当 Jeff 写软件时,他是间接码机器码的。写源代码只是为了作为文档应用。

  1. Jeff Dean wrote an O(n^2) algorithm once. It was for the Traveling Salesman Problem.

Jeff 曾无奈写过一次 O(n^2) 的算法,其解决的问题是旅行商问题。(该问题是 NPC 的,即计算机中最简单最难解决的一类问题,许多人置信这些问题是没有多项式工夫复杂度的解的)

  1. Jeff Dean can beat you at connect four. In three moves.

Jeff 在四子连珠的游戏中能赢你,在三步内

  1. When your code has undefined behavior, you get a seg fault and corrupted data. When Jeff Dean’s code has undefined behavior, a unicorn rides in on a rainbow and gives everybody free ice cream.

当你的代码有不确定行为时,你通常失去一个段谬误或者不正确的数据。当 Jeff 的代码有不确定行为时,孙悟空会驾着七彩云朵给每个人发收费的长命仙桃

  1. When Jeff Dean fires up the profiler, loops unroll themselves in fear.

当 Jeff 触发程序的程序性能采样时,循环会因胆怯而主动开展。

  1. Jeff Dean is still waiting for mathematicians to discover the joke he hid in the digits of PI.

Jeff 仍然孤单地期待着数学家们解开他在 PI 的数字中暗藏的笑话

  1. Jeff Dean’s keyboard has two keys: 1 and 0.

Jeff 的键盘多达两个键:1 和 0

  1. When Jeff has trouble sleeping, he Mapreduces sheep.

当 Jeff 失眠时,他 Mapreduce 羊群。(Mapreduce 是 Jeff 的作品之一,这个分布式解决的框架算法是 Google 立足的基本之一)

  1. When Jeff Dean listens to mp3s, he just cats them to /dev/dsp and does the decoding in his head.

当 Jeff 听 MP3 时,他查看其中的二进制内容而后在他脑子里进行音频解码。

  1. When Graham Bell invented the telephone, he saw a missed call from Jeff Dean.

当贝爷在沙漠中逮到一个手机时,他发现手机里有个 Jeff 的未接复电。

当贝尔创造电话后,他发现电话里有个 Jeff 的未接复电。

  1. Jeff Dean’s watch displays seconds since January 1st, 1970. He is never late.

Jeff 的手表显示的数字是自 1970 年 1 月 1 日 0 点 0 分 0 秒以来的秒数,他因而从来不早退。

  1. Jeff starts his programming sessions with ‘cat > /dev/mem’.

Jeff 在开始编程之前,会做 ’cat > /dev/mem’。(即把输出的内容间接导到内存中)

  1. One day Jeff Dean grabbed his Etch-a-Sketch instead of his laptop on his way out the door. On his way back home to get his real laptop, he programmed the Etch-a-Sketch to play Tetris.

有一次 Jeff 出门时错将草图画板当笔记本拿了。

后果在他回家取笔记本的路上,他对画板进行了重编程以在其上玩俄罗斯方块

  1. Google search went down for a few hours in 2002, and Jeff Dean started handling queries by hand. Search Quality doubled.

在 2002 年,Google 搜寻曾挂了几个小时,于是 Jeff 站进去手动解决用户的查问申请。搜寻准确度翻了番

  1. The x86-64 spec includes several undocumented instructions marked ‘private use’. They are actually for Jeff Dean’s use.

x86-64 指令集中有一些没有被记入到文档的‘私用’指令。事实上,他们是给 Jeff 用的

27.mantri@mantri-laptop~$ rm -r /
rm: cannot remove root directory‘/’

mantri@mantri-laptop~$ su – jeffdean -c “rm -r /”
I am extremely sorry. Removing root directory..

不解释

  1. Jeff Dean once shifted a bit so hard, it ended up on another computer.

有次 Jeff 移位移得太恨了,后果那一位跑到另一台计算机下来了

  1. Jeff Dean has gone to /dev/null and come back.

Jeff 从 /dev/null 那涅槃了。(庞统啊~)

Jeff 又从 /dev/null 那涅槃了。(擦!)

  1. Jeff Dean sorts his phone contacts by their vcard’s md5 checksums.

Jeff 通讯录的排序规定是依照联系人的 md5 值

  1. Jeff Dean doesn’t kill processes, he slays them.

Jeff 他不杀过程,他肢解虐杀它们

  1. The needle in haystack found Jeff Dean

海底的针会本人找上 Jeff

  1. All of the Google App Engine is actually hosted from Jeff Dean’s Nexus S

Google App Engine 的服务器实际上是 Jeff 的 Nexus S

  1. Jeff Deans’s keyboard doesn’t have a Ctrl key because nothing controls Jeff Dean.

Jeff 的键盘压根就没有 Ctrl(管制) 键,因为没有什么货色能管制 Jeff

  1. You name three pointers, Einstein, Euler, and Turing, when you de-reference them, all you get is Jeff Dean.

如果你命名三个指针别离为爱因斯坦、欧拉和图灵,当你查看它们的指向时,你看到的都会是 Jeff。

最初,关注公众号 Java 技术栈,在后盾回复:GG 标准,能够获取一份 Google 代码开发标准,十分齐全。

起源:www.zhihu.com/question/22081653/answer/20593104
近期热文举荐:

1.Java 15 正式公布,14 个新个性,刷新你的认知!!

2. 终于靠开源我的项目弄到 IntelliJ IDEA 激活码了,真香!

3. 我用 Java 8 写了一段逻辑,共事直呼看不懂,你试试看。。

4. 吊打 Tomcat,Undertow 性能很炸!!

5.《Java 开发手册(嵩山版)》最新公布,速速下载!

感觉不错,别忘了顺手点赞 + 转发哦!

正文完
 0