skysight-inc/HackerNews huggingface dataset:
This is certainly biased. I have had far better programmers than me express their distaste about jsx and how it feels confusing for them to use. For starters, you can't use any statements inside JSX so you would need to learn expression replacements for statements. To understand this limitation, you need to understand jsx factory and what jsx is translated to.

Check this issue: https://github.com/flutter/flutter/issues/11609

Many functional aspects of react can be hard to grok. HOC and currying isn't obvious to everyone.

The surrounding tooling sure is complex af and the little inconsistencies in how everyone does things in the community doesn't help. If the person wants to keep themselves to using a blackbox, they will face problems with react at some point which will force them to learn about how all of this works. React will introduce performance issues that normal js/html/css can easily forget about if you are not careful. Then you will need to learn about lifecycles, debugging tools, and lot of other things simply to make your app not suck.
Topic-adjacent: Some time ago there was an article posted, but I can't find it anywhere. It was about why does vitamin D seem to correlate with a lot of health issues / recoveries. Does anyone know what was the main idea, or what other keywords I could look for?

(It was serious content, not one of the "vitamin D cures everything including cancer" people)
You can already use 90% of this with a compiler flag.I used concepts years ago
there’s an app called dminder that will help you reach an estimated level, given dietary intake plus location and estimates of sun exposure.
That's a normal one-time dose for correcting a deficiency, I've heard of much larger doses, even 50K IU daily for months.

30-40 ng/mL is the suitable level, on the mid-range, not even a high level (optimal levels might be even higher)
Thankfully we all have the pure wholesome United States to strive towards.

Get a grip hey. I'd honestly prefer to be a Uyghur in China then a black man in the US. At least one has a future.
Google proposed Web Bundles could threaten the Web as we know it
He cited a whole book! :)
As a child grows up they should be doing more and more things around the house? It's fair require your older and adult children to contribute to the upkeep of the house and in the case of a working adult, buy food, make dinner once in a while, contribute to rent/house payment, etc.
Ah thanks I missed that. (It was too close to the 'share this' section for my eyes to wander down there!)
Which features in particular?
Since obesity is correlated with nearly all chronic disease, one explanation is vitamin D being fat-soluble, it's plausible that some vitamin D gets trapped in fat and is therefore reduced in circulation.
Habit trackers are great when you pair them with a smart watch and automations. I use an app called Streaks, Apple Watch and Shortcuts. Streaks can pick up health data and in Shortcuts I’ve set it up so it increments a counter in Streaks to keep track of when I open Instagram or Twitter.

I’m not sure it gives me enough motivation to do something I don’t want to. But it does help me stay on track and not forget the things I want to do.
I am a big fan of rectangle[0] for bringing windows style windows management to macOS. Gives you a set of shortcuts you can use to put windows where you want them on the screen. It is crazy to me that this is not standard on macs.

0. https://github.com/rxhanson/Rectangle
Note that one study showed that small, daily doses (or medium, weekly doses) had significant preventive effect against respiratory infections, whereas a large monthly dose had no such effect.
Briefly drawing more power would not really be an issue. Circuit breakers don’t operate as binary devices in the sense that a 15A breaker works indefinitely at 14,999mA and then turns off at 15,000mA. They usually use a bimetallic strip to provide a gradual response (more current = more heat = faster trip) with an electromagnet actuated trip that creates an absolute limit.

See, for example, this PDF: https://download.schneider-electric.com/files?p_enDocType=Da...

Even at double the rated current you’re looking somewhere around 30-90 seconds before it trips.

If this weren’t the case, we’d be tripping breakers every time we fired up a stand mixer or a vacuum cleaner.
This is interesting! Take Norwegian for instance, which is originally of West Norse origin. During the viking age, settlers (many of whom were outlaws in Norway lol) sailed to the then newly discovered Iceland. These people all spoke West Norse, which was the language spoken in Norway at the time. The settlers in Iceland largely kept the West Norse language through the centuries, while mainland Norwegian was more and more influenced by their East Norse neighbours of Sweden and Denmark. So today, Icelandic and Norwegian are just about as different as Norwegian and German. While Norwegians will recognize a few words from Icelandic, most of it remains mutually unintelligible. Meanwhile, Icelandic people can readily understand the historic and archaic Old Norse texts without much translation—or certainly far more easily than a Norwegian would—where a Norwegian would struggle to understand most of it today.
Don't Hinge Your Career Earnings on Technical Skills Alone
I wonder how much a connection there is between levels of vitamin D production from exposure to the sun depending on how much melanin your skin has (and also how much exposure you give your skin), and higher rates of ICU admission and death among people with black and brown skin?

How much of the higher rates are caused by physical health issues due to genetics, rather than social policy issues as has been said in the media (at least the media that I watch)?

Since March I've been taking 5000 IU of vitamin D every day regardless of my skin colour.

This seems like major news and if I were in the health system or in a position of power I would personally not be waiting for larger trials before rolling out vitamin D right now. This is because I don't want people to die. (Do our politicians have the same goal?) Vitamin D is already known to be safe if not taken at too high a dose.

Sometimes solutions to health problems are simple, and it's beautiful.
The preprocessor is not gone. It still exists in the context of modules. Figuring out the details of that interaction has been a major issue when defining modules and the result is quite complex.

I doubt that we will see clean modules that are free of preprocessor shenanigans, especially when writing any non-trivial portable library. I am no prophet, but I currently assume that unless we get hygienic module friendly macros and better conditional compilation on a syntactic level than dumb textual #ifdef, modules will only end up adding complexity in practice.
Google = evil!!! They sleep and dream only about how to spy! Teach your users at every place, at each of your site not to use there spyware & "search engine". Instead of this use privacy search engines, browsers and tools. eg. privacytoolslist.com
I can understand the value of sports, and of doing anything at a high level. Mastery of anything is its own reward. I get that. But what these Thai champs are doing seems crazy.

Imagine, as an English speaker, waking up wanting to win the Hungarian scrabble tournament. No, you don't want to know how to speak Hungarian. You only want to win the Hungarian scrabble tournaments. And you're prepared to invest months of your life memorising sequences of letters to do it!

Its insane.
Important to note that DOS, one of the popular platforms in the 80s, didn't have linear address space.
NEAR, FAR and LONG pointers could be constructed that two equal values would point to different locations in memory and two distinct values would point to the same object.
The US is quickly becoming an argument against democracy's.
Could be https://www.devaboone.com/post/vitamin-d-part-1-back-to-basi...
Sadhana: The Realisation of Life – Rabindranath Tagore
This might be both because vitamin D has low oral absorption, especially in high doses, and that staggering is necessary, and that some systemic effects take time to manifest.
To be honest, it's this sort of thing that makes me happy to be back on FreeBSD for everything but gaming and DRM media (hi Spotify).

Sure there's a little more work to get set up (which I've scripted and put in Gitlab, so it's easy the second and subsequent times).

But the documentation is first class (in particular, the FreeBSD Handbook is great), and generally, when you set something up it stays that way.

Reminds me of late 90s / early 2000s GNU/Linux in that regard.
30 min in midday sun can produce 10.000-20.000 IU. It's big but not outlandish. One time mega-dose safety is established at 10.000 IU/kg for infants and toddlers [1]

[1] https://pubmed.ncbi.nlm.nih.gov/19506025/
search for „devaboone“ (and other obvious keywords)
A transformer is unable to really represent logic, let alone higher order logic and theorem proving.
Yeah the title is an oxymoron.

"Parallelized async"
>The Java strategy of being very conservative about what you add to the frontend would have done C++ a lot of good after C++11 (or even before that).

Java lost a lot of mindshare to C# and Kotlin due to that "strategy".
>using the internet anonymously

Use:

-Protonmail not Gmail

-Swisscom myCloud not Drive

-Neocities not blogger

-Matrix (Element) or Signal/Wire not Talk/Whatsup/etc
Desolate English path has killed more than 100 people (2017)
> Compare that with the healthy community around LibreOffice where nobody holds copyrights for all of it, so the copyleft actually protects all involved parties from unfair competition and makes them cooperate for the common good.

According to the recent discussion [1] it's not all that peachy for sustainable LibreOffice development either.

[1] https://news.ycombinator.com/item?id=23793942
>For example, is everyone going to disown their friends and family, all for some nebulous concept of society

This isn't "some nebulous concept of society," this is the community that you have chosen to be a part of and are in control of. You say that you wouldn't abandon a family member, but what they are doing is akin to standing up and with a clear mind stating "I don't consider you family and want nothing to do with you." That is what "rejecting society" entails. You would not still blindly support that person.

>mean, you are straight up saying that you don't think these people should be able to have access to food.

These people chose not to have access to food. They are not "disadvantaged," they are facing the consequences they knew they would face for their actions. There's no need to immediately starve them, but they know they can't stay in the community if they won't be a member of it.

>Even if something like 10% of the population is willing to help out people who don't agree with your concept of society, that is more than enough to make sure that these people are still able to survive

It is not "my concept of society," it is something the society together builds. Yes, some people will disagree. They can build their own society and we can coexist.

Most of your arguments have put "me" as the ruler of this society and justify actions as them rebelling against me. This is not how the power structure goes. People may be willing to help those rebelling against "me," but they are less willing to aid someone rebelling against something they themselves chose to enact. Similarly, the punishment for someone harboring such an individual isn't my decision, it's something the community decides based on the circumstances.
If the UX isn't done well I agree. However there a great opportunity for pushing for compatibility and a more portable document format in a less annoying way than gimp does for xcf.
The likely / unlikely attributes and the constexpr advances, regarding performance, for example.

But many performance gains will be automatic e.g http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p072...
I have similar feelings to this about commentators on TV news programmes. I don’t want beautiful presentation - sharp suit, immaculate makeup - I want someone who must be talented because they obviously didn’t get chosen for their good looks.

I’m an always wary of a ‘beautiful’ [0] person trying to convince me of something, whether on the news, in a commercial, or in business.

Give me the unkempt and awkward but knowledgeable.

The BBC used to be very good at this - especially with political commentators who clearly were struggling to remember to tuck their shirts in. Or didn’t quite fit into them...

Conversely I find US TV news almost impossible to watch. Everyone seems to be too good looking and bland, with fake emotion, bon homie, or outrage thrown in to mask it.

[0] perhaps better expressed as ‘someone who has put significant effort into their appearance‘
It was not blinded. It was open-label and the outcomes were subjective (ICU admission). The doctors involved with the trial knew who got what and may have biased their actions based on that. Given the subjective outcome and small number of participants, this is particularly important. The trial would be slightly underpowered even if it were blinded.

Other studies on Vitamin D are retrospective cohort / observational studies which are heavily biased with possible confounders with respect to Vitamin D.

My personal opinion is that Vitamin D may help in COVID-19 but this trial does not 'confirm' that. Someone should run a similar trial with more participants and/or a fully blinded trial / a trial with more outcomes (biomarkers, etc).
> The problem with OnlyOffice is non-community-oriented development and the predatory licensing model where they hold all copyrights and dual-license their code AGPL+proprietary, while forbidding others do the same (since they hold the copyrights), therefore putting themselves at the centre of their universe.

> Compare that with the healthy community around LibreOffice where nobody holds copyrights for all of it, so the copyleft actually protects all involved parties from unfair competition and makes them cooperate for the common good.

This is a very good point, and very well said! I agree completely - from activist point of view. It really does benefit users the most.

BUT! It doesn't benefit developers and maintainers at all, which leads to the common problem of "it works for me" attitude. This is an understandable though regrettable situation. To put software to another level it takes lots of additional effort in areas which are usually not fun. Why would someone do it?

LibreOffice is a great case in point. While I use it regularly, it lacks in two important areas:

- 100% compatibility with MS Office

- UI is ugly and in places unintuitive

I can imagine that the first problem is not fun, and the second is difficult to solve with so many people involved. I don't believe LibreOffice will ever solve these two problems. Incentives matter.
I loved that series, thank you! The DNS system on Unix-like systems is such a complicated mess.

Personally, I've set adsuck and my /etc/resolv.conf points to 127.0.0.1
Hidden costs of constantly shipping new things
That’s your choice of C++ subset, but the problem with these huge languages is that everyone chooses a different subset to use.

Sticking to plain C has the advantage of probably being the subset of C++ (I know, it’s not technically a subset) that’s in widest use.
When you add those to the mix you're dealing with destructors, ownership, etc. so I don't see anything wrong with using stuff like unique_ptr/shared_ptr.

And C tends to reinvent object oriented programming with each library so you might as well use language defined classes.

So I don't really see the point.

You don't need to use stuff like concepts, or "showing off how smart I can be with template libraries" (looking at boost), but C++ has a lot of features that make it much more productive than C.
I've left C++ for C (and Python, and K, and others) somewhere around 2007 when it only started getting crazy. I sort-of keep track of the changes to the standard like lambdas, without which you can't read modern code.

But assuming I lose my sanity again and decide to go back to doing C++, which resource would you recommend for properly catching up the last 15 years of C++ changes?
This is my industry. I think I know a bit about it :)

Those restrictions aren't as broad as you are implying. There is no prohibition against NASA and the Chinese working together on certain types of projects. It just requires explicit authorization from headquarters to make sure that it doesn't run afoul of the very specific prohibitions in those legislation... which in practice is very hard to achieve, because of lawyers being lawyers, but not impossible when there is a powerful sponsor like the NASA Administrator behind it. My wording in the earlier post was poor: I should have said “broadly” instead of “specifically.” That more matches what I was trying to say, but the edit window has closed.

The prohibition, btw, is against "NASA’s use of appropriated funds for bilateral cooperation with China." Part of getting approval is showing that there is zero added cost to the collaboration, which in the case of things like planetary science research using existing assets, which is usually easy to do.
For extra fun, there’s absolutely nothing stopping the generator you just plugged in from feeding power back into the electrical grid if you don’t turn the breaker off.

So the repair crew has the lines deenergized to replace that transformer that blew down the block from you except... surprise! they’re still live!
> Yeah, there's more than a whiff of entitlement to that phrasing.

I have been thinking about that. I disagree. It's always nitpicking o'clock on HN and I specifically wrote "Some" and specifically wrote in brackets that I wasn't debating if it's either right or wrong. I agree that it should have been worded differently but the facts remains and that doesn't follow that there's “more than a whiff of entitlement“.
The Art of Debating for Software Developers
> Do you have any examples of this?

Personally I've been surprised how well setting up contexts for intended outcomes ahead of time works - e.g. if I want to study X, I close everything else on my computer the night before and only open the textbook and my reading notes; If I want to get up on time and go for a run I put my running gear in one place all ready to put on, etc. More generally I try to prepare a daily note on my computer the night before with the most important few things I'd like to focus on.

But what works and doesn't it's highly personal, e.g. the hosts file thing has never lasted more than a day or two for me :)
It's a necessary component of the immune system. Deficiency means a weak response.
So, in order to do your job of maintaining your health, you need need to do all of these jobs:

1. Learn about the symptoms, diagnosis, and treatment of your health problem
2. Assess the severity of the health problem
3. Learn about the experience of other people
4. Get multiple opinions

Bonus:
5. Learn about multiple valid solutions
6. Find doctor's blind spots

While doing all that, you pay for healthcare, which includes all that. You pay a doctor to know no1, do the no2, remember no3. You then pay for multiple of them to do the same.

But then you still get to the point where you have to decide who to believe. And it would be easy if 4 of them say the same thing. You can be pretty sure they are right[1] because statistics. But what happens when they give multiple differing opinions, like here [2].

[1] https://www.youtube.com/watch?v=R13BD8qKeTg
[2] https://digitalsmiledesign.com/files/Old-Website-Assets/PDF/...
Show HN: MoneyWorks passive Gen Z investing platform
The sample size would be ridiculous if this was an observational study and if the effect size was small; but this is a controlled study AND the effect size is enormous (basically ∞ as far as intensive care is concerned.)
I did try quite a few things, but for me each app adds friction to tasks. Friction with setting, friction with changing priorities (a wall of shame of unfinished tasks saps the rest of willpower), friction with things that need to be done in a different way than provided by an app, etc.

What I ended with is a daily Evernote checklist (any plaintext editor would work). Ticking is a reward on its own, while the overhead is minimal. A low-tech version of that is a Bullet Journal - a thing that actually works for quite a few of my friends (my Evernote is sort of a BJ, just electronic).
It can be used as a more durable message queue too by following the recommendations in https://www.youtube.com/watch?v=B81nQLg4RuU
Train and deploy ML applications on Kubernetes using Streamlit and Polyaxon
>Vitamin D is already known to be safe if not taken at too high a dose.

There were some posts on here by a doctor that have seen problems with people who were inside the norm of D.vit. so I wouldn't trust the above. I have to take D vitamins because there's something wrong with me and doctors want to monitor my blood levels because of it. Calcium levels are one thing that can become too high with normal range d.vit. if taking supplements. Vitamin D supplement is medicine which most people seem to forget. Using medicine means seeing a doctor to make sure it is safe, at least a blood test every 6 months.

Edit: here's one of her threads:
https://news.ycombinator.com/item?id=24138590
> Except for the memory model, rust is loosing a lot of it's competitive advantages over C++ here

Rust's memory model is by far its most significant advantage over C++, and it cannot be added to C++ without breaking all backwards compatibility.
Maybe they meant the catalyst is not a liquid catalyst that is consumed.
It seems to me that for many developers, all they want from a language is more and more features. I’m grateful for languages like Go and Lua that try to buck this trend.
>given ample time.

That's the problem....any government instigate in a ware given enough time, i think your problem is that you have no clue what fascist means.
If you do want that massive concurrency you can use PyWren! https://github.com/pywren/pywren