MurphyA/hacker-news huggingface dataset:
by adwn | 2025-07-29 09:40:28+00:00
> A contended mutex is a system call […]

Because modern mutexes are so cheap (only 1 byte directly in the data structure, no heap allocation), you can do very fine-grained locking. This way, a mutex will almost never be contended. Keep in mind that a reader waiting on an empty queue or a writer waiting on a full queue will also involve syscalls.

> […] and likely stalls all the CPUs on your machine.

Huh? Where did you get this idea? Only the waiting thread will be blocked, and it won't "stall" the core, let alone the entire CPU.

By the way, if all your threads are waiting on a single mutex, then your architecture is wrong. In the equivalent case, all your actors would be waiting on one central actor as well, so you'd have the same loss of parallelism.
by mandmandam | 2025-07-29 09:40:55+00:00
> The stories have been routinely retracted by the BBC, NYTimes, Washington Post, NPR, etc after they’re later shown false.

Do any of these stories compare to the mainstream media's systematic lies about 40 beheaded babies? Or babies burned in ovens? Or systematic rape? Did the US President launder any of those lies long after they were debunked?

Were the stories about premie babies left to rot at Al Nasr true? Were the stories about Hind Rajab true? Were the stories about civilians being used as target practice while they try to get aid true? Were the stories about the IDF mass murdering a convoy of emergency vehicles and burying them in a shallow unmarked grave true?

Do Hamas have people in the BBC censoring stories they don't like? Did the NYT run huge stories by Hamas "journalists" with no experience and no evidence?

> Yesterday I saw the story that’s been in almost every major news publication showing an emaciated boy starving while his mother holds him with headlines of “Gazan children starving”.

You don't refute that the boy is starving. He's far from the only one. Gaza is in stage 5 of famine; the effect of which will be felt for generations - and you think a photo of a "well fed" (and horrifically traumatized for life) boy proves that they're actually fine??

Read the comments on your own link - they're absolutely vile and I won't repeat them here, but that you think this is making a good case for you is absolutely wild.

How many people have been murdered while trying to get aid in the past week? Are those stories lies too, even though they come from whistleblowers who were there; even though there's video of some of the incidents?

Sometimes I almost feel pity for the type of mind that can defend the perpetrators of these acts. But this is going on for 21 months (and 80 years) now. At some point - long past - you become fully complicit by defending this holocaust.
by nosianu | 2025-07-29 09:40:59+00:00
There is the "Lite" version by the same author written for the current Chrome.

https://chromewebstore.google.com/detail/ublock-origin-lite/...

Works fine for me. It has a lot less options, truly "Lite", but most people will be fine. Whatever Google might do that will make this extension worthless, we will se, for now, it seems to be working. (It's funny that the Chrome Web Store lists this extension as "Featured".)

By the way, on Android, I replaced Firefox with Microsoft's Edge. It supports uBlock Origin (no "Lite" in the name, not sure what that means, I did not check the details of how much it supports since it just works as it is). It is significantly faster than Firefox (again, Android). It plays all videos, while Firefox just showed an "unsupported" placeholder for videos on some niche sex video site I happened to accidentally visit.
by akk0 | 2025-07-29 09:41:11+00:00
I don't think this kind of discourse helps and I don't agree with the point. I am vehemently against chat control, but at least in my country (Netherlands) I saw nothing beyond the pale re: covid measures given the situation. I also don't see how those measures, regardless of whether you agree with them, reflect on chat control, as I'm not aware of any covid measures targeting encryption, nor of any EU-level measures you might be referring to here. Maybe you care to elucidate? Regardless by equating the two I think you alienate people, because as far as I can tell most people are still broadly understanding of COVID measures taken and the core demographic that's not is also generally in favor of Chat Control.
by eadmund | 2025-07-29 09:41:18+00:00
I absolutely hate the ‘Sign in with Google’ prompt and I am very concerned that I will either accidentally or absent-mindedly tap on it and share my email address and identity with some random untrustworthy website.

The idea of identity managed by one’s browser is a pretty decent one, but the implementation which ties it to other information such as email address and which makes it so easy to accidentally use is user-hostile.
by RajT88 | 2025-07-29 09:41:20+00:00
This is a nationwide phenomena. Many articles have been written on it.

My own small town on the edge of the Chicago suburbs has a group of zealots that protest drag shows all over the suburban area (always small towns on the edge of the burbs, never major towns).

All of these arguments listed in this thread and articles about the right wing losing their shit about drag shows have been trotted out by these folks at the local city council meetings.

This is not just silly, these folks are dangerous. Nobody seems to appreciate it yet. But when these protests and city council meeting nuisances started, so did vandalism of places hosting these events. Then came the bomb threats to all the local libraries which hosted drag story hour. You can probably imagine how this may escalate.
by Zacharias030 | 2025-07-29 09:41:28+00:00
Start with robust sanctions.

It seems unlikely that the IDF will do anything to an international peace force operating in Gaza (not Israel) under a combined lead of France and the UK.

Anyway, it would exactly only take one country - the US - to stop shipping weapons (to credibly threaten to stop) to bring this to an end so fast that you can‘t even finish breakfast.
by 1718627440 | 2025-07-29 09:41:55+00:00
It was peacefully inhabited by members of both german and polish people, before the concept of nation states existed. That's where these names originate from.

At the end of the middle ages the cities voted (by war not by a referendum) to be part of the polish kingdom, because the polish king promised lower taxes. It was a conflict between the bourgeoisie in the cities and aristocracy in the country like everywhere in Europe, not between nations. Note that the polish king was an elected monarch, so not even the polish king was polish by the modern meaning.

In the 19th century there were national movements among both nationalities. After the first world war, people voted to be part of Germany, because it was richer and also more liberal, that's why the referenda were suppressed by the polish government. The regions were also full of coal or an important harbour, which is why the polish government cared about them beside national reasons. These actions were used by the nationalistic socialistic german workers party and others to justify hostile actions against the polish people. The polish government also expanded a police station on foreign soil into a military base against international treaties. After they also conquered official city buildings like the postal office, This led to the city major of Danzig calling for a military intervention, which was then expanded into the second world war due to the intention of the german government.

During the war slavic (including the polish) people were subject to murder, expulsion and the story with the concentration camps. After the war the polish army then did the same to the german people, including in regions were a large majority was german, which had been part of german states for centuries and which should become part of Germany again according to allied treaties. The plans originated back to before the war and were only called an answer to the German crimes to the public. These actions were objected to by the western allies, but were backed by the Soviets, because in-turn they could do the same to the polish people without the polish government objecting. This situation was what Churchill coined the term iron curtain about originally.

A lot of today's germans which insist on calling this cities by their german names are people which used to call it their homes (and still do). Some polish names were also only coined after the war, or coined earlier for propaganda but were never used until after.

Regarding the extermination camps: in contrast to the concentration camp they were only build on conquered foreign soil, because they didn't want to have these barbaric things in their home country and feared that it would cause outcry and objection by the German people (it was a dictatorship after all).
by Eisenstein | 2025-07-29 09:43:15+00:00
People are not as naive as you think. They know everyone is looking out for their own interests, and that money rules everything.

The problem isn't that people aren't ready to hear the shocking revelations about the news being biased, it is that individuals don't want to be the odd one out. One person outraging over the total legitimate concern of being recorded in public with cameras on glasses gets laughed at. But if you get enough people at once to get upset then it becomes a movement.

If you think that people don't care about all these things that make life actively worse for the aggregate but are useful for individuals, then you are mistaken. They are just willing to go along with it if it appears everyone else is.
by fxtentacle | 2025-07-29 09:43:19+00:00
I think you nicely illustrate why self-certification doesn’t work with Chinese companies. If your mother makes a mistake, she will get sued. But almost nobody in the EU who got hurt from a low quality product will be able to successfully sue one of those eight letter fake name companies with PO Box in China.

That means local companies are forced to spend money to avoid product issues. But Chinese companies can get away with selling known faulty goods.
by qwertox | 2025-07-29 09:43:42+00:00
> So I think it can be beneficial for both parties.

No. Because those who don't want to sign up do get bothered by that popup which also reminds them of the fact that Google just tracked that visit and wants you to use Google to sign up on that page.

The chuzpe it takes to do that, from part of the website owner and Google...
by pjmlp | 2025-07-29 09:43:43+00:00
React is the Git of UIs, the Vulkan, or whatever example you feel more apt for its ways of working, and changes across versions.

Unfortunely, it has won the mindshare game, in many SaaS products I tend to work on, they only provide React and by extension Next.js based SDKs, if I want to use vanila.js, Angular, Vue or whatever, it is on me to make it work, if it is possible at all, given the product expectations on its extension points.

Eventually the "everything must be React" wave is going to pass, hopefully.
by shivasaxena | 2025-07-29 09:43:51+00:00
> 50 years later (aka now for most of the west): "Why did we lose all our industries ? Why is it so hard to find a job ? Why is all the know how in China now ? Why is China buying our ports/airports ?? Why is our social model collapsing ? Why is our health care system collapsing ? Why is our pension system collapsing ?"

Answer would be because we shielded our firms from foreign competition by putting in place such anti-competitive policies. Our firms had no incentive to be efficient since they had a captive market for half a billion consumers they could bleed dry.

Concrete example for this would automobiles and VW v/s BYD/Xiomi in particular.
by pembrook | 2025-07-29 09:45:29+00:00
They haven’t been deputized, in fact the opposite.

When they block a payment it’s typically due to some interest group threatening bad PR hit pieces on them.

If you’re running a duopoly money printer, the worst thing that can happen is to have people realizing it and talking about it.

Hence why you’ll never hear an ad from Mastercard or Visa touting the dominance of their payment networks or even trying to sell you their products. It’s always brand-washing PR fluff about saving whales or Olympic ice skaters.
by austin-cheney | 2025-07-29 09:46:35+00:00
Your comment reads like someone who deliberately does not measure things to avoid confrontations against your conveniences and biases.

For example modern compilation may very well be faster than in the past, but your application and experience could be still even faster without compilation.

Frameworks also come at a substantial cost. They are highly restrictive, super massive, and almost always unnecessary. I can understand why people use them, but again your application and experience could be dramatically faster without them. People tend to prefer frameworks when they lack the confidence to build without them, but for those of us that frequently measure things large frameworks are always a net negative.
by netsharc | 2025-07-29 09:47:23+00:00
How does this country claim to be any better than Hamas butchers, when they can't conduct a war where their bullets and bombs hit defenseless children? They've been saying "oops, that was a mistake" so many times that it's obvious their operating procedure is "drop the bomb here and we don't care about civilian deaths".

Or they use the excuse that terrorists are hiding under hospitals and schools, so dropping bombs on these things are perfectly acceptable. In my book that's morally indefensible and makes them not very different to Hamas butchers.

Or if you can accept that, maybe crashing planes into the WTC towers is acceptable too (and what about a military target like the Pentagon)...
by ethan1990 | 2025-07-29 09:47:41+00:00
It’s honestly kind of funny — you got timed out by Discord’s automod and now you’re running around calling it “suppression of technical discussion.” lol. Don't be dramatic. There's a wave of crypto spam before, so the automod timeout often catches lots of bots and people. I remember even community mods have been timed out before.
by notahacker | 2025-07-29 09:47:47+00:00
And... not Glasgow?

You're literally doing what you're accusing me of "hallucinating" yourself, bracketing a group of crimes by the ethnicity of the perpetrators, and ignoring white British people doing exactly the same thing and also getting away with it for years, and pinning the blame on the crimes committed by ethnic minorities specifically on the "entire community"; Somehow the Glaswegian associates and neighbours of the "Beastie House" aren't tarred with the same brush, and according to the person I was replying to even the perpetrators aren't as depraved. Police and social services (not generally considered part of "the government") failed to put a stop to grooming gangs for a wide variety of reasons; yes, in the case of Rochdale specifically where there were a number of warnings that shouldn't have been ignored that made it warrant a public enquiry and elevated news coverage. Needless to say social media coverage driven by agendas tended to skip the more robustly established findings that police repeatedly didn't take victim reports seriously out of assumptions about the behaviour of working class girls staying out late at night and often failed in fulfilling basic child protection protocols in favour of the "politicians covered it up and still are" angle. Back in reality, we've had a lot of convictions, multiple public inquires and people from all political parties talk more about them than most other sex crimes put together (even including Jimmy Savile)

In any case, the wider discussion was whether the UK's current ailments and political schisms are "mainly caused by immigration", and its quite hard to logically connect even the immigration-driven controversies like Brexit, "caps on migrant numbers" and fixation on small boat crossings to crimes committed by gangs of mostly second generation British Pakistanis, mostly in the early 2000s.
by flumpcakes | 2025-07-29 09:48:12+00:00
No, I am using the word as defined in the dictionary. Take your pearl clutching eugenics tosh somewhere else.

A video game whose purpose is to take enjoyment (and let's be hoenst, sexual gratification) from rape and sexual assault media is morally reprehensible.

> You are using that term when talking about an issue that disproportionately targets marginalized groups and victims of traumatic assault.

No, I am talking about people who enjoy rape media.

If you are saying this is in effect targeting marginalized groups then you are saying these groups enjoy rape media at a higher rate to the wider public. I am sure that's not what you're trying to say, but that's how the argument is sounding from reasonable people who think games that promote rape should be banned.

Stop hiding disgusting behaviour behind "marginalized groups". It won't do anything good for them.
by exodust | 2025-07-29 09:48:24+00:00
The Gaza Health Ministry is the main source of data you read about in Reuters and AFP. Hamas also runs a media office that provides official statements on airstrikes, casualties and other events. They have a history of suppressing and intimidating journalists, and they have a history of propaganda.

There are no foreign journalists in Gaza. The journalists you're referring to are Palestinian freelance journalists. Those journalists are working in a media landscape controlled by terrorists. For example they wouldn't be permitted to report back to Reuters about Hamas policing or regrouping.
by rwmj | 2025-07-29 09:48:27+00:00
The blog post makes a bold claim about how the rise of tech salaries at Google killed entrepreneurship. The poster could have at least given this a sniff test: how about, for example, showing a graph of Google salaries overlaid with a graph of the number of start-ups from the crunchbase database? As he didn't even go to this minimum effort, it's valid to ask "where's the data" here.
by ben_w | 2025-07-29 09:48:50+00:00
That may be the perception, but it's still not how it happened.

All of the currently-rich nations had a multi-generational baby boom*, long enough for their systems to assume and become dependent on that population growth.

* babies being the most extreme example of "influx of illiterate people, totally dependent on government handouts", though people only objected to them in the UK when I was a kid when it was single mothers producing them

Families started to have fewer kids, but the systems still presumed and needed more people to avoid stagnation. Japan chose stagnation instead of welcoming as many immigrants as it needed, and "the lost decade" became a plural: https://en.wikipedia.org/wiki/Lost_Decades

> Healthcare and insurance, literally everything is pricing the middle class out of existence.

I assume from this that you're American? That's basically just America that has this problem. Healthcare and health insurance is fine in most other developed (and developing) nations, even e.g. here in Germany in those few years where it took on around a million asylum seekers.

• https://ourworldindata.org/us-life-expectancy-low

• https://ourworldindata.org/financing-healthcare
by acheong08 | 2025-07-29 09:48:57+00:00
It's very difficult. If you're in the UK, most uni students are struggling with internships as well.

If you're looking for money, bug bounties may be worth a look. That's what I did 16-17 and it paid for my uni tuition. They look nice on the CV as well.

It used to be that you could do freelancing but these days, low level work is simply handed over to AI.

Another route might be hackathons. I know Huawei's annual Tech Arenas are about to start (UK, Ireland, Munich, etc) and they hire the top 3 teams from each. Interns get paid pretty well but the competition is harsh (mostly attended by PHDs and masters students).
by kmac_ | 2025-07-29 09:50:36+00:00
Thank you for your comment. People would be shocked at how many hazards they avoid because of those regulations. I'll defend China here a bit, as they are improving (at the cost of competing with other, less regulated countries, the irony). And the cherry on top: those "cheap" items are heavily subsidized from multiple places, including postal fees. When the local production gets extinguished (and it won't come back easily, as "know-how" people will be retired) those prices will change.
by viraptor | 2025-07-29 09:51:29+00:00
> This of course ignores the fact that European retailers often sell the same exact goods from the same Chinese factory, but at a 5-10x markup.

The same exact goods, or the same design made by the extra shift in the same factory and at lowest cost? EU companies will usually care about not being sued and not getting too many returns. Temu rando sellers care about items moved, regardless whether they work or not - corners can be cut.
by dmurray | 2025-07-29 09:51:56+00:00
For blackberries at home or in hedgerows, picking only the black ones has always been good enough for me. For raspberries, it's important that they come off the stem readily.

Maybe commercial pickers need to optimise differently and could pick every day and get every berry at its absolute peak? But I doubt that's the state of the art with human pickers at the moment: they get paid minimum wage and are assessed primarily on the weight they pick.
by shivasaxena | 2025-07-29 09:52:24+00:00
Good point, but custom duty on a 2€ wine opener is no where close to 10€. As far as I know on such goods it ranges for 0-30%.

Most of it is just outrageous markup since there's no competition in europe(save again for 1€ mom and pop chinese shops).

Not to mention european retailers would get huge bulk discounts on the sticker price of 2€.
by amiga386 | 2025-07-29 09:52:31+00:00
> In fact, the Tories did NOT promise to reduce immigration.

In fact they did. They promised to reduce immigration. They did the opposite of what you just said.

Their 2019 manifesto said "There will be fewer lower-skilled migrants and overall numbers will come down."

Source: PDF linked on https://conservativehome.com/2019/12/06/read-the-conservativ...
by jeppester | 2025-07-29 09:52:38+00:00
> This of course ignores the fact that European retailers often sell the same exact goods from the same Chinese factory, but at a 5-10x markup. And as said these goods are often same of better quality that what I would get from domestic retailers. In case of stickers the one from Temu were were of higher quality.

The rules are not about where the goods are produced, they are about whether or not the goods are safe.

> If EU was forcing Temu to abide by EU regulations on health and safety I would be all for it. But they are shutting down competition(change in customs rule on small packages etc) so our domestic retailers can stay inefficient and continue to bleed consumers.

Forcing Temu to abide by the regulations is exactly what the EU is doing here.

If it was solely about shutting down competition, there would surely be a handful of European shops selling all kinds of goods legal or not, just like Temu.
by mk_stjames | 2025-07-29 09:53:24+00:00
There was this article posted here on HN about the geodemography of left handedness in the US, and all sorts of discussion about past culture of eschewing LH'ded children in schools and such...

and I was surprised that no one brought up the very real downsides of being left handed in a left-to-right writing system region of the world (which is most of it). Most comments were leaning towards backwards conservatism and straight up malice with regard to students being forced a hand in writing early in school and it seemed no one brought up the very real practical reasons for preferring to write right handed, especially with ink.

And I say this as someone who is completely ambidextrous when writing but does not do the 'hook hand' left hand to write, and thus I usually write right-handed with pens and pencils. I have a left handed friend who does write that way and it just screams RSI/Carpal Tunnel to me.