It enables the user to control the speed and sound levels of orchestral music playing on a computer.
VOA: special.2011.05.11
I mean buy could actually be a negative indicator that this is probably not of interest to the user.
我的意思是购物可能是一个负面暗示,暗示用户对这些不是很有兴趣。
When you've been typing in words to the keyboard like your name or any word that you're trying to provide to the user, a string really looks like this.
当你们通过键盘键入单词,比如你的名字,或者你想提供给用户的任何单词,一个字符串实际上看起来就是这样。
The user may need increasing amounts to get the same effect.
VOA: special.2009.02.10
It is my place, as a programmer, to write information to the user.
这个规范到底用来干什么的呢?,这是我的空间。
"This approach is a signal to the private space community that they can look to government partnerships, government as a user, or even government as an investment partner as they go forward."
VOA: special.2010.04.28
First of all, he wanted to imbed in his upcoming high potentials the user application of really advanced investment theory.
首先,他希望,即将到来的潜力人才,学会运用,先进的投资理论。
"Some of our projects have looked at what we call situational impairments, which are challenges to accessibility that are caused more by the situation or context that the computer user is in instead of maybe as we usually think of accessibility as having to do with someone's own physical or cognitive state."
VOA: special.2011.04.18
In this case, to optimize for the best of the whole community and the whole user base and over the long term and that's important too, your long over short term.
在这个前提下,去寻求整个社会,以及所有用户的长远利益的最大化,这十分重要,我们寻求长期利益,而非眼前利益。
But Fraser says information technology specialists may have a tendency to focus on the technology and not see things from the user's point of view.
VOA: standard.2010.02.24
So, summarizing better, assert is something you put in to say to the user, make sure you're giving me input of this type, but I'm going to guarantee you the rest of the code works correctly. Exceptions and exception handlers are saying, here are the odd cases that I might see and here's what I'd like to do in those cases in order to try and be able to deal with them.
所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。
It was a complete waste of time, unless the goal in life was simply to pester the user for some input.
刚才的时间就完全浪费了,除非那个唯一的目的,是简单地纠缠用户索要一些输入。
Anything that tells him to sense something like the user's mouse or the edge of his screen is actually purple in color; and so they're nicely colorized and all this but the one that's adventurous right now is this.
能够让计算机感知鼠标或屏幕边缘的图块,都是紫色的;,这些图块五颜六色,但这里有一个不太靠谱的按键。
I can't rely on the user. I want to make sure I get a float in it, so how do I do that?
我想确保这儿我得到的是一个浮点数,我该怎么做呢?
But odds are it's not sufficient just to get it from the user, I, the human need to be handed whatever this function got from the user in some form.
如果只是从用户,我这里获取,好像有点不太准确,我们得交出,该函数从用户那里得到的一切信息。
We look at what emails you reply to if you reply in theory that suggests this user must care about whoever sent this email or the topic they are in.
我们看看哪些邮件要回复,如果你回复了,理论上来说这表明了用户一定很关心,发件人以及邮件的主题。
The only thing I've done in this part of the program, now I'm going to go and read the code, is I've gotten the user to input a bunch of data.
现在我去读读这里的代码,是我会让用户输入一些数据,然后根据用户输入的数据。
Weird things, bad things can happen and so one of the lessons too that will be repeated throughout the course is to actually rigorously error check and make sure that you're always thinking about your user being a bad guy.
各种古怪的事情就会蜂拥而至,所以在这个课程中我反复强调,要一丝不苟地检查错误,你就当你的用户是个调皮捣蛋的家伙。
Well, the user, I don't know in advance what the user is going to type in, right?
我不能预先知道,用户将要输入神秘,对不?
How likely are all the inputs, are they all equally likely, or are they going to depend on other things? And that may depend on the user, so you can't kind of get at that.
他们大致相同么?,他们依赖于其他事情么?,输入也跟用户有关,因此你没法完全得出结果来。
I want to keep doing this while I am not thankful for the user's number.
我想要一直这样做,当我对用户的,数字不满意。
s1 We're assigning to s1 the string that the user typed in.
我们把用户输入的字符串赋值给。
If you want to get some input from the user, my God I don't want to have to program it to low level zero and 1 just to get keys from the keyboard; please let there have been someone who does that for me and indeed there are an increasingly sophisticated options that you can pull off the shelf.
如果你想获得一些用户的输入数据,我的上帝,我可不希望在键盘上敲入0,1的低水平方式来编程;,希望有个人能帮我做这件事吧,但是现有的选择,也变得日益复杂了。
For those of you who aren't familiar with this, we split up the user base by what school they go to and we make it so that people at a given school can only see the profiles and contact information of people at their school.
对此有些人可能不大了解,我们以学校为标准将用户分组,只有在同一所学校的学生,才能够相互浏览,个人资料和联系方式。
Otherwise, what was the point of getting a string from the user if I'm not handed the result to actually do something interesting with.
否则的话,它不把值带给我们,我们就做不了想做的事情,那我们还要它有什么用呢?
You have to jump through hoops just to ask the user for a piece of input which should be really the thing a language prioritizes.
你要百依百顺才能从用户那里得到一个输入,这个输入可能只是一个,语言优先级。
In this case, I'm going to get back the answer 3 F-O-O because the user typed in F-O-O, but wait a minute, what's with this?
假若这样,我得到了答案3,因为用户输入了,等一下,用这个干吗?
But when you start writing programs, especially when we get to web-based stuff where you want -- to check the user's input -- is it valid, is it an email address, -- and all these different scenarios -- it's actually often useful to be able to just enumerate them or rattle them off using this switching construct instead.
但是当你看是写程序时,特别是当我们,使用基于网络的东西,你想要,检查用户的输入-,它是合法的吗?它是不是一个电子邮箱地址?,所有的这些场景-,实际上它常常是有用的,当你用枚举结构列举它们,或者用它来快速地来说出它们。
That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.
这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。
So if I type "man sleep," this is going to give me the user's manual for a program called sleep, but there's a gotcha and the problem set it makes clear, sleep notice that it says at top left sleep one.
所以如果我键入“man,sleep“,它将,给我一个叫做sleep程序的用户手册,但是这里有个参考信息,它使问题更清晰,请注意它指明在左上角。
应用推荐