Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions

Submissions

comment 9y ago · link · parent

Absolutely.

Developers often gloss over how truly difficult it is to make good API choices. And when the wrong choices are made, it goes wrong quickly.

Microservices probably amplify this effect, but it's hard to say.

comment 9y ago · link · parent

Are GCs scaling well to new hardware? Memory sizes are increasing, as are core counts. But if those extra cores are being used to GC the larger memory, are we effectively losing those extra cores?

comment 9y ago · link · parent

Microservices go beyond encapsulation in important ways, and regress in other ways.

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

Tangent:

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

Partially true, and Joe Armstrong (creator of erlang) makes similar arguments. But that doesn't work well for everything.

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

Can you be more specific? Their self-driving tech is worth $70B?

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

Sincere question: what protects Uber from competition enough to imply huge profits in the future?

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

Why do we expect uniform outcomes from diverse people?

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

That's a part of it, but we've seen other examples like Target, without a lot of real change.

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 much worse problem is the focus on inequality of incomes at a snapshot in time.

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

What makes you believe that? If you look below the surface, that's far from clear.

comment 9y ago · link · parent

"during first meetings, most investors are looking for "reasons to say no"

Is that true? There's always a reason to say "no" to a startup. I would think that they are looking for reasons to say "yes", and then getting more skeptical as they get interested.

comment 9y ago · link · parent

The original TimSort had a problem:

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 9y ago · link · parent

How much of this applies to tech news, or in general, news targeted to your field of interest/employment?

comment 10y ago · link · parent

Can you elaborate one some of the details? For instance, what about tiny cities? What about areas not in city limits at all? What about two or more cities in the same metro area -- how do they divide the power?

comment 10y ago · link · parent

But it's exercising a kind of blank check of power given by Congress. I don't think Congress should issue blank checks; I think they should do their job.

comment 10y ago · link · parent

Why is the President making law in the first place? If this law was made by Congress, it would be less susceptible to legal challenge now, or reversal by a future administration.

comment 10y ago · link · parent

He can go back on anything on our side, whether it makes any sense or not. That's one of the problems with going around Congress.

comment 10y ago · link · parent

Even more concrete: Obama granted himself the authority to make a treaty without Senate approval. Sounded fine to most people at the time, because Congress was just "obstructing" everything anyway.

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

It's easy to justify tyranny. All you have to do is find something important but imperfect, call it a "failure", and ignore all the ways your alternative can fail in much worse ways.

Even better is to leave your alternative unstated, so nobody can counter it.

comment 10y ago · link · parent

Where you are wrong is that it's not just about money, it's about accountability.

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

"You can and should be judged on the basis of the ideas and opinions that you promote."

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

It would match up quite well with a party platform based on decentralization of power. Libertarian at the federal level, Republican for large states, Democrat for small states and big cities / metro areas, and liberal for small cities or towns.

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

That's not quite fair. This election was an upset. I think it's quite reasonable to look for an explanation beyond random noise.

comment 10y ago · link · parent

Real world examples tend not to fit narratives perfectly.

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

The more one pays for the choices of others, the more they feel entitled to be influence those choices.

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 is exactly my point. When Sally has to pay the consequences for Joe's choices, she will have her own ideas about what Joe should do, and try to force him to do so using her vote.

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

I prefer freedom, but freedom comes with responsibility for your choices. That means no subsidized or free health care when you make poor choices.

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.).

comment 10y ago · link · parent

You're putting the cart before the horse. First get informed, give your ideas a trial run if possible, then vote.

For instance, you can mock vote, and then see whether that politician lives up to your expectations over some period of time.

comment 10y ago · link · parent

Voter participation is certainly not a clear-cut issue.

Are the extra voters brought into the process as informed as the voters that sought out participation with no outside push?

1
454647
87