It's very simple. It's this: if I know what I'm doing, it is almost inevitably the case that you would know also.
实际上十分简单:,如果我知道我创作的是什么,那么你很可能也知道我创作的内涵。
then you can go...There's a lot of available things online, which makes it really easy.
那么你可以去……网上有很多可利用的资源,它让学英语变得简单了。
Let's try it with a different equation of state, that isn't quite as simple as the ideal gas case.
考虑一个不同的状态方程,这状态方程不像理想气体状态方程那么简单。
So again, idea on the left, fairly straightforward, idea on the right, same but just looks a little different.
从一方面来看,其中蕴含的编程思想是相当简单的,但从另一方面来看,相同中又有那么一丝不同。
I'm just going to go over a few of the main points here So, the first is that what we're going over notes today and also on Monday, the exam material ends at the end lecture notes from lecture 9.
我会简单地带大家过一遍几个比较重要的地方,那么,第一点是关于我们今天,和下周一要讲的内容,考试要求的内容,就到第九讲的讲义结束的地方。
Right now it's a simple template, but it's a template for creating what a class looks like, and I now have an x- and y- value associated with each instance of this.
那么大家明白了为什么,我说类是一个模板了,对不对?,现在它只是一个简单的模板,但是它是一个用来-,创建形成一个类的模板。
I'm not just giving the Cliff Notes, as it were, of the readings.
这次不是向你们发些名著导读那么简单了
This is actually not the case. It's not as simple as that.
事实并非如此,没那么简单。
Language has powers that are entirely unpredictable, that can't be harnessed in precisely that deliberate way: by making a decision to take someone's words in the wrong way, or by telling a story to make a moral point, as the mother does.
语言的力量无可估量,绝不是单单使用一下那么简单:,而是通过假意遵从,以及勾起人性良知的方式表达的。
So, the optimal thing to do if you live in a world like this n is to get n as large possible and you can reduce the standard deviation of the portfolio very much and there's no cost in terms of expected return.
如果现实中也这样简单的话,那么你就尽量增大,这样就能让投资组合的标准差,就会大大降低,从预期收益率的角度来看,这样做的成本是零。
So, what happens here is this opening phrase, that we'll call A-- musicians like to label stuff just with alphabetical labels to keep it simple.
那么,首句这里,我们称作A,音乐家喜欢用字母,来做标记,这样比较简单
Well, if you look at the catalog of ships in Homer's Iliad, the island of Salamis had its ships lined up next to the island of Athens. Ballgame.
如果你看荷马伊利亚特的《船舶名录》这一卷,萨拉弥斯人把自己的船排列在了,雅典人的船旁边,就那么简单
However, the next slice down requires more than just rationality.
但是接下来就不仅仅是理性那么简单了
And as you're reading them, look up the words you don't know. It's that simple.
看报时,查查你不认识的词。就是那么简单。
So this first little piece of code right here says, ok you give me 2 points, I'll create another 1 of these lists and I'll simply take the x, sorry I shouldn't say x, I'm going to assume it's the x, the x-values are the two points, add them together, just right there, the y-values, add them together and return that list.
好,为了来认识到这一点,让我们来看一个简单的小例子,在你们的课堂手册上,你可以看到我写了一个小程序,它假设我得到了,这些点中的一些,我想对它们做一些操作,例如我想把它们加到一起,那么这里的第一小片,代码的意思是,好给我两个点,我会再创建一个数组。
What we're really getting at is the idea of saying I want to have a way of grouping together information into units that make sense. So I can go back to one of those topics we had at the beginning, which is the idea of abstraction, that I can create one of those units as a simple entity, bury away the details and write really modular code.
组合成为有意义的单元,那么这就让我们回到,一开始讲的话题之一了,这就是抽象的概念,也就是我可以以一个简单的,实体的形式创建这样的一个单元,把具体实现隐藏然后写一些,真正模块化的代码,我们在以后的课程中。
OK, for example, I might say point p1 is that list, x is 1, y is 2.
和y坐标的数组是很简单的1,那么,例如,我可能会说点。
What's the point of this? Again, now that I can think about things recursively, I can similarly break things down into simpler versions of the same problem. It could be one version.
这些的意思是什么呢?再一次我想说,我既然能够以递归的方式思考了,那么我就可以简单地把问题,转化为更简单的同类问题。
Finally, if this was all there it might be a simpler world, but Freud had a third component, that of the superego.
最后,如果只存在自我和本我,那么事情会简单得多,但弗洛伊德又提出了第三种结构,超我。
So, that is just a quick example for some of you, you might be very familiar with ion channels, others might not know what these are, so I'll just tell you quite briefly that ion channels are these very massive transmembrane proteins.
这对你们中的某些人来说仅仅是个小例子,有些人可能已经非常熟悉离子通道这个概念了,但有些人可能还不清楚,那么就让我来简单地介绍一下离子通道,就是这些巨大的跨膜蛋白。
Maybe this argument from simplicity isn't really as good as it needs to be.
可能源于简单的论证,并不是需要那么完美。
Not that's as easily said as done.
没有说的那么简单。
And as long as that smaller computation reduces to another smaller computation, eventually I ought to get to the place where I'm down in that base case.
如果我不属于基础事件,那么我需要把它简化为更简单的计算,随着计算的不断简化,最终我能分解成基础事件。
But I want to stress again, as long as I do the base case right and my inductive or recursive step reduces it to a smaller version of the same problem, the code will in fact converge and give me out an answer.
就开心的去做吧,但是我想再次强调,只要基础事件处理正确而我的递归,或递推步骤能把它简化为更简单的同类问题,那么这段代码就可以收敛。
If I'm basically just squeezing jello, that is, I'm trying to make the problem simpler, but the combination turns out to be really complex, I've not gained anything.
如果我只是简单的挤压果汁,那么我是在尝试着让问题变得简单,但是合并过程就真的比较复杂,我得不到任何东西。
We're going to do the same thing here, we're going to chart out a little bit of what should go into actually making this thing work.
我们要去画一个小小的流程图,来指导问题的解决,那么这里是一个很简单的。
Notice if I'm going to have two different sub problems I need to have two base cases here to catch this. And if I only had one it would error out. And as a consequence, I can go off and ask about rabbits. Let's see.
我需要定义两个基础事件来处理它,如果我只有一个基础事件的话就会产生错误,这样我就能够知道到底有多少只兔子了,让我们来看看,在第12个月末,没那么简单,在第二年末兔子就很多了。
You have to know where the vowels are supposed to go, and that makes it harder to learn how to read, but when you have the vowel sounds it's easier and the Greeks made that contribution.
你必须知道这些元音都应该加在哪,这使的学习阅读变得更加困难,但是如果填入元音,那么就会简单点,而希腊人在这方面做出了贡献
So it's not, as I say altogether straightforward to see how the answer " "Death is bad for me, because when I'm dead I don't exist" how that answers the problem as opposed to simply focusing our attention on the problem ? How can nonexistence be bad for me?
所以这并不是,就像我说的,那么简单可以领会到这个答案,“死亡对我来说不好,因为我死了我就不存在了“,如何回答了这个问题,和我们仅仅把关注点放在问题本身相反,不存在怎么可能对我来说有坏处呢?
s2 So, I'm passing in the first character in s2, I'm making it uppercase and then I'm putting it back so casually speaking this is just capitalizing the first letter of whatever word the user typed in to s2.
那么,我把第一个字符传递给,我把它转换成大写的,然后存下来,简单说,这就是把用户输入s2中的单词,的第一个字母转换成大写的。
应用推荐