skysight-inc/HackerNews huggingface dataset:
> Erlang can kill a process, but does not have cancellation, which causes a process to be halted and throw a cancellation exception from the point at which it was halted so that clean up can be performed while unwinding.

Typically you implement the callback terminate/2 in a genserver. If the process is hopelessly locked, you don't get to do the cleanup you want. It's usually not a big deal, though, because your processes are usually "owner in name only" for any given contentious resource, and a well-designed interface to a contentious resource uses what erlang aptly calls "resources", that lets the VM itself manage cleanup when the owning process dies.

In the end, this leads to cleaner code, because you don't even have to worry about cleaning up (I almost never clean up tcp sockets, SSH connections, or file descriptors, because the VM does it for me and knows exactly when to do it). I am writing a native code interface, and the same can easily go from a non-erlang OS thread, by hooking in the correct "resource" adapters, I can have OS thread lifecycle well-managed by the already robust OTP system.

> Erlang does not have an assignment command, Erlang programs often use helper processes to temporarily hold state.

It actually kind of does. For the sorts of things you seem to be talking about, there is a process-bound k/v store that you can use to sneak some statefulness in. It's totally not talked about much because it's dangerous, especially for beginners, but it's useful when you know that the lifetime of your value is specifically bound to the lifetime of the process. In Elixir, this process k/v store is used, for example, to register in a side channel a "callers" and "ancestors" tree; when you're running tests, this lets you for example, run concurrent database tests transparently associated with the test process, that are also associated with a database transaction, so you can have concurrent database actions which are sandboxed to their own view of the universe. Some libraries even let you encode this into an http request so that your request can leave the VM, return back into the VM, and maintain its sandbox id and database association on the other side of the request. All of this is managed with about two lines of code provided out of the box in the gold standard database library.

Prof Hewitt: I don't think erlang is a "true actor system" but I think it's much easier to code without errors than you may think.
Wrong, wrong, wrong. This is another great misunderstanding of how any autopilot works or what it means.
I haven't used Goland but vscode is broken.
There's a homeless guy outside of the shopping center where I get most of my groceries. I think he's been conditioned to conform to our society's standards of what a "good" homeless person should be: he never stops people walking by, he never asks for straight-up cash, and he never asks for alcohol or other things that society feels homeless people don't "deserve" (like junk food). Of the dozen times I've asked if he needs anything, it's always been very sensible: some fresh fruit, body wash, or ten dollars to get a haircut (because he had a job interview).

It bums me the hell out that a year later after I first bumped into him, he's still homeless. As I said, he's basically the "model" of how we think homeless people should act when asking for help, and yet for all that, at best it's probably just kept him out of jail.
Anyone have a copy of this not behind a paywall?
This is a government using implicit, extra legal threats to silence it's critics. As opposed to mass pro-democracy, human rights moments to counter pro-regime propaganda. People used to be able to tell the difference. For example, that's why apartheid ended.
It seems the GP's point was that you can be drunk, unshowered, and yelling at home, and nobody cares. It's when you don't have a home that it is seen as an issue.
It's interesting that in the early days of Google Adsense it did cost 100x less to advertise, and publishers got 100x more. I'm not that good at math, but does that mean Google takes a 99.99% cut!? Or more likely they rigged the market in the beginning in order to gain publishers and advertisers, eg. they subsidized advertisers and over-compensated publishers. Making the market explode with advertisers and people looking to monetize web content...
> What’s in it for the Cloudflare & NextDNS?

I'm amazed noone else is asking this. CF's whole business model centres around the concept of denying website access to minorities they classify as "bots". Some big actors can afford to practice the notion of reciprocity by blocking access to Cloudflare in return — https://news.ycombinator.com/item?id=21155056 — try doing that now when you might end up blocking access to your site for all Firefox users.
These sorts of claims are hard to evaluate.

I've heard people claim to drive better drunk, and justify it with their perfect crash record. I remain fairly dubious.
I can't believe that this application has an Online Help ... book as well. ;)
Subnation and Xplayn Launch Gooseman20 2020 Intel Extreme Masters Katowice CS:Go
SUBNATION & Xplayn Launch Gooseman20 Merchandise Collection With ESL Shop

Subnation, a media and live experience platform celebrating the culture of gaming and lifestyle of esports, today announced a partnership with Xplayn and ESL Shop to drop a limited-edition apparel line that will pay homage to Counter-Strike™ creator and gaming visionary Minh ‘Gooseman’ Le. The exclusive Gooseman 20 Collection will be available at the IEM Masters Championship starting February 28, 2020. All on-site ESL Shops will carry the items in limited quantities.

“Esports has a rich history of recognizing its innovators and visionaries, said Seven Volpone, Co-Founder of Subnation. “So we launched this Collection to honor and celebrate the person who created a Half-Life™ mod that revolutionized competitive gaming as we know it. Gooseman is one reason why the stage and stands are filled to capacity at Katowice and other IEM and ESL global events.”

Drop 1 of the Collection includes two (2) t-shirts, a sweatshirt, hat, and mousepad, and was designed by world-renowned DC artist creator Bernard Chang (credits include Batman Beyond, Teen Titans and Wonder Woman). “We are honored to pay homage and bring to the spotlight the pioneers and founders of what we all enjoy doing today.” said Chang when asked about the collaboration.

"A product range that celebrates 20 years of esports history and the creator of Counter-Strike: A perfect match for us. We're honored to have the products launch exclusively at IEM Katowice with a special showcase on our 120m² walk-in store in the MCK expo hall, and further availability in our two other retail positions at the event. We're excited to hear what fans think" says David Hiltscher, Vice President Shop, Merchandise, Licensing in Shop & Merchandising at ESL.
Best Linux Distros for Developers
Go Team Go!
> for patrons
I trust my ISP but not American companies. They roll out only in America but obviously it's coming, and they use locale to detect it? My locale is set to en_US too, surely I'm not alone doing it because of translated software. Firefox has a small market in America anyway and America is not the world. We know big tech is in bed with your three letter agencies.
>All of the above with a ton of maybe. It all depends on factors that are not entirely settled and subject to change.

That's the part I object to frankly.

For a second I had a hope that there were actually guidelines that helped clarify it, but even with the 10%-20% rule, yet if one managed to write and publish an entire set of pages enumerating every semantically correct page, we'd again be in the same problem.

As the process of creation becomes more available to the everyman, I can see that copyright is going to be a thornier and thornier issue. Especially if smaller and smaller chunks are going to be deemed as an acceptable basis for infringement without taking into account that the commonality of those smaller chunks being allegedly infringed upon must have the quality of being arranged in reference to every other part of the composition as a whole as well to count as an infringement of you're even attempting to achieve a reasonable outcome of copyright. Which means that you couldn't claim infringement merely for the presence of a work in another, which I'm fairly certain copyright holders would find unsatisfying because it would sharply curtail the value proposition represented by going after people for purportedly "infringing" in hopes of garnering a settlement, which is what it seems has become the norm rather than the exception in IP circles nowadays.
Lol there is nothing simple about gopath.
Probably why AAA likes to make a point of how long you've been a member. People don't want to lose that 'status'
The PEP document describing the feature:
https://www.python.org/dev/peps/pep-0584/
> The virus will spread throughout the biosphere and become a standard part of the human virus paradigm, like the common cold or flu.

I think this will take a long long time. so far that hasn't happened with SARS and MERS. (we also don't have a vaccine for those 17 years later).
Commodities are goods whose properties are standardized and, frequently, graded by an authority. As you give examples of yourself, the real test is what happens long after the initial purchase. Figuring out that side of the bargain takes more than a few minutes getting a price quote.

Car insurance is definitely not like a given electronic item, which is made to the same standards by a single manufacturer. It it's like some nerd purchase, it's more like flash drives. In theory commodities, manufacturers have a complicated set of incentives and the actual quality of the product may be hard to determine without extensive use.

I'm not against people shopping around. If people want to invest the time, by all means do it. But I object to the notion it's as simple as getting a quote. Getting more options can in fact sometimes mean a bad thing if you switch from a proven-reliable product to something that is cheaper up front but worse later.
This is a great book. I also recommend Halmos "Finite Dimensional Vector Spaces". The typical way linear algebra is introduced does not present a matrix as a linear transformation first and foremost.
He's gonna be homeless, without family, with a 60 million judgement over his head. He's spent over a decade in prison. Justice has been served. If he gets out, he can start earning some money to pay his kids (who are the major living victims of his crime) that restitution AND he can do cutting edge computer science research that benefits the entire Linux community.

Sometimes justice needs to be more than just retributive.
I believe the biggest challenge has actually been to resist scope creep. Knowing where to stop, and push back when users would like us to add something that does not fit the scope, is sometimes difficult.

Scala.js was never a toy project. It was the focus of my PhD thesis, and even after I've had enough time to maintain it as part of my job.
It’s much worse than you think: https://news.ycombinator.com/item?id=22418005
Make different priorities of reading based on what your real-life priorities are. Some things you'd better read right this moment and some things when nothing better to do, if ever. Don't fear removing marginally useful articles from your reading list: no one can read everything.

To simplify this approach skim over articles you have without reading too deep and decide what seems important: better reads tend to attract attention.
This is an insane take on driving a car.

And you've very clearly never tried autopilot.

"Where milliseconds matter"? You are wildly overestimating the abilities of literally any driver. No one reacts that fast, in any situation.
Not totally agreeing with op, but I can understand a few differences: you don't complain the same way with a doctor and with a company. people tend to just switch. a brand like Walmart may be subject to a global scrutiny and raise the level globally.
If you're into natural history, search the 3D models. The in-browser viewer works great.

https://www.si.edu/object/3d/490b6301-3869-455a-ba71-a89f5b6...
For me personally it has always be the tribal thing - having a group that all subject themselves to an early rise helped quite a lot to power through days that I didn’t feel like it and made the good times a lot more memorable.

Have in mind that 6:00am is some other timezone’s 10am. It is possible to get accustomed to living in another timezone, so thats what you’ll generally be doing - getting through the “jet lag”. How do you do it normally? Well just attempt to get into the habits of the locals and you’ll get there. You just need to find “locals” in your desired “time zone” so to speak.
CDC tells Americans to brace for coronavirus
That is sad. It is similar to mental illness and a problem that we place blame on the person who is sick. We can easily solve homelessness but it requires political will. The issue is that it is a hard sell to say we should give free money to people who don't work when others in near poverty work two jobs just trying to make ends meet. We need to find more ways to distribute just a tiny bit of those with so much to those with almost nothing.
While this explanation is certainly much clearer than what I remember of high school maths, I still have a pretty tough time following the formula examples.

When I see A(x) = ax, I'm not entirely sure how to read it.

Is A meant to be a function that accepts x? If so, why is the equivalent expression a * x? Is it supposed to be implied that function A also has some hidden value "a" that is going to be multiplied by the supplied value? Is this notation specific to multiplication, to this expression, or what?

Positing that something is 'intuitive' when it depends so much on additional contextual knowledge seems ever so slightly disingenuous as best, and slightly harmful at worst; it can make the reader feel as though they must be dumb for not understanding this 'intuitive' material.

I do acknowledge that this is linear algebra, and if one doesn't have a really solid grasp of notation of regular algebra it is likely to go over their heads, but the practical explanations (such as the slope rise/run example) are quite clear and relatively simple to follow; it follows that a simple explanation of the notation might be helpful too.
I can't speak for GoLand but VSCode is totally borked. It is improving but we regressed a ton after Go modules were released.
"CC0 only applies to copyright so you may still need someone else’s permission to use a CC0-designated digital asset."

So, not actually "public domain," but about as close as we get in 2020.
CC0 license on assets, which is pretty great.
So what were they doing, diagnosing and then saying there was no point in getting a second opinion?
> Some Erlang programs are needlessly complicated due to the language's (colloquial!) actor semantics.

Maybe you're referring to junior-to-BEAM programmers reaching to prove they can use gen_servers everywhere?

There are also obscure corners of OTP that are a bit of a mess, but I'd say that's because it's inherited a lot of C-style folkways and doesn't have hierarchical module aliasing in the same way that say Elixir has. And there's a substantial amount of using modules-like-factories that got picked up in certain corners of the ecosystem, probably from Java habits, but I don't see that as much in Elixir, which suggests that it's not the actor semantics so much as, just outdated programming trends that have accumulated in the erlang ecosystem by virtue of it being older, and a "less popular" language that other people try to shove their round pegs into (arguably elixir is the latest iteration of that but they seem to have made some really good choices, at least in my opinion).
If people who have never tried autopilot refute the claims of those that have with pithy aphorisms, I remain unconvinced.
Air Travelers Can’t See All of It, but More Tech Is Moving Them Along
"Releasing to the public domain" isn't something that can affirmatively be done. The best you can do, which Smithsonian did, is CCO

https://creativecommons.org/publicdomain/zero/1.0/

Thanks to Creative Commons team for teaching the government how to do its job .
Thank goodness I'm not talking about abolishing hierarchies, then.
Sign stealing is part of the game... if you’re a runner on 2nd. They were using cameras in center field, no?
Yes, if "market" is a fundamental axiom of one's worldview -- But since that sexual reproduction is older and more widespread than trade, one could also say that markets are a form of courtship
How Saint George’s Dragon Got Its Wings
OctoSQL looks very nice and I’ll check it out soon. Do you have Scala bindings for it?
I think that when you do a thing to make money, and it has consequences, you are tacitly saying that you approve of the consequences.

The problem is this logic is too simplistic and leads to purity spirals. If I sell food to someone who I know is a nazi, am I tacitly approving of the consequences of their actions?
EEPROMs are non-volatile. They don't need power to keep their data. AFAIK removing the battery just resets the real time clock.
I agree, but applying this isn't always easy: When discussing meta and strategy, it's usually discussed in the context of high level esport play. But the optimal strategy often drastically changes with skill level. For example in a shooter when everyone has bad aim and bad teamwork/communication you need a different strategy then in high level esport in the same game where everyone is great at aiming and lives in the same flat as his teammates.
How is it censorship?, they're not stopping you publishing anything, they're just not helping you do it.
Yeah, super-irritating. I bought about a dozen movies through Google Play before I realized that their platform was going to fail.
Presumably enraged about the precipitous stock price decline that this would inevitably entail.
I wish this was a reality here in BC, Canada, unfortunately our required basic car insurance provider is a crown corporation. So instead of competition we get to pay the highest rates in Canada, incur annual increases despite ZERO claims and finally, watch growing debt because of an inherently flawed insurance model. Good thing we have oceans and mountains..
> I always thought the only way forward with IoT was if it a big tech player offered an SDK / IoT platform

Yes, well hopefully not _a_ provider who will lock their customers into a proprietary platform. Hopefully many providers so manufacturers have options to choose from. Even better would be if there is an open standard, and then providers can compete on providing a better implementation.
At least this one is short and easy to read.
The adversary in this work never sees non-reconstructed images, so it looks like it's completely unrelated to SRGAN.
There's also an argument that a some areas just don't really HAVE a pro league, so focusing on not making mistakes is plenty... This can be the case if a) everyone is a beginner, because the field is new, and/or the fundamentals aren't cleanly understood, or b) no one really cares enough to become a pro (perhaps because it's an area that isn't rewarded by available incentive structures).
Just to add a bit, don't forget supplies for pets too.
VScode:

* Function renames
* Function references across packages
* imports on save

Some of this can be fixed by restarting gopls (experimental) ever 20m: https://github.com/Microsoft/vscode-go/wiki/Go-modules-suppo...
Ah, I get it - it’s an uber ORM!
Yes, because there's always another option.

I'd switch to an ISP that promised they'd take no money from Nazis
Do you treat "essential oils cured my cancer and depression" claims with similar credulity?
That matches my adhoc observations. And, man are those 10% annoying...

I obviously don't have any data, but I think this behavior is strongly correlated with IQ.
Coronavirus: Iran's deputy health minister tests positive as outbreak worsens
We need something like this, but in a vendor neutral, open source package. Device makers are wary of vendor lock-in.

That said, this is solving a lot of real-world problems, and I'm glad to see them moving this forward.
I learned a fairly valuable lesson from a local homeless guy I'd seen for years one day. He always hung out a few blocks up the road from where I lived, walked with a fairly extreme limp and always seemed like he had some pretty bad health problems. Was a pretty nice dude, never hassled anybody or anything.

Then one day I was up the road near where he hangs out, I watched him limp and stumble down to the end of the block, someone was even nice enough to give him a hand as he stumbled, then he got down to the crosswalk and started limping across the street, hit about halfway across, then straightened up, put on a big grin and strided triumphantly the rest of the way across, met up with his buddy i'd seen him with sometimes who hung out across the street, high five and disappear around the corner together. He still hangs out there begging, pretending to be crippled as far as I know.

Some people don't want to stop being 'homeless', for them it makes a pretty.good career
Holding a Key Down with W3C WebdriverIO
Not sure what the specifics of the accident were, but car seats are rarely damaged unless the accident is major, which may very easily total the car. If the car wasn't totaled, which certainly sounds like the case, then it seems unusual to have an accident serious enough to damage the seats. Unusual, but not impossible. Maybe that's the reason for the denial.

I personally had no issues when one of their insured drivers hit my car. I waited for the police report, which clearly stated the other driver was at fault, and I was promptly paid by them for the damage to my vehicle. I didn't have to file anything through my insurance and they were very easy going about the whole thing.
Show HN: Embeddable badges for Hacker News posts/launches with number of upvotes
This should be the only post in the thread. I've been "homeles" as both a child and an adult and it's impossible for a "normal" person to stay homeless. The only people who stay homeless do so because of mental illness, typically brought on by drug abuse. If you want to solve homelessness it has nothing to do with affordable/free housing and everything to do with healthcare and restorative justice.
I don't think that means anything like "for people who have physically visited the Smithsonian" or "for people who pay us some sort of subscription"; if you use their website then you're a patron in the relevant sense.

Their webpage says "Welcome to Smithsonian Open Access, where you can download, share, and reuse millions of the Smithsonian’s images—right now, without asking." And everything's CC0-licensed.
The amusing part is, I can say with some amount of confidence that the Astros still would have done this if HRC has won. How the sitting president has any bearing on this is beyond me.

Was deflate gate somehow a reflection on Obama?