And then he says to Franny: "I'll tell you a terrible secret. Are you listening to me?
然后他对弗兰尼说:,我告诉你一个很可怕的秘密,你在听吗?
But for me, I like to look at something and just say, "I like this. I don't really know why though."
但对我来说,我喜欢看着某个东西,然后说,“我喜欢这个。但我也不知道为什么。”
What I'm more interested in here than in the result of the simulation, is the process of creating it.
然后你们可以进行思考,我对这些过程,比对仿真程序的结果更感兴趣。
Well, you can't adopt the policy of "I'm going to wait for this pig to dance " and when it does I'm going to reinforce it" because it's going to take you a very long time.
那么,你就不能说,“我要等这头猪跳舞,然后再对它进行强化“,因为这会花掉你很长的时间。
So, why don't you take a look at this and tell me which are possible for a 2 s electron in a lithium atom where z 3 is going to be equal to three?
你们为什么不看一下这个然后告诉我对,于一个锂原子中的2s电子哪些是可能,的?它的有效电荷量,可能等于?
and then I could see it really help people, you know, with their lives and everything and
然后我看出这真的对别人有帮助,帮助他们的生活和一切,
Then, it puts those combinations of beliefs and desires into action by moving in a way that's a rational response to my move.
然后,它把那些信念和欲望组合起来,通过对我的棋路的理性回应,组成它的棋路
So you don't pick up a document that has a whole lot of Greek, or what looks like Greek to you and wonder "Where do I even begin?"
所以你们不要拿起一篇上面一大堆的希腊语文档,或者对你来说那像是希腊语,然后想知道:,“我该从哪里开始?“
And I felt envy toward him and five minutes later, I experienced this most intense love toward him-- the emotion that I haven't felt before.
我嫉妒他,然后五分钟后,我对他产生最强烈的爱意-,一种我从没感受过的情绪。
And he said, "I'm a good bureaucrat, I did--they were pleased with my work.
然后他说"我是个很好的官僚,我干了,他们对我的工作很满意
And the problem is, that we want to build this abstract data type, but we'd like to basically know what kind of object is it, and what functions actually belong to it, how do we use them?
然后我对它们运行了这个方法,就是这一小段代码这个方法,这有意义么?,当然没有了,对不对?,因为你知道,当你把两个极坐标,表示的点进行相加运算的时候?
If it's the value I'm looking for, boy, I ought to go to Vegas, I'm really lucky.
我可能要去赌城赌一把了,我太幸运了,然后算法就结束了对不对?
And check the answers, and say yeah that's what we expected. But it also involves reasoning. About why that's an appropriate set of inputs to test it on it.
然后说对,这就是我想要的结果,但是它跟推理也有关系,表现在关于为什么这是一个,测试我们程序的适合的输入集。
And I go up there and I order the drinks.
然后我去点喝的,对服务员说。
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 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,对,在这个计算中涉及到了三件事情。
And then I take as many raisins as will fit in and I leave. Right? I hope almost every one of you could figure out that was the right strategy.
然后我再尽量装葡萄干,最后我离开,对吧?,我希望你们每个人都发现了这是最优策略。
And when I'm done with the whole thing, before I end the increment of the variable, you know, when I'm done, I'm just not returning anything out.
在循环外面初始化它,然后做一个终结测试,然后在循环内部有一个指令集,在这个例子中,就是对余数做检查,然后显示信息,当我完成了整个循环。
And then I could do things like again, say, okay having done, that let me just run it here, run that, so I've now got polar point 1, and polar point 2.
然后给它们赋值半径和角度,然后我可以进行刚才的操作,也就是说,对刚才的笛卡尔坐标进行的操作,让我们来运行下它吧,运行下,现在我有一个极坐标点。
It's of no interest to me to survive, and merely saying the mantra, "Oh, but it's me" doesn't make it more desirable to me.
我对仅仅是活下去,然后老生常谈地说“但那是我“不感兴趣“,那激不起我更多的渴望。
It says, well I'm going to print out first and last just so you can see it, and then I say, gee 2 if last minus first is less than 2, that is, if there's no more than two elements left in the list, then I can just check those two elements and return the answer.
然后它计算了尾点和开始点的差,如果小于2的话,也就是说数组中的元素小于等于,我对这两个元素进行比较,然后返回结果就可以了,否则的话,我们就去寻找中值点,注意它是怎么实现的,首先这个指向一个列表的开头。
f Well, call toupper pass this lowercase F F to this function called toupper it's going to return capital F and so what do I assign to s2 bracket zero?
调用toupper函数,传递这个小写,然后返回的是大写的,那么我对s2【0】赋值多少?
If they type in bogus characters, it's going to yell at them and make them retry, and eventually I'm going to get handed back an int, which I'm storing in n. Well, if I actually want to judge this number based on its magnitude, well, I can say now, "If n is greater than or equal to one."
如果他们键入了不合法的字符,它将对他们叫喊,然后叫他们重试,最终我将,得到一个int数,它是存储在n中的,好的,如果我的确想要根据它的量级来判定这个数字,好的,现在我可以指明,“是否n大于等于1“
And because I had Dr.Shapiro's voice at back of my mind-- permission to be human, that helped me a great deal-- experience the envy when I experienced it, accept it; and then enjoy and celebrate it-- the positive emotions that I experienced toward David.
因为我脑子里装着儿科医生的建议-,准许为人,那帮了我很多-,我体会嫉妒,接受它;,然后享受和赞美-,我对David产生的积极情绪。
I'm going to set up an index, which is going to tell me where to look, starting at the first part of the list, right?
索引告诉我从哪里开始检索数组,对不对?,然后我会去记录下我做了多少次比较,这样我就能看到这个算法的工作量了?
And then what might I want to do with the segment?
是点的实例,对不对?,然后我可能想?
应用推荐