Yeats develops this idea or develops another version of it in a somewhat earlier poem that's interesting in relation to this one.
叶芝进一步发展了这一想法,并在早期的一首诗里,写了另一个版本,那首与这首的关系很有趣。
because when you write here, it seems like every sentence you write, you have to cite to something else anyway.
因为在这里写作的时候,似乎你写的每一个句子你都要引用其它的东西。
And what he writes about is an extraordinary concept really: it's something called "the nobility of the poem".
他所写的是一个绝妙的理念,叫做,诗歌的高贵。
I've written a little for loop, which is going to iterate over all of the elements in the list.
让我们先看看这儿的代码,我已经写了一个循环语句,用来迭代处理数组中所有的元素。
Alright, we are back so we just wrote a programming pseudocode or walk through a programming pseudocode.
继续上课,刚才我们只写了一个伪代码,或者说简单地过了一下。
So the paper length-- there are two papers required, and there is a final exam the paper length is designed to be quite large.
所以论文的长度-我们要写两篇论文,还有一个期末考试,论文的篇幅要较长。
It's an interesting thought experiment to try not to know that that's a sign that says "exit."
一个非常有趣的思想实验是,试着不知道,那是一个写着存在的标志“
In order to explain it-- I had to write down the binomial distribution to explain it properly.
要解释这一点,我要先在黑板上写一个二项分布,以便于解释清楚这个问题
So this is just, sorry, 1 I forgot about the one here.
等于,对不起,我忘写了一个。
It was written by someone almost 100 years ago whose native language isn't English.
这是在近100年前的一个人写的,他的母语不是英语。
And then should it surprise us that that's the kind of person who would call a perfect stranger on the telephone and write a sexy story and give it to them? Right?
我们是否应该感到吃惊呢,正是这类人会为给一个陌生人打电话,并为对方写一个性感小故事?
They come from the other matrix.
他写在另外一个矩阵里了
Milton was the only Cambridge poet to honor Edward King in that memorial anthology by writing a poem in the pastoral mode.
弥尔顿是那本纪念诗选里唯一一个,写田园诗追悼爱德华金的剑桥诗人。
In fact, Yeats is still writing about a solitary fisherman.
实际上,叶芝所写的还是,一个孤独的渔夫。
He's just writing a dramatic play about philosophy.
他只是在写一个关于哲学的戏剧
We have to write a short music paper.
还得写一个短篇的音乐论文
And so now we're going to try and see if we can write a simulation that will give us some insight as to which of these might be better or worse.
现在我们回来看看我们能否,写一个程序来看看,哪一种选择会更好。
And so they each had to present... Each one wrote a term paper on one problem.
那么每个学生都要。,每名学生都要就一个问题写期末论文。
OK. Now, having done that, again I want to stress this idea and I'm going to write it out one more time, that there's a particular format here.
好,讲完了这些,我又想要强调一下这个思想,并且再一次把它写出来了,就是有一个特定的格式。
So I am going to on the fly write a very simple little main program that just illustrates some of the syntax that we can then visualize more interesting.
我很快的写了一个很简单地小程序,来说明一些语法,我们使它变得更有趣些。
And, just to show some of the hidden balance here, 1 here we have one mole. I don't put a one in front.
这儿有一些隐藏的平衡,比如说这个1摩尔,我并没有在前面写了一个。
Write down a number. Has everyone written down a number?
写下一个数字,都写完了吗
It will probably quit at some point because of space issues, unless I'm writing an algorithm that is using no additional space.
其中一个的时候,它会一直运行下去,它可能在某一处因为空间问题退出,除非我写了一个。
And then I could also do a Gaussian one here, with the mean of and the standard deviation of volatility divided by 2.
然后我在这里再写一个高斯分布的函数,它的浮动值的平均值和,标准偏差值都除了2。
So I wrote a little program called "chart" that, based on some data I happened to hardcode into the program, shows us their numbers for the past several years.
我写了一个叫做“图表“的小程序,基于我在程序中硬编码的一些数据,向我们显示在过去几年中我们课程的人数。
PROFESSOR 2: -- other, it could have said - who or zort or -- PROFESSOR: Yeah, sorry, that was part of the question, I could have a picked foobar could put anything in here.
教授2:另外一个对象?,这可以说是其他对象或者-,教授:对,很抱歉,这是问题的一部分,我可以写一个,可以放进任何东西的代用符。
If you're writing a one line function, whose sole purpose in life is addition, and, clearly, this is about addition, well, then it's, in fact, A reasonable to use a shorter symbol like A, but I do have to specify it's type.
如果你在写一个一行的函数,它唯一的目的是,做加法,显然这是关于加法的,好的,实际上,用一个短的标识符是合理的,像,但是我必须指明它的类型。
There's also an important and, I think, a very real sense in which Milton wanted to make it seem and obviously this is a much more difficult feat wanted to make it seem as if the Nativity Ode were the first poem that anyone had written.
我还有一种强烈的感觉,弥尔顿想让人觉得,显然这很困难,想使《圣诞清晨歌》看上去像,任何一个人写的第一首诗。
And when we do a simulation, we're pulling the samples from some distribution.
当我们写一个仿真程序的时候,我们就是从一些分布中进行了采样。
Let me write a function, in fact the literal thing I would do is to say, identify the things that change, give each of them a variable name because I want to refer to them, and then write a function that captures the rest of that computation just with those variable names inside.
让我来写个方法,实际上我的意思是,辨别出变化的东西,然后给它们逐个命名以区分,然后写一个用来计算,这些变量的,包括计算过程的方法。
应用推荐