973 karma · joined June 21, 2011
What's so terrible about the user experience? I put in an SD card, my phone has more storage space, and I don't think about it any more. Seems like a pretty perfect user experience.
1: http://www.washingtonpost.com/wp-dyn/content/article/2006/11... 2: http://www.britannica.com/topic/social-democracy
"Because the f-strings are evaluated where the string appears in the source code, there is no additional expressiveness available with f-strings. There are also no additional security concerns: you could have also just written the same expression, not inside of an f-string."
I don't think it would. If I understand this PEP correctly, the "format" method is significantly more dynamic. For instance, I don't think this new PEP would allow for cases where the template isn't stored directly in the program, or where the values to interpolate are not local variables. So you would still need to keep str.format around for those use cases.
I think it's great for people to experiment with different ways of expressing programs. But I don't think the fact that programming is mostly text-based is necessarily a cause for disappointment, and my guess is that any future form of programming will look more like augmented or improved text, rather than something completely different to today's programming.
Isn't this exactly the "pointless lazy-loading" that you and the OP are complaining about? If what you want is to "load only the right size images for different devices," and you're targeting browsers that support srcset, you can just use srcset.
Couldn't the URL just not include a username, though? Then when git tries to establish an ssh connection, it could try the local username (like ssh does by default), or a username specified somewhere in a config file.
Is it? Why is watching and thinking about something less valuable than "building" something?
I don't think Windows has been a compelling product people pay for since Windows 95 (or just maybe XP). How many home users specifically go out of their way to buy Windows? IME most people use whichever version of Windows comes with their computer when they buy it, and only change versions when they buy a new computer. So the people who are getting a Windows 10 upgrade for free are mostly people who wouldn't have bought it anyway.
def add_double(n):
x = n * 2
def add(y):
return x + y
return add
f = add_double(1)
f(2) # -> 4
What python versions prior to 3 didn't support is rebinding a variable from an enclosing scope; not because of any fundamental feature of the implementation, but because there was no syntactic way to differentiate between a assigning to a variable in an enclosing scope, and creating a variable in the current scope. So x += 2 is short for x = x + 2, which python interprets as creating a new variable x in the current scope and then trying to access that variable before it's been assigned.Python 3 introduced a syntax to specify that you wanted to assign to a variable from an enclosing scope, the 'nonlocal' keyword. So your example would be:
def even():
x = 0
def add():
nonlocal x
x += 2
return x
return add
count = even()
count() # → 2
count() # → 4But it's not just abstract, it has real implications, because JavaScript objects share implementation of the delegated methods; that is, they behave just like objects in class-based languages.
Classes in Python, Smalltalk, etc, are also instances; it's just that these language has facilities to produce particular sorts of instances which are well-suited for being delegated to (and take some measures to enforce the use of these facilities), whereas traditionally in JavaScript conventions are used to distinguish those object which are delegated to, and those objects which are not. However, the distinction between objects which are delegated to (i.e., classes) and object which are not exists just as much in JavaScript as it does in with classical inheritance.
The AGPL requires that you offer to distribute the source code to derivative works you make of AGPLed code; and it requires that you make that offer to a) people you have distributed binaries to and b) people you permit to access that derivative work over a network.
I guess I can imagine someone arguing that, by integrating Mattermost (for example) with another system, you are thereby giving users of that other system access to your installation of Mattermost, and so you would be required to offer them the source to that installation of Mattermost. Is that what you mean by "trigger the AGPL"?
But then, I don't understand the distinction the original post seems to be making between "titles or subjects" and "synopses." A good title or subject for a git commit is a synopsis of the changes in the commit, in the same way a good headline for a newspaper article is a synopsis of the article.
Not according to Google's Material Design "spec", it isn't: "A floating action button represents the primary action in an application." (http://www.google.com/design/spec/components/buttons-floatin...)
Additional actions should go on the action bar.