Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 18/10/2026It runs on hardware too! Unfortunately the mouse is not functioning but I think that's because I buggered the BIOS a few years ago. 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 18/10/2026(also thanks to @jamwaffles's `embedded_graphics` for the font rendering capability) 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 18/10/2026It's so fun to see this working. Each of these windows has been independently registered with the GUI shell process by different processes. Each of the processes are properly isolated from one-another and are merely sharing a memory-mapped framebuffer with the […] [Original post on social.coop] 200 2
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 18/10/2026I ended up resolving this by realising that (a) signalling based on index was more sensible, (b) cleanup can just be done after the futex yield (just re-lock the waiting set and remove ourselves from all of the things we were waiting on) and (3) doesn't actually matter at all since spurious […]social.coopOriginal post on social.coop 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 15/10/2026I've noticed that when you start asking LLMs about parser combinators in Rust they start spitting out API designs that look extremely similar to my library, chumsky. A fair critique is "you licensed it under MIT" and, sure, but this is only making me not want to license things under MIT any longer.hachyderm.io 000 0
Reposted by Joshua BarrettoBodil @bodil.lol · 12/10/2026A gentle reminder that unsourced news stories are usually bullshit, even when they play to your biases about the Nazis all being Russian bots. 227 7
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 11/10/2026The first sort of seems trivial: simply store the virtual address along with the thread ID in the wait queue (although, there is potential for a race condition if the process' address space mapping changes before the wakeup occurs). The rest seem like they're potentially quite difficult to handle. 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 11/10/2026I've got my futex implementation up and running quite nicely but now I'd like to generalise it to multi-wait behaviour (i.e: block on any of N addresses). Simple enough, although I think there are a few things I'm not yet sure about: 1. How best to signal to a thread which specific address […]social.coopOriginal post on social.coop 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 11/10/2026Am I followed by anybody with a strong familiarity with OS kernel internals that I might be able to ask a few questions of involving futexes, epoll, scheduling, and that sort of thing? 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 09/10/2026Not that heapless is bad, just that this really should be a thing that core makes easy because it's already doing 99% of the work. 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 09/10/2026The 'easiest' way to do formatted printing into a buffer (i.e: without writing directly to I/O hardware) on no_std (without alloc) is to bring in a library like `heapless`, which feels quite unfortunate. 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 09/10/2026It does make me sad that &mut &mut [u8] doesn't implement core::fmt::Write. 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 08/10/2026I think it should be possible to not require anything but these two mechanisms? Which is awesome if so. That makes the square footage of my scheduler maybe a few dozen lines at most. 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 08/10/2026Hehe, microkernel IPC entirely via shared memory and futexes now works. And it's fast as hell. 100 1
Reposted by Joshua Barrettobryan newbold @bnewbold.net · 07/10/2026ah damn, RIP Margaret Hamilton. she took safety-critical software engineering seriously, and got people to the moon and back. news.mit.edu/2026/margare... 103144324732 14.4K
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 02/10/2026Programming is just googling stuff like "elf magic field" and then being surprised at the results 022 2
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 20/09/2026It's a bit mad that, until 2019, objdump was missing a feature as apparently niche as... disassembling a specific symbol. You were expected to disassemble the entire bloody thing and pump it through awk or whatever, apparently 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 17/09/2026@donpdonp Thanks, I'm hoping to go into more depth about some parts soon. 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 16/09/2026SUVs really are the McMansions of the car world. Why do they all look so garishly horrible? It's like the manufacturers are having a competition to see how much like the 😑 emoji they can make their cars look. Come on, making your headlights 30% narrower isn't going to suddenly make your chelsea […]social.coopOriginal post on social.coop 010 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 15/09/2026@jonny Somebody forgot to check errno! 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 15/09/2026I found some time to write about some of the things @veloren does differently as compared to other games in the voxel genre, which is something I've been meaning to do for a while. blog.jsbarretto.com/post/velorenblog.jsbarretto.comSome things Veloren does differently 102 2
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 15/09/2026This stuff is net harmful, at every level, all the way from the mundane (online misinfo, spam, killing the FOSS ecosystem) to the *really bad* (booster rocket for the far right, encouraging teens to kill themselves, destruction of the intellectual commons), all the way to the truly calamitous […]social.coopOriginal post on social.coop 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 15/09/2026I'm in a weird position where I entirely believe that the Anthropic AI doom stuff is purely a cynical attempt to save a dying oligopoly, but also I sort of don't want to say it because I do think that actual ASI (LLMs won't get us there, of course) would be a near-immediate extinction event and […]social.coopOriginal post on social.coop 112 2
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 12/09/2026@jonny Dear god, STEM major humanities minor courses desperately need to come back 001 1
Reposted by Joshua Barrettoraganwald.com @raganwald.functional.cafe.ap.brid.gy · 08/09/2026Tony Hoare, as usually quoted: “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies. “The first method is far more difficult.” The […]functional.cafeOriginal post on functional.cafe 006 6
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 24/08/2026@b0rk Not a cryptographer, but I feel like I've got a good conceptual grasp of crypto so maybe not quite the intended audience. For me, keys/passwords have colour: blue for public, red for green. Giving a password feels like extending an arm into an alligator cage. A public key feels like […]social.coopOriginal post on social.coop 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 24/08/2026I can't help but visit it and feel that everybody is being disingenuous. I think it's probably got a far smaller bot population than most of the rest of the web, but in a way it doesn't matter: you're not viewing the thoughts of actual human beings anyway, just a façade that's been constructed […]social.coopOriginal post on social.coop 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 24/08/2026I saw a post on there that was like "Cory Doctorow is bad" and the justification pretty much boiled down to "I don't like how he's imprecise with his terminology in order to appeal to people" and, uh, idk. If you're not willing to entertain that Cory might be on your side I don't think there's […]social.coopOriginal post on social.coop 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 24/08/2026I like fedi. It is not perfect, and it has its own strains of mad cow disease, but it's also comfortable, like a pair of shoes one has owned for a decade 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 24/08/2026Sometimes I visit BlueSky and... it's not that folk on there are bad in any profound way, but I always leave the place with a sort of unquantifiable misanthropy. Something about the place just makes me want to escape to the wilds. I don't know whether it's the omnipresent Americanism or the fact […]social.coopOriginal post on social.coop 313 3
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 21/08/2026A thing I am noticing when taking the dog for walks is that the areas with the highest plant diversity are remaining the most green despite the lack of rain. Difficult to say which way round the causation goes (perhaps being near, say, a source of water encourages greater plant diversity?), but […]social.coopOriginal post on social.coop 001 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 21/08/2026I think I have a new favourite quote. > On two occasions I have been asked, — "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" In one case a member of the Upper, and in the other a member of the Lower, House put this question. I am not able […]social.coopOriginal post on social.coop 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 14/08/2026Angry-posting is a really good way to get popular on here, huh? 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 14/08/2026I want to remind you: these bastards have spent $1.5 trillion of society's money on this technology. That it's produced *something* should not be surprising. That's 'solve aging', 'cure cancer', 'eliminate all poverty', 'shift climate change into reverse', or 'send a probe to another solar […]social.coopOriginal post on social.coop 2365 65
Reposted by Joshua Barrettospooky Deirdre Connolly¹ ² at a distance @durumcrustulum.com · 06/08/2026"LLM-generated patches did not resolve the vulnerability, added a new vulnerability, or both, an average 53.9% of the time." 👁️👄👁️ 1password.com/blog/why-ai-... 3174120 174
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 13/08/2026I love Rust, and I love the tools it gives you to craft truly beautiful APIs, but it can't half be used for evil purposes when wielded by somebody seemingly intent on making using an API as difficult as possible for no reason 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 13/08/2026Please, do not create your own clamping API parameterised by your own magic clamping enums. Just tell me what the damn bounds are. Stop trying to pretend that you're not just doing that internally too. 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 13/08/2026Like, come on, you don't need to newtype 'line' and 'column' for a TUI library. I want my code to not require 500% extra characters to appease the compiler. 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 13/08/2026I wish all those that build numeric newtypes into their Rust API a very fuck you. Stop making me do stupid cast and `.into()` backflips, I do not care 100 1
Reposted by Joshua BarrettoOliver Geer @ogeer.org · 12/08/2026I forgot to buy eclipse glasses, but saw the eclipse anyway via shadows on the wall. So lucky! #eclipse #solareclipse #eclipse2026 145 5
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 12/08/2026I am amazed at how well an old pair of welding goggles and 3 layers of parcel tape worked, frankly. Amazing view of things. 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 07/08/2026@matt That's entirely fair, well said. As you say though, this is still an order of magnitude or two below the norm for modern app installs though, and probably still half an order of magnitude greater than it might otherwise be if developed in an environment where size was a greater pressure. 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 07/08/2026RE: infosec.exchange/@masek/11705435970… Reminder that you can build a workable version of almost any useful program that uses less than a few hundred KB of working memory, if you know what you're doing. I'm looking forward to those skills finally being relevant again.infosec.exchange 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 07/08/2026Fixed my (and now my son's) toy train due to a long-missing battery cover. #FreeCADFriday 020 2
Reposted by Joshua Barrettojonny (nonvenomous) @jonny.neuromatch.social.ap.brid.gy · 29/07/2026[Microdosing LLMs, self inflicted vibe coding, slopgazing. Long-ish] I had never top to bottom vibe coded something before - like full on "do not look at the code, just keep rolling the dice" - and I was sort of confused about how people in forums would say they were "working for months" on […]neuromatch.socialOriginal post on neuromatch.social 132 3
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 22/07/2026Interpolating rich latent spaces that have already been marked and reasoning in highly noisy and path-dependent environments are wholly different tasks and we should be careful not to imagine that proficiency in the former necessarily demonstrates proficiency in the latter, even though this is […]social.coopOriginal post on social.coop 000 0
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 22/07/2026Their reasoning is bounded by the linguistic latent space that we have laid down before them (as are we all, to some degree). But our unique ability is that we can operate outside that latent space too. It's often seen as curious and a little bemusing that machines can generate mathematical […]social.coopOriginal post on social.coop 100 1
Joshua Barretto @jsbarretto.social.coop.ap.brid.gy · 22/07/2026Problem is, for all of human history, symbol manipulation has been seen as *very difficult* because it's something that is less immediately intuitive to our brains. So whenever we see someone - or something - perform manipulation of a latent space like language our tendency is to presume that […]social.coopOriginal post on social.coop 101 1