Somebody says, "What is a mare?" "Well, it's a female horse." "Well, it's a female horse" is the metalingual function.
有人问“什么是母马“,“母马就是雌性的马“,“母马就是雌性的马“这句话就是元语功能。
It's a very diverse type of life.
这里的生活方式很多元。
And I responded to at least one email about this issue, someone quite correctly said tuple are immutable, how can I change one?
我在不止一封邮件里回复了这个问题,一些人很明智,知道元组不可变,但是疑问怎么能去改变他们,我的答案是?
They want to get as far away from each other possible, the ideal angle is 120. But what we have here is a four-membered ring, so what angle does 90° that have to be, that bond? 90 degrees.
它们想要尽量远离彼此,最理想的是形成120°键角,但现在是个四元环,所以这键角应该多大?
I went to see a rich girl I knew. In the morning she pulled a hundred-dollar bill out of her silk stocking and said, "You've been talking of a trip to Frisco. That being the case, take this and go have your fun." So all of my problems were solved.
我去看望我以前认识的一位有钱的姑娘,到了早上,她从丝绸钱袋里取出一张100元的支票说:,“既然你那么向往到圣弗兰西斯科的旅行,拿着这个去寻找你的快乐吧“,这下我的问题全部解决了。
This is a kind of meta-literary allegorization that I'll be performing here: you could also think of Milton the poet as being stuck at this same juncture.
这是一种元文学的语词新作,我现在会开始展示,你们也可以思考一下,诗人弥尔顿也在同样的时刻陷入僵局。
You build a steel plant with a capital cost of several billion dollars.
你可以建立一个钢铁的地球,只要几十亿元的投入。
You eliminate them the same way you eliminate them.
你们按照同样的方法消元就行
Notice that the relationship between the rhetorical is and the grammatical is is basically the relationship between what Jakobson calls the "poetic function" and the "metalingual function."
注意下,修辞学上的is和语法中的is之间的关系,基本上就是雅各布森所说的,“诗功能“和“元语言功能“之间的关系“
And,so,instead of having where before you had something like one- hundred tolls you had to pay on the Loire River, if you're transporting some goods, they eliminate all those tolls, they try to create uniform weights and measures, and that'll take one-hundred years before that really works.
相对于从前,诸如你想,通过卢瓦尔河运输货物,你必须支付一百元的过路费,他们取消了所有此类收费,他们尝试建立统一的度量单位,这些想法在一百年之后才得以实现
re not regulated tightly as ordinary banks would be I believe they have something, they have something like two billion dollar line of credit at the treasury.
他们所受管制,They’,没有普通银行严格,我想他们有,他们有大概20亿元,的授信额度,在财政部。
And the nice thing is that there's a shared behavior there. Just as I can have tuples as an ordered collection of things, strings behave as an ordered collection of things.
共享的行为,就像元组是有序的元素序列,字符串也是有序的元素序列,因此我可以对字符串做同样的操作,我可以把它们连结起来。
All right. What does this have to do with my divisor example? This says I can make tuples, but imagine now going back to my divisor example and I want to gather up the elements as I go along. I ought to be able to do that by in fact just adding the pieces in.
这意味着我可以创建元组了,但是想像下回到我们的除数的例子,在处理过程中我们想把目标数的除数,收集起来,我应该能够通过把这些数,一个一个加进来来实现这个目的,我正是要去这么做,也就是。
So orthodoxy is definitively dualist.
因此正统基督教绝对是相信两元论的。
If you look up really close, there is the elementary charge e.There is the mass of the electron.
如果你仔细找的话,会找到e表示的元电荷,也能找到电子的质量。
Times the square of the elementary Z charge times n squared over Z.
乘以元电荷的平方,乘以n的平方除以。
My answer is, you can't change one but you can create a new one that is almost like the old one but different in a little bit.
既然你不能改变元组,你可以新建一个跟原来的元组,大体上一致但有细微差别的元组。
All right, they're not tuples, they're simply an instance with some structuring.
传入这些类的实例,好,他们并不是元组。
In fact it gives me back, now I hate this, it's actually a list it's not a tuple. But for now think of it as giving you back an explicit version of that representation of all those elements.
它实际上是一个数组而不是一个元组,但是现在你们可以把它认为,是明确的这些,元素的一个表示,你会在接下来的一些课程中看到。
This will be Z times the elementary charge.
这将是元电荷的Z倍。
We've looked so far really at two non-scalar types. And those were tuples written with parentheses, and strings.
关于这两种基本类型我们已经,学的相当多了,包括哪些元组和字符串类型。
I shouldn't say list, those two tuples, and walk through them to find the pieces that match up.
除数数组进行对比,我不该说数组的,是元组,遍历这两个元组找到相同的元素。
Now what I'd like to do, every time I find a divisor I'd like to gather it together. So I'm going to create a tuple of one element, the value of i.
那么我就会去创建只包含一个元素的元组,也就是这个除数了,然后,啊,很好,这里是加法重载的一个很糟糕的应用。
OK. And how do I create them? Well, the representation is, following a square bracket, followed by a sequence of elements, separated by commas, followed by a closed square bracket.
就是一个有序的序列,好,那么我们怎么创建元组呢?,好,表达式是,一个方括号,后面是一系列的元素,以逗号分开,以一个闭方括号结束,这就是我刚才所说的。
I'm going to give a name to that. And what you see there is I'm going to call divisors initially an empty tuple, something has nothing in it. Right here. And then I'm going to run through the same loop as before, going through this set of things, doing the check.
你们可以看到这里,我初始化一个空的元组,名为divisiors,这里,然后我会去运行,跟以前一样的循环,遍历这个集合内的东西,然后做检查,现在我要做的是,每次我找到了一个除数我要把它收集起来。
b OK. In this example I'd use b. All right, as b get-- b is the thing that's changing as I go along here, but it could be things like, how many elements are there in a list if the input is a list, could be how many digits are there in a string if the input's a string, it could be the size of the integer as we go along. All right.?
好,在这个例子里我会用,因为b是一直在变的东西,但是也可能是如下情况:,如果输入是数组的话,变化的就是数组的元素数,如果输入是字符串的话,变化的就是字符串的长度,如果是integer的话,可能就是这个数的大小,对不对?
应用推荐