337 karma · joined December 11, 2016
I don't see the standard library and third-party packages as being in opposition. Far from it. A rich standard library encourages a rich ecosystem of third-party packages.
Maintenance costs affect the authors of open source packages even more than they affect commercial users. They are working for free and in their spare time. A rich standard library makes a language attractive to people who want to write packages.
C++ takes the approach mentioned of having a rich standard library (Boost) that is a separate project from the core language. It (IMO) does not work very well. Many C++ programmers don't use Boost and generic C++ libraries are unable to use Boost as a dependency.
It's not so easy to just "choose the right package". Often all the packages for a given function are someone's hobby.
Consequently JavaScript code needs constant, expensive maintenance. Whereas Python code can rely more on the standard library and big frameworks and tends to keep working for years.
Programming language designers should see themselves as builders and curators of great standard libraries, the language itself is almost incidental to that goal.
However, if my laptop is old and slow, and I'm already in the market for a new computer, I can easily be convinced to buy the computer with the "bigger numbers". Buying i7 instead of i5 only a small part of the full price, so why not?
Statistics isn't sufficient for fully understanding natural language (for that, a computer would have to go out and experience the world in the first person). But it is necessary.
The Tesla vehicles use cameras, ultrasonics and radar. So they are processing graphical data (a video stream) and signal data. That's exactly the kind of task that GPUs are good at.
However, this only gets you as far as perceiving the world. The vehicles also have to decide which action to take -- following the traffic laws of the jurisdiction they are in -- which is exactly the kind of branchy imperative task that CPUs are good at and GPUs are terrible at.
If you take that literally (and we are on HN so I will), the most qualified person for any given position probably costs far too much money.
Rather, companies want to hire an arbitrary person from the set of competent people. Hiring someone's friend is arbitrary, but not uniformly random (i.e. diverse). Hence the problem.
When the 2015 MacBook came out, nobody knew what a butterfly keyboard was. Nobody had ever tried, felt, or melded with that keyboard. But journalists who got to try it did start hating on it right after the event finished.
Also, the MacBook was an addition to the existing Air + Pro product lines so you could just happily ignore its existence if you didn't like it.
I tried it, the keyboard was uncomfortable, and I decided not to buy it.
It would be nice if Apple would make an international version of the 15" that has more than 100Wh!
It's the Peter Principle for laptops. Laptops are made thinner and thinner, which is always an improvement, until the point when they no longer function properly.
Fundamentally, people expect a certain amount of travel in their keyboard for comfort, and long enough battery life. Apple made a big mistake thinking these were mere "nice things to have".
Course you can. The US doesn't have a monopoly on marriage.
Scotland has historically had more lax requirements for marriage than England (and still to this day the age of unconditional age of marriage is 16 in Scotland but 18 in England). So English couples who couldn't get their parents' permission just went to Gretna Green past the Scottish border to get married.
The Echo is an unlikely device to be compromised and recording everything you say, because it's pretty locked down and definitely not a general purpose computer.
Secondly, once people get used to shopping at stores where they don't have to line up to pay, the new experience will become expected by consumers.
So there is a double effect whereby stores who adopt the new tech will save money on payroll, and stores that don't will lose some business.
The hardware requirements for any store that wants to adopt Amazon's tech are minimal: some cameras, an entry gate and possibly some pressure pads under the shelves.
Even if Amazon doesn't license out their tech -- and they would be foolish not to -- you can be sure that Google and Microsoft are working on their own versions. The market is staggeringly big.
USB2 was more competitive, but Firewire stuck around due to its lower latency for audio applications.
Whereas with private pensions the values go up and down but are unlikely to hit 0 and stay there -- unless it's really mismanaged!
No rational person relies upon them, and rational people are precisely the kinds of people to have savings!
The only people who advance this peculiar definition are members of the American left, presumably as a way to define themselves out of being "socialist"!
French Wikipedia has a better definition: the elimination of inequality and social classes.
> The word "socialism" covers a very diverse set of currents of thought and political movements, whose common purpose is to seek social and economic justice. The original goal of socialism is to achieve the social equality, or at least a reduction of inequalities and, particularly for Marxists, to establish a society without social classes.
I guess you could say "socialism" is a label and not a description.
for i in range(n):
# your code here
because it potentially allocates a lot of memory for no reason whatsoever. It's the equivalent of this C code: int* r = calloc(sizeof(int), n);
for (int j = 0; j < n; j++) r[j] = j;
for (int j = 0; j < n; j++) {
int i = r[j];
// your code here
}
free(r);
If you don't want to deal with the distinction then what you can do is just treat range() as deprecated and always use either xrange() or list(xrange()) depending on the situation. But you had probably ought to know about the issue.The way it does this is to open a firehose at your memory. If the information is simple and well presented, then ideally about 90-95% of it will stick.
If you want to retain 1000s of items (like a foreign language) and can accept some amount of loss, then spaced repetition is effective.
But it's not designed to increase the relative chance that any individual item will be remembered. If you want to learn a small number of items with 100% recall, then spaced repetition is a bad way of doing that.