Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

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

Submissions

comment 12y ago · link · parent

"These are all tasks that I must do - not doing them would mean that I am simply not doing my job... The utility of that sixtieth work hour is so much higher than the tenth or twentieth because I can use it do my own research."

I don't think he makes a very good case here. The twentieth hour of work could mean the difference between doing his job and failing at it. The sixtieth could make him more prestigious.

There is a good case to be made for increasing marginal work utility, but it's much easier to make in terms of basic numbers in an ordinary market economy: working more hours often leads to a higher average hourly rate. For instance, if you are a consultant, and you spend extra time writing books, you may become a recognized expert and be able to demand much higher rates.

That makes it sound like overwork is logical. But this calculation targets only money, and money has a decreasing marginal utility. And many other aspects of life also have a decreasing marginal utility, which is why people lead varied lives.

So, this problem has more to do with tunnel vision about your goals than with a fundamental curse of life. Keep at least a few goals in mind most of the time, and that will prevent you from falling into this trap.

My list would be something like (not necessarily in this order): health, family, friends, financial security, achievement, helping others, and making improvements for future generations. Usually I'm falling behind in a couple of these areas at any given time, and that helps me see what I need to do to change.

comment 12y ago · link · parent

A valid point, but a lot of complications and unanswered questions.

One major problem is that it weakens the rule of law (something that most libertarians prize highly) when you throw so much into the courts. Nobody knows where they stand or what their liabilities are, which leads to paralysis.

I identify with libertarians, but I think it would be much better to come up with clear laws inidicating the costs of negative externalities, and then force various behaviors to pay for those costs in various ways to various people. Also, certain practices should be outright criminal, in the same way that vandalism is a crime.

I think things like cap-and-trade are ridiculous, for instance. But a straight tax on air pollution or drawing from the water table might be reasonable.

comment 12y ago · link · parent

But the other problems have been with us for a while. Stacking Ebola on top of them is really bad news.

We've already underestimated Ebola in a number of ways. The assumption was that it's not easily transmissible, but it's spreading, so perhaps that assumption is not as true as we thought. The fact that doctors are getting infected is certainly a bad sign. Perhaps this strain is more easily transmissible, or will be soon due to a larger infected population within which it can evolve.

Also, none of those other problems require drastic measures like a 3-week quarantine, which is costly, disruptive, and doesn't scale well.

comment 12y ago · link · parent

Documenting is one part, but that doesn't really answer the "simple setup" requirement if people have to read a lot.

Ideally, even someone who doesn't read the documents would be gently and intuitively guided toward the right solution and away from costly mistakes. Easier said than done, but let's try to get as close as we can.

comment 12y ago · link · parent

It will happen eventually. There are use cases and postgres can do more to address them. The existence of third-party solutions is evidence of that.

What makes it really hard is solving the problem in a way that doesn't lead people into a trap. MongoDB offers solutions for some users, but a lot of users walk away very disappointed when the "solution" didn't do what they think it would do (often after running into problems in production).

But it still needs to be done. A general solution is impossible, so we need specific solutions. Each of those will need to be designed in a way that the user knows as early as possible whether it will work for them, or they need to use one of the other approaches.

What's happening right now is work on very powerful infrastructure for logical replication. Postgres invested in binary replication before, and the results have been great. But binary replication is not a good foundation for multi-master; so now there's investment in logical. There is also early-stage investment in parallel query, which I believe can pay off with mutli-machine parallelism, which is another form of scale-out.

comment 12y ago · link · parent

Do you think this is a fundamental trade-off, or does it just happen that the structures we know about that are good at lock-free happen to have a lot of random access?

Kind of a loaded question, because obviously new research might reveal new algorithms. I'm just trying to get an idea whether you think there is a fundamental connection between lock-free and random-access structures.

comment 12y ago · link · parent

"Just use the right tool and please let's stop with such shallow comparisons"

A lot of people may have thought, prior to this benchmark, that MongoDB was the right tool for all high performance JSON-related tasks.

comment 12y ago · link · parent

"Steep penalties add muscle to the law. If a foreign bank – not just in Canada, but anywhere – fails to report even a single US citizen as a customer to the IRS, the US Treasury department would withhold 30% of the banks’ US income as penalty."

What do they mean "US income"? How do they enforce it?

comment 12y ago · link · parent

This seems like it should live as a layer above postgres for a while, and after it gets widespread adoption the project could become more of a standard part of a postgres distribution.

That would allow some time to sort out the tricky aspects like authentication and access control, and also to see what the performance hit is like and find ways to minimize it.

comment 12y ago · link · parent

"universal firewall tunnelling protocol"

That obviously defeats the purpose of a firewall, so firewalls will either be eliminated, or will go deeper to do filtering.

"[HTTP is] compact"

Not particularly.

comment 12y ago · link · parent

The postgres protocol is stateful, which is necessary for multi-statement sessions (and obviously for multi-statement transactions), as well as COPY. Emulating it in a stateless protocol is much messier.

It's also a lot faster and easier to parse. With HTTP you don't even know how big the request you need to parse is until you've done some parsing.

comment 12y ago · link · parent

What law does it break to threaten legal action to enforce a patent granted to you by the USPTO?

It sounds like you don't like what you see, and you want to find something in the law to use against them. But lots of smart people have looked and nobody has found anything, so it's probably not there. The correct solution is to change the law, not to use overly broad interpretations.

comment 12y ago · link · parent

Not a lawyer, but RICO has to do more with conspiracies that try to hide crimes by assigning the individual acts to underlings.

And it's not a racket if what you're threatening is legal, which this kind of abuse of patent law unfortunately is.

comment 12y ago · link · parent

Well, people will notice if concentrations change unless there is a real conspiracy. But if it's declared "good" to add something to water, it's much easier to manipulate the dosage.

comment 12y ago · link · parent

No, I think you missed my point. Humans can't be trusted with the power to add mind-altering substances to the drinking water. Once someone figures out how to use it to their advantage, they will.

comment 12y ago · link · parent

Mostly a reasonable and interesting article. But when you talk about adding something psychoactive to the drinking water, it's just a horrible idea.

It doesn't matter if it's otherwise natural. Nature is inconsistent in dosages (so diverse perspectives can flourish) and doesn't have ulterior motives.

Maybe it brings down suicide rates, but what other effects does it have? Does it affect the likelihood of voting for a political party or cause? Does it affect the likelihood of political participation in general?

It's kind of like CO2 levels in the atmosphere. Higher levels will have some effect; we're basically arguing over the significance of it, what to do about it (if anything), and whether politicians can be trusted with the power to make those changes.

Similarly, mind-altering substances will affect aggregate political behavior. Once someone finds out how, they will use it to their advantage.

comment 12y ago · link · parent

Honestly, I read through the article pretty quickly and I missed that there was some attempt at a control. The statement that mislead me was "Most of the children in the study, six out of seven, caught up in all of their learning skills and their language...", which seems like a strange thing to say if there was a control group (aren't the control group also a part of the study?).

There were enough red flags that I'm pretty sure this was not a very scientifically robust study. For instance, even for a very small sample, wouldn't you still say how many out of the control group caught up (e.g. 2 out of the 7 control group members).

Also, I wonder if the person evaluating the symptoms knew which were the control versus test subjects?

comment 12y ago · link · parent

Tiny study (7 infants), no control group.

comment 12y ago · link · parent

Why doesn't Oracle just change ZFS to dual-license GPL/CDDL, and scrap btrfs?

My experiences with ZFS have been quite good, and with btrfs quite bad.

comment 12y ago · link · parent

"Compared to Perl 6, the Python 3 development process was perfection."

Comparing to a series of "Apocalypses" (the term used early in perl6 development to refer to radical breaking changes) is not great evidence that python3 is non-disasterous.

Do you really think python3 being 6 years in limbo (and counting) is a good thing? Probably not fatal, but I don't see how it's good.

comment 12y ago · link · parent

Normalization is also a logical concept (and merely a suggestion when it comes to the relational model, not a requirement) orthogonal to physical scalability concerns. Sometimes people use it loosely, assuming a one-to-one correspondence between a relation and a physical file.

These are important distinctions, because a misconception here leads to entirely the wrong solution.

One thing that does have inherent physical constraints is consistency. That's usually what people mean when they say that the relational model doesn't scale, but it would be much less confusing to just say that. Then there would be no reason to dismiss a relational language when designing scalable systems.

comment 12y ago · link · parent

"But you could argue that the relational model doesn't scale."

How would one make such an argument? The relational model is simply a combination of logic and set theory used for manipulating data. It's orthogonal to scalability concerns.

comment 12y ago · link · parent

Can you please make a more specific criticism? What should be simplified?

comment 12y ago · link · parent

As the author points out below[1], this use case does seem to be solved by the built-in postgres replication.

So, there is a single solution. If you want greater flexibility, pgpool2 may be an option; otherwise, just use what's built-in.

[1] https://news.ycombinator.com/item?id=8250497

comment 12y ago · link · parent

That seems like you're disputing the charge/verdict, not the punishment.

What is the normal punishment for felony assault of a police officer for someone with no priors?

The reason this distinction is important is because disputing the charge/verdict requires getting involved in the case and seeing the prosecution's evidence.

comment 12y ago · link · parent

OK, how does the punishment for hitting a police officer in the US compare to other countries?

comment 12y ago · link · parent

She was convicted of a violent offense.

Are you disputing the verdict or the punishment?

comment 12y ago · link · parent

This kind of thing exists in any form of government. Even if there is no money, the idea of making people pay for their own punishment (through any means, including their labor) has been around forever.

The idea that communism or socialism is free from this kind of thing is ridiculous.

comment 12y ago · link · parent

Free market (in ideal form or not) is a prerequisite for capitalism.

comment 12y ago · link · parent

Isn't is fairly obvious that the space is owned by the airline?

The problem is not that the space is being sold -- it is obviously expensive to have space on a plane and we all know it is being sold.

The problem is that it's being sold twice by the airline. The airline gives both customers the impression that they have a purchased a license to use it. We get suckered into it as though it were some tricky ethics issue, when it's really just a mess created by the airline's ambiguity.

1
596061
87