skysight-inc/HackerNews huggingface dataset:
I'm definitely interested in WSL for developing, but last time I tried it a while back (WSL2 just came out I think), there was basic functionality missing e.g. I couldn't write and run my own SystemD services. Has the situation improved since then?

When you say "proper Linux distribution", I assume that's still CLI only? Do you develop with e.g. emacs, vim on WSL, or do you have some IDE with remote running and debugging into WSL? Or have a missed a trick and in fact X/Wayland applications can be run on WSL?
> the Netherlands wants to allow childhood euthanasia soon

Doctors in the Netherlands want this simply as a better alternative to palliative sedation, which is already legal in NL and many other countries in the world.

Some children are terminally ill, and they are palliatively sedated when the parents and doctors agree that this is the best thing to do. The difference between palliative sedation and euthanasia in these cases is small, in the opinion of many Dutch people and doctors. Some quotes from a report[0] from the Dutch Association for Pediatrics, to give you an idea of what kind of cases we're talking about:

> 'Well, yeah, he had a period during which he was screaming from pain: "Help me, just help me!" That was truly horrible to see, that someone is really hitting his own head while begging for help. That went on for three days. Every time I called for a nurse and they could only increase his medicine further. And at one point a nurse came and said bluntly: "yes madam, your child has a brain tumour. Of course he is in pain". Well, I thought: "okay I guess"'.

> 'He didn't want to be sedated, because he said: "then I can no longer say whether I am in pain" [...] So we postponed that, but in the end he needed so much medicine that we asked him "do you want a little sleep medicine now?", and by then he wanted it". Child, 4 years old'

[0] http://download.omroep.nl/nos/docs/280919_euthanasie.pdf
I'm the opposite, I've come me to rely on auto completion so much I cannot spell English. I've had to toggle it off.
Who is talking about the US hospital system?

Today, hospitals in France at 83% capacity, in the region around Paris at 104%. During the first wave, the situation in Italy was so bad doctors had to choose who had a higher chance of survival and only admit them, and leave others to die on the streets.

I cannot believe there are still people in an alternative reality.

https://www.worldometers.info/coronavirus/?utm_campaign=home...?

Here are some numbers. Do check when was the last time a "flu" killed ( confirmed) 2.7m people. Not to mention it's still ongoing, mutating, and new variants are more easy to spread and heavier, especially among younger (<50 years) people. Please educate yourself and stop spewing nonsense that was debunked a month in the pandemic.
Well, since most of Le Carre's books play in a very dark setting, with strong reality connections - I also cannot really "enjoy" them, as in something to lift the mood.

I've read many books of him, but I actually cannot remember one, that was "bright" or uplifting. Usually it ends with death and despair and I think one of the main topic is exactly, how people still try to be decent humans in a cruel world - and how they mostly fail to do so all in all, either because they get shot, or because they play along. It is also mainly about choosing sides. When both sides are clearly not nice, but one is even worse (the cold war setting - british small empire vs sowjet russia)
I don't think your comment implies what you think it implies.

The wasted energy there is taking about inefficiencies in electronics and motors in general.

Mining BTC is not 100% efficient either. If it was, the mining hardware wouldn't get hot, and it does get hot.

So mining operations are producing a ton of waste heat as well.
I volunteer you for the challenge.
Write tasks not user stories
Doesn’t matter who he is, if he’s mad that libraries made for and by web and network developers are using a concurrency model that works well for their applications, he should use different libraries.
>Now we have to deal with examining and getting approval

Your legal department's inability to keep up to date is not the fault of the open source community.

Corporate legal departments were exactly as useless, intransigent and belligerent when open source was first introduced.

Their tendency towards evil or laziness is not an excuse for anything.

>yeah, that is a problem

With your legal department. THEY need to change. JUST as they were dragged kicking and screaming into the age of open source.

>The original spirit of open source was scratching an itch and sharing your code

No it wasn't. It was about freedom of speech and freedom to do with as you will with what you have on your computer.

It's amazing the number of people I've come across today that misunderstood both the legality and the spirit of open source in a way that Google or Amazon would strongly approve of.
Most problems seem pretty simple until one actively tries to solve them.

One thing that _is_ actually simple is simply criticizing.

I would argue that a lot more good has been done by individuals that decided to "do something about it" that big government initiatives.
> Does using a physical fisheye lens that warps in different way than the eye actually sees the same using a computer-generated fisheye effect on a source image?

I can’t parse this for some reason, could you rephrase?

> Or any other sort of analog filter/lens that changes the picture for that matter

The glass on the camera affects the shape of the 2D slice of the 3D world captured by the camera and can attenuate light of different frequencies; technically the better you know which equipment was used, the stronger the element of objectivity to raw data captured by camera sensor.

Addendum: I take back most of my original comment. Adobe’s super resolution tool operates at the demosaicing stage, so image data it produces is no longer strictly scene-referred (it can’t be both demosaiced and scene-referred). The actual sensor capture is still scene-referred.

(I think we’ll see tools that take scene-referred data and output scene-referred data eventually though.)
Since a lot of use of docker on a desktop machine has no requirement for data resiliency (web dev work where all containers can easily be wiped and rebuilt), it would be good to have a flag for "no flush" which just ignores all flush requests.
Usually, security researchers communicate exploits to the companies that build platforms before publishing so they get a chance to plug the holes. Of course it happens that those companies just don't react but with such a high-profile zoo of exploits, their security guys would be scrambling.
Did you just compare yourself with Terry Tao? Or are you comparing Glenn Greenwald—a Pulitzer prize-winning journalist and one who helped Snowden tell his story—with crackpots who send Tao their papers?
> There's a reason MIT uses Python for its intro courses now, after all.

Yes, and IIRC, that reasons were, roughly: a) Python is more popular, b) Python has better robotics libraries, which is what kids coming to MIT care about these days. Notably, I don't recall the reasons they given having anything to do with giving students a good fundamental understanding.
Ask HN: What can a teen do to significantly improve their future?
> do you immediately start coding? What is the morning ritual?

I wake up, get dressed in the dark, and go downstairs where I immediately start coding. I leave all the lights off and focus solely on my task at hand, and I typically use a todo list in bear.app to know immediately what to work on.

Breakfast comes at 6:30am when house wakes up. Since I'm WFH for day job I can shower do morning routine before work, which usually starts around 8am.

edit: typo
There is no reason for Docker when all OS just have native containers support.

Indeed. On Fedora Docker has already been replaced by rootless Podman containers, which are great for development. I wouldn't be surprised if Podman will take over on Linux workstations pretty quickly.
So Clubhouse is already facing another competitor who has instantly copied its features and is already on Android devices whilst serving 400M users?

The VCs seem to have to try harder at hyping Clubhouse now since their little darling project is now getting squeezed.
There's a great deal of cases where Apple went out of their way to help out 3rd parties with compatibility, including quite a few cases with the M1 Macs themselves. Is your comment based on anything or just typical HN "Apple = evil"?
When the hash rates are at 1 per month, I don't think we will have enough hashing power, probabilistically, to match 10 minute marks. Verification of the hash to validate and consent to the block will also be at 1 per month, for consideration.
Of course the article is about someone who does take care of others instead of waiting for the government to do it. Hopefully there will be more people like that in the future.
It also has a fair share of problems.
Like multiple users on the same machine, I had issues with permissions, etc
Is there a way to manually save and load specific save games in the web version?

If not, was this a gamedesign choice, or a technical one?
Because in the standalone desktop one, it works and I want that.

edit: ok, never mind. I can load specific games at start. But just save once per turn.
So that would work, if it would load properly.
CryptoFighters NFT: Collect train and battle
Who is Mr. Greenwald[0]

> Greenwald, a former lawyer who, in 2013, was one of the reporters for a Pulitzer Prize-winning series in the Guardian on Edward Snowden’s disclosures about the National Security Agency, is a longtime critic, from the left, of centrist and liberal policymakers and pundits. During the past two years, he has further exiled himself from the mainstream American left by responding with skepticism and disdain to reports of Russian government interference in the 2016 Presidential election. On Twitter, where he has nearly a million followers, and at the Intercept, the news Web site that he co-founded five years ago, and as a frequent guest on “Democracy Now!,” the daily progressive radio and TV broadcast, Greenwald has argued that the available evidence concerning Russian activity has indicated nothing especially untoward;...

> ... Greenwald has tried to cut back on social media. “My No. 1 therapeutic goal is to reduce my Twitter usage,” he said...

[0] https://www.newyorker.com/magazine/2018/09/03/glenn-greenwal...
WTO dispute settlement body meets over S/Korea complain against US anti-dumping
I think this was a great article, but the focus on the release cycle was probably not hitting the target as that is not on the primary feedback loop for rust development.

That said, it is natural that any successful product goes through the explore, expand, exploit phases (see Kent Beck). And this is perhaps a sign that Rust is approaching the exploit phase, where changes should be slower and focus shifted to reducing overhead.

Perhaps a future Rust edition (next after 2018), will have a list of features removed as it's main selling point?

Still I agree with (out) boats. Rust should complete it's main concepts first. Then we can tidy our room. Promise?
Flash needs to come back.

I always associate Flash with security issues and massive resource utilization. While it made some thing easier to implement on a page, the "applet" concept of embedded things like Flash and Java also seems antiquated right now.

Not really of a fan of resurrecting Flash.
It can be off-site if you have a friend with Internet where you can stash that disk attached to a raspberry pi. Quite a few people do that and it means you're storing terabytes not at the steep $300/year but at $30/year for every terabyte. I can eat healthily for a month from that difference, that's worth a few minutes of effort setting up port forwarding and installing zfs if that's your thing (personally I'd leave it plain ext4 and dump something encrypted like Restic on it, taking all of 5 minutes to setup from downloading the OS to Pi Reporting for Duty).

Calculation: pi 40eur, 1TB external disk 50eur, typical lifespan of a disk 5 years (when excluding including infant mortality which falls under the mandatory 2-year warranty for new electronics), ~8W power draw is ~€15/year. Let's say you also need to replace the pi after 5 years just for good measure. That's 15+(90/5)=€33/year for 1TB, which gets cheaper per terabyte with bigger or multiple drives.
How about Lisp? It is memory-safe and has fearless concurrency and you have not told anything about garbage collector. Long time ago it has been used for system programming (Lisp machines).

PS. I was expecting a link to a website but it is just "Ask HN" topic.
something else too look forward to if you live next to a data center: https://netherlandsnewslive.com/data-centers-in-north-hollan...
Without any other context, the best I can tell you is this: Do not take on debt, and never use tobacco.
> I, too, have signed up for a few newsletter subscriptions——just in the last few months——that I never seem to read.

Me to. I wonder why that is, though. Is it the fact that I have little time? Is it my email client's user interface where an entire folder of unread newsletter emails always looks particularly intimidating? Or maybe I'm just associating unread emails with yet-to-do tasks and, thus, with stress?

I think, (for me) it might be the latter two points. I mean, I listen to podcasts on Spotify, too, and am able to make time for them. But with the Spotify UI I never get the feeling that I have to listen to each podcast or that I have unfinished business to take care of. I can listen to a couple podcasts in a row and then not touch that podcast for a couple months and Spotify won't nag me about it.
This is a mix of: Instagram (you can publish your photos), Tinder (swipe, like or dislike publications) and ChatRoulette to just chat with random strangers
From a sysadmin/config management side of things, and since I "dabble" with networking, I've always been rather jealous of the network appliances. All the serious network devices had a single configuration file. Often the lines in the config file were equivalent to shell commands. For any network device, you could put the list of all the commands in notepad, as a script. But, if you exported the config file, it would look like a nicer version of your "script".

With config management, be it puppet, chef, salt, ansible, you start to approach that. Except these only manage the resources you define. If your config management manages apache resources, and someone wandered in and installed nginx that's out of scope. If you've got a list of machine-local usernames that you want to exist, you might not thinking about ensuring that other usernames are absent.

With kubernetes, it gets a bit closer. Let me preface that standing and running your own kubernetes cluster is a separate level of complexity, but once you have a k8s cluster, you can dump out a list of all resources (namespaces, pods, volumeclaims, ingress controllers, services...), modify that resulting file and apply it. Most people work in chunks, having a yaml file for each set of associated resources, or template those into a helm chart. With that, you can put all associated resources into a release, which you can delete and recreate as you desire.

There's still lots of gotchas, especially around persistence. It's not uncommon to find an orphaned volume claim that prevents your release upgrade from continuing until you dig in with 3 coworkers watching you as you try to remember if it's safe to delete that or not.
I don't believe that means the power plant or company is throwing energy away, it means how much is lost to inefficient devices or processes, including at the end user. So the more efficient LED lights throw away less energy than the older incandescent bulbs, since we know we can literally feel the heat radiate off those. And since the heat isn't the intended function of that bulb, light is, that heat is just wasted energy.

Since those Bitcoin blockchain calculations are pretty intense, they make your processor work hard. In doing so there is extra energy that literally gets wasted bc it heats up the processor, and again just like the bulb heat isn't the intended function so that heat byproduct is just wasted energy.
Flip side is when you sleep like a rock, because you can’t get started. My project stalled for the winter months. Now I’ve forsaken television (in favor of a book) just so I can get a 30 minutes to two hours of code time.
I exercise 5 days a week for 30 minutes right after my day job ends. I'm WFH so and have weights and stationary bike in my office, so it's easy to jump onto.
I second that. On my M1 MacBook Pro, I have both the M1 version and Intel versions installed. I have found that if I use the Intel installation to install something like MIT-Scheme in a terminal running Rosetta, the it is available everywhere. It took me a little while to get that sorted out.
Living the ‘Dream,’ on Your Laptop or Phone
Homelessness and home insecurity is especially pernicious, as it ties into many other issues - income inequality, zoning and city policy, mental health.

That’s why it’s much easier to sit behind a keyboard and make snide remarks about people who actually act.
It's been argued that the recommended way it works is a security issue:

https://applehelpwriter.com/2018/03/21/how-homebrew-invites-...

https://askubuntu.com/questions/261326/is-it-safe-to-chown-u...
I need at least the one time payment option. Having subscription would be absolutely terrific.

I've tried bunch of shitty local service providers last time. Awful experience, takes months to get approved.

I can't use Gumroad. They offer bank transfers only for US. The rest of the world suppose to use Paypal. And Ukraine is that part of the "rest of the world" that doesn't allow to accept payments from Paypal.
>Curious on how Docker runs on M1, it's well known for being an horrendously slow piece of software on Apple computers, draining battery life like crazy.

No, it's not. Perhaps that's an old wives tale from the era (2-3 years ago) when it had bad fs performance and didn't use the native hypervisor directly?
Well, a few seconds for package search in a local index is slow. It's instantaneous with apt on my 3 year old Linux desktop, where here is the famous M1 advantage? :)

Installing anything with brew involving multiple dependencies is also taking forever-ish, compared to mere seconds with apt.
Rejected energy is not thrown away energy. It is a result of the fact that our technologies do not have an efficiency degree of 100%.

Bitcoin Mining uses 120 TWh/year[1] which is way to much imo. The problem is that bitcoin uses the Hashcash proof of work system[2].
But there are mechanisms like proof of stake which can solve this problem.[3] Its about time to convert all blockchains to energy-saving mechanisms..

[1]https://www.forbes.com/sites/lawrencewintermeyer/2021/03/10/...

[2]https://en.bitcoin.it/wiki/Proof_of_work

[3]https://coincentral.com/could-proof-of-stake-mend-bitcoins-e...
How are Some and Ok nonsense housekeeping? These things are fundamental parts of your program’s logic. Without them you are playing Russian roulette with runtime errors
It’s been a little while since I relied on it heavily, but you still can’t install/pin specific versions, right? That’s a huge limitation if you want to do any reliable development on macOS directly without using a vm or docker.

It’s also just so slow to update if it’s been more than like an hour since you last updated, the way it uses one big git repo under the hood is just chaos.
Any observable behavior will be depended upon. A breaking change is a breaking change no matter what.

Of course it's good that they fixed the UB.
This guy wants to write an implant in Rust, but he forgets that Rust is like C, and its very easy RE.

Oh, I do remember we had cool kidz writing implants in Go, C#

What a failure! That's why the NSA and GRU selected Modern C++!

He selected the wrong tool for the job. Take a look at Flawedgrace, it is written in modern C ++ and very complex to RE. It uses OOP heavily.

Rust is a subset of modern C ++

The Rust people have mastered Alexander Stepanov's vision for C ++

Have a look at Alexander Stepanov's Elements of Programming.

This post just a hidden marketing for his "Blackhat" book.

C++ didn't make any mistakes. The language didn't but the developers did.

It's pity that people portray C++ as dead and horrible lang.

The ecosystem of programming languages has become more like the Ponzi Crypto industry, where every night you get shiny cryptocurrency and then charge for consultations and speaking.
No more swiss piss? Thanks china!
OTOH, your newsletters cannot be found through $FAVORITE_SEARCH_ENGINE, are not archived through the Internet Archive, they cannot be linked to, …

I don't know, as a reader I like blog posts a lot more.
Doesn't always work, but try using the Wayback Machine for the titles.
This seems bizarre for the NYT to complain about after the Scott Alexander thing.
Construct an Undo Tree from a Linear Undo History
If musk want to do good, let him produce solar panel based doge mining rigs. ©
We already have some home-grown kubernetes dev environment in which every developer/QA can spin up all of our services in a dedicated namespace, but it's a bit tedious and spaghetti-code as it grew organically over time (from a 15 devs team to a +70 one). Garden looks like a nice alternative solution, do you think Garden Core is enough to get started? (we like to get our hands dirty)
It's not full-on systemd, but you can run init scripts on WSL startup as of Insider Build 21286.

https://blogs.windows.com/windows-insider/2021/01/06/announc...
How will Switzerland counter this change of events
The MSM owners want that, but the actual staff and journalists are mainly trying to not get their career cancelled.

Same in Hollywood. Studio owners care about profits, but everybody working in the industry is trying to stay employable.

(It's rumored that if you complain about wokeness in your private school in LA, they'll put you on a "racist blacklist" at other area schools. So this is affecting even parents now.)
Enhance! Zoom! Still won't arrest the crook, that's racist.
>When you say "proper Linux distribution", I assume that's still CLI only? Do you develop with e.g. emacs, vim on WSL, or do you have some IDE with remote running and debugging into WSL?

VScode directly connects to WSL. You can open folders/files with 'code <folder>' from the WSL terminal, save, run whatever from VScode etc.

As for Docker, you can also use the GUI from within Windows that automatically connects to WSL but admittedly I almost never use the GUI.
What people like you don't get is that 90+% of the roads are open for all kinds of traffic.

Do you have the same problems when you need to stay behind a digger or horse drawn carriages? All of this is traffic in the sense of getting from A to point B and are totally valid to use the streets payed by their tax dollars.

But you don't see people complaining about such traffic. It's always only the cycling specific traffic that is the "wrong vehicle for the road".

And it would also be the very same people who would complain about a cycle path beside the road as it's a waste of tax dollars in their mind if it's not used by thousands of cyclists a day.

I don't get it. If you just hate people that power their transportation themselves say it, but don't use such excuses.
If the desideratum is "I want a decently fast language that compiles to standalone binaries", which would be normal for CLI tools, then they certainly are in the running against each other. Having a runtime or a GC isn't that important of a consideration for most software I would think.
Nevada smart city: A millionaire’s plan to create a local government