So what I'd like to do now is focus on a piece that emphasizes--foregrounds-- just the first axis, pitch.
那么现在我要做的是集中精力于一首乐曲,它所强调的,突出的,只是这第一维,音高
And we hope that at the end of the class, every time you're confronted with some technical problem, one of your first instincts is going to be, "How do I write the piece of code that's going to help me solve that?"
并且我们希望到了期末,每当你要面对一些,技术问题的时候,你们的本能之一将会是:,“我怎么才能编写一个代码,来帮我解决这问题?“
But first we need to establish a few things about the occasion for this piece and about the genre, the literary genre of the mask in general.
但首先我们必须建立一些,关于此作品与流派,一般文学体裁《面具》的场合。
In broad scope, the first half of the class is going to be metaphysics, for those of you who are familiar with the philosophical piece of jargon.
广泛上讲,这门课程的前半部分,对于你们中熟悉哲学术语的人来说,将会是形而上学。
Get out a piece of paper. This is your first exam.
请准备一张纸,这是你们第一次考试。
And similarly, particularly for those less comfortable, do we offer prior to the start of each week for a new piece at what we dub a walkthrough whereby one of the teaching fellows will literally start on the first page, give you a mental framework for the week's problems and talk about the ideas that it covers, and then walk through the piece set so that you have a roadmap of sorts that you can follow.
同样,特别对于那些不熟悉编程跟不上进度的同学,每周上课前都可以预习新的知识点,一名教师从第一页开始,对于每周的问题,都给你们简历一个心理框架,并讨论它所涵盖的思想,然后了解了每个部分之后,就可以有个学习的路线图。
Let me first ask you this, is this a reversible or in irreversible process? Right, let me add one more piece of data here which I said in words but which is actually important to write down before doing the problem.
让我先问你们,这是可逆过程,还是不可逆过程?好,让我加上一点简要的,但是很重要的前提,【p1>p2】这是可逆的吗?
And so I'm going to go back to this idea of a class, and let's build the first of these, and that is shown right here on this piece of your handout.
你把半径加到一起,你不会把角度加到一起,你需要再笛卡尔坐标下,进行这个操作,那么我这里在讲的就是。
First one, when I write a piece of code, especially code that has branches in it, when I design test cases for that piece of code, I should try and have a specific test case for each possible path through the code.
第一点,当我们写代码的时候,尤其是一些含有分支语句的代码的时候,当我为这些代码,设计测试用例的时候,我应该为每一个可能的程序路径,都设计一个特别的用例。
The other great critic of the Miltonic simile for my money takes a completely different tack, and that's Geoffrey Hartman who makes an argument that might even be thought to contradict Fish's argument, although actually Geoffrey Hartman wrote his piece first.
在我看来,另一个对弥尔顿的比喻研究深远的评论家,采取了截然不同的方针,他就是杰弗里哈特曼,他做出了一个被认为是在反驳费什的观点,尽管实际上是哈特曼首先写出了他的观点。
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.
好,为了来认识到这一点,让我们来看一个简单的小例子,在你们的课堂手册上,你可以看到我写了一个小程序,它假设我得到了,这些点中的一些,我想对它们做一些操作,例如我想把它们加到一起,那么这里的第一小片,代码的意思是,好给我两个点,我会再创建一个数组。
And in fact, now let me ask those two questions about this piece of code. First question is, for what values of integers-- we're going to assume integers-- but for what values of x does this code terminate? And the second question is, for what values of x does it give me back the right answer?
实际上,让我关于这块代码问两个问题,第一个问题是,对于什么样的整数值,我们会假设是整数,对于x的什么值程序,会最终终止?第二个问题是,对于x的什么值程序,会返回正确答案?
应用推荐