But it's possible,I suggested, that we really shouldn't focus on the question, what does it take for me to survive?
但我认为,很可能,那根本不是我们应该重视的问题,比起讨论我要存活下去需要什么条件?
so I have some idea of what I'm going to need to do.
所以,我明白自己需要做些什么。
for short...to answer that question, we need to get clearer about: What exactly is it for something to be me?
等等这些问题,我们需要先清楚以下问题,我究竟是什么东西
What do I now need to do in order to sort the whole left half? Compare them all.
为了对左半部分的4个杯子排序,我需要做什么呢?,进行比较。
And I also wanted you to identify why, it's also important to understand why we have these trends, not just to memorize the trend itself.
而且我还需要大家判断原因是什么,这很重要,对于我们理解,为什么有这些规律,仅仅记住这些规律是不够的。
Now to make that happen, it's not adiabatic, right. If I wanted to do that, I'd need a heating element or something to cool, so I could make that temperature change happen, right.
要实现这点,它就不会是绝热的,对吧,如果我想做到这点,我需要一个加热元件或什么制冷的东西,这样我才能让温度变化。
And I have to admit, I did the standard thing you do every time you run across something you don't know about, you go to Wikipedia.
额外的名为self的变量,那么什么是self呢?,我需要承认,我做了大家当碰到,不会的问题都会做的标准的事情。
I have to try to understand what you're saying and I have to refer it to what I want to say, and the circuit of communication between us has to stay open as a result of this mutual and developing understanding of what we're talking about.
我需要试着了解你正在说什么,并且与我想说的话进行联系,我们之间的交流要进行下去,这是我们对于谈论内容的相互发展着的,了解的结果。
So we've got the firms, they're the players, I know what their strategies are, I know a little bit about the structure of the market, and I still need to tell you what payoffs are.
我们有了公司,作为参与人,我知道它们的策略是什么,对市场的结构也有一些了解,我还需要告诉你们收益是什么
All right, so before I begin I just want to say I want to keep this pretty informal so feel free to jump in if you have comments, questions if you disagree with me.
在我开始之前,我想说,不需要那么正式,如果大家有什么见解或者问,如果大家有什么不同意见,希望大家有一些不同的见解。
I mean, there's no, there's really no need for civil marriage.
我的意思是,我们根本不需要什么公证结婚。
I don't need anything besides chocolate.
除了巧克力我什么都不需要。
My lectures are going to presume no special knowledge on your part.
我的课程并不需要你们有什么专业性的知识储备。
What is it you have to know about this object that was thrown, I claim, is the initial location of the object and the initial velocity.
关于这个物体,我们需要了解什么,我要强调的,就是这个物体的初位置和初速度
I don't need a prime minister.' I knew what he meant by that.
我不需要一个首相”,我知道他是什么意思。
Now why? When I put this class together, I didn't think to myself, "Ok, so what are the things that I need to introduce ?" in order to please the participants in the class, the students?"
为什么?,当我开这门课程时,我自己没想过,“好的,我需要介绍些什么东西,以便能取悦课程的参与者,这些学生呢“
We've been asking ourselves, what does it take for me to survive, for me to continue to exist?
我们自问,生存下去需要什么,要我继续存在需要什么?
If I want this one over here, so what work remains to be done?
如果我想把它放在这边,那还需要做什么呢?
Now, what did I want to do? I wanted to check membership. I want to do search. Well that's simple. Given that representation and some value, I just say gee is it there?
现在,我需要做什么?,我要做成员检查,我要做查找,这就很简单了,给了即定的表示和一些值,我只需要说喂在那儿吗?
And that's useful because clearly I don't need to know in advance what the answer is going to be, what that string is actually going to be.
那个是有用的,因为我不需要预先知道,那个答案将会变成什么,或者那个字符串将变成什么的时候。
What do I need for those writers to all interact together? I need a specification.
这个比方的意义什么呢?,我需要怎么做才能使。
I'm given an integer that's a perfect square, and I want to write a little piece of code that's going to find the square root of it. All right so I'm cheating a little, I know it's a perfect square, somebody's given it to me, we'll come back in a second to generalizing it, so what would the steps be that I'd use to walk through it?
完美平方数的整数,我想写一段代码来求这个数的平方根,好,我这儿有点儿作弊了,我知道这是一个完美的平方数了,他们给我的,我们后面会讲怎么产生这个数的,那么我想解决这个问题,需要什么步骤呢?
What do I have here? I need the variable, ANS, ANS I need x, and I need ANS times ANS, ANS times ANS. Right. Those are the three things that are involved in this computation.
因此让我先用这个方法做吧,我这里需要什么呢?我需要变量,还需要x,然后将ANS乘以ANS,对,在这个计算中涉及到了三件事情。
I could generalize this pretty nicely. Imagine the same kind of idea where I want to simply say I want to take input of anything and try and see how to make sure I get the right kind of thing. I want to make it polymorphic.
对吧,我试着输入浮点数,我能更好的一般化它,想象下类似的想法,我需要输入些什么,然后看看输入的是否正确,我想使他更多元化些。
And here's a little trick -- and again, we promised to point -- out little tricks of the trade -- if I know I want to execute the last command I typed that started with an m, bangm will actually figure out what that command was and redo it for me so I don't have to figure it out, or you can go back in time in a terminal window.
这里有个小技巧--此外,我们许诺指出行业中的,一些小技巧-,如果我知道我想执行我写入的上一个命令,是以m开头的,!m会明白那个命令是什么,然后为我恢复上次操作,所以我不需要明白它,或者你可以回到,那个终端窗口。
You wouldn't think I would have, I don't have -- all right, be that way about it.
你不用担心我需要什么,我不需要什么--好了,先这么做。
And notice, by the way, if I do that, and I type sqrt and open the paren, ah-ha! It shows me what the creator, in this case actually I stole this from John so what Professor Guttag put up as his specification for this piece of code.
它需要什么养的输入和其它我想传达的信息,如果我这么做了,我将会到这里打上sqrt并且加上括号,啊哈!这里告诉我这段程序的创建者,事实上这是我是从约翰那里偷来的,所以也就是Guttag教授在它的。
应用推荐