skysight-inc/HackerNews huggingface dataset:
Or, you could be honest with the public and call it voluntary.

In many countries, compulsory quarantine was enforced. In Germany it never was, but they still presented it as compulsory and held out the possibility that it might be enforced.

I don’t wish they had enforced it, I wish they had been honest about the arrangement.
Typical device drivers with limited interface footprint also barely do anything interesting.

For example look at typical audio codec drivers. They barely have any procedural code (and when they do it's just some form of register value mapping anyway), locking/concurency and almost all resource management is handled at the higher level and the driver is not exposed to it.

Another kind of a driver that features a very limited dependency on Linux interfaces is a SoC clock/reset driver. And clock drivers are even more boring in this aspect. Code vs data ratio is probably < 0.1 in many of those.

I guess some drivers that do more complicated stuff, and deal with concurrency issues or more complicated resource management may benefit, but they'll likely need to touch much larger API surface, too.

And I dunno, even the sample driver in the patchset has things like this:

let mut data = kernel::new_device_data!(
gpio::RegistrationWithIrqChip::new(),
PL061Resources {
// SAFETY: This device doesn't support DMA.
base: unsafe { IoMem::try_new(res)? },
parent_irq: irq,
},
// SAFETY: We call `spinlock_init` below.
unsafe { SpinLock::new(PL061Data::default()) },
"PL061::Registrations"
)?;

// SAFETY: General part of the data is pinned when `data` is.
let gen = unsafe { data.as_mut().map_unchecked_mut(|d| &mut **d) };
kernel::spinlock_init!(gen, "PL061::General");

let data = Ref::<DeviceData>::from(data);

It's barely readable. I don't know what type `data` is, what `gen` is or how it's different from `data`. Variable names don't really help. `data.as_mut().map_unchecked_mut(|d| &mut *d)` also looks like some kind of WTF to the uninitiated, that is somehow retrieving some 'general part of data' whatever that is.

When I look at the kernel's spinlock type https://elixir.bootlin.com/linux/latest/source/include/linux... that doesn't really help me determine why whatever this `gen` [variable?] is needs to be passed to `spinlock_init`.

And what's with the two `let data`. Are they the same type or is the type now different and the first data variable now hidden? Because it looks like second `let data` gets somehow transformed from the first `data` into something else. So now we have two identically named `data` variables with different types in the same function?

Wasn't this supposed to be some simpler language to draw more people to the kernel development? At least with C each variable has a type that's quickly identifiable.

I guess after 15 minutes I see what this is trying to do. It passes some newly created spinlock object to `new_device_data` function and then calls `spinlock_init` on some part of the data returned from `new_device_data` that needs to be extracted from it via some really obtuse transformation, just to initialize the spinlock later instead of directly in `SpinLock::new` for some obscure reason, using two unsafe {} blocks in the process. But oh my god, if this kind of obfuscation is going to be the new standard for the kernel,... At least C is the devil I know. :)
"Eschew flamebait. Avoid unrelated controversies and generic tangents."

https://news.ycombinator.com/newsguidelines.html

We detached this subthread from https://news.ycombinator.com/item?id=29485514.
This is a great demo. The old C compiler backdoor, but in Go:

https://github.com/yeokm1/reflections-on-trusting-trust-go

The Gopher Con Singapore (2018) video is a really great summary (20 mins). He modifies the compiler and inserts the backdoor during the presentation:

https://www.youtube.com/watch?v=T82JttlJf60&list=PLq2Nv-Sh8E...
"Domestic terrorists hack and corrupt millions of Neuralink implants"
Description is promising but web site is down :(
Microsoft didn’t design and build these fundamentally flawed products as part of some grand plan to monetise the fixes later. They did it because at various times in the past they:

Didn’t understand servers, coming from a desktop world.

Didn’t understand multiuser environments.

Didn’t understand networking, in particular networking beyond the scale of a small workgroup, and certainly not the Internet.
I'm assuming this is snark.
Please do not take HN threads further into flamewar.

"Don't feed egregious comments by replying; flag them instead."

a.k.a. please don't feed the trolls

https://news.ycombinator.com/newsguidelines.html
My Backup Plan
That is true. And also I see a direct link between coupled mechanics and reactive programming.

That vid brought a few internal chats about computing. Since it's clear those things are computing advanced function in real time (with noise though), streaming physical changes downto the linkage graph, no side effects if you haskell-squint hard.. digital computers are a different take on computing, they were timeless, memoryfull at first.. and along the decades it seems we were all seeking to bring back automatic coupling (reactive recomputation) on the foreground.
It's a prisoner's dilemma. Regulators have been made scared of the concept of having a part in making a different monopoly if they cripple the existing near monopolistic companies.
I think it's pretty clear that severe cognitive impairment would be required to think Trump was a good or effective president.
Fantastic (and scary), thank you.

These media fingerprinting databases are truly dystopian. I have come across a wide range of media recently that is being erased from our culture this way. The media giants say "don't pirate it, you can buy/rent it from us". But - and this is a big but - what if you can't rent/buy it? What if the media giant just adds the content's fingerprint to the database but then erases or locks away all copies of it.

Now you cannot upload it to any site with any serious audience. I have videos that the networks have locked away, but yet I cannot upload them to Youtube/Vimeo or anything similar because they are flagged. I cannot self-host them because the bandwidth requirements would kill me. Sure, they probably exist on places like Freenet, but that is essentially inaccessible for most mortals.

Once all the people that know of these things die off we'll only be left with whispers on the Web where such things are mentioned as having once existed, but can never be seen.
What can we do about climate change? Organize in our communities
>Because they're the ones deliberately driving up the cost of __DISEASE__ care
This applies for any disease that implies a lack of self-care, not only for covid.

>prolonging the epidemic and undermining the effectiveness of countermeasures
Even in countries with very high rate of vaccination the virus keep spreading pretty fast, even the OMS has said that vaccination does not stops the virus.

None of this two assertions is true.
> Do you happen to know how these algorithms are implemented?

I do not. I never designed CPUs, only optimized different code for different processors, that’s why I’m aware of these timings. BTW, for AMD64, this is the best resource I’m aware of: https://www.uops.info/table.html

> Could it be that AMD is in fact implementing Newton-Raphson exploiting its 3-cycle FMA?

Maybe, I can only guess. One interesting point, still.

For modern Intel CPUs with lake-based names, the latency is close to Zen 3, 11-12 cycles for FP32 divide, 13-15 cycles for FP64 divide.

AMD only has 2 kinds of ALUs (two of each kind per core), one for scalar stuff and very basic SIMD (bitwise and integer add), another one for real SIMD which seem to be a superset (includes FP, integer multiply, AES, etc.)

Intel cores however have heterogeneous set of ALUs, they call them “execution units” or “execution ports”. On these lakes, FMA instructions can run on ports 0 or 1. Division instructions need to be scheduled on port 0 only. However, the “fast approximate reciprocal” FP32 instruction, RCPPS, which with ~11 bits of precision and 4 cycles of latency seems to be a good first step for Newton-Raphson, needs to be scheduled on the same port 0 as divide.
> History is the best reason not to trust the government, because it has been behind unbelievably evil things;

Government, being effectively the primary means that people have to organize themselves, is a force multiplier for human impact; it's intellectually dishonest to blame it for the unbelievably evil things people have made it do without crediting it for the unbelievably good things.
Core Metaverse Hosts the Game Awards Show 2021
> The simple fact that they wanted paint sold to the public containing lead to be banned or labelled as poison to protect people.

The simple fact is they had the authority to do that, if they so wished. They decided not to for some reason. Why?
What does this deformation mean physically? I thought matter makes space curve. Does the deformation mean the curvature get changed?
Reasoning about null ptr, use after free, buffer overflows is tricky, because you cannot determine whether you've done the right thing by "just reading the code".

If you are doing multithreaded programming, and there's a variable shared among threads, and there's a read or write of the variable without a mutex in sight, you've done it wrong.

Yes, the mutex owner could be a caller several layers up the stack. Sometimes that's a legitimate design, and if you know what you're doing your function/method names will reflect the fact that the lock is already held. If you don't know what you're doing, you should avoid that design and lock the mutex in the same scope as the read/write.

And of course, using RAII with C++ (or anything else that supports it) makes this sort of thing easy to do.
I now you're probably being factious, but the mirror on the telescope is already specifically designed for seeing long wavelength to near infrared spectrum.
This! For this reason, Facebook Marketplace for mobile web is better than the app version, because it doesn't have the useless "ship to me" option that no one wants and no one will ever use (yet Facebook makes the default and resets after every search).
I suggest you read the other responses to your comments.
Relatedly, I have been working on a project[1] to encourage municipalities to implement stricter land use requirements on gas stations because responsible party searches so rarely pay out. Here is a funny (depressing?) quote from an Oregon DEQ report I read recently:

"The site has a complex history, but the primary owner/operators have been Ron and Nancy Huddleston. The Huddlestons owned and operated the facility from the 1960s through 1979, when they sold the site to Tony and Michel Tocco. In 1987, the Toccos sold or gave the property and business to their son in-law, who after some difficulties running the store, returned it to the Toccos. The Toccos gave it back to the Huddlestons in 1988, who ran the store again until 1993. Finally, in 1993, the Huddlestons sold the store to Dewey Best (now deceased); Mr. Best operated the store until 1995, when he sold it to Harley Frisby, and operations continued under Kim and JeffBomark (Mr. Frisby's daughter and son-in-law). Mr. Frisby sold his interest in 1996 to the Bomarks, who declared bankruptcy in 1998. In May 1999, the bankruptcy court returned the property to the Huddlestons. Based on an ability-to-pay analysis of the Huddlestons, DEQ determined in March 2003 that they are unable to fund required investigation and cleanup activities. DEQ will continue to investigate other parties connected with the property to determine whether they may be responsible for cleanup costs."

[1] https://postpump.org
This seems to basically just be the mmWave airport body scanner tech scaled up to cover a whole room, and then using AI to make it look like a human instead of a simple 3D model. I'm sure there was a ton of complexity involved in all of that, but am I missing anything else here?
>it's a mistake to believe the rich and powerful will allow such a society to exist since they'd be powerless in it.

I'm having trouble imagining how such a transition would even look. I mean, do we still have some sort of recognition of property rights for existing property? If not, then how are the currently owned resources "freed"?

If so, then the wealthy would still be wealthy and there'd still be "classes". So, I'm not sure they'd mind so much, but for consideration of their offspring (which I don't discount).

In either case, how do we go about allocating future resources?
This is clear evidence, these are angels, be not afraid.
Sure, there is selection bias. Given the overall effectivness of vaccines, the number of positive, yet untested, vaccinated people should be rather small. Plus, those vaccinated without symptoms most likely are not the problem as they are not really infectious. Once you develop symptoms you are tested.

On tip of that, a lot of states are now on 2G+, recovered or vaccinated and tested (anti-gen), for things like cinemas (requiring official tests in e.g. Bavaria) or self tests on site (fitness studios for example). Kids are regularly tested in school (my son three times, my daughter twice). Sure, some of those tests, those at fitness studios, are not counted. If those are positive, I think the number of people not getting a proper PCR test is rather small.
The semantics of C and how to write code that is well defined is much more complex than assembly.
Where does the "monopoly on the use of force" come in? Twitter doesn't govern me, because it cannot force me to do anything if I don't have some kind of relationship with it. Same with Amazon or any other corporation. I'm not knowledgable about the East India Trading Company, but without an army and the ability to legally use force/violence to tell people what to do absent a business arrangement with them, I doubt they could be considered government.

EDIT: According to Wikipedia[1], "The company eventually came to rule large areas of India, exercising military power and assuming administrative functions." This sounds like a government power to me, one that Twitter, Facebook, Youtube, Amazon don't have. I don't see examples of companies today that have these powers over people in my country, but am willing to be proven wrong.

1: https://en.wikipedia.org/wiki/East_India_Company
The New Yorker has always had high quality investigative journalism (albeit with varying levels of left leaning bias depending on the writer) in my opinion, and seems to be quite doing quite well.
Sorry to read about such experiences people might have had, but I actually have had the exact opposite experience. I made few submissions/comments about 'dev' things, and because of the support of the HNers, I felt really good and was even more excited to work on them.

First was a firefox plugin, and the first plugin I ever wrote. It basically bans some results from google. https://news.ycombinator.com/item?id=23295989

Second is my current moonshot I'm working on where I was expecting a lot of criticisms and negative comments, especially from programmers/devs in the AI space (Fully AI driven indoor farm, kind of deep mind for agriculture and understanding plants better than any human). But the largely positive feedback of the community was really energizing and uplifting.
Again, I stated use whatever toolchain you'd like - it's really the fact that we're not limited to 2MB RAM that matters.

Unity just works for me. Whatever works for you is great. I have never once found the 'Unity-verse' to limit or hamper my creativity or ability to do anything I wanted, and; in fact, have found it more empowering than the dozens of other game IDE's I've worked with in 20+ years of game dev. Since Unity provides me with more than I could possibly need for myself; and I've been using it since I had it on my PowerMac G5 back when that was still a thing - I never foresee myself swapping IDE's for any reason. Especially with a backlog of 10+ years of projects backed up.
The number of parameters is absolutely not a vanity metric, but it is inefficient, and efficiency is a related-but-different area of research (e.g. distillation) that's more of a business problem than a research problem.
Edmonton is one of the best places for RL research & ecosystem, both DeepMind and University of Alberta are there.
I'm torn on this. Had to learn (well just the basics) c++ in school and even though I didn't really know anything I wondered if things really need to be that complicated. So I went over to the "dislike c++" group as soon as I figured out one exists. On the other hand, I really enjoyed his c++ book (there are probably many, don't know which one anymore) and from it and the few talks of his I saw I think he's really good at explaining and a good teacher.
So I only looked up Netherlands:

"The issue is that the accumulated inter-generational wealth compounds itself quicker than the Dutch government can reduce the money added to it. The Netherlands’ historical wealth can be traced back centuries ago, with huge money-makers like the Dutch East Indies company. They allowed an extremely small minority of the Dutch population to accumulate astronomical amounts of wealth that are still compounding and increasing the wealth gap to this day."[0]

Even with their ginormous disparity, the poor in the Netherlands are not doing so bad.[1]

[0] https://uweb.berkeley.edu/2021/04/11/the-duality-of-the-dutc...

[1] https://en.wikipedia.org/wiki/List_of_countries_by_percentag...
Substack handles paid subscriptions, which is distinctly non-trivial to "host your own". They've also publicly advertised a strong anti-censorship position, and a lot of their userbase will abandon them if they change stances.

While it's certainly a possible concern, not all platforms descend in to censorship. I think it's reasonable to wait until there's at least warning signs before criticizing a specific site.
In Ridge Racer the texture warping and geometry raster gave some heightened sense of raw speed. Later versions on subsequent platforms (or emulated ones that correct this technical fault) felt way too smooth and much less intense.

e.g around 1:47, the tunnel walls go zigzag in a very obvious way but the effect is present in most textures, only more subtle https://youtu.be/WLJqWtnFkdY
I have no idea why you’d be opposed to the idea, yet I’m fairly certain they are not honeypots. I’m not even sure if that would be legal. Besides, if these sites had the ability to identify their users, we’d hear about the prosecutions. Or, if they were run by actual criminals, we’d hear of shakedowns of users of these sites?
9 months into trials at the UK Police, Tesla Model 3 bears great results
In other countries, when the government is corrupt, people get outraged and call for reform. In America, when the government is corrupt, people say "Well it's the government, what did you expect?"

America is like this because corrupt corporations spread the meme that the government is always corrupt, lest those pesky people demand that the government actually do something to those corporations.
Brita uses 2 gallons per day as a guideline [1] for a small filter.

Which is pretty much the recommended 2 liters per day per person for the family of four.

[1] https://www.hunker.com/13408481/how-often-do-you-really-need...
> Those who are concerned about falling into the trap of the McNamara Fallacy shouldn’t abandon quantitative measurements and metrics. Quantification is a valuable analytic tool, when it’s applied properly.
TTS on Mac also reads it as "code termination"
Cherry-picking is useful to promote agendas, but I would prefer to ask the opinion of a true historian about that.

> one of the most important and idiosyncratic texts of Indigenous American literature remained forgotten

Hem, nope. I don't buy this BS.

In the roman empire tradition, Spanish crown registered absolutely anything of interest. They funded the first global, -global-, scientific studies about American Flora and Fauna. The whole stuff. Just one book in the series would gave us a much better picture of the history than this text.

And they spent a lot of money in that huge task, just to publish and share it with the rest of Europe. We have 'English' tomatoes and 'Dutch' potatoes and 'Italian' peppers or avocados because they shared the discoveries. Think about it. Try to culture some Asian spices in Europe instead.

There are probably hundreds, (if not thousands) of more relevant texts about the early history of the New World. And unlike the old tale of "boy finds big thing gathering dust in a library" they are available to anybody interested.

Spaniards or Portuguese crowns did a lot of things wrong but also a lot of things right. The last week somebody was talking on TV about if is time to repatriate the remains of Hernan Cortés to Spain to protect them from haters, The man was dead for centuries, for Pete's sake!.

Lets put it clear, this "miraculous discovering" is just another cancel latinoamerican culture stunt.
Monzo valuation hits $4.5bn on back of drawing thousands of new customers
The article says that Apple is allowing this behavior from developers - so I think the unhappiness should be addressed at Apple. Users clicked do not track but apps can still log your ip, and fingerprint you by your groups.

> an unacknowledged shift that lets companies follow a much looser interpretation of its controversial privacy policy." Apple has instructed developers that they "may not derive data from a device for the purpose of uniquely identifying it," an unacknowledged shift that lets companies follow a much looser interpretation of its controversial privacy policy." Apple has instructed developers that they "may not derive data from a device for the purpose of uniquely identifying it," which developers have interpreted to mean that they can still observe "signals" and behaviors from groups of users instead, enabling these groups to be shown tailored ads anyway.

>Apple has not explicitly endorsed these techniques, but they allow third parties to track and analyze groups of users regardless of whether or not they have given consent to user-level tracking. In addition, Apple reportedly continues to trust apps to collect user-level data such as IP address, location, language, device, and screen size, even though some of this information is passed onto advertisers.

So this makes the do not track almost worthless. Few advertisers will say show this ad to John Doe who lives at 341 maple avenue, but they will say things like show this ad to people living in Cincinnati between the ages of 20 and 30. And once you belong to enough ad groups, 6 or 7, you can be uniquely fingerprinted anyway.
There will be annoying people saying - we have world hunger now, and you are spending 11b to looking at the universe 10b years ago???
One thing that is still horrific (imho) is unicode support. Last time I found that in order to print unicode strings with cross platform support on a simple way I required a boost library [1]. The dichotomy between standard and "wide" string APIs is kind of a mess.

Also, construction, destruction and move semantics makes everything really complicated and even simple baseline code requires a bunch of boilerplate [2].

1: https://www.boost.org/doc/libs/develop/libs/nowide/doc/html/...

2: https://gist.github.com/EmmanuelOga/12e1da5aedd9f6dc50e742cd...
> you can enqueue most computation graphs

Can those command graphs loop?

I know this interface is undocumented... but I've had an idea for a GPU-language akin to Java or Lisp memory-management. The gist is that kernel_X() can execute, but may fail in any new() or malloc() command.

In such a case, I'd want the compute-graph to loop: while (kernel_X fails due to out-of-memory){ garbage_collect(); try kernel_X() again}.

-------

Not that I have the time to experiment with something like this, but I guess I've been curious to know if that sort of thing can even work.