155 karma · joined Feb 20, 2007 (19y ago) · 113 submissions
comment 4y ago · link · parent
comment 11y ago · link · parent
You can [at least internally] define custom rules to handle pretty much anything, in almost-but-not-quite-python.
comment 12y ago · link · parent
>>> import re
>>> route = re.compile(r'(?P<fb>^/foo/bar$)|(?P<fbd>^/foo/bar/\d+$)')
>>> route.match('/foo/bar').groupdict()
{'fb': '/foo/bar', 'fbd': None}
>>> route.match('/foo/bar/1').groupdict()
{'fb': None, 'fbd': '/foo/bar/1'}
If the fb group is set, act on the first route. If the fbd group is set, act on the second.comment 12y ago · link · parent
"At" is the wrong word. The browser is requesting content. If it's requesting content from awesomestuff.com that only newyorker.com has permission to copy, that's a copyright problem.
This is a very odd metaphor for a journalist to mistake. It's as if any reference they make in a piece is violating the copyright of the referenced item. Is reference that difficult of a concept to grasp?
comment 12y ago · link · parent
"All these areas would require an enormous amount of research either to validate or refute the theory, research that is unlikely to be undertaken by anyone not interested in rewriting the timeline."
comment 13y ago · link · parent
* Merchants selling digital goods may transition to Google Wallet for digital goods
* Merchants selling through Google-hosted marketplaces (e.g. Google Play) will be unaffected
* Merchants selling physical goods will need to switch to third-party alternatives (see below)
comment 13y ago · link · parent
There is a reason such jobs turn people into curmudgeons. It's not like they all started that way. You attempt to give a simple explanation as to what you're doing, but as soon as you say anything about their computer, they assume it's technical and tune out.
There are definitely people that would come into the office and learn how you fixed things, and those people were wonderful. Few and far between, though.
comment 14y ago · link · parent
I think that's a really interesting comment! Perhaps it's because the UX is more social network-y (FB/Twitter), which are historically public, and less email-y+historically private?
comment 14y ago · link · parent
if x == nil { x.doSomethingCrazy(); // Runtime error? } else { ... }
"Boolean blindness" (bah) is that either the type system should catch this at compile time (because we know x is nil), or the language should make it impossible to phrase (pattern matching to pull the information out, such as with the Maybe type).
Go has many type system oddities (reflection instead of generics, for instance), but the things they _have_ done (auto-implementation of interfaces, for example) are pretty cool.
comment 14y ago · link · parent
I read this differently: an audience can get the most out of a presentation by paying attention.
If you're consciously communicating while attending a presentation, you're probably not getting anything out of what's being immediately said. In an information-dense presentation, that means you're not getting the most out of the presentation: unfortunate at best, and making the rest of the presentation hard to understand at worst.
Perhaps it's more useful read as an "attendee tip" than a "presenter request?"
comment 14y ago · link · parent
[citation needed]
I'd argue the opposite: "Prototypes are simply more _intuitive_ than classes."
OO-design says that X is-a Y is-a Z, with inheritance providing the main form of structure.
Prototypical-design says that X is-like-a Y, but with these differences. This NPC (specific, X) is like any other NPC (general, perhaps the original NPC prototype), but with the name Fred and this custom AI code.
They're different ways of thinking, but prototypes are certainly not more complicated than classes in the general case.
----
As for the syntax, though, I totally agree with you.
comment 14y ago · link · parent
comment 15y ago · link · parent
What's equal to infinity is the limit of 1 / x as x approaches 0, and that's only from the positive side. From the negative side, it's -infinity.
comment 15y ago · link · parent
Honestly (and I'm guilty of this as much as anyone), I doubt they even read the terms. Here we have this huge thread about contract language being hard to understand, but if one doesn't take the time to read through, understand, and _remember_ all the terms of the agreement, how can one act on that information?
Complex, perhaps, but it's a complex subject.
comment 15y ago · link · parent
Sample comments:
Asking for advice: > when you tre flip over something (gap, stairs or anything) does anyone else dangle their foot like this guy?
Generic compliment: > damn, nice
Complimenting form: > you land well clean kickflips
Observation of differences: > it realy is true how europe has alot more amazing skate spots n obstacles than america,
One troll: > u blow