"The bus went into the middle of the desert and at a certain moment the call to prayer came just lilting through the desert - first time I've ever heard it - and then the bus stopped and all of those colorful people got off the bus."
VOA: standard.2010.05.21
If I wanna say something, do something, then say something else, I just call printf twice.
如果我想说点什么,做点什么,再说点什么,我就得调用printf两次。
That's just the those-- let me use my pointer that's just these two lines here. I checked the value, and in one case, I'm changing the last to be mid minus 1, which is the case I'm in here and I just call again. All right?
来看看ppt,这里有两条线,我检查了值,在一种情况下,我把last指向了中点减一,就是这种情况,我们再来调用一下怎么样?
No new line just 'cause I made an aesthetic call that this looks kinda nice if the prompt stays on the same line.
基于美学等原因,我们就不换行了,让将要打印出的东西跟在其后。
Most companies in the world today spend about 70 % of their IT dollars on what I call feeding the dinosaurs, just maintaining the old systems.
当今世界,大部分公司70%的信息技术成本,都用于喂饱恐龙了,也就是,维持旧的体系。
I just say that in passing to call your attention to it as a risk that's involved in our engagement with a hermeneutic project of the nature of Gadamer's.
我这样说只是为了提醒你们,研究有伽达默尔的诠释学理论时,可能有这样的风险。
Q1 I'm going to, just for convenience, call that Q1.
为了方便,称之为。
So the question then comes is given that, do you have the courage to examine who you are, do you have the courage to try to cultivate the capacity to love, not just with them in the abstract, but other human beings, not just your family, but what I call "spill-over love".
因此,问题就是,你有没有勇气去审视你到底是谁?,你有没有勇气去培养自己去爱的能力,不仅仅是抽象的爱,不仅仅是爱家人,而是爱其他所有人,这就是我所说的“满溢的爱”
For example, the experiment could be tossing a coin, I will call the outcome heads the number one, and I'll call the outcome tails the number zero, so I've just defined a random variable.
比方说,抛硬币的试验,我将正面向上的结果对应数字1,反面向上的结果对应数字0,这样我就定义了一个随机变量
So the events that I don't really know the details of, we can just call B1, B2, B3, up through Bn.
由于我不知道某些具体的生理过程,我们可以叫它B1 B2 B3一直到Bn
So prices are determined as follows: prices depend on some parameters I'm just going to call a and b, and let me write the equation and then we'll see what it looks like.
价格由如下因素决定,价格取决于两个参数a和b,我们用方程写一下吧
The Salk Vaccine is also called the Killed Polio Vaccine, and some people call it KPV, also sometimes called Inactivated Polio Vaccine, IPV, but this is the vaccine I just talked about produced by Salk.
索尔克氏疫苗也叫灭活脊髓灰质炎疫苗,有人将其简称为KPV 有时也被称作,失活脊髓灰质炎疫苗,简称IPV,这个疫苗由索尔克研发,刚才讲过他
And the main one is, I get to just decide, how do I want to use this, and call it.
但是这真的会有一些好处,最重要的一点是,我需要决定,我要如何来使用这个方法,以及如何来调用它。
Because I'm sort of curious as to, again, which is the right way to think about this, And then, I'm going to just call it.
因为我很好奇,正确模拟股票的应该是哪种分布,然后我会调用它。
OK. So if I look at this code, first of all I'm calling search, it just has one call, so looks like search is constant, except I don't know what happens inside of b search. So I've got to look at b search.
首先调用一下搜索,就一步调用,看起来搜索是固定的,除非我不知道二分搜索的原理,那我们来看看二分搜索吧,所以让我们看看,第一行打印出来的内容。
I'm going to call it c point just to make it a little shorter.
但是现在我要去对它做一些改动,那么新版本的类的意思也就是。
Covariance is--we'll call it--now we have two random variables, so cov... I'll just talk about it in a sample term.
协方差是...我们有两个随机变量,x和y的协方差是,从样本的角度来说
printf So thus far, the things I put David between quotes are just simple things like David or David backslash N, but what if I want to do call my self David in quotes, right?
像我们前面提到的,我们把要显示的东西放在双引号之间,譬如,或,David反斜杠n,但是如果我自己的名字本来就叫,“David“
Let's suppose, we'll start with the list, I'll call it l 1. This, by the way, is a really bad thing I just did.
让我们假设有一个名为l1的数组,顺便说下,这真是挺糟糕的。
Now I seem to be violating my own mantra here by just calling this variable A, but this is reasonable, I much as with four loops when you just call an incrementing variable I, because you just need an index, well, same here.
现在我好像违背了我自己的意愿,我把这个变量叫做A,但这是合理的,就像我们的for循环中,我们把一个增变量叫做,因为我们只要一个索引,这里也一样。
Well, it looks like I just stole my own implementation Y but I happen to call it A and B, instead of X and Y, and so here, what's going on?
嗯,看起来我刚好像盗用了我自己的实现,我碰巧叫它为A和B,代替X和,这里,发生了什么事?
Well, I call class just like a function, and you can see that below.
也就是pass了,在python中它的意思就是说。
Basic idea, before I even look at the code, is pretty simple. If I've got a list that is sorted, in let's call it, just in increasing order, and I haven't said what's in the list, could be numbers, could be other things, for now, we're going to just assume they're integers.
我们可以说基本的思想是很简单的,如果我有一个排好序的数组,让我们认为这个数组是递增的吧,我并没说数组里元素是什么,可能是数字,也可能是其他的东西,现在我们假设是integer类型的数字吧,最简单的方式就是这么做了:
Well, I don't have to call printf just once.
我们这次可能会不止一次调用printf函数。
I just doubled the indentation each time so you can see it. So each successive call, notice what's happening. The argument is getting reduced. And we're going another level in. When we get down to this point, we're calling it with just a string of length one.
因此每次成功调用注意它的过程,我们的命题不断简化,而且我们不断深入嵌套,当我们走到这一步的时候,我们就是在调用它处理,仅有一个元素的字符串了。
When I'm talking to the interpreter, when I'm typing things in as I just did, to that Python environment, I'm getting what I'm going to call global bindings.
当我和解释器对话时,我会向我说的一样进行输入,输入到Python语言环境中,我会设置全局变量。
It's reasonable because it's meant TMP for temporary purposes just to call it temp or T-M-P for short, X and I can define temp as -- why don't I set it as equal to X, initially, because now that I've stored X in a separate chunk of memory, I can now change its value and then I can say Y gets, not X, but temp, and so now I've actually swapped these values.
这是合理的,因为它是为,暂时的目的,只要叫它Temp或简称它为,我可以定义temp为--为什么我不把它设定为等于,最初的,因为现在我把X存储在一个单独的内存块中,我现在可以改变它的值,然后我说Y等于,不是X,而是temp,所以现在我交换这些值。
应用推荐