skysight-inc/HackerNews huggingface dataset:
I’ve been using linux since January. But the number of issues I’ve run into compared to windows is far more.

When linux works it’s way better. But when it breaks it’s harder to fix than windows.

I tried out pop!_os due to people on HN liking it. At first it was great. But then I realised I can’t transfer files between drives. I thought maybe it was just my desktop computer, but the same issue happened when I put it on my laptops. So I went to kubuntu, no transfer issues, but trying to fix the weird ui issues compared to gnome make it frustrating.

So I tried out Ubuntu but that randomly freezes with 5700xt errors, which I fixed by upgrading the kernel, but then realised that I can’t use 5.8 with virtual box so I had to downgrade to 5.7 but that resulted in random reboots.

Day to day use when it works tho. I much prefer it.
I dislike WSL(2) with a passion. Sure, it makes some Linux oriented workloads possible on a Windows workstation, but my gut feeling tells me all it will really accomplish in the long run is to facilitate a new generation of software engineers that is even more averse of linux(ish) system than the current one;

At least when I look at my direct colleagues, who might have interest in developing linux-based or open source solution, will now never move to a full linux system because "I don't need it; I have WSL", and therefor will remain on Windows forever.

Add to this lack of proper linux support for enterprise software (" why are your employees running linux, cant they use WSL?"). To me, WSL is a curse in an attractive wrapper paper.
I dislike WSL(2) with a passion. Sure, it makes some Linux oriented workloads possible on a Windows workstation, but my gut feeling tells me all it will really accomplish in the long run is to facilitate a new generation of software engineers that is even more averse of linux(ish) system than the current one;

At least when I look at my direct colleagues, who might have interest in developing linux-based or open source solutions, will now never move to a full linux system because "I don't need it; I have WSL", and therefor will remain on Windows forever.

Add to this lack of proper linux support for enterprise software (" why are your employees running linux, cant they use WSL?"). To me, WSL is a curse in an attractive but thin wrapping paper.
Rust's main competitive advantage is memory safety in a compiled language with native performance.

If you're switching to C++ because of performance, you should have probably picked C++ instead from the beginning.
I've been using it on X1 as a desktop driver since 9.0. Lovely setup:
http://trafyx.com/?p=2551

OpenBSD would be even cleaner and leaner, but I needed wine, keras, theano and a few other things it didn't offer.
I’m quite sure Microsoft got a lot of patents on the ribbon user interface, if this becomes big that’s going to be an issue.
Agree. Poorly titled, I looked at it expecting an argument about WSL being over-hyped.
Obviously no one should be taking health or nutritional advice from random sources on the internet, but where the hell did you pull that number out of? Current RDAs for most people is 600 IU: https://ods.od.nih.gov/factsheets/VitaminD-HealthProfessiona...

Note, the Endocrine Society currently suggests a minimum 25(OH)D level of 30 ng/ml (75 nmol/liter) and suggests much higher levels of supplementation if you need to raise it: "to raise the blood level of 25(OH)D above 30 ng/ml may require at
least 1500 –2000 IU/d of supplemental vitamin D."

Holick, Michael F., Neil C. Binkley, Heike A. Bischoff-Ferrari, Catherine M. Gordon, David A. Hanley, Robert P. Heaney, M. Hassan Murad, and Connie M. Weaver. “Evaluation, Treatment, and Prevention of Vitamin D Deficiency: An Endocrine Society Clinical Practice Guideline.” The Journal of Clinical Endocrinology & Metabolism 96, no. 7 (July 1, 2011): 1911–30. https://doi.org/10.1210/jc.2011-0385.

It's also worth noting that studies have shown that without sun exposure, people may require even higher levels of supplementation to maintain their 25(OH)D levels:

Heaney, Robert P., K. Michael Davies, Tai C. Chen, Michael F. Holick, and M. Janet Barger-Lux. “Human Serum 25-Hydroxycholecalciferol Response to Extended Oral Dosing with Cholecalciferol.” The American Journal of Clinical Nutrition 77, no. 1 (January 2003): 204–10. https://doi.org/10.1093/ajcn/77.1.204.

"CONCLUSIONS: Healthy men seem to use 3000-5000 IU cholecalciferol/d, apparently meeting > 80% of their winter cholecalciferol need with cutaneously synthesized accumulations from solar sources during the preceding summer months. Current recommended vitamin D inputs are inadequate to maintain serum 25-hydroxycholecalciferol concentration in the absence of substantial cutaneous production of vitamin D."
I feel like most people here don't like Windows 10, but for those who like it or even don't care about their OS, WSL2 works pretty nicely for many applications.

While using Linux on my desktop computer, I had issues with font rendering, low fps animations and firefox/chrome stuttering while scrolling through pages.

I understand there are probably some (hidden) fixes for these issues, but after countless times trying to solve these, I just gave up.

One of the main issues people complain about Windows 10 is about mandatory updates. I know every circumstance is different, but for me, it's working well and I have no issues with it. I guess if you're someone who is having issues on your current OS but needs to work using UNIX tools, you should give Win10/WSL a chance.
I think the niche of "more than C, but not C++" is going to be eaten by Rust. It's like C with modules, Vec, String, HashMap, and one standard sensible cross-platform build system.
I read over 20 newspapers in 4 different languages: german, french, arabic and english. The more and diverse I read, the better I understand what's happening.

I came to the conclusion, that what counts is not how left wing, right wing or neutral a media is. It's understanding the dynamics of power and geopolitical issues, who will benefit from specific news, who is likely pushing for that news to be published. Keep an open mind about each media you consume and try not to be passive by consuming only.
>"you should never intentionally rely on a safety feature to cut you out - they exist as a backup in case you screw up"

I've had to use core drills with inline (inbuilt) RCDs while hanging off rope. Those things draw ludicrous current, and are water lubricated with open thermal ventilation for the motor. It's a given that they trip out.

Unfortunately, as soon as a safety feature is regarded as reliable, it's incorporated into standard operating procedures. See Erlang for a well executed version of this idea!
Most of those are British...cult classic is a decent epitaph but most people have not heard of it...
Wrong usage of the term

https://en.wikipedia.org/wiki/Drinking_the_Kool-Aid

>"Drinking the Kool-Aid" is an expression used to refer to a person who believes in a possibly doomed or dangerous idea because of perceived potential high rewards. The phrase often carries a negative connotation. It can also be used ironically or humorously to refer to accepting an idea or changing a preference due to popularity, peer pressure, or persuasion. In recent years it has evolved further to mean extreme dedication to a cause or purpose, so extreme that one would "drink the Kool-Aid" and die for the cause.
I've got Windows running on the primary hd in a classic duel-boot (sic!) setup, but I'm afraid to boot into Windows and check out WSL2 now that I've heard Windows has a habit of nuking other OSes/partitions as part of its frequent (ie all the time) updates.
It's all based on contracts and how things are perceived. A layman might value a painting by a master artist as hundred bucks. Yet put on a sale in an art auction it might go for millions.

Is it actually worth millions or is the layman's gut feeling of hundred bucks correct? Well, I guess you have to decide for yourself. Some argue it's not, some that it is. Yet the show goes on and the prices get steeper every year. Then you kind of have to believe that there's some base to it, since that's the reality of what is happening. And you don't have to be a true believer to make money out of it, right?

What would then change our perceptions? Maybe if we found out our precious piece of art was fake, and not originally painted by the master artist. After all these years, thought by everyone to be a masterwork by the man himself, yet when put under microscope and beamed with X-rays proven to be only work of his pupils. Oh, what a tragedy. It was not worth millions after all.
Do you have a source that says that that stands out as a red flag? And in which countries?

As far as I know, only the USA has gone so far as to ask for social media accounts for some visas. (I might be out of date)
Hash Array Mapped Tries (HAMT) to the Rescue
Deforestation well-predated the 19th century, and increased at rates greater than population growth, strongly driven by novel or expanded uses.

See Vaclav Smil, Energy and Civilization, on energy use generally. Jed O. Kaplan; Kristen M. Krumhardt; Niklaus Zimmermann, "The prehistoric and preindustrial deforestation of Europe' (10.1016/j.quascirev.2009.09.028 http://gen.lib.rus.ec/scimag/10.1016%2Fj.quascirev.2009.09.0...) gives an overview of trends and some uses.

Wikipedia has a generally accurate though poorly sourced article: https://en.wikipedia.org/wiki/History_of_the_forest_in_Centr...
WSL2 is amazing. Pro tip: NFS works. VS Code has a native wsl remote which is great.

Just don’t use nfs in fstab, it’ll lock up the startup.
More than testing – unit tests for better design
> How are crop failures a major problem if an area doesn't have a substantial amount of subsistence farmers and does have reasonably free trade?

Would you be able to rephrase your question to help meet my need for clarity? Maybe you could state your position without it being a question? At the moment it is not clear to me what you are asking.

> How could they threaten a developed economy without crop failures everywhere?

An example is migration. If large areas of land continue to be plundered and made infertile [1] by Global North corporations (or 'developed' countries' as you call them), by imposing harmful industrial agriculture practices then the inhabitants of those countries will have to migrate to other areas.

So we, as inhabitants of the Global North and members of the 1% wealthiest in the world (as everyone on Hackernews is), would do well to integrate Global South perspectives.

"We are currently facing the most severe migration crisis in history. But this is only one dimension of a broader civilizational crisis. Thus, anti-racist movements should not focus solely on issues of human mobility rights, but also build new paths of solidarity with societies in the geopolitical Global South. A new perspective on internationalism is necessary, where people of the North and the South co-operate to overcome the current colonial division of nature and labor, as well as what has been called the imperial mode of living. In this sense, it is important to question the dominant notions of what it means to live a good life, to think global when it comes to social welfare and to link up with movements such as eco-feminism or degrowth. Doing so could open up new possibilities to address fears of social relegation due to immigration, as they exist in the Global North."

— Miriam Lang

Source: https://www.resilience.org/stories/2017-10-17/integrating-so...
Show HN: Covid-19 Risk Estimation Tool
I've heard good things about Qbserve, but it's mac only.
What about a native maltese speakers?
I really think you need to do some reading on what anarchism actually is before writing criticisms. It really isn't the thing you think it is.

> unless you place explicit constraints on people's ability to amass power and abuse it, people will amass power and abuse it.

Yes. Anarchism is about putting in place those constraints (via systems design rather than external enforcement since the latter requires amassing power in order to act as enforcer).

> Things like Democratic Structures...

You lost me here. Anarchism is democratic.

You seem to think anarchism is something emergent that existed before rules. It isn't. Anarchism is rules without centralising enforcement, not absence of rules. Feudalism in particular is the direct opposite of anarchism.

Please at least Google the term before you go and further.
Interesting! I had to deal with a related problem several times — I often want this from my Logitech mouse:

> I discovered that the side buttons emitted standard M4 and M5 commands just as they did in Windows

But there's no way of setting that up in Logitech's ‘Control Center’; ‘middle click’ is as fancy as that gets. If I'm lucky, I can use Control Center to set up a custom configuration for the specific application in question and make mouse buttons emulate keyboard events, then map those hotkeys to the desired actions within the application. But if the program doesn't allow custom hotkeys for triggering something that's meant to be done with extra mouse buttons, I'm pretty much out of luck.

You don't even get the standard mouse button events when you don't install Control Center at all — then the extra buttons (on my particular older model; no idea about current Logitech products) do nothing at all :(

So the funny thing is: I'd need a ‘sensible side buttons’ hack that does the exact opposite of this one.
This article offers wrong advice of disabling resolvconf. You shouldn't be doing that, since it's resolvconf that acts as an arbiter of resolvconf writes. Rdnssd in Debian, unfortunately, bypasses it, and it's a bug in the package.
Tcl IS the Clojure, but for C and it also has Tk, which is purely awesome (canvas elements have tags and event bindings).

I did these experiments when Clojure was not all that hip, circa 2008-2010.
No experience with Conemu and WSL, but Windows Terminal [1] provides smooth experience.

WSL2 has a completely new approach than WSL1, so compatibility is better.

[1] https://github.com/microsoft/terminal
If the equipment is designed for 20A and plugged into a 15A circuit, wouldn't the 15A breaker trip long before it could start a fire? Seems the main problem would be constantly resetting the breaker.
Maybe it is a war on the cursor.
Community self law/rule
Is Ton Alive?
Okay, I didn't actually know about (or remember) that one.

Regardless of their intentions, I don't understand how anyone could have thought that was a good idea.
After reading the BMJ study (https://www.bmj.com/content/370/bmj.m3223), I realized a lot of people could benefit from a more nuanced understanding of the various factors and how they contribute to the overall risk of COVID-19 transmission. But the table in the study was somewhat hard to read, since it was basically a five-dimensional chart. I am a science journalist who started learning how to code this March. This is only my second public tool, so please be gentle. Comments and suggestions are appreciated.
This is great!!! I will try this out, and port some of my small apps on to my mobile.
The easiest way to use types for this is to have separate types for (un)initialised values, e.g. instead of having a 'Database' with methods for 'connect', 'select', 'insert', etc. where the caller has to run 'connect' first, we instead split it into two so that the first object (e.g. 'DisconnectedDatabase') doesn't have any query methods, but does have the 'connect' method which returns a 'Database', and the query methods exist on that.

A few things to keep in mind when doing this:

- If we end up with a classes which only has a single method (e.g. 'DisconnectedDatabase' with only a 'connect' method), then it might be better as a standalone function, or a smart constructor, etc. ( http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom... )

- We can use this approach to prevent code being called prematurely (e.g. querying has to come after connecting), but we can't prevent code being called too late; e.g. trying to query after a 'Database::disconnect' method has been called. (This is where linear/uniqueness types, etc. can be used)
And as is usual with DRM, all it takes to defeat is one jailbroken device. Or, in this case, just one running an old enough iOS version.
My own contributions are modest. I wrote the shitty little Chess program that Apple gave away on their early Apple II demo game cassette tape and a few years later wrote and sold a Go playing program for the Apple II.

I am going to check out the Twitch Chess ‘show’ mentioned in the article, looks very cool. I enjoy Go webcasts supported by the American Go Association.

I use a very strong Go playing program for practice. I have it rate all of my game moves and for each move show the best alternative. It really helps, and has replaced expensive lessons from a South Korean Go professional I took a few years ago.

I need to find something similar for Chess. I played in the US Chess Open in 1978, and have not played very many serious games since then.
If I got it right, once Hyper-V is enabled, your existing Windows installation boots on top of/under/alongside the hypervisor (kinda-sorta like Xen's Dom0). This setup prevents other virtualization solutions from running, but allows the use of Windows Sandbox, WSL2 as well as regular Hyper-V VMs.
This is such a shitshow. They never took "reasonable degree of certainty" before storing private data either - it makes no sense to then ask that for deletion requests.
Maybe someone later has some legitimate edit they want to make to the file, which fails because it's immutable, which is in turn very hard to figure out. (E.g., I didn't know that there exists an "immutable" attribute.)
> aided in creating an empire that unified the whole of India.

The geographical area under present day India was never under a single kingdom/government/flag until 1950s. During the Maurya Empire, the present day Kerala, Tamil Nadu and parts of Karnataka, Andhra Pradesh and Telangana were not a part of the empire.

Even when major parts of India was a British colony, some territories were controlled by the French (Pondichery), Portuguese (Goa) and the Nizams.

https://en.wikipedia.org/wiki/Maurya_Empire#/media/File:Maur...
> When linux works it’s way better. But when it breaks it’s harder to fix than windows.

> I tried out pop!_os due to people on HN liking it. At first it was great. But then I realised I can’t transfer files between drives. I thought maybe it was just my desktop computer, but the same issue happened when I put it on my laptops. So I went to kubuntu, no transfer issues, but trying to fix the weird ui issues compared to gnome make it frustrating.

There's something to be said about how it's easier for users to jump to another distro to fix what's most likely some permissions issues in the mounted folder. Rough dumb bugs/misconfiguration_of_the_distro like that are sad.

It always seems to me that fixing things in Linux desktops and windows feel like two very different things. I might delude myself in thinking I understand what's going on in the distro but Windows registry and command line instructions in windows always seem a bit too magical to me (that's surely because I am not used to it, despite having grown up on windows).
Rwandan single mothers turn to online babysitting of Japanese kids
These magical transient errors are exactly why one should choose language with immutable values. You have old value and you compute new one (with sharing if possible). You can continue to use old value or throw it away.

The mutation operation can be seen as resource management optimization, premature (and thusly evil) more often than not.
That is a point of contention between different schools of thought. Industrialization, mechanical reproduction (manufacture) of objects, and corresponding jump in scale of production went hand in hand with emergence of "form follows function" as a principle of design for "Modern" design.

Now a quiz:

https://upload.wikimedia.org/wikipedia/commons/2/24/33._Witt...

Is that door by mr. uber rational Wittgenstein a specimen of form follows function, or do you note 'aesthetics' saying gutten tag there?
Everything-is-a-string is a terrible design. Also I don't think there is much space in between Bash and Python. I generally recommend ditching Bash for Python as soon as you have any flow control.
https://www.reddit.com/r/programming/comments/hgr6qu/rwxrob_... ( this one has a post by me in it)

https://www.reddit.com/r/rust/comments/hkcbnt/back_to_go_rus...
> I checked and indeed... lg_buf is a global variable.

struct lg_buf is a type, not any kind of variable. And here _ is a local variable, not a global variable so can't conflict with anything else anyway.

So what you've said doesn't apply for more than one reason.
Great to hear that buggy OS updates do not happen on Windows.
If you're going to pay anybody anything, you might as well pay Microsoft $8.5/mo and get the real thing. Microsoft salted the earth on commercial viability of competition with this pricing.
At least it will likely "extinguish" the Windows support on node, Python etc. packages using native code. There will be less interest to make those builds work on native Windows as majority of developers using Windows desktop are likely to jump to WSL side.
I get the feeling that you don't know what virtual functions in C++ are.

I'd suggest you stop comparing typed dispatch to virtual functions in C++, because they have nothing in common. If you want to draw parallels, make sure to use a suitable analog.
Actually there’s 2 issues I see.
1) Win10 only with SSD, if not forget WSL2.
2) WSL2 had its bugs I was unable to use it then I had to do a cleanup in the Windows cached folders of older connections never again I had issues.
It’s something they’re evolving and fixing I like it and is stable but Microsoft need to make sure to advertise this as in beta product with the VS Code plugin.
I'm curious if anyone has any info on the business model here. There seems to be a ridiculous number of data brokers, so with this amount of competition, the marginal profit must be low. Online advertisers probably get better bank for buck just using Google's or Facebook's pre-targeted profiles. Banks and financial institutions and real background checks probably stick with the few big ones (credit bureaus, or lexis nexis etc.) Is this for snail mail spam? Telemarketers? Stalkers?
I'm not 100% on what's going on under the hood, but the way I think of async/await is literally as the name suggests.

The code executes asynchronously, and if there's a specific operation I want to wait for before continuing execution, I signal that I want to synchronously execute this block of code using await.

I understand this is not technically how async/await works, however I believe it's an easy way to read and understand how async code will execute.

For example:

async def func():
# do some stuff asynchronously

# wait to get values before continuing execution
values = await get_values()

# do more stuff with values asynchronously
When you do something competitively it decouples the activity from the original use. Just like a Pole vault champion is not really interested in being able to reach the second floor with a stick.

In this sense the fact that the words have to match the Hungarian dictionary feels arbitrary. But it's a bit like the rules for triple jump where you have to land the first jump on the same foot, or the rules of high jump that prevent you from taking off with two feet at the same time, these rules feel arbitrary in the context of the original utility of the skill.
Nice idea for a COVID employment opportunity.
No. Apparently you want me to spell it out; okay. Your comment is entirely unnecessary because what you write is already in the footnote. Why are you including the "[2]" in your quote, indicating that you have seen that there is a footnote, but haven't read it? Or have you read it and are posting it anyway? That's even harder to understand why you would do that.

Also, making suggestive remarks is not very helpful.