Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

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

Submissions

comment 10y ago · link · parent

How about redirecting your compassion towards someone more noble?

comment 10y ago · link · parent

It's not an unreasonable request, and certainly worth some effort to improve.

That being said, if upgrade is the biggest problem, that's great news!

comment 10y ago · link · parent

True and I generally agree. But hitting a parked car I would expect to be extraordinarily rare for an autonomous vehicle. Isn't that the most basic test?

comment 10y ago · link · parent

Not disagreeing necessarily, but having many different databases has a cost.

Data has more value when combined, so a wise database choice also depends on what you already have. You can combine data from different systems (e.g. FDWs, which postgres has great support for), but something is usually lost along the way.

I think postgres is a good default, because it is good for a lot of things. But sure, if you make an informed decision otherwise, there's nothing wrong with that.

comment 10y ago · link · parent

I conjecture that it's rare that someone just needs a document DB.

The main problem someone is thinking about may be solved by a document DB, but then they also have 1000 other problems they didn't think about that are a horrible fit for a document DB.

And due to the nature of databases, where data has greater value when combined, using a new database system for every application isn't a great option.

SQL is great for business data, and passable-to-good for everything else. So the only way to beat it is by being way better at some specific thing, and finding users where that specific thing is so important that it's OK if the data is on an island.

comment 10y ago · link · parent

I'm not entirely comfortable with Congress delegating its authority to unelected people for unlimited periods of time.

The fact is, what was perfectly legal yesterday will be illegal shortly, despite no new laws being passed, and no members of Congress taking responsibility.

That's called rule of man, not rule of law.

comment 10y ago · link · parent

This didn't really register with me as tyrrany. What did the FBI actually do to her?

Going around a lawyer is a good way to lose a case against her, so maybe they weren't trying to make a case against her.

Maybe they actually had some real questions that involved her expertise or knowledge she might have had.

comment 10y ago · link · parent

Private arbitration serves two related purposes (as far as I can tell):

1. Cheaper court costs overall

2. Less ability for one party to impose huge costs on the other at little cost to themselves (any time such an imbalance exists, it can be used like extortion to force a favorable settlement).

If we solve those problems with public courts, I don't see any need for mandatory arbitration.

comment 10y ago · link · parent

It seems like more and more of the legal system is based on "rules" issued by unelected officials, and less based on actual laws passed by Congress.

comment 10y ago · link · parent

That's a good point, and you could make similar claims about economics and political science (do those last two count as STEM?).

Oh well. I guess colleges want money, and they will find a way to make their customers happy.

comment 10y ago · link · parent

"I think sometimes there is too much tendency to dismiss the arts and humanities as complete lightweight fluff compared to STEM."

It's not that the subjects are lightweight fluff, it's that the students are disproportionately so. STEM is fairly objective, so it's comparatively hard to hide your lack of depth.

But if you just want to go to college as a social signal, and a ticket to 4 years of parties, then arts and humanities will offer you a place of comfort. Not every professor for every class at every university; but at pretty much any university you can find some kind of lazy path through the arts/humanities departments.

There are a few reasons for this:

* Many professors / TAs use classes as a political platform first, and an education platform second. If you just tell them what they want to hear (a slightly avant garde kind of progressive liberalism will do the trick pretty much anywhere), you get an A or B.

* Based on the title of the course, huge mobs of lazy students will sign up assuming that it's easy (this is never a serious STEM class). The professor then adapts the grades so that a lot of them pass, because otherwise there will be a revolt.

* Universities like to provide "a path to success" for pretty much all of their students who are willing to put in even small amounts of effort. If they can't tell the difference between a concerto and a sonata, then the counselors can take them out of music theory, and put them in "post-modern ethno musical studies".

comment 10y ago · link · parent

Is that kind of "old money" an increasing or decreasing phenomenon?

I don't have the numbers, but it seems like a lot of the rich people that come to mind made most of their money during their lifetime.

Also, wealth naturally dissipates pretty quickly over generations. One reason is simple fan out. Another reason is that the children are likely to be less frugal, and there's s high chance that some descendants are downright reckless financially.

comment 10y ago · link · parent

I guess I think of moral issues as "leaf nodes" in an argument tree. Things you don't really need further justification for.

You still need to weigh them against conflicting values, but if someone doesn't agree with you that issue X has a moral component at all (or if you disagree whether it's positive or negative), then you are bound to disagree forever.

When an officer asks "why? What have you got to hide?", they've turned it into a practical issue and removed the moral component that I believe exists. That's as ridiculous (to me) as asking why someone doesn't want to be punched in the stomach ("why? Did you just have abdominal surgery or something?").

comment 10y ago · link · parent

See steego's reply. Just because something is a moral issue doesn't mean that it can't ever be overridden by some other concern.

comment 10y ago · link · parent

I respectfully disagree. Property rights have a moral component independent of their economic value, similar to privacy rights.

Say someone says "let me search your car, what have you got to hide?" What argument can you use against it? The problem is that we've been manipulated to believe privacy has no real moral claim. In reality, you should be able to just say "it's private" and not feel compelled to provide further explanation.

It's not so different from being punched in the stomach. You aren't going to die, so what's the problem? You heal and everything is fine. So why won't you let me punch you in the stomach?

Theft is, similarly, a moral issue. If I make something, and someone takes it, I will feel bad. Much worse than if I had to sell it to pay taxes (even if I disagree with the tax policy).

comment 10y ago · link · parent

Land is special because it has always existed and (practically) you can't make more of it.

There are reasons to make it private, but it's quite different from, say, a sculpture. Clay is nearly worthless, so if an artist turns it into a valuable sculpture, that value was created. Obviously, there's a spectrum here. Even land typically requires an investment to make it useful for anything.

Food is largely created; especially something like sausages or cheese. So the tale of the miner above doesn't really apply. It may not even apply well in that case, if the pheasants were feeding on crops cultivated by the landowner.

comment 10y ago · link · parent

I wonder how much of this is required to use rust effectively. A lot of languages have fairly tricky semantics and type systems, and most developers don't fully understand them. C++ is obviously a big language, but even C has things like volatile pointers and pointer aliasing and numerical type promotion.

And if you don't understand non-lexical lifetimes, I think that's OK. You can just be more explicit about the lifetimes and it will still work. And reading someone else's code should still make sense.

comment 10y ago · link · parent

"The lifetime of a value"

Surely he means variable, not value, right?

comment 10y ago · link · parent

That's the problem: it's fundamentally unimplementable.

First, on even a moderate scale, you quickly find out that democracy is not well suited to make the zillions of decisions needed to run an economy. Voters will be making too many decisions about things they know too little about.

So, they have to delegate the power. Under capitalism, government powers are somewhat limited, so delegating has some checks and balances. But under socialism, you have to delegate power over every aspect of the economy, which is basically everything.

In other words, you've just delegated arbitrary power, which has a bad history.

Even if that all works out, now you have an information flow problem. Prices no longer reflect supply and demand, so how do you deal with shortages and surpluses? What if you have 10000 people applying to be "beer taster" and zero people applying to be nurses?

comment 10y ago · link · parent

I don't think he was implying Cleveland was bad; just that very few people will make such a big move to keep their job.

comment 10y ago · link · parent

For something like that, I would use the explicit pointer arithmetic. The array syntax implies (to me) "I am doing the normal thing with this normal array".

comment 10y ago · link · parent

Can you please post an equivalent Java program for comparison?

comment 10y ago · link · parent

See sibling comment.

comment 10y ago · link · parent

Runtime code generation / JIT.

comment 10y ago · link · parent

1. License. If you are worried about GPL (especially v3), then you are better off with clang.

2. GCC is generally considered to produce better binaries.

3. Smart projects will support both and test with both. Before, even though projects tried to be portable, GCC was the only compiler most developers had available. Now they have two (although clang does try to support almost everything GCC does, so it doesn't say a huge amount about portability).

4. If you want to quickly see whether an optimization was applied (like inlining or loop unrolling), looking at LLVM is more approachable, so clang is nice for that.

comment 10y ago · link · parent

That's a good point, and a lot of languages use that philosophy.

C has a number of things that have kept it going. Let's get some real alternatives that address those reasons.

Or, you can look at Ada and rust, which are closer to what you want.

comment 10y ago · link · parent

Keep in mind that the compiler doesn't always know whether code is undefined or not. Is x+y at risk of overflow? Maybe, depending on some logic in a separate compilation unit.

So what your asking is to define behavior for all code, such that the compiler can prove locally that's it's well-defined. That's not a crazy idea, and a lot of languages do that.

But C counts itself as special, for better or worse.

I think we really just need more alternatives. There's C++, Rust, Ada, and not much else. I am very hopeful about rust.

comment 10y ago · link · parent

Can someone explain the significance of AWS in this story?

comment 10y ago · link · parent

I live in California, so state schools are very good and can even be prestigious (Berkeley, UCLA).

I'm not limiting their options. I guess if one of my children is absolutely determined to jump into big time debt to go to Harvard, I probably wouldn't stop them.

But I won't destroy myself financially just because I'm afraid to explain to my children that choices have costs (list price of Harvard is something like $80k/yr). Also, my children are more different in age, so if I go broke on the first one, the next one wouldnt have the same opportunity.

The choice I'm offering is really not a bad one. I'll pay something reasonable, and if they can make up the difference with work and scholarships, great. If they want to do research, they can always go to MIT for grad school.

Also, by the time they go, things might be different. So many people got burned by the "go to whatever college you want, regardless of price" idea that it might shatter the prestige of any private school below ivy league. Or more people might do the first two years at CC before going to university, and that might carry less stigma.

1
495051
87