Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

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

Submissions

comment 7y ago · link · parent

The {} construct seems awfully close to NULL. Not sure I understand the fundamental difference -- having a third value in boolean contexts still introduces 3VL.

Why not just use an Option/Maybe type?

comment 7y ago · link · parent

Productivity has many facets and is hard to measure. A lot of people feel very productive in rust because it catches a lot of problems early on. GC allows you to be sloppy in reasoning about the lifetime of an object, which is often an important design point that affects the overall system.

Also, you typically have to think about lifetimes when writing libraries, not so much when writing applications that use the libraries.

comment 7y ago · link · parent

Well, there's a time for everything I guess. Might want to double check with your spiritual advisor or village elder first though -- in case you are not seeing clearly.

comment 7y ago · link · parent

The most common justifications for murder are morality-based. "He deserved it" or "she was cheating on me" etc.

Not saying you are right or wrong in this case, but in general you want to check in with some objective observers rather than taking the law upon yourself.

It's also worth remembering that quite a few industries have death as a side effect. If there is an obvious and economical way to make things safer, and someone cuts corners, then sure, they are culpable. Otherwise, it's just a cost people have implicitly accepted and rage shouldn't be directed at one person.

Speaking generally here.

comment 7y ago · link · parent

It might be more a matter of accounting.

If you imagine that we are all born in a kind of "debt" where we need a home to live in, then a mortgage is just putting that debt on paper.

comment 7y ago · link · parent

Do they really buy the whole company, or do they just buy enough to control it?

comment 7y ago · link · parent

Looking back, it's easy to fit these large changes -- like the internet and globalization -- to any current outcome.

comment 7y ago · link · parent

So the first misfolded protein is just a random occurrence?

With mad cow, will uninfected cow populations spontaneously develop mad cow on their own? Or was the first mad cow protein a rare misfortune not likely to happen again? Or did the first mad cow protein come from something other than a cow?

comment 7y ago · link · parent

How does a protein come to be misfolded? Is it a random mutation that happens to be self-propagating? Is it different between alzheimers and other ones like mad cow?

comment 7y ago · link · parent

It doesn't sound like you disagree. You might want to be nude in front of some people (doctors, lovers, airport security), but not everyone (your barber, your boss, perfect strangers).

comment 7y ago · link · parent

Privacy is usually not about things you don't want anyone to know. It's about things you don't want everyone to know.

comment 7y ago · link · parent

Isn't a lot of demand good for the economincs of this service?

comment 7y ago · link · parent

If the current version of rust is 1.34.1, and futures is stabilized, why not 1.35?

Not asking for this to happen, I am just curious about the stabilization/release process.

comment 7y ago · link · parent

If you interfere with the inflammation, doesn't that still leave the problem of lipids leaking?

comment 7y ago · link · parent

They are related, but still different concepts and one doesn't imply the other.

An obvious example is the "three wolves and a sheep deciding on dinner" problem. Democratic, not egalitarian.

Both democracy and egalitarianism have many forms and interpretations and open up unresolved philosophical problems. Bundling them together just causes more confusion.

comment 7y ago · link · parent

A phone call is generally regarded as more respectful than an email when delivering bad news.

comment 7y ago · link · parent

"the West ever returns to the idea of democratic society where everyone should have access to education, housing and good working conditions"

That sounds more like a value system rather than a philosophy of governance. An authoritarian or a libertarian could make a case that their way will deliver those things.

comment 7y ago · link · parent

I think we should consider the despots that use the socialist label, rather than try to figure out who is actually socialist or not.

comment 7y ago · link · parent

I didn't claim that Venezuela is a "true socialist" country (because no such thing exists). I am just saying that socialism is the perfect cover for a terrible government like the one in Venezuela, because it's the quickest route to immense power.

comment 7y ago · link · parent

Violence is chaotic, so usually doesn't work in anyone's favor. But a very bad regime might be deterred from imposing some of the worst policies on people if they are armed, because potential chaos could topple the regime.

For instance, it's hard for me to imagine actually blocking food aid from coming in to hungry people. The people waiting for that food may get desperate and violent. If enough are armed, the ensuing violence and chaos might topple the regime.

So Maduro might have been worried enough not to block the food aid if more Venezuelans were armed.

comment 7y ago · link · parent

The decline im Venezuela was quite rapid from a high place. The people there must be in shock and desperate. I'm not wishing for violence, but it seems like the rare kind of scenario where violence might be successful. And Chavez was clearly concerned about it enough to disarm people before the collapse happened.

I'm not saying you're wrong, but I hear the theory often that armed civilians can't effect positive change, and I don't know where the certainty comes from. Surely it's a longshot, like all violence is because of the ensuing chaos, but it seems plausible when the people at least remember something better.

comment 7y ago · link · parent

Getting a lot of downvotes for this comment, but could someone please explain where I'm going wrong? A lot of people think the way I do, so it would be helpful to explain.

A country with a bright future just a couple decades ago experienced a truly remarkable decline after a socialist was elected. I'm sure there are other factors, but surely this is going to be seen as yet another failure of socialism.

Whether this is because the socialism was not "implemented correctly" or not, clearly the socialist label has been used by a number of very bad people as a way to accumulate more power.

comment 7y ago · link · parent

[flagged]

comment 7y ago · link · parent

You seem to have shifted the burden of proof to others to disprove your unsubstantiated claim, and then criticized the quality of the evidence offered.

Please raise the level of discourse here by offering new information to support your claim.

comment 7y ago · link · parent

How about:

"Concatenative programming style emphasizes function composition over function application. Complex operations are composed from many simpler operations, and the actual program input or state does not need to be referred to explicitly. Often, these composed operations resemble a data flow or pipeline, where the implicit input is passed along to each operation in sequence."

(Disclaimer: not an expert on this style, just offering my own description that is hopefully correct and easier to understand.)

comment 7y ago · link · parent

It's not a "query" and can't be executed by normal users.

It's a command, and it's closer to other commands that do similar things, like loading a plugin (i.e. a ".so" file).

comment 7y ago · link · parent

Bans are a big hammer and have unintended consequences in areas not given adequate consideration.

Requiring payment for the duration of the non-compete is perfect. You can tweak the specific requirements up/down as problems arise.

In most practical situations, requiring payment (of almost any amount) will eliminate non-competes, because employers generally don't like paying for labor they can't use.

comment 7y ago · link · parent

I'm trying to understand the various ways lines can be drawn.

One line is passive versus active gathering of classified information. It's clear that the article doesn't think the line should be drawn here.

But where then? The article says: "If he explicitly agreed to act as a Russian agent, he should lose his First Amendment protection," but I don't understand what line is being drawn.

comment 7y ago · link · parent

There have been steady improvements for the FFI and macro system and I hope that continues. Both of those are important for C integration.

comment 7y ago · link · parent

Matthew Walker's book Why We Sleep makes a clear case that drowsy driving is worse than drink driving, too.

So that would mean drunk driving is actually the third leading cause of impaired driving damage.

Why is the third cause villified, but not the first two?

1
212223
87