It's the weekend, baby
Across most of the emulators I've studied ensuring the timing of the emulated chips lines up correctly has consistantly required some care, but nowhere more so than for the Super Nintendo Entertainment System! So BSNES bundles a cooperative multithreading library "LibCo".
The core logic here is CPU-specific (implemented for AArch64, AMD64, ARM, PowerPC, PowerPC64v2, SJLJ via UNIX signal handlers, & x86) writing all registers to one pointer whilst reading them from another.
1/2?
Weirdly LibCo implements these in machine code rather than Assembly code, and takes care that this code can only be read/executed. Also (de)initializing threads is CPU-specific in terms of how much RAM's required.
Also it can defer to Windows' Fibers library, or POSIX's UContext library. I'll note that ARM has a particularly easy time swapping threads, only a couple opcodes!
Turns out that LibCo is all ports, no machine/kernel generic code!
2/2 Fin for today!
Woot! I got approval to go to #FOSSY2026 and I'm looking forward to the #Fedicon track. I'm all in on the open social web!
2026.fossy.ca
FOSSY 2026 | Home
Do you have a favourite invertebrate and why is it the velvet worm? Of course it is. https://www.theguardian.com/commentisfree/picture/2026/jul/10/we-say-thanks-to-all-our-selfless-spineless-pals
I just had to confirm to my washing machine that I'm over 18
This is part of my "slightly better photos of local attractions than you'd typically find hanging in your hotel room" series.
"The city seen from the Queensboro Bridge is always the city seen for the first time, in its first wild promise of all the mystery and the beauty in the world."
- F. Scott Fitzgerald, The Great Gatsby.
This was captured with the Phase One IQ3-100 back, Phase One XF DSLR camera, and the Schneider 80mm/2.8 "Blue Ring" lens. I had planned to use a technical camera and the Rodenstock 70mm, providing movements, but a cable was missing from the kit I had with me in the city that night. Fortunately, the 80mm SLR lens was just wide enough to not require movements, though the Schneider lens renders highlights (as prominent starbursts) a bit idiosyncratically for my taste.
Officially the "Ed Koch Queensborough Bridge" but more generally simply the "59th Street Bridge", the view from Sutton Place at 58th Street on the Manhattan side is probably as flattering and uncluttered a perspective as you'll find for this piece of NYC infrastructure.
Immortalized in song by Simon and Garfunkel, in literature by Fitzgerald, and in cinema by Woody Allen, something about this bridge exemplifies the glamor and bustle of 20th century New York in a way that still holds up.
Queensborough (59th Street) Bridge, NYC, 2019.
A different bridge from the one over troubled water, though the East River shouldn't be trifled with, either, at https://www.flickr.com/photos/mattblaze/48418025131/
Backlit HDR image of a mushroom in New Zealand
More about me & prints
https://linktr.ee/steven.sandner
Aperture: f/5.6
Shutter Speed: 1/5s
ISO: 200
@elettrona
Yes, once the first release is tagged, I plan to work on a YunoHost package.
@yunohost
#HolosSocial relay is confirmed to be very stable. I will officially tag it soon so admins can run their own relay with a script to easily install it on their VPS.
Using Holos with a custom domain and a cloud for media allows you to own your portable identity on the #Fediverse. Relays become only an infrastructure for it. Your device runs the #ActivityPub server and works as smoothly as any other app. Micro-blogging, media, and video, all from a single account. Switch with a simple tap.
Ladies and gentlemen... the weekend. (also: you are important and are not alone 🧡)
We beat Cloudflare's bot detection (open-source stealth browser)
https://tilion.dev/blog/cloudflare-blocks-agents
Comments: https://news.ycombinator.com/item?id=48867124
#HackerNews #Cloudflare #Bot #Detection #OpenSource #StealthBrowser #TechNews #CyberSecurity
SF Farmers Market allows laundering food stamps for drug purchases
Comments: https://news.ycombinator.com/item?id=48867079
#HackerNews #SFMarket #FoodStamps #DrugTrade #SocialIssues #CommunityImpact #EthicsInFood
Gonna vent for a while. Sorry in advance
it is your human right to vent as needed i need no apologies
Cyan: I'm reading about quantum physics!!
Me: Ooh!
Cyan: Yeah, it's a book in Chinese! I learned about the shiny element!
Me: Shiny element???
Cyan: Shiny element!! You know, the dead cat....
Me: ????????
Cyan: There's proton, neutron...
Me: Electron? Photon???
Cyan: YES!!
Me: 🤦♀️
@lina
wehh
Don't know about you, but feel like we really dodged a bullet, and excited to hear from an amazing bunch of great progressive candidates campaigning to be the next Senator from Maine. It's been a bumpy road, but optimistic it will turn out for the best so long as the national Democratic Party operatives are kept at bay, and seems like we can trust Mainers to do that. Things are looking up.
A language becomes extinguished every two weeks. Each death makes us poorer.
https://lithub.com/the-worlds-languages-are-in-the-middle-of-an-extinction-level-event/
'Schoolchildren in Ireland and Wales in the nineteenth and twentieth centuries were forced to wear tally sticks around their necks, notched for every time they spoke their native Celtic languages, before they were hit at the end of the school day for how many notches they had accrued. The story of English is not just about Beowulf and Shakespeare; it’s also about those children being smacked daily by their teachers. It’s about colonial administrations, such as that of Whig politician Lord Macaulay, who said he wanted a class of imperial subjects in India to be English-speaking so that they could be “a class of persons Indian in blood and color, but English in tastes, in opinions, in morals and in intellect,” who, as interlocutors, could “refine” the multilingual Indian population.
These words, spoken in support of a law that would eventually be passed, allowed the British East India Company to begin teaching an English curriculum instead of a traditional Sanskrit and Persian one, a decision that would eventually lead to the cultural prominence English enjoys in India today. In a postcolonial world, such transparently racist edicts may be less commonplace. But my research into linguicide, the systemic erasure of languages, has found that not only are decisions made a century ago still having catastrophic consequences today, but that far too little is being done to reverse or even decelerate them.'