crb912
3/8/2021 - 4:54 PM

有趣的言论

我的收藏

生活目的

The important thing, once you have enough to eat and a nice house, is what you can do for others, what you can contribute to the enterprise as a whole. -- Donald Knuth
一旦足以吃饭穿暖, 一个不错的房子. 就该去思考能为别人做些什么,对社会和企业能做出什么样的贡献.

Don't follow the crowd, follow your own way. Do what you love.
不要随大流,走自己的路。做你热爱的事。

To live is the rarest thing in the world. Most people exist, that is all. - Oscar Wilde
生活是世界上最稀有的事物。大多数人存在,仅此而已。- 奥斯卡·王尔德

We are all in the gutter but some of us are looking at the stars.
我们都在阴沟里,但有些人在仰望星空。

A true man does what he will, not what he must. ― George R.R. Martin, A Game of Thrones

Our intent was to create a pleasant computing environment for ourselves, and our hope was that others liked it.
-- Ritchie, Dennis M. 1984. Communications of the ACM

生活方式

Philosophy is a way of life and not just a theoretical discipline. --Epictetus
哲学不只是一门理论学科, 更是一种生活方式. --埃皮克提图

光勤劳是不够的,蚂蚁也非常勤劳。你在勤劳些什么呢?有两种过错是基本的,其他一切过错都由此而生:急躁和懒惰.--卡夫卡

芝兰生于深林,不以无人而不芳;君子修道立德,不为穷困而改节。--《孔子家语·在厄》

Money is not everything but is an important ingredient. Find a good solution to it, so that you can invest some time in doing things you really love.
钱不是万能的,但它是重要的组成部分;去找到一个好的解决办法,以便于你可以把时间投入到你真正热爱的事情上。

我最理想的生活方式是带着纸笔和一盏灯待在一个宽敞的、闭门杜户的地窖最里面的一间里。饭由人送来,放在离我这间最远的、地窖的第一道门后。穿着睡衣、穿过地窖所有的房间去取饭将是我唯一的散步。然后我又回到我的桌旁、深思着细嚼慢咽,紧接着又马上开始写作。那样我将写出什幺样的作品啊!我将会从怎样的深处把它挖掘出来啊。--卡夫卡

Most men die at twenty or thirty; thereafter they are only reflections of themselves: for the rest of their lives they are aping themselves, repeating from day to day more and more mechanically and affectedly what they said and did and thought and loved when they were alive. -- Romain Rolland

科学与艺术

Science is what we understand well enough to explain to a computer. Art is everything else we do. -- Donald Knuth
科学是我们理解的足以向计算机解释的东西. 艺术是我们所做的一切.

A little knowledge is a dangerous thing. -- Gentleman and Lady's Complete Magazine, Vol II, 1774
一知半解是可怕的一件事

Felix qui potuit rerum cognoscere causas - Virgilius
洞悉事物真理的人无比幸运.(拉丁语) --维吉尔


(方法论)

To really know a city, you have to live in it, often for years. -- A Tour of C++, 1st Edition, Bjarne Stroustrup.
如果想要真正认识一个城市, 需要在其中生活很多年.

To understand how something works, you need to build it. --Deb Roy, a roboticist at MIT.
要了解某些东西是如何工作的,就需要构建它

We keep learning little things that help us take giant steps as we go. – Donald Knuth, June 2011.
我们不断学习很少的东西,以帮助我们取得更大的进步。(不积跬步,无以至千里) --高德纳

Discovery consists of seeing what everybody has seen and thinking what nobody has thought. Albert Szent-Georgi
发现和创新包括两部分:看到每个人都在想什么,然后思考没人在想什么。

It is diffcult, if not impossiable, for anyone to learn a subject purely by reading about it, without applying the imformation to specific problems and thereby encouraged to think about what has been read. Furthmore, we all learn best the tings that we have discovered for ourselves. -- TAOCP, Donald Knuth
任何人单凭阅读而不运用所获得的知识解决具体问题,进而激励自己思考所阅读的内容,就想学会一门学科,即便可能,也很困难。再者,人们大凡对亲自探索过的事物才有更透彻的了解。

Doing a few of manual simulations is a great way to firm up our understanding of the knowledge.
做一些手动模拟是巩固我们对知识的理解的好方法。

This is a subject where mastering the details is a prerequisite to understanding the deeper and more fundamental concepts. Those who say"I understand the general principles, I don't want to bother learning the details" are deluding themselves.
-- CS:APP 3ed, Chapter 3, Page165, ISBN 978-7-111-56127-9

Perfecting oneself is as much unlearning as it is learning. --Edsger Dijkstra
完善自己既要学习,又要忘却(学过的东西)。

According to Harvard business review, one of the quickest ways to learn something new, and to practice it, is to teach others how to do it. So share what you learn with your team, your manager, or your co-workers. 根据哈佛商业评论的报道,学习和实践一个新知识点的最快方式就是教会别人如何做。 所以,当你学完一个新知识后,把它分享给你周围的人,这会让你有更深的理解。

They have many candidate solutions, the overwhelming majority of which do not solve the problem at hand. Finding one that does,or one that is"best",can present quite a challenge .
他们有许多候选解决方案,其中绝大多数不能解决眼前的问题。找到一个可行的解决方案或一个“最佳”解决方案,可能会带来很大的挑战。

Sometimes,understanding why something is a bad idea helps you understand why the altern-ative is a good idea. -- CSAPP
有时,了解为什么某事是一个坏主意,可以帮助您理解为什么它的替代物是一个好主意。

It's a simple but useful method that pays attention to abstraction then to be concrete gradually, and capture the main ideas without being tried too closely to the detail of any proprietary designs. -- CSAPP
这是一种简单但有用的方法:先把注意力集中在抽象,然而逐步具体化,并且并捕获主要思想,而又不会对任何特定的设计细节进行过分尝试。

Tell me and I forget. Show me and I remeber. Involve me and I understand. 不闻不若闻之,闻之不若见之,见之不若知之,知之不若行之。

The best way to learn how to encode information meaningfully, Ericsson determined, was a process known as deliberate practice. Deliberate practice entails more than simply repeating a task. Rather, it involves setting specific goals, obtaining immediate feedback and concentrating as much on technique as on outcome. 爱立信确定,学习如何有意义地编码信息的最佳方法是一个称为刻意练习的过程。刻意练习不仅仅是简单地重复一项任务。 相反,它涉及设定特定目标、获得即时反馈以及尽可能多地关注技术和结果。

编程

Simplicity is prerequisite for reliability. -- Edsger Dijkstra
简单是可靠的先决条件。

If it walks like a duck and it quacks like a duck, then it must be a duck. --James Whitcomb Riley
如果走起来像鸭子,叫起来像鸭子,那么它就是鸭子。

Focus on programming techniques, not on language features. -- A Tour of C++, 1st Edition, 1.10 Advice, Bjarne Stroustrup.
关注与编程技术, 而不是语言特性。

“The only way to learn a new programming language is by writing programs in it.” –B. Kernighan and D. Ritchie

“Computers are good at following instructions, but not at reading your mind.” –D. Knuth 计算机擅长遵从指令,但是不擅长读取你的思想。

Unix is not so much an operating system as an oral history-- Neal Stephenson Unix与其说是一个操作系统,倒不如说是一部口述历史。

We must not forget that it is not our [computing scientists'] business to make programs, it is our business to design classes of computations that will display a desired behaviour. --Dijkstra, The Humble Programmer,ACM Turing Lecture 1972
我们不能忘记我们的职业不是为了编程,而是设计能够表现预设行为的计算类别。

Writing great code is an art -- finding the perfect balance between simplicity and functionality, opinions and open-mindedness. -- Kenneth Reitz

A computer system consists of hardware and systems software that work together to run application programs. Specific implementations of systems change over time, but the underlying concepts do not. All computer systems have similar hardware and software components that perform similar functions. --CSAPP
描述了计算机系统是什么(软件+硬件), 并且指出,特定的实现在一直改变, 但是底层的概念没有变, 底层的很多是通用的. 这是学习计算机系统的意义所在。

There are only two hard things in Computer Science: cache invalidation and naming things. — Phil Karlton

The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague. --Edsger W. Dijkstra,The Humble Programmer,ACM Turing Lecture 1972
优秀的程序员很清楚自己的能力是有限的,所以他对待编程任务的态度是完全谦卑的,特别是,他们会象逃避瘟疫那样逃避 “聪明的技巧”。——1972年图灵奖演讲

Arguably,open-source code is more secure than closed-source code,because many eyes are viewing code.
可以论证的是,开源代码比闭源代码更加安全,因为有许多眼睛在监视着它们。

There has never been a more intereting time to study operating systems,and it has never been easier.
没有比学习操作系统更让人快乐的时光了,并且学习它也从不容易。

All good things must come to an end,and the same is true with a TCP connection. -- Computer Networking: A Top-Down Approach
所有美好的事物都有一个结束, TCP也是如此

In order to emphasize the key issues, we intentionally provide code that is minimal. "Good code" would certainly have a few more auxiliary lines, in particular for handing error cases.
为了强调关键问题,我们特意提供了最少的代码。 “好代码”肯定会有更多的辅助线,特别是用于处理错误情况。


有趣

Don’t interrupt me while I’m interrupting. – Winston S. Churchill
我打断你的时候不许你打断我 -- 温斯顿·丘吉尔

在巴尔扎克的手杖柄上写着:我在粉碎一切障碍。在我的手杖柄上写着:一切障碍都在粉碎我。共同的是:一切。--卡夫卡

社会根本没有前进。文明人制造了马车,却失去了对双脚的利用。拥有的一块精美的日内瓦手表,却失去了太阳判断时间的本领。拥有地图导航,但是走在大街上的人不认识天上的星星,不懂得观察夏至日或冬至日,也不懂得春分日或秋分日。--艾默生,论自立