If we try to get you married, we can't go and tell people, People will ask what is that.
如果你想要结婚,就不能告诉人们,人们会问教士是什么。
you want a place where you can sit down and just relax and have, you know, a nice conversation,
你会想要一个你可以坐坐,放松一下,聊聊天的地方,
Because it says, your program will still give you a value, but it may not be what you intended, and you can't always tell, and that may propagate it's way down through a whole bunch of other computations before it causes some catastrophic failure.
因为这意味着,你的程序依然会返回一个值,但是这个值可能不是你想要的,你可能还分辨不出来,而且这种情况会传播,结果会沿着正果计算过程传播下去,直到产生一个灾难性的错误。
And you just think that's just gone, if that sea decide to take that house, it's gone, you cannot do it.
这时你会想说,这房子肯定会被毁掉的,如果大海要毁掉它,它就会毁掉,做什么都没有用的。
And if someone said, it's 4%, you'd say, well that's kind of meager, I want a better dividend than that.
如果他说,是4%,你会觉得少,我想要更高的股利
So you see a problem like this in the real world; you see a problem on campus you might want to solve.
在现实生活中你会遇到这样的问题;,在学校里看到这种问题时,你会想要去解决它。
Obviously, the amounts that are in cigarettes are not enough that people are dropping dead of cyanide poisoning, but still it's not a good idea you definitely want to minimize your exposure.
显然,香烟中的氰化物含量不足,以使人中毒而死,但这毕竟不是一个好主意,你绝对会想要将接触氰化物的机会减到最少。
So the army, people think, "Oh, my gosh, you're going to go into war now." you know.
所以对于部队,人们会想,“哦,我的天啊,你要去战场了。”
Now that may interest you at the moment, or what you may want to do is to get a printout of the whole day after that.
是不是很吸引人,你可能会想要,把接下来这一整天的结果打印出来
And you are thinking to yourself, "Ok,fine. So university,academia must make itself with action.
你可能会想,“好,学术界要结合实践做研究。
But eventually you'll want to take it up with me.
但最后你会想要来找我。
So, suppose you fall in love with somebody and you decide you want to marry them and then somebody was asked to ask you why and you'd say something like, " "Well, I'm ready to get married this stage of my life; " I really love the person; " the person is smart and attractive; I want to have kids" whatever.
假设你爱上了某人,想要与对方一同步入婚姻的殿堂,要是有人问你为什么想要与对方共度余生,你大概会说,“现在我已准备好要开始婚姻生活了;,或“我真心的爱着他;,或“他聪明有魅力;,“我想要小孩了“,等等。
Well, your friend says actually because you're the one who wants to pet the dog,
因为你是那个想要去摸小狗的人,这时你的朋友就会这么说,
But then once they get over, "Hey, what are you doing to me?"
但一旦他们明白过来,他们会说:“喂,你想要我怎样啊?”
you want someone to have seen it or yeah, someone to celebrate with.
你会想要别人看到,是的,想要有人和你一起庆祝。
They're going to want to help you if you're young and smart,
他们会想要帮助你的,如果你年轻又聪明,
if you're curious enough, you're gonna find something.
如果你很好奇,你会找到你想要的。
Now I call that, and it says, 20 tell me how many heads you want, give it a 20, and tell it how many legs 56 you want, give it 56, and it prints out the answers. I know, whoop-dee-doo.
请告诉我你想要几个头,设为,然后告诉它你想要几条腿,设为,最后它会打印结果,哇哦。
Of course, once you start thinking of it this way, it's natural to talk this way across a variety of things that the computer may be trying to do.
当然,一旦你开始用这种思维方式思考,你就会很自然地把这种思维应用到,电脑可能想要做的其它事情上
And we'll see if you try to mess with our functions by providing a string when we want an int, or providing an int when we want a string, you may very well get yelled at and the user will have to retry.
我们可以看到,如果你尝试打乱我们的函数,当想要一个int数时我们提供sting型,或者,当想要一个sting数时我们提供int型,你可能会被吼叫,然后用户不得不重新尝试。
Well, we certainly didn't know on day one how many times each of you was going to want to call get string, how many words a user might type when you call get string.
好的,当然我们不知道第一天你们,想要调用GetSting多少次,当你调用GetSting时,用户会输入多少单词。
Can you tell us a little bit about Outdoor Action and a little bit of how you came to this conversation, because we decide to collaborate on something.
你能否给我们简单介绍下这个项目,也谈一谈你为什么要来这个讲堂,我想我们一定会有一些共同点。
And this is now a program that's web based, it's SMS based, it's voice based and it used to be Linux based as you'll see in a couple of weeks and it's just a program thatlet's you click where you are, click where you wanna go and voila, here are the next several shuttles that you can take.
这个程序现在是可以用网络访问的,可以用SMS的,可以用语音访问的,而且它曾经是Linux下的程序,你们几周后就会看到,它是这么一个程序,你可以点击确认你现在的位置,然后点你想要去的位置,然后程序会返回给你你能做的班车。
应用推荐