So let's take a look down here at what I'm doing and notice here that this is perhaps more compelling; right?
让我们往下看一下我在做什么,请注意这里这个可能是更引人入胜的,对不?
Oh--but if you can meet with our teaching fellows over there, they're gonna ask the legal department to see you next so Alright, I think we're all set.
哦,但是如果你遇到我们的助教,他们将让法务部看下你,我想我们大家准备好了。
I won't be able to show you what a market does unless I have stocks, but I can look at what an individual stock does without having a market.
我不会在没有股票的时候,就给你讲股市应该是怎么样的,但是我可以在没有股市的情况下,先去看单独的股票。
I want to now move down a little bit and observe how landscape is presented to us.
现在我想往下看一点,观察一下四周场景,是怎样的呈现给我们的。
I can look at that and go she knows what is going on, eight out of ten.
我看下后就知道她想干什么了,十分的话,给8分。
Just looking at this first line: "When I see birches bend to left and right."
看第一句:,当我看到白桦树弯下身子,向左,也向右“
So let me find out from people here and see what people did a second.
那让我看下大家填的是多少
And in fact, if you look down- and I'm just going to highlight this portion, I'm not going to run it- but if you look down here, that's exactly what that does.
实际上,如果你往下看-,我正要强调这一部分,我不会去运行它-,但是如果你看看这儿的话,这个方法确实就是这么做的。
But then there is this very explicit discussion of her Catholicism, a little further down: My background and my inclinations are both Catholic, and I think this is very apparent in the book.
然后这里有一段非常明确的,关于她的天主教义的讨论,在往下看一点:,“天主教是我的背景和取向,我想这在书中有很明显的体现。
Glancing at the bottom, this is pretty arbitrary, but I chose to format my string as follows: % 1f so at the bottom here I'm printing out %.1f, which quick sanity check means print just one digit after the decimal place.
看下这个底部,这个是相当随意的,但我选择把我的字符串格式化成这样:,所以在这个底部我打印输出,提醒一下,这是一个只打印出,小数点后一位的方法。
I can click on this guy to see what sprites are controlling him.
我按这个按钮看下哪一个精灵控制着他。
He sat and looked I'm skipping down a little bit, glum and intense, at the neck of the woman across from him.
他坐了下来,我往下再跳一点,“看这个前方那个女人的脖子。
And the code over here says, OK gee, if I'm in the base case do something.
如果我属于基础事件就进行一些操作,而我不是,所以往下看这儿。
I can't look below that.
我不会再往下看。
So I'm going to distinguish in fact between un-handled exceptions, which are the things that we saw there, and handled exceptions. I'm going to show you in a second how to handle them, but let's look at an example.
所以我打算区分开不可处理的异常,以及我们刚才看到的,可以处理的异常,我一会要给你们演示下如何处理他们,给你们看一个例子。
But please try and look at--somebody's not looking at it, because they're using it as a fan here-- So look at Game 1 and fill out that form for me, okay?
请大家看下游戏1 我知道有人没看,他们用那张纸扇风呢,快浏览下游戏1 然后填完 好吗
Probability is 0 of their choosing Right is the same as saying they choose Left, so that my payoff from Up against that is given by the top box up there, I get 5.
如果对手选右的概率是0,其实就是说他们会选左,因此此情况下我选上的收益,从上面的矩阵看,我的收益是5
And again, if I just run this, just to show that it's going to do the right thing, it says enter base, I'm obnoxious, it says oops, wasn't a float, so we'll be nice about it and I enter a height, and it prints out what I expected. I just concatenated those strings together, by the way, at the end.
我再来运行下看是不是做对了,提示输入底,噢,它提示说不是浮点数,我很高兴,然后我输入一个,浮点数作为高度显示结果和我预期的相同,顺便说一句,我只是在最后把这些字符串连接起来了。
Now if you look at that list, there is actually something I didn't seem to check, which is, I said I wanted a float stored in hyp.
看下上面的清单,实际上我还有一些东西忘了检查,也就是说hyp中存储的,应该是浮点数类型。
So I just have to see, oh, here's a D, let me keep looking, D here's an A, keep looking here's a V, here's an I, here's a D and yet, and this is one tidbit we introduced a week or so ago, how do I now know if I'm just given the address of the start of the string where the end is?
我只需要看到,哦,这里是一个D,让我接着往下看,这里是A,接着这是V,这是I,这是,然而,这是我们一周以前介绍的花絮,如果你给我一个字符串开始的地址,我怎么知道它什么时候结束?
应用推荐