skysight-inc/HackerNews huggingface dataset:
Laws should be written in such a way that it shouldn't matter what provider calls the product, but what objective criteria it meets.

Bad: "Taxis have to meet these standards."

Good: "If you pick up strangers off the street and drive them somewhere for money, locating them by visual signals, you have to meet these standards."

Bad: "If your plane is a new model number, it has to re-certify."

Good: "If your plane exposes an interface to the pilot with incompatible expectations from your existing models, it has to re-certify."

(Not making any claim about whether aviation or taxi law meets this standard, just making the general point.)
You can easily implement borrowing in C++ classes.

I worked on a large C++ code base (some 15 years ago, before Rust existed) which did this kind of thing: it had references enforcing single ownership that was handed on assignment or passing.

Borrowing was of course done in the usual way, by passing down references (most often const ones).
To first order, California's water problem is agricultural. And that's because there's no market in that water that would curtail what is a very low value use of it.

Fix that, or resort to fractional measures that just paper over the underlying dysfunction.
It's worth noting though that it's the US (and Canada to a degree) that is the exception here. It's great that software engineering can be such a boon for talented folks, but everywhere else even the highest SW salaries place people squarely in middle class, alongside teachers and doctors.

It's still a nice life, just not one of abundant riches. Over 4k€ monthly after taxes goes quite far in Europe as you don't need to worry that much about saving for healthcare, pension, and your children's education later in life.
It's easy to explain to people in the real world how treating life as having infinite value is actually impossible, and nobody actually does it.

Also, the "acceptable" part is the statistical average. It's still a tragedy that any particular person dies. I do have sympathy for you and your wife, but we have millions of deaths per year that deserve equal respect, and we only have so much we can do to prevent each one. We should try very hard, but we can't try infinitely hard.
Hope. Or hell. Depends on the protocol.
Of course not, I never said they were equal, but 'equivalent'. In order to facilitate a discussion some simplifications are helpful sometimes. You are right in the regard that on the level of a formal academic discussion this would be a false equivalency. But on an informal level (with that level of simplification in mind) they are similiar enough to make a comparison.

The most striking similiarity of Bundesrat and Senate for example is that both are institutions that represent political subdivisions (States, Bundesländer), not the population as such. Another similiarity is the role in the ratification and oversight [of the federal Budget (https://www.bundesrat.de/DE/bundesrat/ausschuesse/fz/fz-node...) especially and generally laws that concern federal and substate-level interests].

Also, I made that comparison especially because both houses of the german parliament are regularly mistaken with one another -- even in serious publications.
This isn't really spaghetti code, though, it's a syntactic sugar optimization gone wrong due to the Python 2 str/unicode split.

It's in the same league as people overloading operators in C++ to do silly things.

While some people like to harp on that, I don't think those instances are prevalent enough to actually cause that many bugs. YMMV.
I understand there are good reasons to put happy cows in confined spaces for limited periods of time. If this was just a collection apparatus, I wouldn't be so horrified. But electric stimulation of the nerve to induce urination seems messed up.
Browser fingerprinting for ballots -- how many bits of entropy on a long ticket?

Not hard if you've got 10 or so multi-way contests or 20 or so ballot measures.
Did Ethiopian manage to fly 737s just fine?

https://en.wikipedia.org/wiki/Ethiopian_Airlines_Flight_409
Climate change is real, and humans are evolved...but so far the hysteria has been just that, hysteria. Climate models have been historically inaccurate, and it's actually really difficult to even know what the "ideal" global temperature is.
I think this book in particular is not serious in that respect, it's something written by an angry teenager (who became a communicant member of the Church of England five years later!). The person in the article above was acquitted on the basis that he was just a prankster, and that's mostly the audience of the book. I'm more interested in the general principle.
This type of comments similar to what you made are the worst and that's why while I tried my best to avoid political "discussions" here (not like there is any room for a two-sided discussion), I still can't stop myself to type this.

I know my comment probably will just reinforce your prejudice/bias, and make you laugh and say "wow see what I said? Another troll started to attack me immediately!!", but I don't care.

> At least they're relatively easy to spot,.. sort of grammatical error

Yeah, because they're Chinese, who are using their second language. It is indeed easy to spot non-native speakers (or Chinese if you will), how does it have anything to do whether they're "government shills" or not? Just because people have a different view from you, and the fact they come from China, don't make them government shills. There are plenty of actual Chinese people like me lurking here (mainly to read tech news).

> while not actually saying they're from China themselves

Since when people need to reveal their nationality to make an argument or opinion on Internet? Should I claim HN are full of "Western trolls", because the anti-China threads/comments here are probably 10x the amount of the pro-China ones (the ratio would be close to 100:1 on some subreddits like /r/worldnews), and 99% never actually "reveal where are they from" (including you)?

Just to save you a click: I'm a Chinese and I often be frank about it. I don't think it should be necessary, since people should judge my comment purely based on what I said, not where I'm from; but because of people like you I have to do so otherwise my comments will be downvoted to oblivion.

> those people are still shilling on behalf of the Party, even if they're not actually paid to do so

Wow. Brilliant, now we don't even need any evidence to proof these Chinese people are shills (not like there is any to begin with, besides they are somewhat pro-China in SOME ASPECTS), they AUTOMATICALLY are.
>Apple's market share is far far from monopolistic.

"We're a duopoly not a monopoly" is not a particularly compelling argument.
I clearly mention new iPhones, don't i?
Apologies, I guess I overreacted. I do that sometimes.
There's not just two AoAs though, one per wing; there's a whole gradient of different AoA values going down both wings, like how the speed of a turning record is continuously variable from the inner to outer edge.

It helps to think of the two wings combined into a single long wing (like a B2 bomber, which does actually have this design), then imagine that banking into a turn -- it's different values along the entire surface.

A single AoA value taken from the center of this long combined wing, i.e. the fuselage in a typical jetliner configuration, should be sufficient for the purposes of determining if the plane is about to stall. If you really need the AoA values at all points along the wings, you can calculate them by combining the center AoA sensor with the roll angle.

This logic applies to airspeed as well (it varies continuously along the entire wing surface when the airplane is banked into a turn), and note that airplanes only have one cluster of pitot tubes, which are located on the fuselage.
I don't have a problem with strong types, I agree with you. Dynamic types are usually too much hassle even for prototypes. I was talking more about stuff like Rust's borrow checker or dependent type systems.
> That applies as much to Android, or any other phone, as it does to Apple though.

On Android you can side-load APKs, have alternative app stores like F-Droid and even install custom operating systems. So no, that is again not comparable.

> It’s (…) not some perfidious Apple plot

Sure

> just the nature of the market

Dammit, NO. The market is a human-made artificial construct, not some natural freaking law like gravity that is inevitable and unavoidable. And given that it is human-made we can change it, and make choices on what we demand from it.
>Some might not like sitting still, but that doesn't make sitting still incompatible or constraining the enjoyment of art in abstracto

I read this claim as physical expression of emotion is entirely voluntary and consciously constraining physical response does not change the experience. And for the people who it does, it's a matter of socialization not human nature.

This type of perspective - even if true (I disagree but will not discuss here any further) - is why classical music is up-tight.
Context:

No similar event has occurred in New Zealand before.

Guns are not readily available in New Zealand. You can get one suitable for sport, but it is a serious process to get your license first. I presume these guns must have been illegally imported from somewhere.

I think New Zealanders are mostly reasonably liberal, even laid-back, although we do have our share of "rednecks" too.

Size, geography, and population of NZ is somewhat similar to Oregon.

Generally our government is reasonably well run and the less fortunate get some care: I suspect because the families and friends of our politicians have varied backgrounds (it is difficult for politicians to live in an elite bubble).

Generally we don't like being told what to do by our government, or anyone from overseas.

Personal opinion:

I am from Christchurch, and I think censorship is dangerous, but there needs to be some way to prevent the easy access to forums and videos of violence, hatred, and abuse.

I don't want my friends, or their family watching this mentally damaging video. I know friends and the children of friends that have watched the livestreamed video, because it is easily available.

This block is unprecedented here, and has little legal or technical infrastructure in place to enforce it.

NZ will sort our shit out about this, hopefully without too much interference from the societies that caused this atrocity in the first place.
> At the end of the day, all investors are looking for great companies and they are trying to find you too.

I actually don’t find this to be true. If you watch YouTube videos of these investors and read their blogs, they openly admit to being FOMO. So much that they all invest blindly base on what other investors are signalling and the pedigree of the founder. Despite the fact the founders idea might be terrible.

Examples:
1. Juice squeezer that was invested and destroyed by Bloomberg
2. Bird having to lay off 5% workforce already because it turns out their product isn’t useful during winter
3. Even YC invested in men’s scented detergent because the founders had a good pedigree

Getting the attention of VC requires more than having a good company. It’s a populatriy contest and you have to be in the club to get introduced.

VCs as a investment manger have historically been bad at picking winners. There is a reason they invest in multiple companies doing the same thing. They are all hedging their bets because they know their own judgement will most likely be wrong.
I agree. Even though we're all in on React, it's good to see some change for once, and Phoenix just looks better and better overall. Makes me wanna try it "for real"
People seem have forgotten the productivity loss of running their own data center. When I was in my previous company, most of things are just excruciating compared with what I enjoyed in Netflix. Dockers did not come with persistent volumes, provisioning machines involved lengthy approvals and sometimes long waiting time; building and deploying services that involved multiple clusters that talked to each other required serious devop-fu; production clusters got broken because infra upgraded system dependencies using a background job and mitigating such simple mistakes may take hours if not days. Deploying any non-trivial service required multiple meetings with some infra teams, for resources, for concerns with stability, or whatever. PS, did I mention that we built tens of thousands of Puppet files that very few people understood and any updates to my system took half an hour to refresh yet the early members of the infra team thought Puppet was the best f@#$ tool in the world? The list can go on and on. PPS, did I mention that we had a 500-person infra team and later probably more than a thousand for a fraction of traffic/complexity compared with what Netflix had to deal with, while Netflix didn't even have an infra team (to be fair, Netflix had a build team and a platform team and a monitoring team, which had fewer than 30 people combined)?

In contrast, EC2 alone would have to save us lots of pains.

You may say that my previous company was not technically great. Maybe. If that's the case, how many companies can be really better? I think the fundamental problem is that companies tend to underestimate the effort to build a world-class infrastructure from scratch as well as the opportunity cost due to loss of productivity. Netflix's leaders were truly wise by claiming that Netflix didn't want to work on undifferentiated heavy lifting early on.
Hmm maybe it was deeper. I remember being shocked at the time, but my memory of the scale may be significantly off. It was discussed in the context of "there is barely any water in this aquifer these days."
> Urine as a businessmodel

lol ... I think this is enough internet for today
The plane has only been in operation since 2017. No one has more than a two years of experience with this plane.

If there are significant deviations of the Max8 with the previous 737 models, that would constitute a safety risk IMO. Banning the plane probably wouldn't be the appropriate response, but we would at least ask Boeing to develop proper simulators and training so that Pilots would be more familiar with whatever the issue is.
a judge, most likely
its funny how no matter what happens climate wise "its terrible and wrong" when it's reported.

What drought.gov calls abnormally-dry is not actually abnormal. What they really mean is "its non-ideal", as if the climate was always ideal pre-2011.

Anything that is lower than D2 ("severe drought") is normal, and of course its better to thrive toward ideal and maintaining better conditions. But it doesn't mean that somehow weather was ideal all the time before 2011 and now its never good enough.

Let the downvotes flow...

https://www.drought.gov/drought/states/california
I guess it is roughly true, in the same way that employment is voluntary.
That seems to be about incitement, do that apply to technical documentation? As described above, instructions to build a nuclear bomb, to take an extreme example, are restricted, but surely not on that basis.
This is poorly written. I was hoping hacker news would have better scrutiny on articles.
>though nowhere near as bad as giving gov't workers collective bargaining "rights" in the 70s, fleecing taxpayers till the end of time)

Bargaining rights are... Bad?
Yes. They are not as useful as you might hope since California's dry season lasts six months, so they will go empty when you need them the most.
Two examples of crashes due to the lack of CRM:

https://en.wikipedia.org/wiki/Eastern_Air_Lines_Flight_401

https://en.wikipedia.org/wiki/United_Airlines_Flight_173

One example of CRM success:

https://en.wikipedia.org/wiki/United_Airlines_Flight_232
You wouldn't be able to cut all of it. Also making those major infrastructure changes are really expensive.
I hear you. I think whois was neutered for anti-abuse purposes by the pay-for fake front proxy "privacy" vendors. Perhaps like you I use any in conjunction with dig, and muscle memory alone is going to keep the query alive in spite of 8482.
The Cloud Is Just Another Sun by Kyle Rankin at North Bay Linux Users' Group
It does and it doesn't. It's a huge state... parts of it are lush redwood forests, other parts are literally some of the lowest/hottest/dryest places on earth (death valley). Depends on where you are and what time of the year it is.
Surely there's some kind of warning system that alerts if the flaps aren't set for take-off?! That'd be easy to write an alert for -- are the wheels-down sensors triggered, the throttle well above idle, and the flaps up? Fire the alert.
There is a large trim wheel (beside the pilot, about 10" in diameter) that the pilot can see turning if the system is automatically trimming. It is annoying how much speculation and misunderstanding is going on regarding that system. It might be a factor in the two crashed planes but we don't that yet.
Oh, that's interesting. Difficult to see how such a link could be demonstrated with online publishing though.
If the cows just graze on a field, their population density is so low that their urine isn't much of a problem. But when a number of tightly packed cows much higher than what the surrounding fields could ever support is converting huge amounts of imported fodder into their various outputs, then yes, everything but the milk quickly reaches environmental hazard concentrations. They tele-graze, but they don't tele-defecate. It's a real problem and it does not come as a surprise that the partial solution is from the Dutch who are taking high density agriculture to extremes like few others.
> this would require an insane amount of land

Which would constrain consumption, and cause prices to rise. Eventually we might end up at a sustainable amount. If that means most of us can't afford nearly as much, then that is probably great for our future and the planet.

> if the simply put slaughter pictures on each piece of meat they buy

Hmm. Sounds reasonable, except pictures alone didn't do that much to smoking rates. Pricing and eliminating marketing did.
> This is probably also why the FAA and airlines like Southwest were confident their pilots would handle this situation correctly.

It's interesting to note that American Airlines released a statement that they have not observed any MCAS related malfunctions in any of their fleet data.

In particular, there is only one account of (alleged) MCAS malfunction (possibly due to a faulty AoA sensor, which was subsequently replaced... hmmm.... new part still didn't fix it?) where the plane wasn't destroyed. And that account notes several drops in altitude before being able to stabilize.

So, you better hope MCAS malfunctions at 8k feet about ground instead of 800.
Ah yes, I guess the specific Uber program mentioned is for non-urgent cases, I apologize. But anecdotally I know of many cases where Uber is being used instead of ambulances.

https://www.nytimes.com/2018/10/01/upshot/uber-lyft-and-the-...

https://slate.com/technology/2018/02/when-should-you-uber-to...
Emotion is not a real legitimate source of information, it's an inspiration to tell the brain to pay more attention to something and then work it out logically (like when you have a bad feeling about something), but to make any non trivial decision entirely out of emotion is simply foolish.
Definitely could be done; you'd also need an electromagnet to "pulse" the pendulum (much like the magnetic "perpetual motion" toys out there).

Also - I would suggest using regular bulbs instead of LEDs. If you can deal with the higher voltages involved, neon lamps would give it a great look.

Also, rather than a tape recorder, use one of those large doorbell "big ben" chimes instead (if you can find a really old one - from the 1960s or so - some of them used a similar motor/drum switched sequencer for the solenoid chime playing system).

It sounds very intriguing, and probably would be cool to watch function...
It started as a joke by trolls. It's debatable if it still is
> It certainly doesn't say it's impossible.

What would it have to say? It says you might have to do X before Y, where Y is a thing that you need to do quickly while at low altitude to avoid dying and X is a thing that gives you even less time to do it in and makes the problem worse.
Spoiler alert: it already is!
> So, if I understand correctly, this means that by banning all pornography in the name of preventing child porn, they'll actually be harming efforts on this uncovering of child pornography networks effort. This is unfortunate.

Unfortunate, and also wholly predictable. This was exactly why advocacy groups of former victims of sex trafficking opposed SESTA in the first place, as did even the DOJ: they both recognized that it would ultimately make it harder to identify and rescue victims of sex trafficking.
Just wanted to share this of article because I think it applies to both sides: http://www.paulgraham.com/say.html

Just as there are ideas you can’t discuss without being called a communist/socialist/authoritarian/nazi/racist etc in American discourse, so too are there touchy topics in Chinese discourse. They’re just different so we can clearly see them.
I don't see how having exclusive artists (or even content) encourages bad competition. These are artists/content that potentially wouldn't have existed without Spotify's investment.

A stronger presence on other platforms would enable Spotify to make more revenue from those users vs. what Apple could siphon. Apple's main focus is on iOS. Furthermore, Apple Music's association with Apple probably hurts its image on other platforms like Android, giving Spotify an edge.

What I'm inferring is that Spotify can easily make up that 30% loss to Apple with other tactics just by differentiating.
If it has no effect on speech, what's the point of banning it?
It is just me and bankruptcy was the way forward. Im amazed at how much harder it is to climb out after.

My condolences on the divorce. I wasn't married but went through something similar. And know that suck the life feeling.

I agree with your last sentiment. Alot of the career seems to be luck or right time right place. I know a number of phenomenal engineers in similar positions.
I never said anything about a release - I'm not even thinking about code you would commit. I'm talking about the kind of coding where you're exploring a new feature on your own machine - essentially doodling in an IDE instead of on paper. It makes no sense to me to make such code 'correct' - I don't even know if its useful to any extent, why would I care about its correctness?
What book is GTG?
> Why is one illegal, but the other one isn't? The personal harm (To the politician) is the same. Is there a social harm that I'm missing?

I'd say yea, this two party model of 'victim' and blackmailer leaves out a third party, the person or entity that would be otherwise informed. I put victim in scare quotes here because the party being harmed is really others.

Yelp: is blackmail, because other customers are denied information you'd otherwise provide.

osha: blackmail for the Monday off, because other employees aren't getting Monday off; and maaaybe because osha would like to fine your employer?

shorting: other shareholders would like that information, and are harmed without their knowledge by the spend. profiting by telling everyone that truth, however, falls in line

The profit motive of the blackmailer is offensive, but there is also societal harm.
Serverless Golang apps in 60 seconds
“Delete Facebook Now”
Of course it is generally legal to collect rain from your roof, assuming local HOA rules allow it. But you won’t likely get much quality water from that. Better would be greywater collection and recycling.
I don't think they had the altitude to recover, if it was even a recoverable MCAS issue to begin with.
Very interesting blog post, to me at least.