Tootfinder

Opt-in global Mastodon full text search. Join the index!

No exact results. Similar results found.
@mgorny@social.treehouse.systems
2025-12-23 13:11:20

I'm building webkit-gtk right now. It's one of these messy packages where a few source files need a lot of memory to compile, and ninja can randomly order jobs so that all of them suddenly start compiling simultaneously. So to keep things going smoothly without OOM-ing, I've been dynamically adjusting the available job count via steve the #jobserver.
While doing that, I've noticed that ninja isn't taking new jobs immediately after I increased the job count. So I've started debugging steve, and couldn't find out anything wrong with it. Finally, I've looked into ninja and realized how lazy their code is.
So, there are two main approaches to acquiring job tokens. Either you do blocking reads, and therefore wait for a token to become available, or you use polling to get noticed when it becomes available. Ninja instead does non-blocking reads, and if there are no more tokens available… it waits till one of its own jobs finish.
This roughly means that as other processes release tokens, ninja won't take them until one of its own jobs finish. And if ninja didn't manage to acquire any job tokens to begin with, it is just running a single process via implicit slot, and that process finishing provides it with the only chance to acquire additional tokens. So realistically speaking, as long as there are other build jobs running in parallel, ninja is going to need to be incredibly lucky to ever get a job token, since all other processes will grab the available tokens immediately.
This isn't something that steve can fix.
#Gentoo #NinjaBuild

@leftsidestory@mstdn.social
2025-11-11 00:30:01

Moody Urbanity - Relations III 🧶
情绪化城市 - 关系 III 🧶
📷 Minolta Hi-Matic AF
🎞️ Shanghai GP3 400 Pan
#filmphotography #Photography #blackandwhite

Shanghai GP3 400 PAN (FF)

English Alt Text: A dramatic black-and-white photo taken from a low angle, looking up at a tall residential building. The structure features multiple balconies with metal railings, windows with air conditioning units, and ornate ironwork. The perspective emphasizes the building’s height and repetitive architectural patterns. The grainy texture adds a vintage, film-like feel, highlighting the imposing presence of the urban architecture.

中文替代文字:
这是一张黑白照片,从低角度仰拍一栋高层住宅楼。…
Shanghai GP3 400 PAN (FF)

English Alt Text: A black-and-white photo of a city street. In the foreground, a metal bollard with a can of coke stands beside a striped traffic cone and a metal fence. The fence separates the sidewalk from the road, where cars and a motorcycle are passing. Residential buildings with balconies and trees line the background. Overhead, power lines stretch across the sky. The image has a grainy, vintage texture, evoking a quiet, everyday moment in an urban neighborhood.…
Shanghai GP3 400 PAN (FF)

English Alt Text: A black-and-white street photo showing a cluttered scene of parked motor scooters and bicycles in front of a building. Some scooters have license plates, others are covered with protective sheets. The building behind has barred windows and a sign with Chinese characters above the entrance. The image captures the density and texture of urban life, with overlapping shapes and surfaces creating a documentary-style composition.

中文替代文字:
这是一张黑白街头照片,画面前景是密…
Shanghai GP3 400 PAN (FF)

English Alt Text: A black-and-white photo of a worn building facade. Large rectangular windows dominate the structure, some open or partially ajar. Air conditioning units are mounted on the wall, with peeling paint and exposed plaster adding texture. A tree branch with leaves stretches across the top of the frame, partially obscuring the view. The image conveys a gritty, aged urban atmosphere.

中文替代文字:
这是一张黑白照片,展示了一栋外墙斑驳的建筑。建筑上有多个大矩形窗户,有些打开或半开。墙面上安装了空调机,油漆脱落,露出粗糙的灰泥层,…
@ErikJonker@mastodon.social
2025-12-12 07:56:47

Nice blog in the discussion about AI & coding,
"AI can replace most of programming, but programming isn’t the job.
Programming is a task. It’s one of many things you do as part of your work. But if you’re a software engineer, your actual job is more than typing code into an editor."

Mekke Okereke wrote:
Here's a challenge: find an adult Black man that has spent any significant time in New York as a teenager, that *hasn't* ever been detained by a cop with a gun.
This isn't rhetorical, and it's not a trick question.
It is possible to find!
A decent percent of Black men in New York have avoided this!
About 10%!

@hex@kolektiva.social
2025-10-30 10:05:59

The fracturing of the Dutch far-right, after Wilder's reminded everyone that bigots are bad at compromise, is definitely a relief. Dutch folks I've talked to definitely see D66 as progressive, <strike>so there's no question this is a hard turn to the left (even if it's not a total flip to the far-left)</strike> a lot of folks don't agree. I'm going to let the comments speak rather than editorialize myself..
While this is a useful example of how a democracy can be far more resilient to fascism than the US, that is, perhaps, not the most interesting thing about Dutch politics. The most interesting thing is something Dutch folks take for granted and never think of as such: there are two "governments."
The election was for the Tweede Kamer. This is a house of representatives. The Dutch use proportional representation, so people can (more or less) vote for the parties they actually want. Parties <strike>rarely</strike> never actually get a ruling majority, so they have to form coalition governments. This forces compromise, which is something Wilders was extremely bad at. He was actually responsible for collapsing the coalition his party put together, which triggered this election... and a massive loss of seats for his party.
Dutch folks do still vote strategically, since a larger party has an easier time building the governing coalition and the PM tends to come from the largest party. This will likely be D66, which is really good for the EU. D66 has a pretty radical plan to solve the housing crisis, and it will be really interesting to see if they can pull it off. But that's not the government I want to talk about right now.
In the Netherlands, failure to control water can destroy entire towns. A good chunk of the country is below sea level. Both floods and land reclamation have been critical parts of Dutch history. So in the 1200's or so, the Dutch realized that some things are too important to mix with normal politics.
You see, if there's an incompetent government that isn't able to actually *do* anything (see Dick Schoof and the PVV/VVD/NSC/BBB coalition) you don't want your dikes to collapse and poulders to flood. So the Dutch created a parallel "government" that exists only to manage water: waterschap or heemraadschap (roughly "Water Board" in English). These are regional bureaucracies that exist only to manage water. They exist completely outside the thing we usually talk about as a "government" but they have some of the same properties as a government. They can, for example, levy taxes. The central government contributes funds to them, but lacks authority over them. Water boards are democratically elected and can operate more-or-less independent of the central government.
Controlling water is a common problem, so water boards were created to fulfill the role of commons management. Meanwhile, so many other things in politics run into the very same "Tragedy of the Commons" problems. The right wing solution to commons management is to let corporations ruin everything. The left-state solution is to move everything into the government so it can be undermined and destroyed by the right. The Dutch solution to this specific problem has been to move commons management out of the domain of the central government into something else.
And when I say "government" here, I'm speaking more to the liberal definition of the term than to an anarchist definition. A democratically controlled authority that facilitates resource management lacks the capacity for coercive violence that anarchists define as "government." (Though I assume they might leverage police or something if folks refuse to pay their taxes, but I can't imagine anyone choosing not to.)
As the US federal government destroys the social fabric of the US, as Trump guts programs critical to people's survival, it might be worth thinking about this model. These authorities weren't created by any central authority, they evolved from the people. Nothing stops Americans from building similar institutions that are both democratic and outside of the authority of a government that could choose to defund and abolish them... nothing but the realization that yes, you actually can.
#USPol #NLPol

@jerome@jasette.facil.services
2025-12-05 00:07:31

Très dangereux le Dr Khadir, et encore une fois la complexité du sujet par un simple article dans le journal enlève beaucoup de nuances.
Y'a pas une seule maladie dans le monde qui demande un traitement de ces mêmes antibiotiques sur plusieurs mois ou années. Ca va contre tous les principes de médecine. C'est d'un ridicule absolu que ça soit encore débattu, c'est extrèmement dangereux (pas juste un "problème gastrique")