Data's what we expect. It's our way of representing fundamentally the kinds of information we want to move around.
数据是我们一直需要的,它是用来表达我们想要操作的,数据类型的基本方式,这里。
We could just collect a bunch of data. For a material .What's the volume it occupies at some pressure and temperature?
对一种物质我们可以得到一系列测量数据,在给定的温度和气压下,它的体积是什么?
Instead if we want this pointer to represent the address of something in as much as it points at that address let's just draw an arrow.
如果我们想要让这个指针表示,数据的地址,它指向的地址,我用一个箭头表示。
That means--his calculations are very different than the ones I have because he has a much longer sample period.
那表明。。。他的计算结果与我的大相径庭,因为它数据的取样跨度比我的长多了。
I should just say that the data i just gave you is real data but it's actually mixed ability data.
我强调一点我给你们的数据是真实数据,但是它是综合了各种能力后的数据
And then we try and get our simulation to match the past, and hope that that will help it predict the future.
尝试让仿真程序能和这一部分实际数据相符,并且希望它能够帮我们对未来进行预测。
And it is a stereotype but it's a statistically robust one and nobody lines up to protest this.
这确实是刻板印象,但这是有数据支持的,而且没有人会排队去抗议它。
Here's another graph of data on the metabolic syndrome showing how it differs by race and ethnicity.
这是另一幅关于代谢综合征的数据图,它表明代谢综合征在种族与民族间的差异
And he actually quantified it.
鲍林也确实做到了用数据来度量它。
When structuralism thinks about how yesterday things were different from the way they are today, it has to say: yesterday there was a certain synchronic cross-section of data, and today there's a slightly different synchronic cross-section of data.
结构主义想,昨天的事情和今天的事情如何不同时,它不得不说:,昨天有某个数据的同步剖面,今天有数据的略微不同的同步剖面。
You can compel the compiler to treat some value as a different type of value, at least if it makes intuitive sense that that should be possible.
你可以控制编译器处理,不同类型的数据,至少我们凭直觉,它应该是可能的。
It imports it into our database and does some fancy indexing as we'll call it later in the term to make searches more efficient.
将它导入到我们的数据库中,并进行一些变址,这将在后期会提到,它可以使查找更高效。
Number two, pointer dereferencing starts at the pointer and follows its arrow over to access its pointee.
第二,指针非关联化从指针开始,通过它的箭头,来使用它的指针数据。
I shouldn't put down a name of a company because I can't reproduce this diagram for Microsoft.
我不应该用这个公司名,因为我没法重现它的数据
It has suddenly shot up in the latest years; this is since the late 1990s.
它在近几年突然上升,这是自90年代以来的数据
It doesn't move the value.
它不是移动那个数据。
And it's a topic I want to pick up on today, we're going to do for the next few lectures, and it's a topic I want to spend some time on because this idea of capturing data and methods, the term we're going to use for it, but data and functions that belong to that data, things that can be used to manipulate them, is a really powerful one.
我们会在今天讲这个话题,在后面几节课还会讲这个,这是个我愿意花点时间,在上面的话题因为这是个,捕获数据和方法的思想,我们用这个术语来形容它,数据中包括了数据和函数等,能用来操作它们的东西,真的是很强大的工具,我们真正要讲的东西是,我们要学会如何把信息。
Then you'll get a page that looks like this that will talk about-- given that you've had that particular food how many additional calories you have for the day, given an average person, and it gives you the breakdown of what you've eaten so far.
之后你会看到一个类似这样的页面,根据你的某种食物摄入量,根据一般人的情况,告诉你当天额外摄入了多少卡路里,它会给出当前所有的统计数据
And we've only just begun using it, but it has just a bunch GetInt GetString GetDouble of very useful functions like GetInt, GetString, GetDouble, And so as those names imply, you can just cull these functions with no arguments and you'll get back that data type based on its name.
我们刚开始使用了它,里面有很多的,有用的函数,像,所以,那些名字暗示,你可以挑选这些,没有参数的函数,然后你可以通过它的名字,获取他们的数据类型。
As I said, I would prefer to do something that uses an accessor that I just wrote.
来完成这个操作,因此p,Cartesian是一种访问器,它可以访问里面的数据。
The Born exponent is determined experimentally, and there are tables of that.
因为Born指数是由实验决定的,而且这里有它的数据表格。
I went from this description, it gives me some information. I need to have a particular type.
我从这些描述出发,它给了我一些信息,我需要一些特定类型的数据。
There, they're just storing a database of previously solved problems.
好了,它就是一个存储之前,解决过的问题的数据库。
Well, unfortunately in C, you have to be ever so specific as to what you wanna put in the variable.
很不幸,在C语言里,给变量赋值之前,你必须搞清楚它的数据类型。
I circled this P -if any of you have taken statistics will know what that means, but it's the statistical term that tells you how significant these findings are.
我重点圈起了P,学过统计学的就知道这是什么意思,这是统计学的术语,它告诉我们,这些数据的重要程度
> Okay. Well, this code allocates a new integer pointee and this part sets x to point to it.
>,好的,呃,这段代码分配一个新的整型指针数据,这部分让x指向它。
It has a pointee.
它有指针数据了。
And then LLD, we'll see in a moment, this is for particularly long numbers which will become relevant especially as you're trying to process lots of information.
然后是lld,我们等会就会看到,这个代表长整型数据,它是相当重要的,特别是当你需要,处理大量信息的时候。
You go to ABI Inform, which is one of the things that Yale subscribes to, on your laptop and it puts you right into the text of The Wall Street Journal.
BI/INFORM世界著名的商业经济管理期刊全文图像数据库,那是耶鲁所订阅的信息来源,它会在电脑上直接以文本形式显示,《华尔街日报》的内容
X That's just the special symbol in C that says don't pass X, that is don't pass a copy of X. Rather figure out where x is in memory, where he is in that frame and provide swap the numeric address in RAM of that value so that swap can go do anything it wants at that address.
这在C中是一个特殊的符号,指明不传送,也不是传递X的拷贝,而是指出x在内存中哪个地方,它在那个框架中的哪个地方,提供给swap它的地址值,这样swap就可以使用那个地址中的数据。
应用推荐