By putting it in a function bug if I find a bug and I change my program I can just run the function again.
把我输入的值放到一个函数里,如果以后我在程序中发现了一个,并对程序进行更改的话,我可以直接。
I think the best thing to go and see is a man who was found in a bog.
我想最值得去看的东西是一个在沼泽里被发现的男人。
I don't know if you heard this morning, but there was news of the discovery of yet one more element.
我不知道你们今早听说了没,有一个新发现,一个新的元素的发现。
And I'll also remind you, and we're going to see this in the next example, we talked about looking at the worst case behavior. In these cases there's no best case worst case, it's just doing one computation.
我还要提醒大家的就是,我们也会在下一个例子里发现者一点,我们谈到了要去考虑最坏的情况,在下面这些例子里,没有好情况坏情况之分,就只是一次运算。
So, my danger when I came to what I called the "crossroads" of inheritance and this discovery was not a danger of Muslim extremism.
因而,当我遇到危险,即我所谓的,继承传统的十字路口和发现另一个美国时,这个危险并非穆斯林极端主义的危险。
So by thinking about my opponent, by putting myself in my opponent's shoes, I realize that she has a dominant strategy, Alpha.
所以考虑到我的对手,站在她的立场上看,我发现她有一个优势策略α
The idea being if I find a pattern across multiple people's computers maybe all of those people are infected with the same kind of malware or virus or worm.
如果我从不同人的计算机中发现了一个模型,这就说明,所有那些人的计算机都感染了相同的,恶意软件,病毒或蠕虫。
And what we find, the first example of a Bronze Age-- and I use the word civilization now for the first time, because before the Bronze Age-- there is nothing that we would define as civilization.
我们发现的第一个文明出现在青铜时代,也是我第一次用文明这个词,因为在青铜时代之前,没有任何东西能称之为文明
I became so obsessed with it that we drove up there so I could visit every school at which she had taught, and we actually found somebody who-- we knew he wouldn't like her because he was sweeping out the church, he worked for one of the churches, and she was very anti-clerical.
我实在太着迷于是就开车去了那,这样我就能去看她教过的每所学校,而且我们真发现一个人,我们知道他肯定不喜欢她,因为他当时正在打扫教堂,他在教堂工作,而她是反教会的
You got an extra hint here in terms of the order, so even if you had just forgotten what I said, sometimes it's not a terrible idea just to put it in the order it's written, that can give you a lot of clues as well.
其实大家还可以发现一个额外的提示,因此即使你忘了我刚才说的,有时候直接按照这个顺序,排列也不失为一个办法,这也可以给你很多提示。
There are many pro-slavery writers who developed, like James Henry Hammond, what I would call the cynical or amoral form of pro-slavery argument; and this is a potent form of argument when you think about it.
另外还有很多亲奴制的作家有一些,比如詹姆斯.亨利.哈蒙德,我称之为愤世嫉俗的,或不道德的亲奴制的论断,细想之下你们会发现这是一个很有力的论断
I found that when I rode the bus, my commute would be perhaps an hour.
我发现我坐公车的时候,也许会花上一个小时。
And I found that that increases their knowledge and understanding of actually what the company does tremendously, because somebody comes in, presents for an hour, "Here's what we're doing in China."
我发现,这在很大程度上增加了,他们对公司的认识,因为某位董事会做一个小时陈述,这是我们在中国的业务“
Tanaka This is Tanaka who you just saw was the only one I found at the place when we were looking for someone for an interview. And she gave us this fascinating story of what is the life for a mother worrying about her daughter in this time of changes.
刚才你们看见的是,是我在采访时发现的唯一的人,她给我们讲述了一个,非常感人的故事,是关于母亲如何担心她女儿的。
But one of the things that it can do, one of the things that sort of provides the underpinnings, as we'll see, for Plato's arguments for the immortality of the soul is the soul can think about--; well, here I'll have to introduce a word of philosophical jargon.
但是,在灵魂能做的所有事情中,我们会发现,有一件事可以说是,柏拉图论证灵魂不朽的基础,这件事就是,灵魂能够思考,在这里我要引入一个哲学术语
Conversely, if you get an answer and it doesn't seem to make sense, then you've got to go back and ask, am I violating some of the assumptions, and here you will find the assumption that the particle had that acceleration a is true as long it's freely falling under gravity but not when you hit the ground.
反过来说,如果你得到一个结果,发现似乎是错的,那么你就应该回过头来问问自己,我是不是违反某些前提了,这个模型中,你就发现,只要质点在重力作用下自由下落,质点具有加速度a的前提是正确的,但是落地后就不成立了
And we can just extrapolate in a straight line We before saw some examples where I had an algorithm to generate points, and we fit a curve to it, used the curve to predict future points and discovered it was nowhere close.
我们可以干脆用一条直线来描述它,我们之前看到在一些例子中,我用一个算法去生成一些点,然后用一条曲线对它进行拟合,然后用这条曲线来预测未来的点,最后却发现结果完全不对。
All right. I tried it on 2, I surely didn't expect a precise and exact answer to that but I got something, and if you square this, you'll find the answer kept pretty darn close to 2.
好,我试试求2的平方根,我当然不希望得到一个完全准确的答案了,但是我得到了一个近似值,试试将这个数平方一下,你会发现结果和2相当接近。
And that may generalize again and it keeps going until you either get back to Adam and Eve, I guess. I don't think they were born in the US as far as I know, or you find somebody who satisfies that definition or you find that none of your parents actually are in that category.
降低到我的父亲或者母亲,是不是天生的美国公民呢,这个问题可以继续向下分解,你甚至可以追溯到亚当和夏娃的时候,据我所知它们并不是出生在美国的,或者你要么找到一个符合定义的人,要么发现你的父母都不满足条件。
bug If you find a bug, it probably means there bug are more of them. So you ought to be bug a little bit careful. The story I've heard told is you're at somebody's house for dinner, and you're sitting at the dining room table, then you hear a .
对不对?你得修复这个,如果你发现了一个,可能就意味着还有更多的,因此你应该小心点,我听说的一个故事,是当你在别人家吃饭的时候,你坐在餐桌上呢,然后听到了邦的一声响。
So I'm first going to look for something that's not in the list, I'm going to see, is minus 1 in this list, so it's going to be at the far end, and if I do that in the basic case, bam.
如果我试试第一种最基本的方法,噢,一下就完成了对不对?,因为这种方法查了下第一个元素,然后发现目标数比较下,因为目标数小于第一个元素。
So the first argument, that's a straight forward argument, the second argument says, I put myself in other peoples shoes, I realize they're not going to play a dominated strategy, and therefore, having realized they're not going to play a dominated strategy, I shouldn't play a strategy between 45 and 67.
所以第一个过程是直截了当地,而第二个过程,我从别人的角度思考,发现他们并不会选择劣势策略,意识到他们并不会选择劣势策略后,我也不应该选择45至67的数
So, what you see in this very brief and inadequate account that I've given you is that we really, in spite of the fact that we have basileis, and even in this case an anax, we really don't have a proper monarchical tradition.
因此,从我给的这个简短且不充分的论述中,你们可以发现,尽管我们在这里提到了君主,甚至还有王,但这确实不是一个严格意义上的君主制
In fact, I dug up this from a few years ago it was actually pretty fortuitous like the day before one of CS50s lectures the original iPhone was cracked.
实际上,我在几年前,发现了这个,这是相当意外的,就像在一个CS50演讲前一天,我的iPhone,坏掉了。
I did not want to make a list, I wanted to create a tuple thank you for catching it. I want parens not square brackets there.
为什么这里有错误了,我并不想要创建,一个列表,我想创建一个元组,谢谢你,发现了这个错误。
And so very often I would find myself with gigabytes worth of data, at night I needed to analyze this data and look for this patterns and frankly the reality was sometimes I could spend 10-15 minutes whipping up a little script, a little program that unfortunately would take eight hours or more to run.
我经常会发现十亿字节的数据,晚上我就需要分析这些数据并,找出模型,坦白说,有时,我会花10-15分钟来编写一个小脚本,一个小程序,但不幸的是,运行它可能需要8个小时或更多时间。
who will help me out? They find themselves surrounded, and Paris is--it's nothing like- - it's one-third the size of London at this same time, or at any other time, but it has a huge circumference.
谁来帮我下,他们发现自己被包围了,巴黎成为,巴黎已经大不如前,它仅仅相当于,当时或其他时期伦敦规模的三分之一,还是一个巨大的牢笼
The more important thing that I want you to notice when you're looking at this wave equation for a 1 s h atom, is the fact that if you look at the angular component of the wave function, you'll notice that it's a constant.
我要你们注意的,更重要的一点是,当你们看到,这个氢原子1s轨道方程的时候,如果你们看,波函数,的角向部分,你们会发现它是一个常数。
And by just doing that, bug I just spotted, there's a bug here.
我刚刚这么做了,就发现了有一个。
应用推荐