So this is a classic error. I've not made a copy of the list. I've got an alias of the list.
这是个相当经典的错误,在这里我并没有得到数组的。
but I mark the whole paper up with a lot of red ink if there are mistakes,
但我在批论文的时候,也会把语法错误的地方用红笔标出来,
John Milton has made a mistake. He's made a literary mistake and, as I think all editors know, Spenser does not.
约翰·弥尔顿犯下了一个错误,他犯下了一个文学上的错误,而且我认为所有的编辑都知道,这个错误斯潘塞没犯过。
So the exodus is a paradigm for salvation, but it would be a mistake, I think, to view the Exodus as the climax of the preceding narrative.
出埃及是救赎的范本,但我认为,这也许是个错误,把《出埃及记》当做前面叙述的高潮。
If I do this, try and get the 10th element of a list that's only eight long. I get what looks like an error, but it's actually throwing an exception.
如果我来这么做,试着去取长度为8的列表的第十个元素,我貌似能得到一个错误。
- But there's one potential gotcha here -- and this is where you have to be kind -- of piecing together the little clues along the way -- what have I done that's interesting here that had I not, I would have had a mathematical error?
但是这里有一个可能性-,这就是你需要把,一些线索拼凑在一起-,我这里所做的是很有趣的,如果我不这样做,我可能已经犯了个数学错误?
The confusion, the mistake I think people are making when they make this argument, the mistake I think they're making is this.
我觉得人们提出这个论点的时候,产生的困惑和错误,我认为他们犯的错如下。
- That's the idea of misattribution-- aroused due to something else, " "don't know what that is."
这就是张冠李戴-,错误认定性觉醒因素,“我不知道这是什么“
Now, you think you can make a mistake on your exam, take a look at this up here at tell me what that all is. I have no idea.
你觉得你可以在考试的时候犯错误,看一看这之前写的东西,能告诉我这些是什么,我也不知道。
And why would it be wrong? That what I want to hear.
为什么是错误的,我想听听理由。
Otherwise, you've got to convince me that they're not true.
除非你们能给我指出哪些矛盾是错误的
You cannot let me write anything that's incorrect.
你们不能容许我写下错误的内容
I think one of the mistakes that I think you can make in a company is to build really close friendships.
我想在公司中人们可能会犯的一个错误是,建立非常亲密的友情。
Let's talk to the Beta's a second; let me just emphasize at this stage there are no wrong answers.
我们先来讨论一下选β的理由,我要强调一下这里没有错误的答案
To me, that's a fundamentally wrong approach and it's actually done because it's the sort of thing that statisticians are good at.
对我来说,这是一个完全错误的途径,但实际做法就是这样,因为这正是统计学家擅长的事。
I think, first of all, those are actually erroneous views of American history.
我认为,首先,这些观点实际上是对美国历史错误的看法。
Now the part about his life in Chicago was I'm going to keep doing this, call it the novel versus the autobiography, and I'll explain why I make that mistake a little later--it was cut from the autobiography.
他在芝加哥的生活那部分,我会一直把这书叫做小说,而不是自传,我之后会解释为什么犯这样的错误,这书是从自传的一部分。
I've learned that with high probability, the error is not in the first part of the program.
我从这一点得到了什么?,我得到的是错误有很大的可能。
He has it exactly right. OK? Is this smaller than that? No. Now that's a slight lie.
不,这是一个小谎言,抱歉,是一个小错误,如果我要这么说。
So my answer is always going to be zero and therefore almost always going to be wrong. Yeah?
所以我的答案总会是,因此,几乎这总是错误的,对不?
If I do this, which is kind of a mistake we made last time, if deliberately.
如果我故意这样做,这有点像,上次我们犯的一个错误。
In this case it says, this is a syntax error, and it's actually highlighting where it came from so I can go back and fix it.
在这个例子中它显示这是个语法错误,并且会高亮显示它的位置,以便于我去修改。
yeah I run this, yeah, I have a syntax error, yes indeed, because I forgot to comment that one out, all right, and cue, we'll try it again.
运行下,一个语法错误,确实是,因为我忘了把这里注释上了,好,让我们再来试试。
I did not want to make a list, I wanted to create a tuple thank you for catching it. I want parens not square brackets there.
为什么这里有错误了,我并不想要创建,一个列表,我想创建一个元组,谢谢你,发现了这个错误。
It's a mistake I've learned that I make.
看这就是一个我学习到的错误。
I just reran make or GCC does it for me, and now I've got all these errors. Well, let's see.
我刚重新运行了make,或者GCC为我编译了代码,现在我得到了这些错误,好的,让我们看看。
Well, I think that once again, they've made the same mistake the previous case did, that they assigned a dollar value to human life, and once again, they failed to take account things like suffering and emotional losses by the families.
我觉得他们犯了与前面案例,相同的错误,量化了生命的价值,但同样的,他们没有考虑受害者家人承受的,痛苦和精神损失。
And in the process of tidying it up and making it prettier, I'll often by accident find the bug.
让我的程序更漂亮些,在这个清理美化代码的过程中,我常常无意中发现我的错误。
Weird things, bad things can happen and so one of the lessons too that will be repeated throughout the course is to actually rigorously error check and make sure that you're always thinking about your user being a bad guy.
各种古怪的事情就会蜂拥而至,所以在这个课程中我反复强调,要一丝不苟地检查错误,你就当你的用户是个调皮捣蛋的家伙。
应用推荐