Today's #Rust #API design lesson: to make multithreaded programs possible, sometimes you have to exchange some compile-time safety for runtime safety.
Specifically, objects containing &references can't be sent between threads. You'd need to send the referred object together, but Rust can't do that.
The next best thing is to wrap the referred object *everywhere* in an Arc<> and hand out clones instead of references. Bad news for &mut refs, now you must count them manually.
One area where post-consumer plastic recycling is actually happening is black plastic, such as for kitchen utensils and takeout containers. They're made from recycled electronics products, flame-retardants and all. A supermajority of tested spatulas and sushi trays children's toys contained cancer-causing levels of flame retardants that are banned in the U.S.
Plastic recycling: On the rare occasion where it’s not a myth, it is bad! https://www.cnn.com/2024/10/01/health/flame-retardant-black-plastic-wellness/index.html
Francesca Albanese: "The entire population of Gaza is at risk of dying in a genocide that has been announced & executed under our watch."
"Albanese was responding to an earlier statement from the UN humanitarian chief Joyce Msuya warning that the entire population of North Gaza is at risk of dying under Israel’s siege."
"Zionists are openly calling to “shut down” the upcoming Toronto talk by United Nations Special Rapporteur on the Palestinian territories Francesca Albanese. On October 10, the Centre for Addiction and Mental Health, Canada’s largest mental health and addiction teaching hospital, canceled a panel discussion on “workplace mental health” that included a screening of the 1984 film Gaza Ghetto: Portrait of a Palestinian Family..."
https://www.thecanadafiles.com/articles/zionist-lobby-organizations-openly-seeking-fascism-in-canada
#Doonesbury by #GarryTrudeau for October 27, 2024 - GoComics
"The U.S. Department of Agriculture said that since 2022, when the national outbreak started, 104 million birds have been affected in 48 states...No infected birds or eggs have entered the food supply...according to the Department of Agriculture"
🧐 Idk, seems pretty unlikely to me that both those statements can be true...and we know for sure the first one is.
Provides no answers, brings up a lot of thorny questions. #Coal #GreenEnergy
If now isn't a time to dump 'windows', when is?
Microsoft fires employees who organized vigil for Palestinians killed in Gaza | AP News
https://apnews.com/article/microsoft-fired-workers-israel-palestinians-gaza-72de6fe1f35db9398e3b6785203c6bbf
"More evidence has emerged that AI-driven demand for energy to power datacenters is prolonging the life of coal-fired plants in the US."
I expect automatic transcription to make mistakes confusing similar-sounding words, but this? yikes. https://apnews.com/article/ai-artificial-intelligence-health-business-90020cdf5fa16c79ca2e5b6c4c9bbb14
This tool has been used to transcribe 7 million doctor visits, transcriptions which can't be checked for errors as the source audio was deleted. #AIIsGoingGreat
Hi! We "upgraded" our primary @matrix chat, (#codeberg.org:matrix.org) to room version 10. Upgrades are a part of the Matrix protocol: They create a new room in the place of the old one, and send invites to everyone in the old room. If you were in the old room, you should have received an invite.
We had 1588 members, but it seems like we only sent ~1180 invites. If you were a member of the chat, please accept the invite! If you haven't received one, please let us know!
Elon Musk, enemy of ‘open borders,’ launched his career working illegally
https://www.washingtonpost.com/business/2024/10/26/elon-musk-immigration-status/
Impound all his wealth as it stemmed from a crime.
In the immortal words of the boring VC mouthpiece Mike Ethereum, "Make crime illegal"
What if, instead, I wrote a second UI for this program so you could launch the program with the TUI or the second UI that I would write. The second one would *only* be accessible to screen readers. Either by interfacing with them directly to read stuff (and looking at it you just get a blank terminal), or by just printing whatever text the user has navigated to to the terminal, then when they hit keys we print the next thing.
Is this a thing anyone else does?
What's your impression? My colleague and I used it to collaboratively develop a peer-reviewed journal paper... which, incidentally was about #libre software in education... and the costs. Which are absurdly much better than what most institutions pay now. https://www.irrodl.org/index.php/irrodl/article/view/5763/5600#CaseStudy
Plus Amazon AWS, MS Azure, and Google Cloud are all eye wateringly expensive (like 20x the cost of the functionally comparable competition!). If you're going to pay that, for goodness sake support a domestic (not foreign-)owned Cloud provider. That way they'd have a hope of achieving the scale required to achieve competitive prices for the benefit of NZ-based companies, who could then cost-effectively use NZ suppliers to reach a global market.
#ShlaerMellor, #FunctionPointAnalysis, #punk, #environmentalist, #unionAdvocate, #anarchosocialist
"with a big old lie and a flag and a pie and a mom and a bible most folks are just liable to buy any line, any place, any time" - Frank Zappa