Well, we start out with our usual system, and we have a bunch of little pebbles on it.
还是那个系统,活塞上面放了很多小石子。
Yeah, well, my little, nice, small basement flat apparently would go for 600,000 pounds, which is...
是的,显然地,我那个小的、漂亮的地下室公寓可以卖到600,000英镑,这简直是……
And they type in "cappuccino" on a little terminal, which is basically a calculator on top of the cash box, and then they get $3.24 from that. They get a receipt.
他们在一个小终端机上输入“卡布奇诺“,那个终端机不过是个收银盒上价格计算器而已,他们划走了3。24美元,打出一张凭条。
So a couple of commands and then an interesting code and then the teaser, that's a teaser.
总结起来,就是几个命令,一个有意思的代码,然后是那个小技巧,那是一个小技巧。
So this is very similar, this is a kind of recursive thinking we talked about earlier, where we take our problem and we make it smaller we solve a smaller problem, et cetera.
我们则跳过比猜想数小的那个区间,然后我们重复这一过程,跟之前我们讲过的,递归思想非常类似,我们解决问题的时候,先把问题一步步变小,然后解决小问题。
He was a hobo by choice: As a little boy, he'd seen a hobo come up to ask his mother for a piece of pie and she had given it to him and when the hobo went off down the road the little boy had said, "Ma, what was that fellow?" "Why, that's a hobo."
他是自愿成为流浪汉的:,当他还是个小男孩的时候,他见过一个流浪汉向他妈妈,要一块派,他妈妈给他了,于是当流浪汉离开的时候小男孩就问,“妈妈,那个家伙是谁“,“是个流浪汉“
And, finally frustrated, Hitchcock went to the actor, leaned over, whispered in his ear, "Your parents have left you " and they're never coming back."
最后他沮丧极了,走到那个小演员身边,俯下身子凑到他耳边说,“你爸妈刚把你丢在这了,他们再也不回来了“
That little story I told last time, I thought I was describing a world in which my mind exists and my body doesn't, but it wasn't really imagining a world like that.
我上次讲的那个小故事,我认为我在描述一个,我的心灵存在,但身体不存在的世界,而不是真的想象出那样一个世界
This is just a picture of that little box, so it's going to turn out it goes from, the pink line goes from here to here and the blue line goes from here to here.
这是那个小方格的放大图,这些线如图所示,粉色的线从这一点到这一点,蓝色的线从这一点到这一点
Let's see how we can now start using them like I did for that little chart of enrollment.
现在让我们看看我们如何用它们来处理,那个登记人数的小图表。
But for those of you who decide to go on in computer science realize there is a whole interesting world that uses details like these in the world of networking, in hardware, to actually solve some real world problems.
而对于你们中想要在计算机科学,方面有所发展的人,将会遇到一个非常有趣的领域,在那个世界里,会有许多像网络世界,硬件界,这样或那样的小细节,但又往往是这些小细节才解决了许多真实世界里的问题。
I start at the beginning of each list, and I say is one less than three?
从每个列表的头开始,那个么1是不是比3小呢?当然?
And, if you skip over to 215, this image comes back of this mother: "All cars had disappeared except his station wagon. His pregnant young wife was now getting into it with her baby and the other more or less canceled child."
还有,如果你翻到215页,这个妈妈的形象会再次出现:,“所有的车都不见了,只剩下他的小汽车,他,他怀孕的妻子正抱着婴儿上车,那个惹是生非的小男孩,也上去了“
If touching sign, display this little cartoon bubble.
如果触摸那个符号,就会显示那些卡通小泡泡。
And when I do this test, what I want to do, is say I'm going to pick the middle spot, and depending on the test, if I know it's in the upper half, I'm going to set my start at the mid point and the end stays the same, if it's in the front half I'm going to keep the front the same and I'm going to change the endpoint.
如果我知道目标数可能,再比中值点大的区间里,我可能就会把开始点设为中值点,而尾点不变,如果在小的那个区间里,就保持开始点不变而把尾点设为中值点,你们可以看到这儿的代码,就是这么做的,对不对?它是怎么做的?
But in this movie, the kid gets a little secret decoder ring.
不过在这个电影中,那个小孩得到了一个小的机密解码戒指。
That little problem set zero that you did.
你做过的那个设置0的小程序。
But long story short, if I want to use a function called sleep, -- the reason I, the programmer, knew to use that library -- -- that header at the top -- because it told me to in this little synopsis.
但长话短说,如果我想要用一个叫做sleep的功能,我作为程序员知道使用那个函数库-,上面的标题-,因为在这个小的大纲中它告诉我。
It looks a little something like that, and the screen doesn't quite do it justice here, Z but there's two alphabets; A through Z, and then A through Z, -- but the inner A through Z is on a small -- it has a smaller diameter; so it's a ring of letters.
它看起就像那样的东西,那个画面做的不是这么公正,这里有两个字母表,A到Z,然后A到,但是戒指内部的A到Z是在一个小直径的上面-,它有一个小的直径,所以它是一个有字母的戒指。
Adults think that when an ugly kid misbehaves it's because they have an ugly soul while the attractive kid, "oh, that little scamp, somebody must have been bothering him."
大人觉得当丑小孩行为不当时,是因为他们的灵魂很丑陋,如果是好看的小孩行为不当,”那个小顽皮,一定是别人烦到他了“
No, instead we have to click other amount at bottom right there, when we have to input 4-0-0 in this screen 4-0-0 after consulting visually the little cheat sheet on the device itself it tells you in a very long chart how much one pass costs so we multiply and type in 4-0-0, we hit enter.
不,然而我们必须点击,右下边的这个,当我们需要在这个屏幕上,输入0,通过咨询那个设备上小说明,它在一个很长的图表上,告诉你,每一站需要多少钱,我们加起来,输入了4-0-0,点击输入。
And here's a little trick -- and again, we promised to point -- out little tricks of the trade -- if I know I want to execute the last command I typed that started with an m, bangm will actually figure out what that command was and redo it for me so I don't have to figure it out, or you can go back in time in a terminal window.
这里有个小技巧--此外,我们许诺指出行业中的,一些小技巧-,如果我知道我想执行我写入的上一个命令,是以m开头的,!m会明白那个命令是什么,然后为我恢复上次操作,所以我不需要明白它,或者你可以回到,那个终端窗口。
应用推荐