The idea behind all these algorithms is that what's ultimately important is how many comparisons you ultimately need to make.
这些算法的思想是,你最终需要做多少次的比较,这才是真正重要的。
Any right-thinking printer or any right-thinking publisher would scoff at the presumption of a poet who demanded such a thing.
任何一个思想健全的印刷商和出版商,都会嘲笑你去假定诗人需要这样的东西。
Everything, every thought, every moment, every reflection, every evaluation, you just on fire to share.
每一个想法,每一个时刻,每一个思想和评价,你都迫不及待的想要去分享。
Now we're gonna hand you some framework, that code that we wrote with some blanks to get you accustomed to the idea of one, writing larger programs than time might allow if you were doing it on your own.
现在就提供给你们一些框架,在代码中有些空白,是为了让你们了解其中的思想,如果是你自己,若时间允许,那就尽量写大的程序。
They seem to sort of reflect deep differences in your mood and emotions and thoughts.
他们反应出深层次的不同,在你的情绪,情感及思想中。
The enlightenment, if you go back to its routes in the seventeenth century with the likes of Hobbes and Locke-- what is the ultimate place you go to?
如果你回到十七世纪启蒙思想的根源,霍布斯和洛克所处的时代,追问你最终追求的是什么
The basic idea in solving these equations and integrating is you find one answer, so then when you take enough derivatives, the function does what it's supposed to do.
解决这类方程以及积分的基本思想就是,你求出一个解,然后进行多次求导,求导的结果就满足条件
And if you're working with your friend, you can tell him or her whatever you're thinking and it's not going to offend him or her and they'll probably comprehend it similarly to how you imagined it in languages that really are a perfect idea of transmission vehicle.
如果你跟朋友一起工作,可以把所思所想都说出来,而不会冒犯他,朋友会以类似的方式,去理解你想象中的事物,语言并不是完美的,思想传导载体。
Now--it's important to bear in mind that this view is perfectly compatible with being a physicalist, after all we're not saying that in order to have personalities you need to have something not unphysical.
你们必须牢记,这个论调,与作为物理主义学者的身份,并不冲突,我们并不是说,要接受人格存在的概念,你就必须接受一些非物质的思想。
I spotted an error here, I could have spotted it by running it on different test sets, and using prints things, another way of doing it, but this idea of at least simulating it on simple examples lets you check a couple of important questions.
操作么?我在这里发现了一个错误,我也可以通过运行不同的测试集,或者运用print声明来发现这个错误,但是至少应该用简单的例子来手工模拟下,代码的思想可以让你,对一些很重要的问题进行检验。
There is something that one might be able to hold on to: the knob of something, the little flame of something that ; The grain of sand. -The grain of sand; but there is really not a decent metaphor for it, I think.
一个你可以依靠的支点:,一个不同寻常的想法,一个思想的小火花,就像一粒沙中看世界,-一粒沙中看世界;,不过我认为任何比喻都不够贴切。
And you'll find in the end that recursion is a feature of a language, it allows you to map some very obvious concepts like the phonebook tearing in half and half and half and half to actual code without it using some arbitrary human contrived framework like a for loop or a while loop which are much more stilted mechanisms.
最后你会发现递归是某种语言的一种特征,你可以用它将一些非常明显的思想,比如将电话簿划分为一半又一半,映射为实际代码,而不必使用那些人为框架,像for循环,while循环之类的,那是很呆板的机制。
The exceptions are lucid dreams where you choose what to dream about, and then possibly you could be immoral if you encourage bad habits of thought.
除了有意识的梦,在这种梦境里,你可以控制梦的内容,你可能会作恶,如果你纵容自己有这种作恶的思想的话。
Many years ago a colleague of mine gave me a quotation from William Barrett I can't cite the quotation exactly, but it speaks about making one's mind so much like a mirror that others will see themselves in your presence.
多年前我的一个同事和我说过,一段William,Barrett的话,原话我不记得了,说的是让自己的思想成为一面镜子,让别人能从你的存在中看到他们自己。
应用推荐