But, just to be sure, not to be sure, but just to increase my confidence, I'm going to just run it again.
所以说它是对的是很有道理的,但是,确定一下,但是为了提高我们的自信,我要再运行一次。
It's unbearable. It's really uncomfortable, it makes you want to bite your nails or just run out of the room.
这真让人难以忍受。你感觉很不自在,这让你想咬指甲或者干脆夺门而出。
I was hoping for a simpler answer, which is, just run it. Which is, yeah I know, seems like a dumb thing to say, right?
我希望一个简单点儿的答案,比如说去运行它吧,这方法看起来挺笨的对不对?
You couldn't just run something successfully in a cycle and get work out of it, using the heat from the hot reservoir, without also converting some of the heat that came in to heat that would flow into a cold reservoir.
如果一样东西在循环工作过程中,只有热从高温热源中流出,而没有热流入低温热源,那么此过程,不可能对外做功,不可能把所有热。
It just asks you, "Do you want to run the anti-virus software?"
而是询问用户,“是否要运行杀毒软件“
These were very young scientists, of course, so what you would expect that they would do, which makes sense, is go to someone more established in their field, because they have the completely radical revolutionary idea, let's just run it by someone before we go ahead and publish this paper that makes this huge statement about this fourth quantum number.
他们是非常年轻的科学家,所以你们可以想象他们会怎么做,很自然的,他们去请教他们领域里更权威的人,因为他们的概念是彻底的革命性的,让我们在发表这个关于,第四个量子数的巨大的发现之前,先和别人讨论一下。
How did it get this way? Just thinking over the long run, How did France end up so centralized?
为什么会这样,从长远来看,法国为何变得如此中央集权化
We'll just let it run.
我们就让它放着。
skittles So when you compile a program called A dot out, or skittles or wherever, and you double-click that program, or our in our command line environment, run it with dot slash skittles, that program is loaded Microsoft Word into memory just like Microsoft Word or whatever would be on your own computer.
当你编译一个程序a,out,或者,或其他的,你双击那个程序,或着在我们的命令环境中,采用,/skittles来运行它,那个程序被加载到,内存中,就像,或者你电脑上的其他程序。
I think it may be just the function of the way those agencies are run.
可能是这些公司运营方式的作用。
So when we finally run that marathon, it just feels really great,
当我们最终参加比赛的时候,感觉太棒了。
It's like the part of the brain that's responsible for language learning is only around early in development and if you don't get your language by then it'll just run out.
就好像负责语言学习的大脑区域,只是在发展的早期比较活跃,如果你没有在这个时候获得语言,那你就没有机会了
And then I could do things like again, say, okay having done, that let me just run it here, run that, so I've now got polar point 1, and polar point 2.
然后给它们赋值半径和角度,然后我可以进行刚才的操作,也就是说,对刚才的笛卡尔坐标进行的操作,让我们来运行下它吧,运行下,现在我有一个极坐标点。
I should really just put it in a nice test harness, where I run 100, 200, 1,000 trials, but I didn't want to bore you with that here.
我应该把它放到一个测试组件中,我运行100次,200次,1000次,但是我现在不想用这个来烦你们。
So actually, let's just run it and then we'll talk about what it does.
那么,让我们运行下程序,然后来探讨下程序的功能吧。
So let me just run it.
让我运行下这个程序。
By putting it in a function bug if I find a bug and I change my program I can just run the function again.
把我输入的值放到一个函数里,如果以后我在程序中发现了一个,并对程序进行更改的话,我可以直接。
In other words it doesn't just return when it finds one, it's going to run through all of them. All right?
但是它将会继续运行,换句话来说当它找到一个结果时,它不会立刻返回结果它会先遍历所有的内容?
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.
实际上,如果你往下看-,我正要强调这一部分,我不会去运行它-,但是如果你看看这儿的话,这个方法确实就是这么做的。
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.
我再来运行下看是不是做对了,提示输入底,噢,它提示说不是浮点数,我很高兴,然后我输入一个,浮点数作为高度显示结果和我预期的相同,顺便说一句,我只是在最后把这些字符串连接起来了。
OK. All right, let me show you one other tool that I want to use. Which is, I've written that piece of code, I ought to check it. Well, I could just run it, but another useful thing to do is, I'm, especially as I want to debug these things, is to simulate that code.
好,那么,让我给大家讲下,我想用的另外一个工具吧,也就是,我已经写好了这一块代码,我应该去检查检查,那么我可以去运行它,但是特别是当我想要调试代码的时候。
I guess it's not macho enough, John, to just, you know, you know, go off and do things by hand, you ought to just run them, but it's a valuable tool to get into, so let me do that here.
我认为这不太男人了,John,你知道的,他们仅仅是认为比起用手做来,更应该直接去运行程序,但是这确实是调试代码的非常有价值的工具,让我在这里给大家演示下吧。
Well, let's just run it and see what it does.
让我们来看看结果吧。
OK. Having done this now, I can simply go ahead and run this, and in fact if I go up here to run, you'll see I've got both an option to check the module, though in this case I'm just going to run it.
好,讲完了这些,我可以去执行程序了,实际上如果我在这里运行,你们会看到我同样得到了,一个可以同时检查模块的选项,虽然在这个例子中我就是直接去运行程序了。
So just to show you how big a difference it makes, let's run a couple of numbers.
让我们试试一组数字吧,如果n是1000的话。
Now for the hacker edition, if you are feeling up to a bit more of a challenge you'll find that when you run the game, one it's not all that hard to use some ASCII art just make it a little fancier as the teaching fellow who implemented this solution did.
对于升级版,如果你能应付更大的,挑战,你会发现当你在玩这个游戏时,用一些字符画把它做得,比那些教学人员做的更有新意,并不是那么困难。
It's going to let j run over the length of the list all right, so it's going to start at some point to move down, and then it's going to let i run over range, that's just one smaller, and what's it doing there?
就在这里,会做什么呢?,我们让j遍历这个列表,好的,它要从某一定开始移动,然后让i也跑遍整个范围,就是比之要小一,会发生什么?
Probably I shouldn't have said it's a two-step process 'cause it's a three-step process to actually write and run it, and the third step is just going to be to run it.
也许我不应该说它是个两步完成的程序,准确来讲,应该是三步,前两步--写,第三步--运行。
应用推荐