jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> memory model

It's very similar to C++'s memory model, but it isn't necessary to understand it to be effective with D.

> casting

Casting to/from shared is necessary, but is restricted to @system code.
Or similarly our logic is not the same logic that our opponent operates on.
Idk man, I agree with OP. Writing YAML configs is one of my least favorite things to do. Might be worth polling more people
They make their own
Example of one of these projects for those curious:

http://linbacker.sourceforge.net/screenshots.html
There is an entire subreddit devoted to maps without NZ on it. I guess they hope Russians have one of these maps and kinda forgot about that place altogether
There's an intermediate point between pre-emptive and cooperative that I've found useful. For the lack of a better name let's call it "you-better-cooperate".

Suppose a real-time system using cooperative scheduling where well-behaved tasks yield within a guaranteed time window. Suppose also a system that has the ability to launch and restart processes for example in the case of error. In such a system, a poorly-behaved process can hang the system because it doesn't yield.

Introducing pre-emption to such a system avoids the potential hangs, but (a) adds the complexity of pre-emption; (b) only gets exercised in the case that you're already in a failure state (process failed to yield); and (c) allows processes in a known failure state to continue.

Instead, when a process is scheduled, set a timer interrupt for a time period after its guaranteed yield. When the process yields, cancel that timer (or re-schedule it for the next process). If the timer fires, just kill and restart the non-yielding process.

In a limited set of cases, this is a simpler, more robust, and equally powerful system compared to both full pre-emption and cooperation.
I was wondering the same. I'm by no means professional but it seems to be better than nothing, especially for people who sneeze.

In China, it's pretty much contained now, and everyone wears masks on the street -- The thing is, there are 1.3 billion people, of course there are a lot of people couldn't buy or afford surgical masks, let alone N95 masks.

It turns out people wear regular masks, or even they don't have any mask they sew their own mask.

Also, most surgical and N95 masks are disposable, in China, people cover their hand sewed mask outside, covering the disposable masks inside and try to reuse them, and disposes the hand-sews masks. This hack, of course, have potential risks, but it might help for people who are running out of masks.
The government should have contracted mask manufacturers 2 months ago to ramp their mask production, both for medical staff and for the public.

They still haven’t done this to date. Beyond frustrating.
Or, closer to the issue at hand:

https://en.wikipedia.org/wiki/Eminent_domain

I don't have time to look right now, but I suspect most states (and the feds) have the ability to repurpose private assets in emergencies, with some constraints.
That's not all the government is doing though. They are saying things that will convince people in the future, once this pandemic and supply problems are resolved, that they shouldn't bother buying masks to prepare for the next time. They're suppressing demand for masks not only in the present but in the future as well. In doing so, they make mask manufacturers less inclined to scale up production now or ever, since scaling up production now would become a liability for them in the near-future when the medical industry returns to buying the normal number of masks again. Increased long-term public demand for masks would support the long-term increased production of masks and would therefore make mask manufacturers more inclined to make long-term investments in their manufacturing capacity.

Furthermore, increasing long-term public demand for masks would reduce the severity of future respiratory pandemics, since a larger portion of the population would be prepared in the future.

Edit:

> "There are two issues you're mixing together. The government should stop lying [...]"

That's on-message for this entire discussion as far as I'm concerned. The topic for discussion is the CDC's lies. Discussing the distribution of masks without discussing authorities suppressing the demand for masks is myopic. These two issues are not distinct.
yes and washing like that is not nessecary and removes a protective layer of albumen. regulations that are about promoting quick consumption are out of place in this situation, so in US unless you produce your own eggs, parboiling/blanching, and oiling will keep it good.
I'm helping a friend sell their farm's ancient grain production online since they have a mill on their farm. They grow and sell spelt, emmer, einkorn, and other types of grain. Our family farm is considering planting and producing those grains, too.

Also building an outsourced, full-time, subscription-based digital marketer staffing / agency hybrid at GruntWorkers.com.
The A stands for AL, in a snippet of 8008 assembly code that you're supposed to be able to use in the middle of 8080 assembly code, and dwhich is written in a language that knows nothing about AL or AX. Or that was the idea.
The flip side of focused mode thinking is diffuse mode thinking, and they are symbiotic. Your brain needs a chance to work silently in the background on hard problems while you do other things (walk, sleep, play with the kids). Then when you re-enter focused mode, you are fresh and your brain often presents solutions uncovered during your diffuse time.

This concept is articulated really well in "A Mind for Numbers":

https://www.goodreads.com/book/show/18693655-a-mind-for-numb...
So just ban porn on reddit&co. for users without age-check, too. Shouldn't that already be the case anyway?
I would never have thought to take the licence of adding film grain, but it really makes the images tangible --- like bizarre long-ignored government surveillance photos.
This flip chip was likely made at the IBM Bromont plant in Quebec.

I visited it a long time ago.

If you x-ray (?) or break the ceramic substrate (with the actual pins) you might find it to be a complex multi-layer piece ...
Integer overflows (signed overflows defined to wrap or panic in rust, are undefined behavior in C).

Float integer conversions (overflows are defined to saturate in rust, are undefined behavior in C).

Maybe things like how pointer casts are treated in correct (but unsafe) rust vs C. Or similarly in transmute. Generally it wouldn't surprise me if rust was standardizing a memory model that was subtly different from C.

I'm sure the list goes on, but "that sort of thing".
This is tricky, because on one hand, you want to ignore structure and a lot of syntax to just get started, but on the other, you want to see the results and see something real, not just print the sum of two inputs, and you quickly need a real language for that.
I get 400% uncanny valley vibes from all the examples on the main page
I didn’t buy the game to play with my friends because I heard of how terrible the loading situation was.
My biggest gripe with the Big Sur update is that it's now incredibly slow to swipe between desktops. It used to be responsive and now I need to wait 5-6 seconds before anything happens.
I also find this feature extremely useful on macOS, especially combined with the ability to move entire workspaces from one monitor to another.

I have a primary and secondary monitor (with actual physical differences) and being able to easily move a task from one to the other is such a useful feature. I'd go so far as to say this is the most significant thing from macOS I'm missing right now.
Their desktop client really is excellent, but I'm guessing they don't count as one of the Good Guys.
It's also that - per the article - it goes beyond "willing and able to implement in LLVM". Because that doesn't let the Rust devs or the Python devs test on those vintage platforms.
UPDATE: The README.md has now been updated with a link to the older version that describes what the project is about. Thanks to the maintainer for doing this. The remainder of this comment is obsolete (except for the last paragraph).

As others have mentioned, the current site (README.md) says very little about what Flynn is.

You can see a version of the repo and README.md, just before it became unmaintained, here:

https://github.com/flynn/flynn/tree/2c20757de8b32a40ba06f7e5...

IMHO it would have been much better if the maintainers had added the "Flynn is Unmaintained" information to the top of the README.md rather than removing all the existing information. I've submitted a GitHub issue suggesting it: https://github.com/flynn/flynn/issues/4623

A plea to project maintainers in general: Please include enough information in your top-level README (or README.md, or README.whatever) so that someone who has never heard of your project can find get a good overview. I've also seen READMEs that only discuss the most recent changes. That's fine for readers who have already been following the project, but not for a more general audience.
So it's still developed for the PC and ported to the consoles instead of the other way around? GBX's shoddy pc port of that RPG shooter makes me wary...
Well, back when I would have been in a position to consider living somewhere else, I was a minor. And since I've been in the US from age six and am functionally American for all practical purposes, obviously, like most people, I am not possessed with the desire to uproot myself and relocate without a compelling reason.

You seem to be clinging to relative arguments throughout the comments. I agree that it's important to keep the overall merits of the US relative to many alternatives in perspective, yes. But relative arguments only go so far. Yes, I could be in a refugee camp in Darfur; doubtless, my situation--almost anyone's situation--could be a lot worse than the espresso machine breaking down or the laundromat being inconveniently far away. But it doesn't mean people shouldn't be allowed to complain about absolute inadequacies of the system, or advocate for its improvement.
Maybe I'm fick, but I do these in my company routinely using CVS:

"...identified what I thought were two of DVCS’ killer scenarios: maintaining multiple versions of a product without dropping bug fixes, and being able to reliably develop new features of a product while always being ready to ship a bugfix in a heartbeat."

I use git for my own projects, FTR.
Taubes argues from the perspective of percentage of total intake. I suppose someone arguing with him could do the same. I tend to prefer the idea of discussing absolute consumption, as you've done, and when we look at it that way, Americans are eating more of everything, across the board: More fat, more sugar, more carbs, more white flour, more pasta, more sodas, more fruit, more meat, etc.

The simplest explanation is that we eat too much. Taubes often argues that's not true, and comes up with elaborate theories about insulin response and such to indicate that we eat too much not because we're gluttonous and too rich for our own good, but because we are victims of some hyper-fattening food (carbs). Taubes theory is a hunch, based on incomplete science. This was the point of my comment way up there at the start of all this. His theory might have some validity. But, you can't simply wave away the fact that we have vast data indicating that a high carb, low fat diet, can be extremely healthy and not lead to weight gain. In fact, the best evidence we have today from large populations indicates that a low-fat, low-sugar, high fiber diet, like that eaten by the Japanese until very recently or in some Mediterranean regions, is probably the best we can do for health and longevity.

It will take a lot of science to convince me that flipping that on its end and making saturated fats and animal proteins a core part of your diet is healthier (or even healthy, at all, though it does appear to be dramatically less dangerous than the American scientific establishment would have us believe).

Anyway, I don't know if Taubes is right or wrong about his insulin and carbs conspiracy theory. I do know, however, that our food production industry has figured out how to cram a lot of calories into foods with little to no nutrition. So, skip the processed/packaged foods. Eat more whole foods. More fresh/frozen produce. Stop buying things that are unrecognizably separated from their original form. i.e. if it started out as a pile of corn and some other ingredients and is now a can of Coke, a snack cake, a donut, a breakfast bar, a "chicken" nugget, or a "whole grain" breakfast cereal; skip it; it's probably not really food and is probably a net negative for your health.
> He was even outed by one of his own as an investor and didn't do anything to stop it.

Journalists who are using full disclosure, shouldn't need to be outed. They are supposed to be upfront about such things. Outing suggests he was not.

Second, mere disclosure doesn't prevent a conflict of interest.
Opps - we will fix that. Thanks for pointing out!
> I imagine you have a more nuanced point, but the statement you quoted is clearly true taken for what it actually is saying.

You are right, of course. Without quantifying (how low is "low calorie"?) these statements are useless.

There was an experiment in Mass General some 15 years ago, in which they were able to get people with similar lifestyle/activity on 1500 cal/day diet. About one third lost weight, one third stayed the same weight, and one third gained weight, depending on how exactly the diet was composed.

Yes, you will lose weight, regardless of diet composition, on less than 800 kcal/day. Is that "low calorie"? "too low calorie"? "moderate"?.

No, you will not necessarily lose weight on more than 800 kcal/day. You probably will if your diet was not specially crafted to make you keep your weight on 800 kcal. When you get up to the 1200-1500 range, there is a non-negligible probability of "accidentally" gaining weight (or at least not lose it) by randomly stumbling on a bad diet composition.

One of Cabanac's (If I'm not mistaken) experiment was able to make rats gain weight for 3 weeks on a diet of water+chalk (caloric value 0) for a while, by feeding them water+sugar+chalk for a while, and then dropping the sugar. Sure, it was water gain - but the calories in - calories out theory fails so miserably in this case (and countless others) that it cannot be taken seriously. (For only 3 weeks for a rat; it might not hold for a human for a few months in similar conditions).

The calorie accounting is an approximation at best, which possibly takes several months to a year to average out reasonably, whereas a lot of the research focuses on results over 3 months or less.
It starts next month - we wanted people to know in advance.
What is the best way to meet new people during lunch at a company cafeteria?

This summer, I visited a friend at Google and stayed for lunch (the food is incredible, better than most five-star restaurants btw). That day I noticed the same problem this article highlights. Either groups are meeting during lunch, or the remaining "loners" are reading the latest tech news on their computers and appear completely unapproachable. So if you don't want to eat alone and want to make new friends, what is the optimal way to overcome these barriers?
We don't agree. Masks would only help in the event that someone coughed/sneezed directly on your face but missed the eyes. Even then, removing the mask and washing your face without contamination would be difficult.

Makeshift masks don't necessarily even help in that situation, become a liability when contaminated, and putting it on then removing it causes additional risk.
> I wonder if the tape was original

I'd be very surprised. We used punched tape for initializing our crypto gear when I was in the Air Force, and it was accounted for carefully and destroyed promptly. Even more carefully than our regular classified documents, though maybe that was just a culture thing. I can't imagine them just giving it over to a museum.
> The diagnostic test for the virus that causes COVID-19 has been designed to operate on any of Cepheid’s more than 23,000 automated GeneXpert Systems globally, the company said, without giving details.

So this doen't seem to be some speculative thing. What's different from their other tests is the RNA target. And that's public knowledge. So it's arguably just procedural.
It's irrelevant what the hashrate has been, there are a plethora of reasons for it, not the least of which is speculation for future gains. It is straightforward logic that if there comes a time when total compensation for mining is lower than today, then there will certainly, eventually, be less mining, and therefore a less secure blockchain (but possibly still secure enough). If at the time equal security was demanded there would be no choice but to raise fees to incentivise equal mining.

But this whole small transaction dream is a foregone conclusion. Even now it's clear that Bitcoin works best with fewer, larger, higher fee transactions. Miner compensation is one reason, but there are many: blockchain size, centralization, latency, etc. PoW blockchains are clearly suited as settlement layers.
I'm working on a little vocabulary helper app. As I'm reading books I run into words that I don't really understand so I want to keep track of them easily. I have a screen that allows me to enter a word and it looks up definitions automatically and allows me to add them to a list for now. When I get a bit more time I will add a review stage, a bit like anki.
In NYC, PPE is running low now, ventilators will be all used in 5 days. The PPE crisis is coming first, but not by many days.
I am working on a personal finance App for iOS that help you to manage assets easily.

Features:

- Dead easy to book keeping

- Plain text export

- Focus on assets management

- Support many iOS platform only features

Currently this is Chinese only but I am looking to support English as well:
https://xxz.jakehao.com
I'd opt for a Math or Physics minor. The more you can intersect with different fields, the more you stand out in applications. Wheel and deal some projects on the side if that isn't your jam.

Also in general, college is about growth and experimentation. Having a degree is definitely useful, but not enjoying getting a degree sounds like an awful waste of time.
You can get fired/laid off at will, but it's usually for a reason (poor performance of the employee or the company), and people think twice before doing it. Whereas terminating contractors is a matter of course and is no more an event than buying a printer for the office.
Nonetheless, some projects mandate use of FIPS 140-2 hashing algorithms, and afaik bcrypt is not one. So if you find yourself on such a project, bcrypt is not an option on the table.

I'd be happy to find out I'm wrong.
I definitely agree with the article that it felt a bit like a betrayal. I've pushed some friends and family to use it over Telegram despite significant usability issue, and now I see that instead of implementing some IMO basic features like proper message sync and easy backup when you get a new phone, they prefer to implement a... micropayment system? Based on some niche altcoin which doesn't even exist on mainstream exchanges?

It goes beyond the usual issue with cryptocurrencies. Let's assume that they integrated with Bitcoin or Litecoin or some "mainstream" CC, would it still be a good idea? You can already send wallet addresses over signal if you care to do it.

I'm willing to give the Signal devs the benefit of the doubt and assume that they meant well and aren't actively trying to benefit from the move (even though I'm not completely dismissing this possibility) but at the very least it's just showcases a very strange way to lead the project and prioritize issues. I can think of a dozen things out of the top that would do more to drive Signal adoption than integrating with some "literally what?" cryptocoin.

This is going to drive the adoption of this niche cryptocoin, it's not going to do anything at all for Signal.
Call a spade a spade: if iCloud Backup is insecure (and it is), then say iCloud Backup is insecure, not iMessage. Your stance on this is FUD because you don't respect the semantic boundaries of the systems you are discussing, and so anyone who decides to truly listen to you and internalize the things you say leaves with a broken mental model rather than an educated stance :/. Every single person who reads what you say "iMessage, now backdoored for the FBI" who decides to stop using iMessage (which wasn't even insecure to begin with) and does NOT decide to stop using iCloud Backup (which will be insecure even if the user is using Signal, along with Signal's iOS product flaw that attempts to circular file your messages, as messaging is but one of myriad things a user does on their phone) is someone you have failed by teaching them the wrong lesson.
I can see the high priest of the religion of progress thing. He's not really evil though.
This is the sort of thing that LOTO locks a are used to prevent from happening.
>I hope one day we can get a widely adopted C and C++ package manager. [...] , but if it were as easy as “npm install skia”, etc. everywhere,

It's not just the package manager (the command line tool) ... it's the canonical website source that the tool pulls from.

C++ probably won't have a package manager with the same breadth of newer language ecosystems like npm/Nodejs and crates.io/Rust because for 20+ years C++ was developed by fragmented independent communities before a canonical repo website funded by a corporation or non-profit was created. There is no C++ institution or entity with industry-wide influence that's analogous to Joyent (Nodejs & npm) or Mozilla (Crates.io & cargo)

I wrote 2 previous linked comments about this different timeline: https://news.ycombinator.com/item?id=24846012

Tldr, 2 opposite timelines happened:

- C++ for 20+ years of isolated and fragmented development groups creates legacy codebases --> then decades later try to create package manager (vcpkg? Conan? cppget?) that tries to attracts those disparate groups --> thus "herding cats" is an uphill challenge

- npm and crates.io exist at the beginning of language adoption allowing the ecosystem to grow around those package tools and view them as canonical
Check the other apps in the HN poll: https://news.ycombinator.com/item?id=25669864. I recommend Matrix.
I for one, welcome asteroid mining.
You can, it's just that having the cryptocurrency in the first place leaves a bad taste in some people's mouths.
Every single terror victim is a tragedy and one too many.

However, when you follow the news media and the politician speeches you are led to believe that we're all going to die from a terrorist attack any minute now. In my opinion, the numbers don't support that.

Moreover, it's this perception of an urgent threat that governments worldwide use to justify an unprecedented curtailment of civil rights (privacy, presumption of innocence, etc.).

So yes, the comparison may be seen as facetious or tasteless.

But at this point I'm far more worried about the NSA and the increasingly commonplace "us vs them" rhetoric, than about being harmed by a terrorist.