However, it could start a revolution in information access
I'll say...1,174 karma · joined June 17, 2011
However, it could start a revolution in information access
I'll say...sum((x for x in xrange(1, 101) if x % 3 == 0 and x % 5 == 0))
Notice the parenthesis instead of square brackets. Your version actually creates a list in memory. A generator generates the items one by one and doesn't need to store them all at the same time.
I'm trying to write a blog post for O'Reilly publicising
the tutorials at CUFP, and was going to structure it
around "10 reasons for not learning functional
programming" rebutting each of them. Here's my list of 11
(so far) … any more ideas?If I learn the new verb c, which deletes and puts me in insert mode, I already know that I can type c3w to change 3 words, or ci" to change the phrase inside quotation marks.
Because all verbs work on the same set of nouns and adjectives I can intuitively know what many commands do - even though I've never tried them - as long as I understand the parts that make up the command.
(a)allows access to the electronic data, or
(b)facilitates the putting of the data into an intelligible form; output.WriteString("<statements>\n")
defer output.WriteString("</statements>\n")That post made it sound like there was a purpose to having the file in dropbox other than getting it.
http://stackoverflow.com/questions/1642028/what-is-the-name-...
For example, in the Prisoner's Dilemma you might get 0 years of jail time if only you defect, 1 year if you both cooperate, 3 years if you both defect, and 10 years if only the other person defects. Then, knowing that the other person will defect it is still in your best interest to defect as well.
In this challenge, if you know that the other person will defect you automatically get $0, whether you defect or not. In that case there is no particular reason for you to defect (except out of spite) and you are better off with the hopes that your opponent will keep his promise than with nothing.
All I'm saying is that in this regard Megaupload's actions were perfectly reasonable. The debate about whether taking down links instead of files because not all copies of the file are infringement is a completely separate issue.