And so when we say something is exponential, we're talking about in terms of the number of bits required to represent it.
所以当我们说某些东西,是指数增长的我们指的,就是代表它的比特数。
Pay attention to what I'm doing in using these textual bits and pieces and putting them together and making claims for them.
注意我要使用这些文本的片段,把它们联系起来,得出论点。
and if the bits represent one here, 1 those exact same bits are going to represent one here.
如果这个二进制数字在这里表示,这些相同的二进制也将表示。
I think I've heard bits and pieces of the answer everywhere, so I don't want to wait until we get it word-perfect.
我想我可以听到各种各样的答案,所以我不想等这大家想出完美的答案
But a few bits of jargon are going to be helpful in allowing the conversation to move forward and this is certainly one.
不过稍微懂一点术语,会让交流更顺畅,这个定义当然算术语
For this I need to invoke a couple of bits of science.
为此,我需要引入一些其它科学知道。
if at any point you've got something you want to ask about or some two bits you want to add, raise your hand, wiggle it around, make sure I see you.
任何时刻如果你有想问的东西,或者你想要加上什么东西,请举手,摇晃起来,确保我能看见。
to the n, every value in the 1 bit vector we looked at last time is either 0 or 1. So it's a binary n number of n bits, 2 to the n.
从2到n,我们上次看到的,位向量的每个值不是0就是,所以它是n,比特的二进制数,从2到。
Starting to get useful because, in fact with eight bits can you implement things like this?
八个比特开始有用,这是因为使用八个比特你可以实现像这样的东西?
This is convention, so on almost-- and most any computer you overuse, if you're writing code that uses a char, you're gonna be handed 8 bits or 1 byte to store that particular char.
这是约定,对于大多数-,电脑,当你写代码要用到一个char型数据时,必须先预留8比特或1字节,的空间来存储这个char型数据。
And just to plant this seed with 32 bits, what's the biggest number you can represent?
而对于32比特,所能表示的最大的数是多少?
This is useful especially when we get to details like forensics and looking at data on a hard drive, - 'cause if you don't know how much store-- how many bits are composing your file, you're never gonna recover that data or be able to access what you're looking for.
这是很有用的,尤其是在法庭上,查看硬盘驱动器里的数据时,如果你连-,文件有多少比特都不知道,你如何去恢复数据,获取你想要的信息呢。
So what data type can we use to actually get more bits of precision than an int?
所以我们能用什么数据类型来表示,比int类型更多位数的数呢?
And this is a little different from what happened ten or so years ago, but the so-called Y2K problem was essentially the result of programmers not really having the foresight to realize, "Maybe we shouldn't use so few bits or so few digits to represent a year because eventually this will be a problem."
这个跟10年前发生的事情有点不一样,那个所谓的“Y2K“问题,本质上的结果是,程序员没有真实地预见和认识到,“可能我们没必要用到这些位数或数字,来表示一年,但是最终这个将会,是个问题“
应用推荐