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

"it compiles it to unsafe Rust with all the weaknesses of the C code"

Isn't that the idea?

Sure, it makes it into essentially a blob of uneditable code. But it allows you to integrate it with rust code and build the whole thing together.

comment 7y ago · link · parent

True, but there's some difficulty using codegen. If macros can do it, it's often nicer.

But not always, and it's subjective.

comment 7y ago · link · parent

The technology landscape has changed so much in 20 years. Is this analytical framework still relevant?

comment 7y ago · link · parent

What you are missing about the Chinese Communist Party is that it is an existential threat to freedom globally.

We were very worried about the USSR for the same reason. But there was an iron curtain, and you had to actually be invaded to lose your freedom.

Now, the CCP seems able to curtail worldwide freedom through its trade policy, which is a weird thing nobody expected.

comment 7y ago · link · parent

Americans are admitting our flaws, constantly. And when we do that, we don't compare ourselves to China to divert the issue. But debates about China always end up with this diversion into US flaws.

comment 7y ago · link · parent

I hope so. But we have to start considering the possibility that we are causing more harm than good.

For instance, if China's economic influence is stifling free speech in the west, that's a pretty disturbing trend.

comment 7y ago · link · parent

There's no moral equivalence between China's totalitarianism and the U.S. China is worse by orders of magnitude both in degree and kind.

Comparing the two is just an excuse to do nothing.

In the meantime, feel free (pun intended) to protest misdeeds by the U.S., vote for new leaders, organize with like-minded individuals, or buy weapons.

(Aside: many people feel like buying weapons is completely futile against oppression. But it reduces your dependence on the government for protection, and makes it harder for the federal government to convince local police to carry out their dirty work. Also, really bad governments never seem to want citizens to be armed, so perhaps there's a reason for that.)

comment 7y ago · link · parent

"A wealthier China is going to crave for more freedom."

We've been testing that theory for decades with negative results.

Maybe it works other places, but it doesn't seem to be working in China.

comment 7y ago · link · parent

"not beneficial to anyone but those who are already obscenely rich, and certainly not for our poorest"

An otherwise fact-driven post is undermined with this claim. Even if true, it would be very hard to support this claim.

comment 7y ago · link · parent

So, 10% is not progress?

comment 7y ago · link · parent

Progress is being made with the elimination of cash bail in some places, and Trump's First Step Act.

comment 7y ago · link · parent

The US is a leader in many respects, due largely to our Constitutionally-protected rights.

I'm not a fan of the US prison system. But are you seriously claiming that the whole justice system is worse than Venezuela or Honduras?

comment 7y ago · link · parent

Didn't such revolutions with batteries happen several times already? And aren't we already buying the results in our mobile phones and cars?

comment 7y ago · link · parent

Political polarization is weird, if you think about it. It makes sense given the social dynamics, but makes zero sense from a logical standpoint.

Maybe it would be interesting to make a kind of polarization "test". You could ask someone a bunch of questions, and calculate how polarized they are. If statistically improbable, it would inform them that, logically, their opinions are not really their own, and they should consider them more deeply and objectively.

Obviously you'd need to make the test carefully and try not to bias it, or it would be worthless. But you could use some objective criteria to make it pretty good.

There are certainly some challenges. People who live in cities their whole life are bound to have different opinions that those who live in small towns their whole life. But you could address that by looking at how people change their opinions after moving to a city from a small town or vice versa.

comment 7y ago · link · parent

I guess we go straight to the factory to maintain a chain of custody?

comment 7y ago · link · parent

This seems like the kind of fact that would change over time.

The subset of people that get arrested and the means and incentives to get them to show up for trial have changed a lot over the years. Not to mention the nature of crime itself.

comment 7y ago · link · parent

"...government borrowing didn’t divert funds from the private sector; it created entirely new money..."

The general answer to this is that public spending crowds out private spending as both are bidding for the same goods and services.

Not sure if that's a good explanation, but the article doesn't seem to address that conventional wisdom.

comment 7y ago · link · parent

Maybe the answer is that they are neither contractors nor employees in the traditionally-understood form.

But the criteria have to make sense in the context of the law. For instance, "unemployment" doesn't make much sense in the context of a driver who works for Uber and Lyft. And "minimum wage" doesn't make sense if the drivers are able to decline or cancel a request.

So can you be more specific about what aspects of employment should apply to an Uber driver?

comment 7y ago · link · parent

Great. Now the company I trust my secrets with needs hyper-growth.

comment 7y ago · link · parent

Does that same reasoning apply to free speech?

comment 7y ago · link · parent

Their rights are violated by others and not upheld by the courts.

comment 7y ago · link · parent

Your reasoning may be correct, but not quite so obvious to courts. For instance, foreigners' right to keep and bare arms is routinely violated, even though they are people.

comment 7y ago · link · parent

This is a District court. A nice victory, but hardly "major".

comment 7y ago · link · parent

Are you saying that there's a difference in deterrent effect between a 2013 glock and a 2019 glock?

If not, how are these police privileges remotely relevant to any need beyond that of a normal citizen?

comment 7y ago · link · parent

How much of an advantage is our cooling system in colder climates?

comment 7y ago · link · parent

You are generalizing, but that general reasoning doesn't make any sense when applied to specific people and laws.

First of all, why are they not bound by the same magazine capacity limits? If more than 10 rounds are needed for self defense, shouldn't everyone in the state have that tool at their disposal (per Heller)?

Similar question about buying a newer model of pistol. Why would the 2019 model be crucial to keep a retired cop from getting gunned down, but forbidden to others? There isn't even a major functional difference between a 2013 glock and a 2019 glock.

And generalizations about how retired police somehow need their special guns and nobody else does are just not compatible with the notion of individual rights. I bet a lot of abused women are in much greater danger than an average retired cop. Who decides who the special groups are that get special privileges?

Fundamentally, a police officer is a citizen. It happens that their job is dangerous, and I respect and admire their courage. But it's also a position of power, and we need to keep that under some control so that we maintain trust. Arbitrary privileges erode that trust.

comment 7y ago · link · parent

Browse the mainstream coverage of anything related to gun control. It will be hard to find anything skeptical of police and their special gun privileges and exceptions to gun control.

There may be a nearby article about police brutality, negligence, incompetence, corruption, favortism, or even murder. The article may even suggest that the problems are sustemic in some departments.

But as far as the media can tell, they are completely unrelated topics. It's just assumed that gun control excludes police, and that's obvious and normal and right.

comment 7y ago · link · parent

One thing weird to me about the gun debate is that it always seems to exclude police -- on duty or off, current or former -- and nobody questions that in the slightest.

For instance, California has a handgun roster. If a citizen buys a handgun, it needs to be on a special list. The last time a model was added was 2013 [1]. Supposedly it's to make sure pistols are safe. But if you are a police officer, go ahead and buy a 2019 model! In fact, go ahead and buy a 2019 model, and then sell it for 2X to a normal citizen, if you want. A good side business!

How does any part of that make sense?

I guess the theory is that officers are well-trained and responsible, but where is the evidence of that? And why can't anyone else take the same magical steps to show their worthiness?

[1] Due largely to the "microstamping" requirememt, which is impractical to meet, but required for new models (some very minor variants are still allowed without microstamping). See https://en.m.wikipedia.org/wiki/Microstamping

comment 7y ago · link · parent

Most people who die of cigarettes do so after quite a long time of using them. I'm not sure that the data are comparable yet.

comment 7y ago · link · parent

It seems that you are agreeing with me.

A standard library for a language with a purpose (like Go) should include a lot of stuff related to that purpose. That avoids the need for an intricate web of dependencies and specialized third-oarty code, but ties the language to its purpose a bit more.

A standard library for a use-for-anything-and-everything language (like rust) might be smaller because it relies more on third-party libraries for the specific purposes you have in mind.

1
141516
87