skysight-inc/HackerNews huggingface dataset:
I'm not surprised that wasn't easy to find. All BEAM processes have their own heap, stack, process dictionary, as well as links and monitors and the message queue etc, including a list of owned ports; when a process dies, BEAM goes through all of that to clean things up.

Many BEAM terms [1] are easy to cleanup; you don't have to do anything special to get rid of a number, or an atom, or a tuple or a list. Some binaries are heap binaries, they're stored in the process's own heap, so they're easy; other binaries are RefC (short for reference counted) binaries, a ProcBin is stored in the process's memory that references a binary in the global (per node) binary heap; when those are cleaned up, the global binary's reference count needs to be decremented and if it's now zero, it needs to be cleaned up too.

Ports are how file descriptors are generally interfaced with. I haven't done much with port drivers, but documentation for the port driver stop callback [2] says it will be called when the port is closed explicitly or if the port owner is terminated.

Another way to interface with things outside of BEAM is through NIF resources [3], a Native Implemented Function can call enif_alloc_resource to allocate memory and pass the resource back to BEAM code where it can be used as with any other term. When the last reference to a NIF resource is garbage collected (which could be at process termination, or otherwise), its destructor is called, and external resources can be cleaned up at that point. NIF resources aren't strictly owned by one process, if you send to a process on the local node, the underlying object won't be destructed until it has been garbage collected from all processes. Prior to OTP-20.0, NIF resources sent to another node or otherwise serialized would be indistinguishable from an empty binary <<>>, but since that release, serialized NIF resources can be unserialized into a reference to the same resource, but only if it hasn't been destructed already.

If you wanted to build your own cleanup action in pure BEAM code, you would need to spawn_monitor (or spawn_link, perhaps) a new process, which would trap errors and cleanup if the original process died or you otherwise got a cleanup message. Of course, if the code in that process crashed, you wouldn't get your cleanup. OTOH, if the code in your port driver or NIF crashes, that will bring down the whole BEAM node.

Unfortunately, with a quick look, I can't find an example of handling your very real, and reasonably simple use case of a temporary file, automatically deleted on process exit, but it wouldn't be too difficult to build. Of course, there's the question of what to do if the open fails, or the delete fails --- which comes back to the original topic ;)

[1] https://www.erlang.org/doc/reference_manual/data_types.html
[2] https://www.erlang.org/doc/man/driver_entry.html#stop
[3] https://www.erlang.org/doc/man/erl_nif.html#resource_objects
There are regulations but badly designed (maybe intentionally). For an analogy to the Korean case, here the dev corps and trust corps and the government entities overseeing them are more often or not in collusion together.
Setting `CHANGELOG.md merge=union` in .gitattributes mostly eliminates spurious merges conflicts on the changelog.
Caveat, I plan to get a universal vaccine as soon as I’m able to.

However, I will state I don’t believe the entirety of people not getting vaccines can be on fearmongering and ignorance. It is true that there has been contradictory public statements in a way that eroded trust in future statements, for example I remember there was plenty of positioning early on that vaccines provide immunity to disease in general and not just to severe disease. Of course this was prior to evidence of waning antibodies and virus escaping immunity, but now that those are well documented it makes having trusted the vaccines to provide complete immunity to seem foolish.
So what's your plan then for groceries to magically appear in someone's house without driving or delivery?

And if you say walk or bike or bus you clearly have very different shopping than I do - let me see you carry 2 cases of 15 bottles of seltzer, and a cart full of groceries on any of those.
And they have an API so I made my own weather page, docs:
https://www.weather.gov/documentation/services-web-api
I had it, before a vaccine was available, and it was a nothing burger, like it was for most 30-somethings. If you already have natural immunity, or 1-2 doses of the vaccine, there’s no point worry about it.
Sorry I probably should have been more clear, I didn't mean what's the difference between different kinds of drone weapon technology.

The person I was responding to seemed to be saying they were ok with it in the US's hands but not China's, which does not seem consistent to me at all.
That I'd very interesting. Is ther data on how much C02 is consumed by lettece?
People don't get them due to efficacy. People know the makers plan in advance and try to predict the strain that will hit and their prognostication is understandably sub-par.
This is so creative! I'm trying to figure out how it works! It relies on the resize property and css grid. I don't quite understand why the gears spin in the grid when the rope resizes it though. This is wildly impressive!

Edit: The gear is a sprite sheet! Brilliant!
If such a hypothetical bot really can pass as human what would you suggest the defense be? People are quite capable of pushing agendas themselves.
Does this work with a touchscreen? I’m on mobile and don’t see anything happening.

(I pulled the rope.)
Show HN: I built a walkthrough of Redis's source code
Never looking at git history is like, not reading comments or something. It's an incredibly valuable resource for understanding why the existing code is the way it is.
I don't think anyone is expecting the paint to stick to the rolling surface of the rail for very long, but that (on a track with regular usage) gets polished by the passing trains, so it's reflective anyway...
Right.

Did they not?

I mean, I'm pretty sure that before we had vaccines, we had much higher hospitalization and mortality rates, and now we have partial vaccine coverage, things are quite a lot better.

Is it your position that vaccines shouldn't have been offered?
And this was mostly true from the original strain back in early 2021. The vaccine reduced the ability to contract and spread the virus dramatically. The chances of contracting and spreading the original strain, if you were fully vaccinated, was close enough to zero to say it basically wasn't happening.

Delta obviously changed that, and omicron has changed it much more.
Have you guys looked into COVID-19 Vaccine Claims Scheme? https://www.health.gov.au/initiatives-and-programs/covid-19-...

Basically, you’re entitled for compensation if you’re in Australia and was forced to get a COVID-19 vaccine and had moderate to severe vaccine-related adverse events.
Yes and no.

Lots of people had workflows using non-graphical or non-windows based DOS software. Windows was one of many GUIs. A lot of early Windows software wasn't as fully featured as the DOS version, and DOS was in many cases faster. It was pretty clear after a few hours with GUI software that it was the future, but early Windows 1, and 2 for a lot of users, the answer was not now.
Interesting. I found OPPO and vivo's official response for a question. It seems that it
should be distinguished for statistics, though they share origin and founders. https://zhidao.baidu.com/question/557027909615399132.html https://zhidao.baidu.com/question/1606300474779701827.html
It was extremely effective against preventing infection (and transmission). The press release you posted said as much. But everything I heard at the time was that it was 100% effective at preventing severe infections (including hospitalizations and death), and that you were much, much less likely to have symptoms at all should you contract it.
An example: https://i.imgur.com/FtwnUTk.mp4
Please do not use tone arguments to dismiss someone responding to dangerous vaccine misinformation, especially when I was not "rude."

This entire thread is crawling with anti-vaccination rhetoric and misinformation.
Sounds like you made a choice, a poor one. We are also "forced" to wear seatbelts in cars and not drink-drive. For some reason I don't hear those things described as "no freedom of choice" or the ludicrous "gun wrapped in a blanket". Drink-driving is the closer analogy of the two, as the harm extends to other people, as in vaccine refusal. Can you imagine hearing the drink-driving laws described as "a gun wrapped in a blanket"?! It would be ludicrous because the death is on the other side of the equation - deaths are being prevented. How is vaccine refusal different?
No, you see, I get that you are an example of a person who doesn't trust the vaccines.

But that doesn't explain why you don't trust them.

You're using the fact that you believed a lot of anti-vaccine arguments as support for why you... chose to believe a lot of anti-vaccine arguments.
look at the taco burp game. There’s a scope there, hence ya need numbers.
How is this better than looking at my phone (which shows me up-to-date flight info right on my lock screen)? Sure the big screen can be a more passive experience, but it’s also spatially limited. I can look at my phone regardless where I am in the terminal.
What does this have to do with anything? The CDC said we need to take the vaccine. That's all you need to know. If you need to take it then obviously kids need to take it too.
I dunno, I'm under the impression that v4 already sucks, just that the pain is felt on the other end - users who are IP-banned because their ISP does Carrier-grade NAT, cellphone users who randomly cycle through banned IPs as their phone changes addresses, that kind of thing.
It’s not the same logic. You’re comparing traditional vaccines deployed for decades before being mandatory to literally the first mRNA vaccine in wide use that was developed just a year ago during a pandemic.
These are not mutually exclusive, reducing car dependency requires massive investment in public transit.
That was exactly the same argument made against freeing slaves - the economy and farms using them would collapse!
I doubt most "home" level servers could unless they were serving up nothing but a short text file.
Modern AI can barely drive a car under ideal conditions without crashing. The ocean is full of sounds. AI is decades away (still, and I've said this now for decades) from figuring out what it is hearing.
Incorrect; according to Wikipedia, Corbevax just includes the receptor binding domain of the spike protein. It doesn't include other parts of the virus - were you confused by the adjuvants?

Anyway, you might be interested in Novavax if you're looking for a nice, classic covid vaccine. It's not any more effective than the mRNA vaccines, but it's FDA-approved.
Why are you searching a year or more back? Is this using git blame?
> We find the bug in appsignal, build another arity match and go on with our day.

Failing (as crashing is now termed ;) immediately when the data didn't match the pattern is exactly the let it fail approach. If the data doesn't meet the expectations, there's nothing to do but crash. Maybe you've got a nice supervision tree, maybe not, but crashing immediately where things didn't match expectations usually gives you the right place to start looking; maybe it was some reasonable data, so you just handle it. Maybe it is unreasonable, so you need to look at where it came from, but usually (not always, of course) you just got the data and are pattern matching it, so you know where it came from too.
GNU's notion of a changelog predates the widespread use of source control, and is indeed there to cover which is now covered by git history. It's not what anyone using modern software development approaches means by a changelog.
Isn't this glorifying the abuse? If I were a troll I would strive to make this list.
if you are right and this is a 2008 style real estate bust in China, I wonder if there will be global contagion.
> Half the country demonized the other half of the country

And also demonized Australia - "fascist"! "authoritarian"! - for being 6 months behind in COVID and still giving a shit when the USA already didn't. For us in Australia, early 2020 was 6 months of the USA looking like a disaster movie while almost noone had it here.
Remember Delta wasn't even around until late summer. Biden's speech was barely an exaggeration at the time when we were dealing with the original strain. Was it 100% effective at preventing all infection entirely? No. It was 100% effective in preventing severe symptoms, hospitalization, and death, and was 95% effective in preventing symptoms entirely. 95% reduction in infection and 100% reduction in death is close enough to round up for a non-technical speech.
In a language like Rust, one has to carefully orchestrate the dance between Ship, &mut Ship, and &Ship... and Rc<Ship> and RefCell<Ship> and Cell<Ship> and Rc<RefCell<Ship>> and Box<Ship>. In the kind of programming most people do, that is harder than GC which doesn't have any of those distinctions. It's all just Ship.

If that isn't hard to you, it's probably because you've gotten so used to that mental overhead that you don't notice the drag any more, or because it's worth it for your case so you don't feel it. More power to you, but the rest of programmers don't want to have to deal with that, and don't need to. They'd rather get the feature done and go home to their families.
Jack Ma was a figurehead and didn't know anything about tech (see his interview with Musk).

Musk has a very deep understanding of tech of his companies (at least for a CEO), so are most other American tech CEOs. As was pointed out, you can't siphon away tech like you can do with oil and other commodities without making things stop working.
The same argument applies to the structure of capitalism.
> What I think doesn't matter. From my perspective, about 50% of the United States is on a totally different wavelength, they seem to casually take insane risks WRT covid, and inexplicably focus on hating minorities (which I just don't get, why hate people who haven't done anything to you, when you could just ignore them instead?).

Do you really believe that’s what drives people? You don’t think maybe it’s that these folks have interests that are in conflict with those of these minorities? Or they oppose cultural or political changes that come immigration of different groups with a different culture? Or they worry about what folks coming from troubled parts of the world are bringing with them?

Or maybe it has little to do with minorities themselves, but is downstream of their political opposition to a party that wants to discriminate in provision of government services based on skin color? https://www.forbes.com/sites/evangerstmann/2021/06/12/yet-an....
You didn't answer why. My code passes all the unit test and we almost always have real code using it immediately. The function works. Why am I reading it? The only thing I read are bug reports (usually a spec problem, not normally a logic bug) and new features, or test outputs
I got my hands on an HP-41CV calculator in my youth and I think programming that made the transition to Forth easy. Fun times.
Lots of living, nonhospitalized people, who are catching a preventable disease because community vaccine uptake wasn't as high as it needed to be to really stamp out the disease...

... have somehow reached the conclusion that the vaccine which did them no harm whatsoever, and is responsible for their being likely to have a very mild case of the disease, was not safe or effective?

Why on earth have they reached that conclusion?
I'm gonna go with the Murdoch family's ownership of Fox as the single greatest concentrated threat to the future of the United States. And much of the rest of the planet as well.
I'd be for it except for the fact where Uranium mostly comes from. Like it or not, coal remains the energy reserve that potentially can keep the Us free.
WebFeed: Turn Browser into Feed Reader
And now it's more accurate - there's plenty of vaccines out there previously that weren't 100% effective, so there's no reason to have the absolute language out there. The measles vaccine is only 97% effective after 2 doses - so that wouldn't have met the old definition either.

edit: sorry i'm rereading your post and I'm not even sure what your issue is with the current definition
I want 12" M1 or M2 so bad, I have M1 Air and it's an awesome laptop, but I'd change it for 12" in a heartbeat.
The parent point's claims were a gish-gallop, and the proper response is to call it out or ignore it.

The FDA and CDC never claimed that if you get vaccinated, you won't get covid. Once Biden mis-spoke during an off-the-cuff comment with a reporter.
That's a mind blower, I did not know about it thank you.
Age of Invention: Leveraged Philanthropy
These... are subpages. Every one of these people/groups has a dedicated Wikipedia page about why they're banned. There's probably a "notability" joke in here.
111 is also the emergency number in some countries - here in NZ some time back in the '30s some post office functionary bought a while bunch of dial phones on the cheap - because they had the numbers on the dial the other way around from what was becoming the standard elsewhere - hence 111 as the emergency number - worked great for 40-50 years until international direct dial became a thing ....

these days we accept 111 911 999 112 as synonyms
You do if you want to travel to Canada from the US (and from what I hear, work or live at all in Canada).
Do it from the back end while it moves forward?
Yes they have huge contracts but they also have to produce the vaccine! And the vaccine could be waaay more expensive given its value to the people who took it.

Merck stock (no vaccine) had the exact same return as Pfizer over the past 5 years.

Now Moderna is up 800%, so maybe look their way if you are concerned about a conspiracy.
> Doesn't GrapheneOS's approach have worse third-party app support than CalyxOS's approach?

This isn't even correct anymore. "Sandboxed Play services" is essentially just play services but with the ability to uninstall it, and deny it permissions.
Agreed!! I have also tried many different CO2 meters (all consumer-grade) and Aranet has been consistently the most accurate among the CO2 meters I have used.
Thermal mass can definitely be useful when you don't have air conditioning. Most of the older building in countries like Peru had thick walls (as well as tall ceilings) and were far cooler than outside during the day since the thermal mass effectively buffered the indoor temperature between night and day.
"Vaccines are defined as immunogenic preparations of a pathogen that evoke an immune response without causing disease."[1]

"Some vaccines offer full sterilizing immunity, in which infection is prevented completely."[2]

[1] Vaccinology: Principles and Practice (2012), p.3 https://book4you.org/book/2156866/923113

[2] https://en.wikipedia.org/wiki/Vaccine
This isn't actually a problem most of the time because we can spawn new threads, and so in C++ with co_await I have like three or four different "runtimes" all working at once with their own thread pools and their own I/O loops and I have no issue mixing and matching their behaviors using the obvious syntax. The issue with Rust seems to come down to something much deeper involving either an overzealous attempt to force people to think in terms of "executors" and "runtimes" for entire stacks of coroutines instead of individual tasks or (at best) as a result of decisions made with respect to how the memory management of the mechanism would operate in the context of Rust.
This is the argument used by people who think you should be able to say anything on Facebook, Twitter etc. And the response is always the same - you have the right to say what you want, but there are consequences. In this case, firing.
On this note, the Royal Bank of Canada used a DOS-like system well into the 2000s. The tellers were amazingly proficient with it, entering data, hitting tab-tab-tab, entering more data, tab-tab-tab, etc.

When they switched to Windows, you could see how much the point-and-click interface slowed them down.
Sadly I don't think Clauncher or Clawitzer can have Water Absorb :(
How about using a single ultra wide screen.
Imagine if an airline pilot or anyone in a position of being responsible for a mass number of lives has felt suicidal and considered calling into a suicide hotline.

Would they feel secure knowing their call will create a permanent record of suicidal tendencies, limiting their career for years to come? I doubt it.

Any bits of data we collect to make accurate assessments will encourage suffering people to withdraw further and remain silent instead of getting help.
Yeah that tracks -- a local news station read through a database (I'm assuming this is VAERS) and found 5 reports of excessive yawning from Moderna recipients as of Apr 2021: https://www.wral.com/coronavirus/staring-yawning-falling-off...

Sorry to hear about the experience :(

If you have reason to believe your body can't tolerate the mRNA vaccines, some alternatives to discuss with a GP might include

* Evushield -- pre exposure prophylaxis if you're at risk and the mainline vaccines don't work

* Paxlovid -- get outcomes comparable to conventionally vaccinated people if you take shortly after infection, beware "rebound" / second course, metallic taste and a lot of poop

* Monoclonal antibodies after confirmed infection -- probably bebtelovimab right? Hard to keep a handle on this with variants.

* Indoor air quality -- try to shop at businesses that have 3+ air changes per hour of MERV13+ filtered or outdoor air (there are healthy building stickers like LEED but they haven't really taken off)

* Rely on others' immunity -- I'm still unsure whether vaccinated people are less contagious? If so even if you're medically unable to participate in vaccination, other people are protecting you in aggregate

* Just accept the possibility of a painful death in the future -- it could happen for any of us right? Who knows? We live with lots of risks.
They did it once and made a big deal about it, now we're not supposed to complain when they backdoor imessage encryption.
MAD in an ASW context means 'magnetic anomaly detection' not 'mutual assured destruction'.
Yes the Git log is the ChangeLog.

For instance, I retired the ChangeLog in the TXR project in 2015; commit messages continue to be in the ChangeLog format. A ChangeLog file could easily be produced from the commit messages.

Replicating that information in a file that is checked into git is silly; you're just begging for merge conflicts. Any time anyone sends you a patch, if it is not rebased to your current HEAD, you have a guaranteed conflict in the ChangeLog file.

Why do that to yourself.

> The changelog targets your users. It must answer questions like:

> "What cool new feature is in this version?"

> "Is this annoying bug fixed?"

> "Is it safe to upgrade, or do I need to adjust my code/workflow to this new version?"

Oh, I see what this person's problem is. He's referring to some lower case "changelog" that everyone calls "release notes".

I agree; the git log is not your release notes.

Please don't call "release notes" "changelog" in 2022.

Release notes aren't a change log because, doh, they don't (exactly) log the changes.
Today, Apple’s third level support engineer told me my problem with sync was “You have too many photos.”

So it’s not just Kathy from Wisconsin.

// 150K photos, 2K videos
There is a vast uranium deposit in the southwestern US that was mined in the 1950's.
> why tho. you got about a zero percent chance of being drone bomb assassinated by either.

Indeed, I'm personally not in any real danger from China having drones. But I care about the rest of the world and not just myself, and the rest of the world is in way more danger from China having drones than from the US having them. Even if you don't think China would do something directly, remember that they're allied with, e.g., Russia and the Taliban, and are likely to give/sell/let them borrow them.