But really, the computer's just so fast I'm drawing the same string with just a slightly different number again and again after going to sleep one second at a time.
但是真实地,这个计算机到现在为止,我一次又一次用稍微不同的数字,绘画了相同的字符串,在睡眠1秒钟之后。
But we do a lot of things on the computer, so that makes up for it.
但是我们经常用电脑,所以可以弥补。
You might remember vaguely logarithms from high school math and such but what this suggests for us , the computer scientists, is that this is certainly a smarter, a faster algorithm.
你可能还会依稀记得,高中数学里的对数,这就给了我们这些计算机科学家们,一些启示,即,这种算法更智能,更迅速。
The process to control it is intriguing and interesting but the heart of the computer is simply this notion that we build our descriptions, our recipes, on a sequence of primitive instructions.
这个控制它的过程很耐人寻味,很有意思,但是计算机的核心仅仅只是,我们在初始指令序列上,建造描述、方法的一个概念罢了。
For all I could tell, people did equally well but this experiment has been done tens of thousands of times and you could do it yourself on a computer screen.
据我所听到的,两次都差不多,但这个实验做过几十万次,你们可以在电脑上做。
Your computer looks like a typewriter, but a typewriter just speeds recording of information.
电脑长得很像打字机,但是打字机只能速记信息。
If what we mean is the mental, but that the aspect, the behavioral aspect of the mental, where even a chess-playing computer probably has it, then that's not a very compelling argument.
如果我们说的是精神的某个方面,即精神的表现面,是一个甚至连象棋程序都可能拥有的方面,那这就不是一个令人信服的论点
So but the diary is a way to get more sophisticated information on individuals for dietary counseling purposes and the like, but it's pretty labor intensive and then it requires either a computer to analyze the diet or some human being who is trained in this to sit down and make sense of the data.
日记这个办法,可获得更加精确的个体信息,用以进行饮食咨询等,但这更像是劳动密集型工作,然后还需要一台电脑,来分析食物数据,有些人学的就是,坐在电脑前弄明白这些数据
but I've taken a lot of computer programming classes,
但是我上了很多编程课,
Not by some very arcane numeric address inside my computer's memory, but by a symbol, by a name.
不是通过一些在我电脑内存中的神秘的数字地址,而是通过一个符号,一个名字。
But the problems can grow much faster than you can get a performance boost out of the computer.
对,电脑运行速度是很快,但是问题的规模增长的。
It was made by a computer scientist, but now, it's fun time.
它是一计算机专家发明的,不过现在才更有意思。
D-A-V-I-D Well, if I've got a five-letter word like D-A-V-I-D, well, that's like five bytes and yet we only have the ability thus far in this class to return one thing at a time I can't return five bytes to you, but wait a minute, those bytes by nature of a computer are just stored in RAM.
好的,如果有5个字母的单词,如,那是5个字节,我们只能返回一个东西,而不能返回5个字节,等一下,这些字节被计算机本能地,存储在内存中。
And you can't... If the brain was wired up like a personal computer, it would take you four hours to recognize a face, but in fact, we could do things extremely quickly.
你无法,如果大脑是像个人电脑那样组装起来的话,那你识别出一张面孔就得花上四个小时,但事实上,我们能够非常迅速地完成某些事情
Well partly this is just for fun-- this is what computer people sometimes do, intentionally or unintentionally but as also will see a really nice way to culminate the semester and frankly carve out a 10 hour block where you can bite off your final project's implementation surrounded by friends and the course's staff.
一部分只是因为好玩-,这是懂电脑的人有时会这么做,不管有没有意义,还有一部分原因是因为,以这种方式达到学期的高潮,并在朋友和这门课程教师的关注下,抽出10小时的时间完成最终的项目安装,是一件多么美妙的事啊。
Well, again, it used to be believed that the brain is wired up like a computer, like a PC or a Mac or something like that, but we know this can't be true.
人们曾经以为大脑是像计算机那样,组装起来的,像台个人电脑或苹果电脑,但我们知道这种观点是不对的
Pseudocode is kind of an English-like syntax that's just a useful way of expressing yourself fairly succinctly, fairly computer-like but without having to worry about stupid details like whether it's Java or C or whatever.
伪码是一种类似英语的语法,可以简洁地,表达自己的意思,它与电脑类似,但是你不用担心那些愚蠢的细节,比如Java,C语言或者其他什么语言。
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've added the ability to have more complex data structures here. But I dropped a hint in the first lecture about what you could computer with things. In fact if you think for a second about that list, you could ask what can I compute with just that set of constructs?
我添加了使用更复杂的数据结构的能力,但是我在第一节课给大家了了一个,关于你可以用什么来做计算的暗示,实际上如果你思考,这个列表一会儿的话,你会问我可以用?
- But the computer-- but a lot of data about all the students on campus were-- -- was collected--were collected and people were then randomly paired up and sent to the dance.
但是通过计算机-,校园所有学生的数据-,收集起来,然后同学随机配对,按照这种配对一起跳舞。
But let's see if a computer could also do it.
我们来看看,一台计算机是不是也会这么做。
So, an alternative to that that is incredibly common in just the programming world and in industry is to actually not write programs on your own personal computer but to actually write and run them on a server, someplace where the software is all standardized.
那么,在编程界和工业界普遍,使用的一个解决方案是,不在你自己的电脑上写程序,而是在服务器上编程运行,服务器上的软件都是标准化的。
Are you among those more comfortable, have you taken any computer science, were you programming at the age of 10 but you'd actually like to learn a bit about things you don't yet know and challenge yourself with new content or are you somewhere in between?
你对电脑比较熟悉么,你上过计算机专业方面的课程吗?,你是不是10岁就会编程,来上课的目的只是为了学习未知的知识,或者用新知识来挑战战自我?,还是二者兼有?
But because we're now programming a computer at a lower level and because as we said last week, you really have to be precise and then careful to instruct this machine, this fairly dumb machine that will only do what you tell it to do very specific instructions, do we have to use a more precise syntax than just a puzzle piece might have previously allowed.
但是我们是要在电脑的低平台上编程不是吗?,那我们就要像我上周提到过的那样,一定要小心,小心,再小心地,操纵这台又聋又哑的机器,它只会根据你敲进去的,特定指令来做事,所以我们必须使用非常精细的语法,而不是模模糊糊,让人费解的概念。
Because you can come up with an infinite number of values but if you have a finite amount of space and certainly a computer has a finite amount of disk space or RAM, you have to make approximations.
你可能会碰到一些无限的值,如果你只有有限的空间,废话,电脑当然只有一个有限的磁盘空间,或RAM,我们得做一些近似处理。
应用推荐