skysight-inc/HackerNews huggingface dataset:
I don't think these features are bad, they are useful in some ways. Why we need USB on the browser? Think about updating the firmware of a device, you just go to the webpage, connect the device to the USB and update it, without having to download and install a tool to flash it, for an operation that you need to do just one time. This is only one example of many that we can make, another could be IDEs in the browser to program boards like Arduino, without installing software on the PC.

Battery status? It could be useful to know if the PC is connected to a power source and the level of the battery, even for a stupid scenario like watching a video, when I'm low on battery I usually reduce the resolution of a YouTube video because reproducing a 4k60p video uses a lot of resources, and drains the battery quickly. It would be useful if the webapp could just do that automatically, maybe on YouTube an option like reduce resolution when low on battery. Or for games, or whatever uses a lot of resources.

Think about it: the only reason because Electron apps exist (and we waste 200Mb of disk for each one of them) is only because browsers don't have APIs to access the filesystem! To me is a waste, the browser should give each application (let's stop calling them sites, they are no longer that) the APIs and permissions to access hardware, just like on mobile devices you have a dialog that says "this app would like to access the internal storage, consent or deny?".

Where is the problem? The user should give the privilege (only one time) and you finally can do basically 99% of work in the browser (and maybe the browser introduces also API to run the application in a window), you no longer need Electron just to do these kind of things, is still more secure than Electron because the code is sandboxed by the browser, and you don't have to worry about packaging your software for different operating systems.
"Medical errors kill almost 100000 Americans a year" [1]

You're picking one horror story because it fits your parameters, and pretending it's something to worry about. It's not. Cheers.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1117251/
Notqmail 1.08 Released
Great, even more lag coming in the next version of visual studio.
From a comment on the linked page:

> Well that’s a solid hit piece, considering she doesn’t actually have a criminal record; all of the cases that the author highlights were nolle prossed or no info’ed, and wouldn’t be admissible in any court, except the court of public opinion. This was 100% a character hit piece.

That said there isn’t enough information out there to understand why Jones was fired or removed from the project in the first place. Journalists have already requested internal memos under Florida’s Sunshine Law, the truth will come out over the next few weeks I assume.

Sounds like it might have been a workplace argument that led to a reassignment and then a firing because of her email letting her contacts know not to contact her re: the dashboard anymore was construed as suggesting a coverup.

The sexual harassment stuff or prior problems with the law seems totally unrelated and just something that was dragged up after this hit the news.
So why do you refuse to be a donor?
Miles Rock: A Lighthouse Unlike Any Other
I found the idea of coaxing the generator with phrases that wouldn't be put into the final text interesting. It is like having the high level concept but leaving the artistic flourish to express that concept to the computer.
> The boy—though not technically brain dead—had suffered so much brain damage after a near drowning that doctors determined he would never wake from a coma. So his family decided to take him off life support and to donate his organs.

I don't see how the organ donation affected the care he received. Presumably if organ donation were not an option, the family would have chosen to withdraw life support anyway. Having the option of organ donation merely reduced the emotional pain of it by being able to help people at the same time.
This is so useful, thanks for making it!
Handling errors gracefully in JavaScript / Express
> Interestingly, the last one served ~2 weeks before receiving a medical discharge due to complications from a high-school football injury. He graduate high school, did practically nothing for two years before enlisting. Comes back a month later a veteran with a medical discharge and is getting multiple job offers.

Sounds fishy to me.
Are you kidding me? People should have the right to make an informed choice, however they feel about it.
Will most likely branch out into all the other usual markets, TikTok chat, TikTok meetings, TikTok Ads, TikTok shops, TikTok news, TikTok Pay, etc. Basically another slightly different version of the same stuff we're all used to with these kinds of social platforms. Still.. >100Bn is simultaneously ridiculous, funny and sad imho.

EDIT: valuation makes a bit more sense for the parent company seeing as it has a lot of other brands that are huge in China and India
> safari both refuses to render webp and pretends to accept them

weird, i haven't had that issue! i run a site that's set up¹ to redirect image requests to a WebP version if the Accept header allows it; half our team uses Macs w/ Safari and no one reported any issues with images.

---

¹ wordpress + webp-express:
https://github.com/rosell-dk/webp-express
i guess it's possible they special-case Safari, i'll check later
Government mandated organ harvesting has a great ring to it.

Apparently not to the statists of HN though!
Hackers strike world’s largest sovereign wealth fund
One website can use resources from other website using img, script, link tags. That was since WWW invented. User agent will retrieve related resources from other websites.

Those port scanners abuse that feature. <img href="https://website-resolving-to-127-0-0-1.com:1234"> is a legitimate code and browser is expect to establish TLS connection to 127.0.0.1:1234.

Trying to patch that fundamental behaviour is hard.

Websockets are not enemy here. They are just convenient tool. It could be implemented without websockets.

Imagine that google.com added <img src=yourpoorwebsite.com> into their main page. Now you've got billions of requests and your website is DDoSed. Who's bad here? Browser which allows requests from google.com to yourpoorwebsite.com? Or Google who decided to kill your website?
Already happening in this thread

https://news.ycombinator.com/item?id=23252408

The next step is shaming those who opt-out. Which will then cement the ownership of the state over your organs.

Edit: and more:

https://news.ycombinator.com/item?id=23252636
So far in this discussion I've figures of 500 million, 800 million and 1.5 billion users for Tiktok. All staggering but rather large degree of variance
> I refuse to be a donor. If they want me then make a real donation, say some money towards funeral expenses.

You refuse to save lives at literally no cost to yourself or anyone you know unless someone pays your family off?

> there's no reason the donor should be left empty handed

The donor is dead! Hands don't get any emptier!

> So I'm not just a grubby meanie out for a buck.

Ok, let's see...

Cost to you? 0.

Cost to your family? 0.

Benefit to others? You could save several lives.

Will only do it for? Money.

Yup, no conflict there.
Zlatan – “Road to CDK” MP3 – Exclusiveloaded
When you are dead, your possessions are no longer yours (as you legally don't exist anymore). As part of your final sacrifice, you can give something back to a person in need.

(As a side mark, a modern Jesus would've been a donor, IMO.)
Crypto Startup School: How to scale companies using crypto
Wow, that is so me. Couldn't wait to get kids in university, just didn't have a partner to do it with. When I met my partner, our lives were not stable enough to support kids in a monetary and emotional sense. Not that we are, I'm mid thirties, see the lack of sleep of friends that do have kids and seriously doubt whether it is worth it.

Somehow I feel we've designed the way we do careers to oppose certain natural processes. I'm not even female, I can't imagine how much uphill the battle is for them.
I do not live in a country with extreme lockdown. Neither have I been economically affected by this. But my coping mechanism for depression was hitting the gym. Not just the excercises themselves but the entire ritual. The moment I feel the smell of the place, places I go to atleast 3, I get a sense of calm and focus. I really tried my best with a rudimentary home gym and tried some running when it was possible due to weather. It took me years to build up the gym strategy. It took a day to break it down. After a few weeks in lockdown without my ritual I felt the old blackness creeping back. The complete lack of human interaction other than the synthetic zoom sessions that do nothing for me. I dont feel any human connection over zoom. And I wonder if all the articles of the fun zoom hen parties arent just satire. Like when priests were trying to make jesus cool during my teen years.
Lockdown has lifted a bit and I have started to meet people in person again. Always distanced. I imagine this is what lepers felt. Everone goes out of their way to stay safe. Being close might make you sick. I and you are hosts for the viral plague. Out to cause our fellow human beings with unneccesary suffering with our pesky needs to see other human faces. See a strangers frown or smile.
2 days ago I went to the mall for some food and just get, once completely norma, take away coffee. I met an old collegue and she broke all protocol and just spontaniosly hugged me.
I started to sob. Unctrollably. I think the last time someone touched me was march. Or maybe late february.
I have a therapist. Losing access to her did not bother me all that much.
I have no financial issues or physical ailments.
I have spent these past few months sobbing, randomly. Pulling myself out of bed, wondering if its tuesday or saturday. Wondering why I could not just die in my sleep so I dont have to face another day of being an absolutely useless piece of space that no one cares about.
That hug broke something awful and my poor chocked collegue may never know what an incredible gesture that completely normal sentiment was for me. I no longer feel like a disgusting host for viral pestilence. The gym opens in a week. And if it closes down again. At least this time I know what to expect and can prepare.
What possible incentive could there be to hoard your organs after death?
... yeah and Vine.
Ask HN: Why isn’t visual programming a bigger thing?
Visual programming seems to unlock a ton of value. Difficult concepts can more easily be grokked in a visual form. Programming becomes more approachable to first-timers. Since text is difficult to manipulate without a physical keyboard, visual programming opens the doors to doing development on mobile devices. And yet it only seems to be mainstream in education (i.e. Scratch). Why?
I struggle with how much of life is shallow seduction. I cannot deny reality but I still hate it.

I don't want to sell, I want honest look. It makes me happy and motivated to do better. I should go into boxing at least there's some truth in survival.
> Absolutely, and people who don't have kids say the same thing - but framed so entirely differently it's like different worlds.

Everyone who has kids were, at one point, folks who didn't have kids. Those with kids do have the benefit of seeing both sides, like it or not.
Interested as well if anyone has an answer to provide
Those are handled by NixOS - that's the purpose of NixOS, it was built on top of Nix explicitly to manage such things. You can read some about NixOS at https://nixos.org/nixos/about.html
In most cases, the organ donor will be "empty handed" because they're already dead.

But nobody is forcing you to save lives at no cost to yourself (again, because you'll be dead) -- go ahead and opt out.
For sure, but people should be given the information to exercise bodily autonomy. The BBC is a public service broadcaster paid for by TV licence fees, so should aim to inform the UK population about significant issues which impact them. Sure, COVID-19 and its fallout should be reported on, but it should not (and does not need to) cause the absence of this from the homepage.
Shamed by who? Is it not just a checkbox on a website somewhere?
Then how would you describe a process in which people have to make it known what they want instead of leaving it up to guesswork? All alternatives explored so far just leads to death, misery, and a small portion of the population having a benefit while the rest suffers.

And anti-government in general seems to be stance that often comes with "I don't like it", but without a solution and the only thing I've seen so far is people coming up with a "let's do nothing" alternative. That's not a real alternative at all because it doesn't solve anything. Either bring something else that also works, or accept that the best we can do so far is come up with imperfect solutions.
It's involuntary organ harvesting
All of those are self-induced, unlike someone harvesting your organs such as the example story that the other commenter posted.

Additionally, I tend to think that doctors do not serve our best interest and instead typically follow common or outdated practices. re: newborn circumcision, which I see as one of the most heinous acts that we still perform in the United States and allow in Europe because of ‘religious tolerance’

I can anticipate being called an antivaxxer, so I want to answer that as well. I’m not an antivaxxer by any means, but I also don’t think pumping your child with at least 7 doses of pathogens before they’re 6 months out isn’t a good thing either. I’d prefer to wait until they’re a bit older or to have longer wait times between each shot. I think this is something that also doesn’t get enough discourse because we hail doctors as all-knowing rather than viewing them with the same skepticism as other fields.

Just as a side note, those who score highest on graduate exams such as the GRE are the physicists and mathematicians. Doctors are quite low. It may suggest something about their innate ability, yet we still lionize them.
Who Wants to Be a Thousandaire? (2011)
A mutated virus that spreads faster gives immunity to the hosts it infects from the ones that spread slower. The hope is that the more transmissible strain is also less lethal.
People are usually in the hospital when they die. There are lots of doctors in hospitals.
Show HN: This app wil help you become better than yesterday
You could, but I'd argue it's a dodgy thing to do. In general, the idea behind RuntimeException is that they're not checked because they're preventable errors that you should be able to avoid having in the first place, and it's therefore unwise to try to recover from them because they indicate that you've got a bug and the application may be in an untrustworthy state.

Granted, that idea itself gets a bit dodgy. In the case of Collection<T>, for example, an isReadOnly method was not supplied, so we haven't really been given any good way to tell ahead of time if a particular collection instance supports mutation.
JavaScript Tools and Libraries for Creating, Customizing and Validation Forms
I think part of the error in this train of thought is thinking having kids is a huge responsibility. Naturally speaking, its the most straightforward thing. We've made it into a huge responsibility.
Would you prefer your next of kin be allowed to sell them instead?
Ah, like the sentence right before that which stated they were pirates? You think I referred to north africa holding power from its pirating entities as some kind of Disney movie piracy? Anyone who has any sense of piracy in a historical context knows they thieve, pillage, kill, rape, enslave. Besides, you say it as if the north african states uniquely employed slavery, this was a time of a giant slave trade by European countries in Africa, Asia and South America, if I'd have said the colonial Netherlands controlled important trade routes and trade hubs, would you have added the snarky comment as well?
This is a very very valid concern so I’m not sure why you’re being downvoted. It does happen and from a lot of experience over the last 25 years of dealing with quite frankly utter incompetence that nearly killed two members of my family from the NHS, I don’t trust there to be safeguards or procedure in place or for it to be applied to make this decision.

Thus I will opt out.
What's a sum operation though? Is the sum of a, b and c the same thing as the sum of b, c and a?
It's not uncommon in other countries. In reality, no one takes your organs without strict approval from your family, but this kind of policy makes it easier for them to get the approval as you did not need to opt in before your death.
TikTok proved to be a perfect secret clubhouse for Gen Z sensibilities of humor, nihilism, and celebration of differences. But as older generations pile on that do not pass the "vibe check", it is already slowly starting to ruin the party. It's still the best party in town, but hopefully ByteDance is humble enough to realize TikTok's success is about a lucky coupling of a format and cultural moment.
Can you give an example of a claim he "welched" on? Google isn't pointing me to anything except the fact that email is unencrypted which I tend to agree is out of scope.
Have look at xhyve https://github.com/machyve/xhyve
Was pretty performant for me compared to other tools.

*Not on Mac anymore, switched to Linux few years back.
That's a weird analogy. TSA "opt out" is basically impossible. Have you ever tried it? It's not shame. The agents simply don't allow you to. Changing your organ donation status is not just possible, but easy.

In the organ donation case, who do you think would "shame you into compliance"? How would anyone else even know? I don't know the organ donation status of anyone else in the world, even my family and close friends, and even those who have died.
Deciding to not have a kid seems like a functional downvote on the surrounding community and circumstances after the per capita growth levels off.
Arr::get($data, 'more.complex.0'); is much nicer, I agree.

I do think better languages do it better, for example in Elixir I can extract multiple elements out of an object at the same time.

object = %{nested: ["my value"], other: "some element"}

%{nested: [first | _], other: other} = object

first now equals "my value" and other now equals "some element".

PHP sucks because of the legacy it pulls with it that keeps it from being simple and elegant. It also fails pretty hard when you use it outside of it's niche, and a multi-purpose language > single purpose language.
"Hoard"? They're mine to give away, not the state's. For the record, I already opted-in, but this needs to be a choice.
The central claim is that doh operate identical to the communication between the stub resolver and the recursive resolver, and it is simply the client proxying the resolving request to a third party. The specific transport layer, that of https, is basically irrelevant to the security design of the dns protocol itself which is unaware if it got proxied through https, by unencrypted udp packages, or tunneled through a vpn service.

The default behavor of chrome is to automatically use their DoH service if the users broadband ISP supports it. I don't dispute that or intended to comment on it. If my above comment implied something else I am sorry as that was not the intention nor the central message of the comment. The comment was not a critique of googles default choice in chrome, but rather an attempt to explain how DoH relate to the DNS protocol and how aDoT, which is based on DoT, might actually fix the security faults of the dns protocol by enabling end-to-end encryption between the user and the dns server.
So it's not secure by default.
I think you're going down a slippery slope. You say:

> I indeed believe the best work is done when you are not constantly looking over your shoulder thinking about how to sell.

I, too, believe this. But let's look at what Hamming counts as "selling", as quoted in the sidebar to the article:

> You have to learn to write clearly and well so that people will read it, you must learn to give reasonably formal talks, and you also must learn to give informal talks.

"Selling", to Hamming, includes being able to tell people about what you are making. Not necessarily "pay me $999/month for my SAS I created in a weekend", but even "here is how to understand my mathematical proof". It counts everything needed to communicate to others. That can be communicate why a thing you made is worth paying for, certainly. But it also includes knowing how to get your painting framed properly, so it is in a context for people to enjoy your art.

I would get far more enjoyment out of almost anything I make if someone else also enjoyed it, rather than my creation being hidden in my apartment. And so it is useful to me to publicize it, to put it into the world for people to see, to even just be able to explain what it is. It is not all about the almighty dollar.
Hold on. Instead of saying "some people" you should be more direct in what you mean. You should say, YOU and refer to me directly and have your words be inline with your intentions.

Now that being said. Go looks to me, to indeed be made by someone who doesn't know that a sum type exists. In my link Rob Pike himself admits that he didn't know about structural typing.

Additionally Rob seems to be in general not up to date on type theory. Please follow and read the link above to see what I'm talking about.

Now, that being said. Never EVER did I dismiss Rob Pikes background. He's done great things. Now I will say something exactly in line with my intentions: You have told an utter lie where you accused me of dismissing Rob Pikes reputation. I have done NO such thing.

Additionally one question. What site are you using to run a background check? doesPikeKnowWhatASumTypeIs.com? Sometimes people make mistakes. I admit the possibility that I'm wrong, but limbo is kind of an obscure programming language. It's not easy to given that they use the term discriminated union type rather then the "sum type."

I would argue that although this type is included in limbo, Rob likely didn't use it too much or know about its use case to bring errors into the type system as he could have easily used it in Go. I could be completely wrong here but one thing is not wrong:

>Some people are ridiculously daring at dismissing others's reputations without the most basic of background checks.

Accusatory language like this even disguised with "Some people" and that are additionally utter lies are not an acceptable way to start a discussion.
Thanks for explaining. I'm (obviously, I thought) not suggesting distros are only about the patches, but patches are a very significant aspect of their raisons d'être to me. I thought most distro maintainers do things like backporting changes though, for security/stability/etc.? Including RedHat, Canonical, the Debian maintainers, etc.? Arch (and I guess Gentoo, and maybe their derivatives like Manjaro) are the only ones I know that minimize upstream package changes. With other popular distros like Fedora, Ubuntu, SUSE, etc. I fully expect they've made custom modifications to some popular packages, but it's been years since I've touched other flavors. You're saying this is wrong and only Debian derivatives tend to do this?
The thread you linked doesn't have any shaming. It proposes a quid-pro-quo linked to willingness to be open to organ donation. Your choices remain private, so the only people who can shame you are those you choose to tell.

In addition to that, there was this:

> Will you automatically take my organs if I don't opt out?
No. Your family would always be involved before donation takes place, so it is really important that you choose whether you want to be a donor and discuss what you want to happen with your family, so your decision is clear and they can have peace of mind knowing that your decision is being honoured.[1]

1. https://www.organdonation.nhs.uk/helping-you-to-decide/about...