skysight-inc/HackerNews huggingface dataset:
When I launch my WSL2 Ubuntu shell, I have a CLI prompt in < 1 second. Clipboard works perfectly since it is a window similar to PowerShell, my windows file system is mounted in under /mnt, and generally everything is lighting fast.

Getting that same quality of experience under VirtualBox was nightmarish. Longer boot times, shared clipboard/filesystems were always breaking, random stuff related to hardening made update difficult.
this is garbage science with zero experimental evidence to support it.
Must be Thursday. Never could get the hang of Thursdays.
Also, companies with a physical presence in the USA are much easier to audit or prosecute.
> Power structures and actual power matters too

Talking about power structures while criticizing Foucault is pretty rich.
Thanks for sharing the story.

Just something interesting you might want to read into. False positives can be much higher than 0.5-4% figures, depending on how you look at it.

Out of the positive results, about 13% [1] and 25% [2] were false. In [2] 400 out of 1570 positives would be false. I have seen as high as 40% being false in other publications.

[1] https://www.aacc.org/science-and-research/scientific-shorts/...

[2] https://assets.publishing.service.gov.uk/government/uploads/...
PongoOS
According to Slovakian Financial Administration the 22 EUR low value consignment exemption is still in effect, similar to most other EU countries: https://www.financnasprava.sk/en/businesses/customs-duty#VAT (or the page could be out of date)

This will change on 2021-07-01 as that relief is replaced by other schemes, though (https://ec.europa.eu/taxation_customs/business/vat/modernisi...).
I will need to monitor this more closely. I have switched to a WIN/WSL2 setup recently from Mac and have not had this problem happen to me.

Nonetheless I hope this gets fixed before it hits me.
Stripe and Braintree
Ton Roosendaal: “Happy 27th birthday to Blender!”
This legislation is a step in the right direction and it's nice to see Congress being bi-partisan for once but it still doesn't fix the major problem. The shell companies in the Caymans, Panama, Malta, Switzerland, etc. If Congress passed a law requiring that any offshore entity that transacts or interacts with a US entity must also report their true ownership to the Treasury that would be some landmark legislation.
The PHP-Documentation has moved to Git
For both. When you order things from outside of the EU, you have to pay VAT in Germany too. So the declaration also impacts the VAT due.
Bad physical reactions to Powerbeats Wireless Pro
Having to ask for permission to corrupt memory.
It's very useful for projects that require (or work better in) a linux environment. I don't want to start up a full linux VM, that sounds like a lot of overhead and I'm more likely to not bother at all. WSL is much lighter than that (we're not talking virtualbox here), if I open windows terminal its up and running, there's almost-zero start up cost.

With VSCode I can switch between working in WSL and windows easily, without needing a desktop GUI to write code in. There's no startup cost, I'm immediately in the correct environment for that project. I've found it very useful since it came out.
> I’ve been surprised with what you can accomplish with data URIs.

Yeah, if I'm not mistaken, this is what SingleFile uses ?
Bitcoin Value Leaps over the $31K Handle, Sees an All-Time Price High in 2021
Being satiated <> being properly nourished.
Jq Wrapper for S-Expressions
I really find it a bit sad the lengths all the Python devs will go to just to compensate for the entrenched core deficiencies in their platform, without actually uprooting said deficiencies once and for all.

What's stopping the wider community to finally adopt any sort of namespacing / switches / gemsets / per-project environments? And I mean automatic; you `cd` into the directory and it's handled for you, similar to the the functionality of the `direnv` and `asdf` generic tools, and Elixir mix's / Rust cargo's / Ruby RVM's ways of isolating apps and their dependencies.

Why is Python lagging behind so many other ecosystems? Why is it so persistent in not fixing this? It's obvious it's not going anywhere and a lot of people are using it. Why not invest in making it as ergonomic as possible?

And don't give me the "backwards compatibility" thing now. Everyone I know that uses Python also uses several such tools on top of the vanilla experience -- so I'd argue the vanilla experience is mostly a theoretical construct for years now and can be almost safely assumed to not exist.

(And I get sadder engaging with HN these days. If you don't think I am right, engage in an argument. This downvote-and-navigate-away practice that's been creeping up from Reddit to HN isn't making this place any favours and it starts to remove the community aspect for me with time.)
I think it's related to the fermentation going on in your stomach. I'm not sure if it's the best way to become satiated.

I personally find saturated fats to be much more satiating, I can go without food for a full day without feeling hungry if I eat enough.
I have been teaching computer related classes to uni students for some time. Most of them run Windows. Running a virtual machine often means accessing the UEFI to be sure they have virtualization extensions enabled. And many of them have shitty personal laptops, which means running a VM will really slow the "Linux" experience. Sharing files between the host and the guest is also sometimes tricky, and I don't want to force them to install another OS on their personal laptops. WSL is nice in that it allows them to have a bit of Linux world without being very intrusive, and runs better than virtual machines on many of their laptops.

I'm what is called a "vacataire", which means I'm also not in the position of asking the school IT departement to enable stuff on the computers for the classes…
You can still get them (in the UK at least) although stock seems low, you can also get the amazfit U. although it's a bit more expensive.
Looks like adafruit makes one https://www.adafruit.com/product/4500?gclid=Cj0KCQiA0MD_BRCT...
I have a ton of respect for Scott. Such a clear, concise, and unpretentious teacher. I've learned a good deal from this man in a very small amount of time.
Exactly! This is what scares me about the modern day no-code movement.
modilies.in
"Afganistan is probably the best example. It was never easy to govern, but after the US trained a guerilla resistance to the Soviet invasion it became impossible."

No, the soviet had a simple rational.

1. Can we win the war? no

2. Can we stay forever? Yes

3. How much will it cost? Every year X Billion Rubles and X russian lifes.

The US has the same outcome.

I would also be careful label it a "soviet invasion".

"The Amin government, having secured a treaty in December 1978 that allowed them to call on Soviet forces, repeatedly requested the introduction of troops in Afghanistan in the spring and summer of 1979. They requested Soviet troops to provide security and to assist in the fight against the mujaheddin rebels. After the killing of Soviet technicians in Herat by rioting mobs, the Soviet government sold several Mi-24 helicopters to the Afghan military, and increased the number of military advisers in the country to 3,000.[137] On April 14, 1979, the Afghan government requested that the USSR send 15 to 20 helicopters with their crews to Afghanistan, and on June 16, the Soviet government responded and sent a detachment of tanks, BMPs, and crews to guard the government in Kabul and to secure the Bagram and Shindand airfields. In response to this request, an airborne battalion, commanded by Lieutenant Colonel A. Lomakin, arrived at the Bagram Air Base on July 7. They arrived without their combat gear, disguised as technical specialists. They were the personal bodyguards for General Secretary Taraki. The paratroopers were directly subordinate to the senior Soviet military advisor and did not interfere in Afghan politics. Several leading politicians at the time such as Alexei Kosygin and Andrei Gromyko were against intervention."
While I understand that this law was created with good intent and I am pleased that money laundering and corruption have been made more difficult, it angers me that one of the few tools available to afford the average person real privacy has been stripped away. There are many people who have legitimate need to hide where they live (by buying assets under a shell): victims of stalking or domestic violence; members of minority groups such as LBGT in very religious areas; reporters; public figures who are being targeted by political enemies; whistle blowers; famous people; corporate executives; high net worth individuals; anyone who angers law enforcement with legal activity; etc. In the age of public record aggregation, it is trivially easy for anyone to locate the average person, let alone someone with the privilege level of law enforcement who can do so with effectively no oversight. I don't think this is a good thing.

I don't view these tools as being much different from VPNs. There are people that have legitimate uses for VPNs to hide ownership of traffic; there are people that have legitimate uses for shell companies to hide ownership of stuff. There are people that abuse VPNs; there are people that abuse shells. The vast majority of legitimate VPN users would be trivially unmasked by having a subpoena dropped on the provider. The vast majority of legitimate shell company users would be trivially unmasked by having a subpoena dropped on the registered agent. VPN users only become "anonymous" with great opsec and layering. Shell company users only become anonymous with great opsec and layering. The purpose of VPNs is to hide from every day people and to force law enforcement to put in work. The purpose of shell companies is to hide from everyday people and to force law enforcement to put in work. The fact that this community of all communities doesn't see these parallels is honestly fairly surprising to me.
Matthew Yglesias wrote on Substack last week that this has completely changed and is no longer true.

Because local newspapers no longer exist, our news consumption has shifted to large, national stories. I know 1000 times more about Trump and AOC than any official in my city precinct. Even when we know a local candidate well and know they bring home the bacon to our district, we often vote based on the national implications of the partisan conflict instead.

Yglesias closes by saying, "We need to adjust to a world where information dissemination is not limited by truck routes (this is a good thing!) and we are consequently better informed about bigger units rather than “closer” ones." He suggests that means consolidating levels of government and putting more power into accountable executives.

https://www.slowboring.com/p/local-news
This is interesting and clashes with my personal experience. I eat two vegetarian meals a day which usually include beans, eggs, or oats. In my experience meat is considerably more satiating than meals with beans or eggs but less satiating than the meals with oats.
Spanish flu lasted about two years.
The high protein vegetable meal has 4 times the fibre as the high protein meat meal.

The next recommended article is

Protein from Meat or Vegetable Sources in Meals Matched for Fiber Content has Similar Effects on Subjective Appetite Sensations and Energy Intake-A Randomized Acute Cross-Over Meal Test Study

https://pubmed.ncbi.nlm.nih.gov/29337861/
What about California and Hawaii or Alaska then? Where do you draw the line?
No evidence needed. Let the lawyer deal with that stuff. In California, the evidence is what a QME says it is. A medical report is the evidence. The QME will look at all medical records and make a determination.
To chime in. The company I work for has (after being acquired by Accenture) implemented "Endpoint Management" for all machines (read monitoring and spyware).

EPM prohibits us from creating virtual machines, but WSL2 is possible. So a lot of devs at our shop (at least the 5% or so who are using WIN) use this setup.

Personally - I do this on my private machine - I switched, because with the EPM software I wanted to separate my work machine from my private efforts, as I just do not like Accenture to be able to read all mails, read all files and install arbitrary software on a machine that I have private data on. Before we got acquired my employer allowed private use, we were admins on the machines and there was no spyware installed - so only using one machine for work and private stuff was feasible.
Exercise.

I always took it for granted when I was younger because I was naturally in shape so I never took it seriously.

But then working on a computer and getting older made me gain a fair amount of weigt.

Fad diets and Fad exercise and Fad weight loss programs are all temporary and not that effective in the long term. Physiological health requires long-term maintenance not a temporary fix.

I think it's imported to get into a regular exercise habit as soon as possible and just make it a part of your daily life. You have time to figure this out in your 20s and it will pay off dramatically when you get older.

I highly recommend hiring a personal trainer for at least a few months to teach you proper form and theory and get you into a regular routine.
(Irrelevant Truth Rhetorical Fallacy)
> Embedding a MP4 can work great, but your text editor will likely hate it.

Well, Libre Office Writer deals with (multiple, 100 Ko < size < 10 Mo) MP4 just fine. It's when the ODT is converted to PDF that most(?) PDF readers seem to be unable to read those MP4 properly.
How can you declutter your mind? New study offers clues
It is a good thing for privacy though, people use business entities like this for legitimate purposes to protect their privacy so the world does not know where they live, the car they drive, etc etc etc

The is the problem with "anti-corruption" efforts, is that always hurts people that have legitimate reasons or simply desire to live anonymous lives
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5073301/pdf/FNR...
Streets are one of the only places that all bank robbers go after a robbery, just to get out of the bank.

This is why we can't have streets... ?!?

Jokes aside, you just provided a very good example of the prison mindset:

Instead of trying to understand the "problem" of students going too often to the bathroom, the default choice is to make the behavior prohibited.
These are commonly drawn in circular layout, like this: https://sites.google.com/a/parishepiscopal.org/mr-rick-dunn/....
IIRC that was worth doing because the first LaserWriters shipped with generally beefier configs than the general-purpose personal computers which sent jobs to them.
Most of the frontline workers I know already have had the disease; they already possess the antibodies and have not suffered re-infection.

I wouldn’t get it either if I were them, it isn’t necessary.
MS is ridiculous, corrupting the filesystem is an OS mistake of the first order. Any systems developer should view corruption of a persistent storage system of any kind as totally unacceptable. And in this case the whole filesystem is open source! Meanwhile the open source people built a decent NTFS driver for linux years ago, I haven't seen what specs are released but I assume they needed to fill a few doc gaps to make it happen.

Also other nice people did bundle up ext3 and ext4 into an app you could run on windows to browse and copy stuff from your linux partition years ago.

Now MS finally caves and accepts the defeat of linux being a better experience for devs, so they now 'support' it and can't check that saving files always works?!?

There is no way this only happens for bash history and git repos, some people have files they don't instantly throw on the cloud, or consider half-ephemeral like bash history, in this case you wouldn't be able to just re-clone as a workaround, I'll keep running my desktop linux on my dev machine (although it's not all rosey over there either, I trust it to save my files).
So you’re telling me... To understand recursion you should first understand ecursion ? :)
Are you complaining about the lack of a walled garden on a post titled "open source smart watch"?

Yes, open source leads to experimentation and individualization which leads to fragmentation. It's a trade-off, but and there are already plenty of other smart watches going for a less fragmented but less open ecosystem
Where can I find a hello world for this language. I didn’t see it in the docs linked above.

Update: I found this link helpful.

http://www.shenlanguage.org/shenin15min.htm
Maybe you can get on the phone with your customers, their security teams, and their compliance teams and explain every single day why these known vulnerabilities are not serious and can never be leveraged. You can convince them all of these latent bugs will never pose a serious risk. You can do this all day every day. Or you can just patch, and maintain a capability to do so quickly because bugs don't just affect security and the inability to update dependencies is really a reflection of awful development practices.
I use arch linux.
Yes, and with being a member, you get access to the farming skill!
Why not ask "Why do people misinterpret my comments" as per the concept in the quote and start from that to improve the way you communicate?

If people frequently misinterpret you, it's logically sound to look at the common denominator
A tablespoon of olive oil is 120 calories. Unless you are completely sedentary, or are using 15tbsp a day, it’s a negligible amount.
Query selectors likely came from jQuery's Sizzle engine, but most of the jQuery APIs, all methods, were never adopted. The best I can think of that did get adopted is closest which uses a query selector to find a matching ancestor node.

The reason why most of the jQuery approach is not adopted is because it is so incredibly slow. First you have to consider that query selectors, at their best performance (Google Chrome), are about 460x slow than the old DOM methods. All the jQuery approaches would be slowness that multiplies on top of the already slow query selectors. In Firefox query selectors are about 10,000x to 250,000x slower than the standard DOM methods.

From a standards perspective there is no incentive to go down that path as it cripples the interface it describes.
https://sci-hub.se/https://pubmed.ncbi.nlm.nih.gov/27765144/
This was reported back in August and unless the people commenting yesterday just haven't updated Windows in a while it still isn't fixed.
Show HN: Display a message on top of every new terminal session you spawn
I used Geany editor (well, it's a "lightweight IDE" GTK based, Scintilla powered) for its ctags integration.

Also helpful for exploration of unknown code. However, in general it navigates between files opened already (as it generates ctags on open). But allows loading an externally generated ctags file. Also does symbol usage lookup and auto-completion.
Wild guesses:

* the kernel is not properly shutdown (and sometimes some buffers are not flushed)

* the virtual block device and/or its linux driver has bugs
What exactly is the dev supposed to sue for..?

Apple has full control of their platform and can make any arbitrary calls. If they wanted to censor all pg-13 material tomorrow, they could (though they would face consumer backlash).

One recent exception might be anti-competitive behaviors, but I don't think that applies here.

I think it's just hard learning that when you build your business entirely on a platform or via another business, you are at the mercy of their whims unless you have the resources to extract yourself.
2020 Year End Reflection
Setting up personal OKR (objectives and key-results)
My changelogs are pretty complete.

One reason might be that they are not automatically generated. I hand-edit each entry.

Sometimes, I copy and paste the changelog entry into the last commit of the release (but I make sure to have a short, succinct initial sentence, as that is what shows up in Git browser history).

The changelog may end up being a lot more "generalized" than the commit comments, though, as it's meant to be read by users.

I appreciate the kinds of changelogs that you usually get with developer tools, where they are like encyclopedias.
Where did you get that number?
As the executor of my father's estate, I can attest to paying taxes based on a much lower threshold.
> because there would be second order effects - including job losses, business failures, panic buying and food shortages, possible civil unrest

Could you elaborate on that? Why would there be more of these without a lockdown than with a lockdown?

> collapse of existing health systems

Yes, that seems to be a material and important factor.

> loss of essential skilled people at all levels

Perhaps, but would the impact be material? In particular, how would the number of skilled people lost to unmitigated Covid compare to losses due to natural factors (retirement, non-Covid health issues, moving to a job where the skills are no longer relevant, etc)?

I am not necessarily arguing against your point, but I do feel that your arguments need more refinement to be persuasive.
I used to do all work on Fedora, dual booting to Windows for the Windows apps. WSL was OK when I tried long back, so hadn't bothered. But for the last few months I was forced to try WSL (now WSL2) again due to some Windows work, and have been using the Ubuntu app. I've got to say I'm now a believer and don't scoff anymore. I can now do ALL my work without problems on WSL2: mainly Go/C++/Dart, containers (podman/buildah), Flutter, GRPC, etc. The added beauty is that you can go seamlessly between Windows and Linux apps: e.g., you can just run an .exe from the BASH command line in WSL2 just as you run an Linux command. It's insane how they did it, and you have to try it to experience it.

There are some issues still: GUI apps are still a pain to set up (but they're fixing this), there are some networking issues (e.g., accessing servers running on Linux), file path issues on some apps (like I guess git here), etc. I never personally experienced any of the git issues cited, and I use it regularly from the Ubuntu command line. Overall, I very highly recommend WSL2 now, Microsoft hit a home run with VSCode with devs and IMO WSL2 is turning out into another.
How is this different than motd?
Write code that is memory safe.
https://twitter.com/robleathern/status/1345133167833997317?s...

His own statement
2020 Year in Review of a Part-Time Indiehacker
How do you stop your self from browsing HN or other 'good stuff' where it feels feel like missing out? Put that in log as well?
Just wanted to say thank you for chiming in about the bill. I know some folks are jumping your shit, but it's nice to read a boots on the ground perspective. Sounds like this was a bill about managing proper red flags, minimize false positives and not creating a slippery slope. From my understanding, that's where a lot of push back from the past has been.
Nothing. There was no Indiana Jones movie involving aliens. I recall Shia LaBeouf had a fever dream about it though.

Maybe you mean that?
Be honest: Do you really have any evidence of victims of domestic violence or LGBT people worried about discrimination using using, specifically, anonymous economically inactive shell companies to deal with those issues?
The many public figures dismissing masks after things really got going in July killed more people than the communication mistakes in February. Then they kept dismissing them in August and September and October and November and December, and many are still doing it now.

Face coverings were ordered in many states starting in April.
That's probably the cause.

WSL2 being Linux means that, unlike WSL1 which directly uses the host NTFS filesystem, it's probably using an emulated block device to hold its filesystem. If that emulated block device doesn't correctly honor write barrier requests from the Linux kernel, it could explain the corruption.