7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions
comment 9y ago · link · parent
Build/deploy/release cycles become independent with microservices, which can be great. Also you can write microservices in different languages.
But the APIs can become less rich. Try passing callbacks between microservices written in different languages. And it can be more of a pain to change APIs. And if there's any state to worry about, you need to manage that and maybe use a stateful protocol (which are harder to get right).
comment 9y ago · link · parent
In databases, it's common to do arena based allocation. You allocate objects of similar lifetime (life of a query, life of a transaction, life of a procedure execution, etc.), and free them all at once when the lifetime is up.
When hacking postgresql, for instance, using pfree() is fairly uncommon. You just allocate, (which goes to the current arena by default), and then the arena is wiped out all at once later.
Of course, sometimes you might use a lot of memory temporarily in a loop, and you need to pfree() it each iteration. But that is the exception.
I think of each arena as a tiny heap (though of course they can grow large).
comment 9y ago · link · parent
Erlang is more clear about their assumptions and goals. They don't claim to have an amazing new GC, they just say they have a simple generational GC, and that's all they need because they assuming many small heaps.
comment 9y ago · link · parent
If it's the combination, then I still don't quite get it. Wouldn't any good self-driving tech pretty easily adapt to ride hailing?
Let's say it's a best case for Uber: there are only few self-driving techs out there, and Uber is one; and they dominate ride hailing, and start turning a profit. Couldn't another self-driving tech company snap up Lyft and bundle in the ride hailing, too?
comment 9y ago · link · parent
Network effects don't seem that strong. People will download an app to save money, and drivers will download an app to make money. It doesn't cause any major inconvenience.
In fact, it seems like a market that may approach perfect competition in a matter of years. There are only two companies now because there are only two companies willing to lose money. After they start making money, that could change quickly.
comment 9y ago · link · parent
Say two groups are different enough that, when you put them together, you call that "diversity". Why do you expect them to be statistically identical when you divide the groups apart again?
Prejudice in career advancement and other important decisions is bad, of course. People should be judged on their own merits, not group statistics. But that doesn't mean that group statistical differences are necessarily due to prejudice.
comment 9y ago · link · parent
The problem is that it's hard to evaluate security. Unless you know the area very well, it's hard to hire someone that knows the area well, which is a catch-22.
Do we know that Yahoo skimped on security, or did they just not get what they paid for because they didn't know better?
comment 9y ago · link · parent
A doctor may go much of their life with low income, and make it up in their mid and late career. But a 22 year old doctor isn't what we thing of as "poor".
We need to follow people over time and use other indicators to see how poor they actually are. Consumption might be a much better measure in many ways.
comment 9y ago · link · parent
http://envisage-project.eu/proving-android-java-and-python-s...
I assume the author knows about that and/or it does not apply to this modified version.
comment 10y ago · link · parent
Now Trump has that power. I wonder how he'll use it?
(Aside from the obvious, which is to dismantle the Iran deal. That's bad enough, because it means our promises now only last as long as the current administration.)
comment 10y ago · link · parent
Smart investing is the same whether the returns are financial or something else (citizenship, etc.): Someone needs to make good decisions about which investments are good and which aren't. If I believed your romantic notion of the humanities reflected reality in the classroom, that would be a great investment. But I don't believe that's true for many students.
comment 10y ago · link · parent
That reminds me of the quotation:
"A new idea is a beautiful and fragile thing. Attack people, not ideas."
I don't know who said that first, but I love that quotation. It mocks itself (and other witticisms), and at the same time reminds you to focus your energy attacking ideas rather than people.
In extreme cases, someone can have a lot of bad ideas and you need to challenge them personally. But that's only in extreme cases, and doesn't apply transitively to supporters of the person.
comment 10y ago · link · parent
This would allow for a lot of social services, but keep them more localized, so they can serve the population better and be held more accountable.
And it would avoid a lot of the problems with big government at the federal level.
comment 10y ago · link · parent
Perhaps in many cases they involve non-students, or are off-campus, or don't sound as horrific (even if they are), or they are investigated seriously already (without help from a journalist), or the perpetrator or victim might reinforce a stereotype that the journalist doesn't want to contribute to.
It doesn't mean the stories are less bad, or that there isn't a problem, just that the journalist has nothing to gain by writing about them. And some might actually contradict the politically-correct solutions being proposed.
comment 10y ago · link · parent
If the health care costs keep going up, and/or they start rationing/queueing, that may have a big enough impact on you that you change your opinion.
Even if you keep your opinion, when you vote for socialism you are voting to force everyone to pay for Joe's poor choices. They might not be so generous.
If you want to just pay into a no-strings-attached social fund, and not force everyone else, that would preserve freedom.
comment 10y ago · link · parent
This turns ordinary differences of opinion or culture into political fights.
If Sally doesn't have to pay for Joe's poor choices, Joe can figure out for himself what he feels is best, and that's called freedom.
comment 10y ago · link · parent
Conversely, that is why socialism inherently limits freedom. As soon as I am responsible for your "needs" (health, food, childcare), I will start demanding that you make choices I feel are good ones (good diet, productive career so you can provide for yourself, good family planning choices, etc.).