Closing #Taiwan w/ a run in the mountains, Jazz and food. 👏 #photography
And now, an 18hrs flight later, I’m back in Germany.
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
Ich habe heute im #fediday2025 -Vortrag von @… zum ersten Mal von den #MastodonStarterPacks gehört. Sehr gute Sache 👍 👍
👉 Es gibt jetzt ein Starte…
Source: Binance considers reintroducing stock tokens after removing them in 2021; OKX, Kraken, Bitget, and others are expanding their tokenized stock offerings (Yueqi Yang/The Information)
https://www.theinformation.com/articles/crypto-exchanges-want…
#Winterreifen auf dem #Skoda #Yeti
Ich mache von O bis O nicht mit. Die Reifen werden erst gewechselt, wenn die Witterung es vorgibt, nicht nach Kalender!
Warum die #Biotonne auf Fremdstoffe kontrolliert werden muss? Weil Deppen es sogar schaffen am #Recyclinghof Plastik in die #Grünschnitt-Container zu werfen!
Anthropic details how it had to redesign its take-home test for hiring performance engineers as Claude kept defeating it, and releases the original test (Anthropic)
https://www.anthropic.com/engineering/AI-resistant-technical-evaluations
Bisher hatte ich nicht auf dem Schirm, dass die Vorträge vom #fediday2025 aufgezeichnet wurden. 🙈
Die Suche nach dem Hashtag auf der #Peertube-Instanz der @… [1] …