skysight-inc/HackerNews huggingface dataset:
Plea bargaining, for better or worse, is a uniquely American invention the rest of the world does not share.

Committing naughtiness level 5 on a scale of 1 to 10 crime in "EU" and in "USA" and you'll get a punishment of X years for a level 5 conviction in EU. In the USA you'll get a plea bargain offer of X years for agreeing to be guilty of a level 3 crime, or you can take your chances at a trial for a level 5 crime (with admittedly draconian punishment). About 90% to 98% of criminals take the plea.

The widely advertised injustice is that on paper, a level 5 crime in EU has the same punishment as a level 3 crime in the USA so the USA is draconian.

The actual real world injustice is if you're innocent and demand your right to trial, we give level 8 punishments for level 5 crimes to encourage guilty pleas and "save money". Because we value saving money over justice and fairness. Or maybe we take a weird statistical approach to injustice; yeah it would suck to do time for a level 5 crime but a level 1 punishment might not be worth the 10% odds of success.

This has a weird and horrible interaction with mandatory minimum sentences. Without mandatory mins, "yeah he probably didn't do it but he's pleading out to a lessor charge" can result in a very fair punishment like mere probation. But with mandatory mins you have to throw the guy in the slammer for decades or let him walk and thats kinda messy. OR being messy, does it encourage higher levels of care and research?

If you commit involuntary manslaughter in Germany, like in a fight in a bar off an army base like a case I know of (I'm not even tangentially involved in other than being in the Army at the same time), yeah, you'll get like 3 years at most. And if you get convicted of manslaughter in the USA you'll get like 8 or so years. That seems terrible.

The difference is you get convicted of manslaughter in the USA by doing actual first degree intentional homicide and its plea'd down to involuntary manslaughter. In Germany the laws are different but vaguely comparable to first degree would get you 15 years minimum, which is actually more draconian than the punishment you'd likely get in the USA due to overcrowding.
This looks like self-defense to me. It literally doesn't do anything unless you are attacked.
Microsoft hands keys to VS Code's Go extension over to Googly mothership
My interpretation of the above is that the OP has friends who support dismantling or at least re-building the police as an institution, and the OP sees this as a threat to his or her safety and is getting into conflict over the matter. FB recently received a lot of backlash from employees and others over deciding not to hide posts from the president suggesting imminent military violence against protesters.
My main development VM for Haiku has no Qt software, or even the Qt libraries, installed. I'm using native apps for code editing, debugging, error messages, etc. So that's not quite true.

I'm not sure what arguments I made "don't quite stand" simply because you need to use Qt apps. In fact I was arguing that using Qt apps is perfectly alright! LibreOffice is not "native" on Windows or macOS, but people still use it there, yes?
The UX is actually not that good. The layout is bad, features are hidden all over the place. It’s not logical or intuitive.
It does have a lot of features though, I think that is what people like.
How do you deal with the noise?
If it happened to be the case that the ROC was sponsoring this activist, that would not change how I feel about it.
I'm honestly glad to hear that. The main point of the Visual Editor was to make editing Wikipedia easier and more inclusive. The research suggests that it did not really succeed in achieving these goals. This result is a little surprising to me, but there are probably bigger barriers to editing wikipedia than a markup language.
For some people the visual editor is great, and I think that as a long term investment it was a good idea (the benefit could have been large) even though it did not pan out. The problem is that the cost and time spent creating it was very high, and the WMF foundation has a lousy track record executing these projects effectively.
What's wrong with "anything too enterprise"?
How do Starbucks and restaurants deal with this? I'm pretty sure keeping good logs (for a long time) is all they do. Am I wrong?
.NET Functions Framework – Google Cloud
> 1. Stop creating counters/loops and become facile with map, reduce, and the like. This will shift your thinking away from blocks and toward functions.

I am not very comfortable with this. How can I learn to do this in traditionally non-FP languages like Java? (Am CS undergrad student)
Yes, I've heard, but there isn't a suitable replacement format that I've seen for a bulleted list.

The formatting doc[1] is very short and doesn't include a list.

[1] https://news.ycombinator.com/formatdoc
It might work the other way too? Either a bad employee or a bad friend? Or maybe it would be both?
And then you have countries that execute much higher amount of people, cut their hands or whip them. Incarceration rates are not the only thing in play.
I'm going to believe you are willfully missing the point here and leave you to your own devices.
Nope. Subscribers average 2-4 Mbps during primetime, less averaged over the course of a whole month.

Netflix is only about 30% of all Internet bits, and there's a limit to how much Netflix and chill anybody can do.
My company tried to use Google Meet. With a group of around 16 people, Google Meet had all sorts of connection quality issues—people's voices cut out while talking, sounded garbled, etc.

A week later, we tried Zoom instead. We could hear everyone clearly. We've used Zoom ever since.

I had some say in the decision to continue with Zoom, and I feel kind of bad about choosing it, but it's hard to argue with the results. We had similar issues with Slack video calls (although we still use those for small groups—not my decision!), Microsoft Teams, and a product from LogMeIn called Join.Me. Unlike Zoom but like Google Meet, these products are all based on WebRTC, and I'm starting to conclude that WebRTC is just a crappy technology for large-group video calls.

We admittedly haven't tried Jitsi. Perhaps I'm part of the problem, but I don't want to be the one to suggest a random product no one has heard of. Especially when that product is also based on WebRTC.
My interpretation of the above is that you have friends who support dismantling or at least re-building the police as an institution, and that you see this as a threat to your safety and you're getting into conflict over the matter. With that assumption, I would say:

a) Take a step back and ask yourself how much your safety is really being threatened by others' opinions on these matters. Also, as an exercise, consider the degree of un-safety that millions have been experiencing for many years which resulted in the current conflict. Even if you don't agree with your friends' conclusions, I'd bet you can at least sympathize with the root of the issue.

b) Relationships are maintained through tolerance. I maintain a good relationship with my parents despite having a polar-opposite political viewpoint, by putting what I know of them as people ahead of the words of their professed, abstract ideology. The two are not the same thing. Leaving some wiggle-room there is key to reducing conflict, which is key to maintaining lasting relationships. You have to be able to agree to disagree sometimes.
Total crapshoot but it sounds like "foveon" which is a layered camera sensor.
Things have definitely changed. Twenty years ago, I had friends with a wide variety of opinions, and it generally seemed possible to disagree without it being a problem.

These days, generally only the people to my "right" seem like this. It's rare to be able to talk long with someone to my "left" without them becoming offended. That seems particularly unusual, as I've been pretty far to the left my entire life.

It's tempting to look at the 2016 election as the cause, but I started really noticing this about a year before that.
Simple...imagine an accounts receivable that you can borrow against, so when you are low on cash you can borrow money on the basis you will be able to pay in the future with the account receivables.

Only the US account receivable is taxes paid by taxpayers. So what happens is when the rich are in trouble they turn to the government and what the government does is says ok we will borrow against future taxes and just give it to you and typically those being bailed out are banks who turn around and take the taxpayers money and lend it back to the taxpayers. In short the taxpayers get screwed twice once being indebted to the government for future taxes and then again when they have to borrow their own debt from banks.

So imagine I’m your government and say look Bank needs money so I am going to give the bank $100 and you the taxpayers will have to pay that back. Bank gets the money and turns around and lends you $90 while keeping $10 as a fee earned and for lending you the $90 you will need to pay the bank back $100. You see now you need to pay $100 in future taxes to the government and $100 to the bank, so you are really out about $200 less the $90 loan.
S/he is not saying all governments are equal in all respects. As far as we know only the Chinese, Russians and the 5-Eyes have the technical capacity to monitor us all and have been caught out doing it.

So yes, you are correct: not all governments are equal, but the US and Chinese are similar in their practical totalitarian capacities.
(FYI, the word you're looking for is "fazes.")
because it does not feel right to put <?php after shebang. seriously, I hate it. It's like using a wine bottle as a hammer. it works great, try it, but it will never feel right
The State of Developer Ecosystem in 2020
> John Deere does not make ATVs, they don't make any tier of people moving equipment.

They most assuredly do, which is why I came up with that example.

https://www.deere.com/en/gator-utility-vehicles/
I mostly agree with what you are trying to say, but being snarky is against the hn guidelines. Edit: “against” is too strong a word - it isn’t a hard rule but I often see the hn community react negatively to sarcasm and snarkiness even though the content may be worthwhile.
Man 'fighting for life' after Covid-19 crisis delays NHS cancer scan
Totally agree, and I actually did do that! I started by saying, 'There is absolutely nothing to worry about, everything is totally fine' - but of course nothing worries people like being told there is nothing to worry about :)

I had a great relationship with my team and no-one held it against me, it's just that moment of emotional response that gives a shock until the rational mind kicks in.
Editors are usually pretty quick at removing spam links. But yeah.
Yes, they do work under that assumption. Just try announcing you run as root, anywhere with Linux users, and watch the pile-on.
I really don't understand this. I am not American so may have a different perspective, but if by being private, you are ok with censoring, then you are ok with anyone banning blacks from their businesses, or not hiring gays, or only allowing women to go up the corporate ladder if they sleep around. After all, it is their private company, so why should I care about sexual harassment, blocking people, etc as long I am not the target? Heck, lets have white-men only private schools again, let's leave those blacks/gypsies/whatever out, after all, it is a private school so it should be able to discriminate against anyone.
> modern fighter like the F-16

Modern fighter? Having first flown in 1974 (46 years ago), it is actually closer to B-17 - first flight in 1935 (39 years prior) - than to us.
> "my friends have publicly supported interests that seem directly opposed to my safety"

someone who is comfortable harming a friend is not being a friend. if you've told someone that they're harming you, and they won't change at the very least for the simple reason that _you're friends_...

maybe they used to be good friends and things changed, or maybe these weren't good friends to begin with. either way, now is a good time to make new friends.

best of luck. it's tough, especially during lockdown when it's harder to connect over shared interests in the real world, but it's very worthwhile.

in conclusion: real friends can have productive conflict that doesn't ignore the core respect and concern each person has for the other's wellbeing. you deserve real friends.
HTTP/3 spin bit: https://news.ycombinator.com/item?id=20990754
> In other words, even if you max out a 1 Gbps line 24/7, you are only costing the ISP $50 per month.

In bandwidth sure, but the world isn't wired that way. There's a bottleneck somewhere between the ISP and the customer, that can't support all customers on that link running maxed out. In the gym analogy, even if the gym has 1 treadmill per customer, that doesn't help the shortage of weight machines. An ISP may choose to (or choose not to) invest in adding capacity to remove bottlenecks, but that's additional capital outlay that may not be prioritized or budgeted for.
Inspector joins Nana Bianca, the Italian startup accelerator
...and you get Brave's MITM attacks in return, like URL hijacking for their affiliate links and more fun stuff.
It was just an example, not referring to an actual position. There isn't even an actual title called "Senior Developer" at neither Google nor Amazon. If you want a real job title to go look at, look at the pay for an L7 SDE at both G and Amazon. At Google: $270k salary, at Amazon: $160k salary (according to levels.fyi)

I swear half the comments on this site are just nitpicking "nuh uh you are wrong about this tiny one word in your comment" while ignoring the actual point of the discussion.
Stand by your principles and beliefs. If they were really your friends they would respect you for it. Maybe it’s time to find new friends.
Layluh [0] removes ads on videos, along with literally everything else so all you're left with is an iframe (shameless plug).

Use it like outline.com, so just put layluh.com in front of any YouTube video (layluh.com/URL)

[0]: https://www.layluh.com/watch?v=izxXGuVL21o
A trailing "." represents the root of the DNS namespace like a leading "/" represents the root of the Linux (or Unix, etc.) filesystem.

The root has children like "com", "net", "uk", etc.

There are DNS records at the root level. Try this command:

host -t ANY .

Also, just as Linux searches PATH (in order) when you run a command, the DNS resolver searches a path when you look up a host. (Usually the resolver path is specified by directives in /etc/resolv.conf.) Just as Linux will skip this process if you specify a leading "/", the DNS resolver will skip that process if you specify a trailing ".".

It used to be pretty common to put your organization's domain in /etc/resolv.conf so that you can use the short version of a hostname. If your company is example.com and you have example.com in the DNS search path, you can type a command like "ping www", and it will do the same thing as "ping www.example.com". Most software still supports this, but it isn't used by that many people. (Some organizations don't put their domain in /etc/resolv.conf, and many users don't know they can abbreviate hostnames in this way.)

You would typically use the trailing dot if you want to be sure the DNS lookup doesn't use the search path and checks only against the root of the DNS namespace. You also use the trailing dot in some data files for DNS servers.

In many cases the trailing dot is not necessary, practically speaking, because the DNS resolver has special logic where if you give it a string that contains any dots (not just trailing), the search order is rearranged to try the root first instead of last. (In /etc/resolv.conf, this is controlled by the "ndots" option.)

So if you look up "www.example.com", it will check for the existence of "www.example.com." before it checks for "www.example.com.example.com." instead of the other way around. Which is good because only the first is likely to exist. If you look up "www", it will check for "www.example.com." before it checks for "www.", which again is a good heuristic because again the first is the one that likely exists.
According to Wikipedia, they're still used as snowblowers and ice melters. And this engine isn't unique to the Mig-17, it was used in the Mig-15, IL-28 and Tu-14 bombers, and is one of the mostly widely produced jet engines in history.

https://en.wikipedia.org/wiki/Klimov_VK-1
Covid-19 Lockdowns in Africa Have Been Deadlier Than the Disease
Also who has time for side projects when you work in the 996 work culture.
Thanks, Edie! Your creativity has caused all of our eyes to linger pleasantly on those O'Reilly covers!
Think you nailed it. The thing is, in order for capital flight to be a risk there needs to be somewhere else of comparable size and upside opportunity to the US that doesn't rhyme with "China" and it sure as hell isn't Europe. So we're back to square one in which absolutely massive sums of money are chasing returns with nowhere else to put money than the same places it already is. It's madness on a global scale.
What a strange change of subjects and wording. This response feels a bit disingenuous to me, but it’s interesting enough that I’ll bite.

Throwing tear gas back (important word) at the police when you feel it’s unjustified is an interesting question. Arguably such an act could be an act of self defense, but that gets very complicated when the police are involved.

What right do citizens have to defend themselves against what they feel is unlawful police violence? Against non-state actors, you have the right of self defense, obviously. Against state actors it is obviously complicated, since nominally they have a monopoly on the legal use of force, and we don’t want everyone with a valid warrant to feel justified in shooting at the police.

But to assume that there is no force that the state can apply that would not justify self defense is to accept a complete erosion of all civil liberties once the police are involved. Not all wrongs perpetuated by the police are amenable to court restitution; if you lose out on your right to peacefully assemble, then can a court give that back after the fact? What happens if the police apply lethal force without justification; you can’t sue to get your life back.

It is obvious that some right to self defense against state action exists, but exactly where the line is seems quite fuzzy to me.
Thanos ransomware auto-spreads to Windows devices, evades security
For simple 2D games, I feel that Godot is often a far better choice than Unity. However, I've never used Godot's networking or multiplayer features, so I can't comment on those.
> It’s worth keeping in mind that even though security and ease of use tend to inversely correlate with each other, they are not by default mutually exclusive.

I actually disagree with you. I think security and ease of use are mutually exclusive.

I can't think of a single counterexample where security did not have an effect on usability.

Now to be clear, I absolutely believe we should have a lot more security than we do, and we should be giving up usability to do it. But I think that it is necessary to give up usability.
The Infinite Space Between Words (2014)
I've wanted to like Jitsi, but the quality difference with Zoom is noticeable. Same with Google Meet and anything I've seen that uses WebRTC. They remind me of RealPlayer back in the early 2000s in terms of blockyness.

I would love to know about any Zoom competitors, free or paid, with comparable quality.
There's a lot of ground between supporting black people and racial equality on the one hand, and the goals of BLM on the other. I'd hazard a guess that most Americans are in favor of the former and opposed to the latter.
As it happens, MIPS is also practically dead as an general purpose architecture...
The 'when' is known because there is a limit to life (as far was wek now). So even if that when is in 40 years, it's still a when ;-)
It's also very empowering for people whose job isn't to run things, but to build the things that are to run. I've worked on a dozen-or-so of bespoke "industry standard" setups, and each and every one had a number of weird quirks, involved learning some new "industry standard" components and either made it very hard and dangerous for non-ops/devops/infra people to run their things themselves, or had homegrown tooling that pretty much replicated what the k8s API can do, just only a small subset and badly. Some YAML and kubectl are well within what a typical data scientist can be expected to understand, more so if it means they can run their things on a dev cluster themselves, and in a pinch, that data scientist can debug prod issues of their things, because it all works the same way. We have a very useful bot that was built and deployed by someone decidedly not ops while waiting for jobs to finish – a simple K8S deploymend YAML is like 50 LOC, with 40 being pretty much standard, et voilà, running bot, without having to build lots and lots of automation in-house or having to take up ops time to deploy this for them or having to grok advanced sysadmin-ing first. Used with appropriate caution and safeguards, it's super powerful.
Share libgen, sci-hub and run a storj node.
The parallels run deep. Discord and Slack have extremely similar UIs and feature sets.
There are some benchmarks here: https://github.com/WongKinYiu/CrossStagePartialNetworks/issu...

It's hard to interpret benchmarks in a fair way, but it's sort of sounding like YOLOv4 might be superior to YOLOv5, at least for certain resolutions.

Does YOLOv5 outperform YOLOv4 at all? Faster inference time or higher accuracy?
> other than our sense of justice and desire to punish someone for doing something bad, what is prison supposed to achieve?

To keep a person from doing something harmful again when we don't know any other way to make them not do it and we aren't willing to risk more harm.

Sure, if we could magically change the person so they would see what they did before as bad and never do it again, we wouldn't have to keep them in prison. But we don't have any way of doing that. What techniques we do have for "rehabilitating" people are simply not very reliable, so there's a limit to how much we are willing to depend on them as an alternative to incarceration.
Exactly my experience slowly learning to code as an adult. My partner sometimes explains a programming concept to me that just won't sink in.

After some practice and time, I can feel my thinking rearranging itself around the concept until it's second nature. Personally it's a feeling I enjoy, part of the reason I like taking up new hobbies all the time.
A long time ago in a philosophy of math class, our professor offered this problem: upon hatching chicks have to be separated by sex. Experienced poultry farmers know how to tell them apart from feel but it's not a process they can describe. The problem then was: how would they teach it to a new hire? The solution offered was that they have the rookie hold the chick in their hands and guess while the experienced farmer corrects them. This was a great example of how tacit knowledge is acquired.
Whataboutism is usually done to defend something by making it look better in comparison but what the OP was arguing is that we should be pursuing end to end encrypted solutions exclusively because it’s not just the Chinese government who are doing the snooping. ie he’s not defending Zoom nor the Chinese government but suggesting the complaint against Zoom/China doesn’t go far enough
Run OpenShift and invite friends to use it for hosting.
Thanks; that's a straightforward and insightful way of thinking about it.

It makes me wonder whether some/all of this can be encoded into an actual search engine or constraint satisfier. Arguably it's the dream of the Expert System[1] all over again.

[1] - https://en.wikipedia.org/wiki/Expert_system
Or, alternatively, only have sex with the person you're married to.