And then I say, oh you know I've used lists all over this program. I'll bet this isn't the only place where I've made this mistake.
变化引起的边缘效应,然后我的意思是,你知道的我在这个程序中一直都在用数组,我敢打赌我犯了这种错不止一次。
There's--in law, a "natural person" is you and I, people real flesh and blood individuals are called natural persons.
在法律上,"自然人"是指像你我这样的人,有血肉之躯的人被称作自然人
On the other hand, this isn't really, I mean the intuition you're giving me is kind of a Prisoner's Dilemma intuition.
但是你说的东西跑题了,我的意思是,你给出的原因,是一种囚徒困境
And what I'm going to do is I've got you Linda and I've also kidnapped somebody else over here,Linda.
我要做的是,我现在抓到了你,我还抓到了另一个人。
What I really want to do is just give an example of what happens when you throw the thing, the material into a calorimeter and see how much the temperature changes.
我想做的是给出当,你把这些东西,这些材料扔进,量热计时会发生什么,看看温度会变化多少。
But it turns out that on Macs and if you have the right software on PCs, you can kind of get a teaser of what this environment tends to look like and be forewarned, what you're about to see is intentionally very underwhelming.
事实上,它是运行在苹果机上的,如果你在电脑上有正确的软件,可以去看看这个环境大致是怎么样的,提前说下,这个程序不会让你印象深刻,我是故意这样做的。
I mean a lot of you, I imagine, make yourself kind of a salad at a salad bar.
我的意思是,假设,你去色拉吧要了一种色拉
I've got to tell you whether I went to the right or whether I went to the left.
我必须告诉你,我是向右走还是向左走的
The last point I want to make to you is, you've started writing programs that you would think of as being inherently iterative.
能反映递归特性的程序,我最后一点想说的是,你已经开始编写你认为。
I mean, you think about what happened when Steve Jobs came back to the company.
我的意思是,你想想当,史蒂夫·乔布斯回到公司会发生什么。
It doesn't tell you this is my hometown and this is Japan and so forth. It gives you a lot of visual cues that you use in my personal journey to see what Japan is like on a personal level.
就在于车上没有人说话,它不直接告诉你这是,我的家乡,这是日本等等,它给你许多,视觉提示,你会通过这些提示,从个人的角度看日本。
If the stereotype is "your group doesn't do good in this," if I remind you that you're a member of that group immediately before doing it, your performance will drop.
如果刻板印象是“你的群体数学不好”,如果我在考前说,你是这个群体的,你的表现就会下降。
Well, the figure I saw last was a number too small to be mentioned; I mean, to say you just can't really say how much it is, but all right, two percent.
这个数字简直,小的可忽略了,我的意思是说你实在说不出精确地数字,但实际上只有2%左右
You Are My Sunshine, Brother, Where Art Thou?
你是我的阳光》《老兄,你在哪儿》
So if what I'm going to do now is scary, come and see us and we'll deal with it.
如果我接下来的计算对你来说是天书,过来找我吧,我来帮你想办法
There's a tendency for loyalty to friends -that's your own friends--and there's this word, other people.
人们还倾向于忠于朋友,我是指你自己的朋友,还有一个词叫做外人
Of course what I want then to say to you is not actually you're the one who is making the mistake.
当然我接着要跟你说的是,不是说你就是,犯错的那个人。
OK. And I'm going to look to see, is a particular element inside of that list, and again, I'll remind you, that's just giving me the integers from zero up to 9999 something or other.
一个又大又长的列表吧,好的,我打算查找列表中的一个特定元素,我会告诉你,我用的是0到大概是,9999左右的整数。
A candidate could say during an election that "I'm a moderate candidate, I'm at position 5" but you might not believe him or her.
一个候选人在整个大选中可能说,我是个中立的候选人,我的立场是5,但你不一定就相信他/她的说法
So your position may be not believed, and I want to claim that that's connected to the idea that you can't commit yourself to your policies.
也就是说选民未必相信你的立场,我要指出的是这与,你无法执行相应政治策略是相关的
It does represent the sum, in the sense that if i gave you four bucks and I gave you five bucks, I gave you effectively nine.
它表示的就是这两个矢量的和,好比是如果我给了你四美元,然后再给你五美元,我其实给了你九美元
That's where I want to tell you that it's actually more complicated than that.
我想告诉你的是,它远比这要复杂
So we have to ask now, now that my claim is, you can ask me any question you want about this particle and I can answer you.
现在我们要问,我的观点是,你可以问我任何关于,这个质点的问题,我都可以回答你们
Don't you-- it's my fault, not yours.
不要,是我的错,不是你的
And the answer is, "No." All I had in mind, as you know, is just--in talking about the creativity issue-- I just have in mind producing something new, producing something that hasn't been around before.
答案是,我所想的一切,如你所知,只是,在谈论到创造力这个问题时,我只是在脑海中酝酿些新的东西,酝酿一些从来没出现的东西
So strategic substitutes is telling me that my strategy is a strategic substitute of your strategy if the more I do at my strategy, the less you want to do of yours and conversely, the more you want to do of your strategy, the less I want to do of mine.
策略替代就是说,我的策略是你的策略的一种替代策略,我的策略实施越多,你的策略就会实施越少,反之,你的策略实施越多我的策略就越少
I mean, you know the wings go, and the air runs, and then the motor on the engine and it's a miracle how it gets up there and that is the way I used to explain the Greeks, because I had no better idea.
我的意思是,你知道机翼的作用,空气的流动,还有引擎上的发动机,飞机能飞起来,是个奇迹,我就是用这种方式来解释希腊历史的,因为我也没有更好的方法了
So, for example, if you're the kind of person, which is I have to say all I ever was, if you're the kind of person who can kick the ball fairly hard but not very accurately, then it actually might change these numbers.
比如你是这样的一种人,我也不得不承认我以前也是这种人,如果你是那种能够大力抽射,但是精准度不高的人,那这些数据对你就不太准了
So, summarizing better, assert is something you put in to say to the user, make sure you're giving me input of this type, but I'm going to guarantee you the rest of the code works correctly. Exceptions and exception handlers are saying, here are the odd cases that I might see and here's what I'd like to do in those cases in order to try and be able to deal with them.
所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。
This happens in every single episode, so much so that if any of you actually - I mean this might actually be true at Yale-- but if you any of you or the TV guys: if any of you know the guy who writes the plots for this, have him come to the class and get him see the video now and we get some better plot lines in there.
每集都有类似的剧情,如此以至于,我的意思是在耶鲁大学,如果你或者电台的人,要是你们想要写剧本,让他们来上这门课或者回家看视频,这很能启发他的灵感
应用推荐