The conclusion of this parable seems so violent perhaps because the lesson to be learned from the parable is so uncertain.
这个故事的结尾看起来太残酷了,可能因为这个寓言想要教给我们的东西太不确定。
So we're going to go through a thermodynamic cycle, and here's what I want to calculate when we do this.
那么我们要推导,一个热力学循环,这是这个过程中我要计算的东西。
And the obvious question I could start with is, and suppose I ask you, how long does the algorithm implemented by this program take to run?
我开始这个话题的第一个问题是,假设我问你,由这个算法实现的程序大概,要运行多久才能给出答案?
Indeed, to get at that question, the first thing we're going to have to think about is what are we?
事实上,要解决这个问题,我们首先要考虑的是,我们是什么?
Now we're going to make an assumption today and for the next ten weeks or so; so for almost all the class.
现在我们不妨作一个假设,这个假设在接下来的十多周都要用到,差不多是整个课程都要用到
What this does, when you use relative risk you take some group of the population and you establish their risk as--at one.
当运用相对危险度这个概念时,要选定一个群组,并把这个群组的风险设为1
Now, I'm not sure what kind of video we're talking about, and I'm not sure if the lecture will be the internet when we're all done. But nonetheless I'm gonna call this the next big thing-the video internet .
呃,我不确定我们要谈关于什么样的视频,我也不确定当这个讲座全部结束时,还是不是关于网络,但尽管如此,我还是要叫它为下一重大事件,网络视频。
And the reason is, and this will come up on the problems and a lot of students end up using this equation, which is why I want to head it off and mention it ahead of time, we can't use an equation because this equation is very specific for light.
原因是,很多同学在解题时,都会用这个方程,所以我要,事先提醒你们一下,我们不能用这个方程,因为它只对光是用。
In order to explain it-- I had to write down the binomial distribution to explain it properly.
要解释这一点,我要先在黑板上写一个二项分布,以便于解释清楚这个问题
First, though, I need to say a couple of words about the word chastity as I've been using it throughout the discussion so far of Comusboth today and Monday.
首先我要就贞节这个词说几句,鉴于我在今天和周一课上有关《科玛斯》的,讨论中一直在使用这个词。
But in fact, when the person watching this has to assess their intelligence they give the quiz asker a higher intelligence rating than the other person.
但事实上,看这个问答的人,要评估他们的智力,他们认为,提问者的智力比被问者的要高。
Because I thought about it a lot Welles chose that word I guess obviously that frame was a happy picture ? In the word? Why that word?
因为我对这个问题想了很多,为什么威尔斯要选择这个词,我觉得很明显,这个镜头是幸福的,词内涵的深意?还是为什么选这个词?
Not only is expulsion from the ranks of the guardians penalty for cowardice, but Socrates suggests there should be, listen to this, " "erotic rewards for those who excel in bravery."
不只是要排除,各类守护者视为不良行为的懦弱,苏格拉底更暗示应要有,听听这个,“色情作为对最勇敢者的奖赏“
I can't give it what it wants," know that when you're writing code and the problems that will remind of this, if you absolutely have to kill your program, you don't have to close the window, CTRL+C reboot crazy stuff like that, generally you can hit CTRL+C and it will just abort the program right where it is, in case you ever get trapped in some awkward situation.
我不能给它所要的“,当你在写代码时,程序将,提醒这个问题,如果你不得不,关闭这个程序,你不需要关闭这个窗口,重启像那样的疯狂举动,通常你可以敲,它将会在这个地方终止那个程序,假使你陷入了尴尬的处境。
When you do Sitting Meditations and Buddhism, this medical school teach, you have your eyes open a reminder, that first of all, you don't fall asleep but also to remind you that you are supposed to be engaging the world as you do it, rather than having your eyes closed and isolating yourself.
当你学习佛教,进行坐禅时,据医学院的方法,你要睁开双眼,提醒自己,首先不要睡着,也是为了提醒自己,冥想时也要参与到这个世界中来,而不是闭上双眼,与外界隔绝。
Well, for the answer to that we have to go back to ancient Greek music theory, and when you read about this--it's really turgid stuff-- but believe it or not, I teach a course on this at the graduate level.
这个,要回答那个问题,恐怕要追溯到古希腊的音乐理论,每次读这些都会云山雾罩的,不管你信不信,我曾在研究生中开过这个课程
So the first thing we'll do is, we'll print the element, in this case it will be a list right? Because it's a list with two lists in it.
因此这儿我们要做的第一件事,就是要显示元素,在这儿元素就是数组了对不对?,因为这个数组包含了两个数组。
Let's assume, for sake of argument, the thing I'm looking for is bigger than this. In that case, I'm going to throw away all of this, I'm going to hit that bottom line of that code.
让我们假定不是,假定要找的元素,比这个大,在这样的情况下,这些都擦掉,我要运行到代码的最后一行。
But the other approach, and the one that I should warn you I'm going to take this semester, in this class, is rather different.
而另一种方法,我要提醒你们,我这个学期将采用,这个课题是不同的。
So let me play this, so we may need to have high volume on this because this is pretty--this is--needs a little more volume .
接下来我要开始放了,音量可能要高一点,因为这很,这个视频的音量要高些
And we're actually going to get a little bit deeper in our clicker questions here, since when you do your problem-set it won't be quite this straight forward that you'll be answering this kind of question, but actually you'll be thinking about how many different orbitals can have certain state functions or certain orbital names.
事实上我们要讲的,比这个问题还要深一些,因为当你们做习题集的时候,你们不会遇到这么明显的问题,而是要考虑有多少个轨道,有某种特定的态函数,或者特定的轨道名字。
Again, same kind of reasoning says, given some value x, I happened to pick a small one here, what's an easy way to do this? Well, let's just start at one. That's my variable I'm going to change and check.
好,尤其是,让我们到这里来,让我给大家看看第二个例子,让我把这个注释掉,这是我要解决的,第二个问题,假设我想找到一些整数的,所有除数,我想要找出来这个数的所有的除数。
And then we're going to turn to the question of efficiency. How do we measure efficiency of algorithms? Which is going to be a really important thing that we want to deal with, and we'll start it today, it's undoubtedly going to take us a couple more lectures to finish it off.
然后我们会回头继续讨论效率问题,我们如何计算算法的效率?,我们处理这些问题的时候,最重要的事情是什么?,我们今天要去讨论这个问题,毫无疑问我们要用,挺多节课来学习这个。
So when I do the analysis, I want to think about what am I doing here, am I capturing all the pieces of it? Here, the two variables that matter are what's the length of the list, and how many times I'm going to search it?
这里,要关注的,两个变量是列表,的长度以及我要搜索的次数,这种情况下,这个算法赢了?
How do I figure that out? Well I'm looping down the list, right? I'm walking down the list.
怎么算出来的呢?我在循环遍,历这个列表对吧?那要遍历这个列表。
And what's this little loop say to do? This little loop says I'm going to write a function or procedures that takes in two messages.
这个小循环是做什么的,这个小的循环是,我要写一个函数或者过程来接受两条消息。
OK, now, if I actually do this, and I'm going to show you the example, I just, what did I type over there, I got p was a c point.
传入了其他的参数,好,现在,如果我,实际上要做这个的话,我要给大家看个例子。
So if I were to solve this problem, here's the way I would do it. I would say, first thing I want to do, is I want to input a value for the base as a float.
如果我想要解决这个问题,这就是我要解决它的方式了,第一件我要做的事情就是要,输入一个浮点数作为三角形的底。
We're checking the end test and incrementing, actually I was going to, I commented that out for a reason you'll see in a second, but I, normally I would keep this on, which would let me, at each step, see what it's doing. If I ran this, it would print out each step. Which is helping me make sure that it's incrementing the right way.
对不对?进行终结测试然后递增,实际上我要,因为某些你们,马上要明白的原因我把这里注释了,但是我通常会一直这么做,这样能让我看到每一步都做了什么,如果我运行这个程序,它会在每一步都,进行显示,这能帮助我让我确信程序是,在以正确的方式递增。
What you wanted--at least what I want, I invite you to ask yourself whether you want the same thing-- what I want is not just survival, but survival with the same personality.
你想要的,至少我想要的,你们也问问自己你们是不是想要这个-,我想要的不仅仅是存活,而是带有同样的人格存活。
应用推荐