skysight-inc/HackerNews huggingface dataset:
Believe me, I know what it is to suffer. But even though I lean against suicide strongly since I've lived the whole "if you're going through hell keep going" thing, and the relief when the (years long) suffering is over is immense. However, I struggle with things like a suicide pill given to air force pilots.

Would it be better to be tortured for years? To have your family knowing that your fingernails got ripped out? That you lost your genitals to electrocution?

I'm not sure. Plenty of heroes committed suicide.
Considering that the risk of transmission seems to depend on how long you are inhaling shared air from an infected person, and their viral load, I don't think it makes sense to worry about intermittently going through someone else's exhaust plume.

I use a mask outside if I'm on a narrow sidewalk, but otherwise, I don't think there's much point. My favourite thing is the people who wear a mask over the mouth, but not the nose. Like worst of both worlds.
Including the fact that asphalt is generally mixed with tire rubber, therefore recycling old tires. Plastic is now also being added to asphalt to recycle when constructing roadways.
I tend to think this proves the point.

Healthcare and childcare and education are in fact (largely though not comprehensively) nonessential goods that are already in very many ways far better than they were 50 years ago. Childcare wasn't even a thing except for the incredibly wealthy until pretty recently. It would be very difficult to argue that the overall options for post-secondary education (and the number of people taking advantage of them) are not better than 30 years ago, even though their costs are known to be rising much faster than their quality. Most of the kinds of healthcare that are clearly price-gouging were not even categories of healthcare 50 years ago, and most of the ones that were are so qualitatively better now that we're comparing apples and oranges. Etc.

Climate change is the one where by almost any objective measure we're headed for potentially irrecoverable catastrophe, and yet this one doesn't actually receive media coverage commensurate with the weight of the potential risk and its probability.
Here is the one for C99, http://www.open-std.org/jtc1/sc22/wg14/www/C99RationaleV5.10...
We just tried Svelte in a small project at work, and it was a pleasant experience. Like its small api footprint and closeness to plain html/js and its small bundle size.

In our setup with parcel we didn't get good error messages and line numbers (it spit up internal compiler errors), but it might have to do with our setup. Trying it at home with snowpack it gave comprehensible error messages.
I came to it from the front page, that's why I mentioned it. You had commented almost immediately and the link was already broken (or was broken from the beginning), yet enough people upvoted to make it to the front page in the few minutes between yours & my comment.
Ask HN: What are some good apilcations for working with PDFs on windows?
Mostly basic stuff stuff such as pens etc. Editing the text, etc. of a pdf would be bonus but not necessarily required. Any browser extensions might work too.
P.s.- i have tried chrome, edge and acrobat.
This is kind of a silly thing to be worried about with Vitamin D.

Yes it's fat soluble. But the amount you would need to take in supplements to cause a problem is enormous. (Every vitamin is different)

You could probably take an entire bottle and you'd be fine.

The patients in this study were being given 10x the RDA, about 20k IU/day.

You can very very easily get 25k IU out in the sun and your body has no issues.

It's safe to take 2000IU/day and make sure to get sun if possible.
I don't think it's that easy. Many people have a positive bias towards police. The police lawyer will come in and cite some frightening statistics about police injury and fatalities on the job, the officer will say that they used the minimum amount of force they were trained to. They only have to convince one juror to get a hung jury.

The free market is an interesting possible solution. Mandate government LE cases to be tried by a law firm. The law firm cannot be paid by the city, but is only compensated with a % fee of any fines levied as a result of a conviction, as well as any civil cases pre-empted by a conviction (i.e. if you have a civil case for wrongful death, and the defendant is convicted of murder, you effectively immediately win the civil suit as well due to the lower burden of proof for the same crime). Law firms that want to softball their prosecution go out of business, and we can still have lawyers that are well-versed in the prosecution of crimes. I am wary of unintended consequences, though.

Simply changing venues would be an option (i.e. require that cases against LEOs cannot be prosecuted in the county the LEO serves in), but I worry that the level of police solidarity would cause the police in the new county to pressure the DA. It might be worth a try though.
Something can be difficult simply because it's new: there's work in learning the new thing and updating old code even if the new thing is easier than the old thing.
top notch original photography in that article.
I had a similar experience. I learned Smalltalk and then, when I tried to learn C++, I saw the bit-shift operator be used to output stuff to the terminal.

It took me 8 years to get over the initial disgust and learn C++.
This looks interesting but how is it different from existing projects like redis?
Off-topic, but the wonderfully specific word "mantissa" comes up so infrequently that I just have to share this painting [0] of mine that features it.

[0] https://www.curtiswmoore.com/image_detail.php?title=manta.jp...
Sorry. I use uBlock Origin.

I had linked to the video frame instead of the article.
Clouldn't get direct video link.

Doesnt your link have ads too? Youtube?
You're right. It gets really gnarly, really quickly. "X says Y" is objective news, but it is extremely difficult to evaluate Y without deep knowledge of both the background of Y and the reliability of X.

"Y is actually not true" is partial, biased journalism, but can also serve as critical information about the truth of Y, or the reliability of X!

The safest bet is to be aware of what the news is claiming, but remember at all times that the news is a signal repeater, not a signal generator. Whenever possible, one must find primary documents or videos.
Yep, alongside Ada Core, it makes the "about 5" :)
The term describing this is: RAP (Recycled Asphalt Pavement).

https://www.fhwa.dot.gov/publications/research/infrastructur...
"The lies of the day" is a great phrase. Stealin' it. Thanks, TJ.
@natcombs would you mind emailing hn@ycombinator.com? I'd like to suggest something so we can send you repost invites in the future.
Road wear is what makes communities repave roads, so cars vs. trucks has quite a bit to do with it.
As this is published in the Guardian, it's fair to point out that David Graeber was very much outspoken against the Guardian in the last couple of years and refused to write for them again.

> as for the Guardian, we will never forget that during the "Labour #antisemitism controversy", they beat even the Daily Mail to include the largest percentage of false statements, pretty much every one, mysteriously, an accidental error to Labour's disadvantage - https://twitter.com/davidgraeber/status/1210322505229094912

> these venues only allow people like me on to legitimate themselves; i.e., the Guardian would systematically refuse to allow me to say anything about the Corbyn antisemitism charges, but simultaneously beg me to write about trivial matters like Black Friday. I finally was forced to face up to the reality: they wanted the name of prominent intellectual lefties associated with them so their systematic attacks on the political left would be taken more seriously. We were being used. - https://twitter.com/davidgraeber/status/1256291019542401024

> oh I'm definitely not writing for the Guardian again - https://twitter.com/davidgraeber/status/1214619782991040512
A few counter points:

* rate of World co2 emissions continue to rise.

* we don't just need rate to stop rising, we need rate to fall to pretty much zero.

* and if we could magically get rates to stop rising, and fall to zero, tomorrow, we'd still have about 2 degrees of warming from all the emissions already up there.

People have completely missed the point: the rate of growth of rate of emissions might have improved in some places. But the problem is total amount emitted.

Oh, and you don't avert climate change with per capita cuts if population keeps growing. Which it will, till about 2100.
Rare Case of Bullous Epidermolysis
Can you elaborate? As a statistical noob, this feels like a huge effect (1 of 50, or 2% - vs - 13 of 26, or 50%).
Great job with the description above; sounds incredible. Installing and playing with this now. Nice work, congrats.
Outbreak Investigation of SARS-CoV-2 Transmission in Bus Riders in Eastern China
that's a good point, i took some (cross-discipline) law classes in college and did experience that intricate web of argument across time and jurisdiction a bit, which was not fun to say the least.

and certainly we can't be fair, ethical, and just for everyone all the time, but i don't think that means we should cede legal authority to only a special class because the arguments can get subtle and intricate. if anything, it seems to be good rationale to me for putting more effort into making the law simpler and less opaque (realizing that's harder than it sounds).
More specifically, "readability" was the sub-goal that fell under. People were thinking about use as pseudo-code in those days as well.
Mountains on Earth are formed by tectonic shifts and volcanic eruptions, which, yes, take millions of years.

Mountains on the moon (aka: crater walls) form nearly instantaneously because of a violent impact.

You can make instant mountains on Earth too. Downside is, it'll probably kill off most life on the planet.
Is Category Theory Similar to Graph Theory?
The point of a service like this is that you should not concern yourself with dirty hardware details.

They give you a certain power for a number of minutes. It seems reasonable.

If they upgrade their servers, they can fit more minutes per machine, or give it away by speeding up runs for free.

If you want to think about “minutes on XYZ machine”, then build your own CI on AWS and pay exactly what you want.
Anyone else notice that Calcifediol is the most expensive vitamin-D analogue on the market? What a huge surprise that the study chose that form of vitamin-D specifically.
There's a major difference between daylight and getting baked under direct solar irradiation.

If the UV doesn't kill the virus the heat will. But even then, it's not immediate. If droplets containing viruses successfully land in your respiratory system (which is constantly sucking air), it doesn't matter how much sun there is outside, the virus is now cozy.

A beach could be perfect, except that there may be strong winds. You should hope they are not blowing droplets from your neighbor into you.

Similarly, if it's an overcast day, it doesn't really matter much.
We moved the comments to https://news.ycombinator.com/item?id=24358850, which was posted a bit earlier, and also because the link here is 404'ing.
Just some random suggestions from someone on the internet, but colds don't usually cause fevers, so if you've been getting sick with a fever every 2-3 months you may want to get that checked out.

It's also surprising that you've gotten 2 colds in the past few months when it sounds like you have been taking precautions due to covid-19. Seems like any exposure where you could catch a cold could easily have been Covid-19 instead, so you may want to re-evaluate your mask use, physical distancing, and hygiene practices.
I have similar minded friends. They have no issue dropping a bunch of money on some cosmetics in a game or random garbage that gets thrown away immediately.

So i ended up just buying a bunch of licenses for threema and giving them away. I know that isn’t an option for everyone but it was how i was able to convert my friends over.

It isn’t a big issue for me to do that. Even with buying 10 licenses, it is a small enough amount that its easy to budget for. Plus, i like to support companies and developers who (at least to me) seem to care.
If you haven't, you (op or readers) might try Awesome window manager. LUA based. GPL. It's i3 for us GNU-heads.
This article gets into that: https://www.outsideonline.com/2380751/sunscreen-sun-exposure...

Short excerpt:
People don’t realize this because several different diseases are lumped together under the term “skin cancer.” The most common by far are basal-cell carcinomas and squamous-cell carcinomas, which are almost never fatal. In fact, says Weller, “When I diagnose a basal-cell skin cancer in a patient, the first thing I say is congratulations, because you’re walking out of my office with a longer life expectancy than when you walked in.” That’s probably because people who get carcinomas, which are strongly linked to sun exposure, tend to be healthy types that are outside getting plenty of exercise and sunlight.
And it lingers for a really long time.

In suburban neighborhoods it's common for folks to repave their driveway from time to time.

You can usually still smell it for 4-5 days after it's been applied. Anyone who walks down your block will notice it.
Yes, I am experiencing similar issues as well in our codebase. Half of it is class based while the other half is now in hooks. Apparently classes are now "bad" and therefore it should be immediately abandoned. Unfortunately this leaves us with a fractured codebase. The real pain to productivity comes when trying to onboard new developers. They have to now double their learning efforts by having to understand two programming paradigms. It's easy for them to get confused and intimidated. I don't blame them. Even I hit some level of mental fatigue of having to remember how things are done when switching between the two. What I dislike and don't understand is the lack of discipline developers have to stick with an existing library or framework. This desire to constantly hop to the next latest thing — in this case classes to hooks — ends up fracturing the codebase, making it more difficult to understand and manage. For what? A trivial gain in supposed productivity? Perhaps writing the hook itself versus a class is indeed more efficient, but the fracture in the codebase it brings, I believe, ultimately brings a net loss in productivity.

Anecdotally, I am starting to get more used to hooks, but I'd prefer to go back to classes if I had the choice. I found classes are much more explicit on what is going on, especially when trying to understand the various states of render cycles. What's happening in the cycle in hooks is challenging to me. There is also a proclivity to accidentally introduce infinite loops with hooks, which was a rare problem when dealing with classes.
Anyone can spread it, though. Kids seem to spread it less. Also, the longer this hangs around the more chances it will have to evolve into a form that can harm more demographics. We should want to get rid of Covid-19 as fast as possible.
Finally, although many people get asymptomatic infections, this isn't all about death rate. Many many people are suffering brutal damage even if they do survive. This thing targets multiple organ systems and can leave permanent damage.
Interesting counterpoint, but if you don't make changes then, aren't you just trying harder at the same thing every day, expecting different results? I guess I sympathize with OP as "try harder tomorrow" just hasn't seemed to work for me. What is it you're suggesting if stop and rest is actually the wrong thing to do?
It just shows golang designers lack of experience in language design (it's stuck in the 70's). They may have written a lot of code, but it doesn't automatically make them good language designers.
I can't wait for laptops to start including the 30xx series NVidia cards in it and replace mine, because my current one is so awfully noisy. The sound of the USB circuitry in my laptop processing my mouse movements is louder than the sound of my mouse moving across the mouse pad, and when I'm moving a bunch of data around the SSD in my laptop makes as much noise as the physical hard disk it replaced! I am constantly in awe of how noisy some things that aren't supposed to be physically moving at all can be.
...That doesn't clear up a whole lot for me. Keeping in mind I know React but not Flutter (there may be details that make this inaccurate for Flutter):

> Reusing a State logic across multiple StatefulWidget is very difficult, as soon as that logic relies on multiple life-cycles.

The logic should be inside StatefulWidget, and StatefulWidget reused - so no code duplication or hooking into the parent's lifecycle methods.

> A typical example would be the logic of creating a TextEditingController (but also AnimationController, implicit animations, and many more).

Looks to me more like TextEditingController should be turned into a stateful component so it can be reused in the render - this lets the framework handle its lifecycle and none of the boilerplate is necessary. I've done this a couple times with variations on AnimationController: It uses React.cloneElement on its children to pass down the appropriate state, and because it was itself a component that simply rendered its children, React handled all the lifecycle stuff within that component with no hooks to the parent.

Quick edit: This reply in that issue is very relevant: https://github.com/flutter/flutter/issues/51752#issuecomment...

I can here kinda see where it's coming from, but we've never had reason to use hooks like that, so I guess I just don't see it as as much an issue. Also, a very important part of it that some other comments over here seem to not be aware of:

> In practical terms, there are a few things here. First, it's worth noting Hooks aren't an "extra" API to React. They're the React API for writing Components at this point. I think I'd agree that as an extra feature they wouldn't be very compelling.
A "walking X" is a person who is or is going to create an X. For example, an unpleasant boss might be a "walking turnover problem".
> If you have a VR headset, I recommend playing around with showing different colors to either eye.

Do you have any idea how to do this? I was trying to hack Three.js to enable binocular presentation (I have only Gear VR headset for my Samsung smartphone), but I wasn't able to do it. And as far as I'm concerned it's the only library providing WebWR functionality.
You joke, but there are plenty of VC backed companies trying to revolutionize road surfaces. The most famous are the various companies trying to add solar panels to roads.

Of course Asphalt is pretty awesome on balance, so most of these startups fail spectacularly.
For smaller projects who aren't ready to start spending yet, it's pretty trivial to spin up your own runners on a server. Not sure how it scales, but Gitlab has pretty solid guides on how to make one. It took me maybe an hour the last time I looked at it, worth checking out. Definitely easier to drop $10 than maintain that though, I'm a fan of Gitlab's CI/CD infrastructure.
You can pay for Discord. Admittedly, I do. It's not that Discord is perfect, I have a lot of personal gripes with it. But it's still significantly better than where I came from (Skype) and I use it a lot so it seems fair enough. Discord Nitro also thankfully pivoted from being a games service and the features it does provide are nice to have. (Larger file uploads, better stream quality, cross-server emoji.)
Another proof point that once the founder-CEO is replaced by a professional CEO, it's game over more often than not. This happened in 2017 at Optimizely.
> Considering that the risk of transmission seems to depend on how long you are inhaling shared air from an infected person, and their viral load

You have a lot of faith in your immune system. Absent more data, it's just that, faith.
Define software to last. My personal definition revolves more around best practices than technology choices. Though I wouldnt build a finance backend in node ...
I think what is more true is that typical furnace designs remove moisture from the air that they heat.

Most comfortable place I ever lived in, heating wise, was an old house that had been converted into apartments. It still had steam heat. I loved that.
Milled and Crushed, heated, some new aggregates mixed in, new oil, good to go.

You can look up mobile asphalt batch plants if youre interested
There is https://en.wikipedia.org/wiki/Fitzpatrick_scale which I learned about from the apple health app, no idea how widespread it is or how useful it is as a model.
Redis is an external dependency and one of the major motivations behind making Kiwi was to integrate directly into a Go project. Internally, how Kiwi works is quite simple and the best part is all the data types it supports are extendable. Though the standard data types are inspired from Redis itself.
> Personally I'm back to using ides again but I'm glad something remotely viable has been made available to vim.

I think you might be misinformed; I've been getting code-completion and error reporting through vim for at least 8 years on C++, and I don't know how much longer before that it's been available.
That's a shame. I had more luck it seems — BenQ PD2700Q:

Feature: 60 (Input Source)
Values:
0f: DisplayPort-1
10: DisplayPort-2
11: HDMI-1

sudo ddcutil setvcp 60 0x11 # To HDMI
sudo ddcutil setvcp 60 0x10 # To DisplayPort 2

Nice! Installing ddcutil¹ was a breeze too. No extra configuration needed on Ubuntu Linux. Although a few tweaks are needed to give the local user access instead of root.

1: http://www.ddcutil.com/
If I have public key authentication set up for ssh, should I even bother with fail2ban, firewalld-rest, port knocking, etc.? There's no way anyone is brute forcing my ed25519 key, so what's the point? Sure security should be layered and all that but it seems like public key auth is so strong by itself anything on top seems unnecessary.
Email Marketing Facts you must know
I was legitimately confused for a second when I saw `Who` capitalized, but it must have been some automatic HN formatting - it's lower-case is the linked blog post.
I've done plenty of C and C++, so I know what {} means, it's just that braces are harder to see, especially when there's a lot of them.