Posts by jsbarretto@social.coop
 (DIR) Post #AR6OBNJ4l4VMvvuEjo by jsbarretto@social.coop
       0 likes, 0 repeats
       
       I did a talk for Rust Bristol and Rust & Cpp Cardiff about the development of @veloren a few weeks ago. For anybody interested in Rust and gamedev, it might be interesting.#rustlang #rust #gamedevhttps://www.youtube.com/watch?v=bT2SeYXpQm8
       
 (DIR) Post #B4938hwxUFioVxyxyS by jsbarretto@social.coop
       0 likes, 1 repeats
       
       I wrote a big 'ole blog post about the process of developing the text editor I now daily-drive, complete with technical details about the implementation and some fun solutions I found along the way.Perhaps some of you folks will enjoy it.https://blog.jsbarretto.com/post/text-editor
       
 (DIR) Post #B4azAsjfOjJN9cQMvg by jsbarretto@social.coop
       1 likes, 0 repeats
       
       I made project-wide search in my text editor asynchronous so results stream in from worker threads without blocking the main thread. However, searching is so fast that it finishes before the next frame renders, even on the largest project I work on, so it was entirely wasted effort.
       
 (DIR) Post #B4azbZ2IkQzlsNrbbk by jsbarretto@social.coop
       1 likes, 0 repeats
       
       @natty The I/O isn't itself meaningly faster (workers still block on file access, so it's only asynchronous from the perspective of the main threads). But I was hoping to see the number of results tick up in a more satisfying way instead of appearing instantly. I really that this is a silly thing to be sad about though
       
 (DIR) Post #B4qmr5qMrXON5ziOrw by jsbarretto@social.coop
       0 likes, 0 repeats
       
       @js @cdarwin The framing is specifically focusing on the US costs because that's the criteria with which the military apparatus are presumably judging these systems. The other stuff is important, but it's true of every conflict: the focus of the article is specifically about AI models backfiring, so that's why the framing is as it is.
       
 (DIR) Post #B6yQq0znG0PkbXGOFE by jsbarretto@social.coop
       0 likes, 0 repeats
       
       Since I made project-wide search fast in my text editor I've realised I've mostly stopped using the regular find/open dialogues.The project-wide search nudges files that are close to the current file to the top of the results anyway, so I'm seeing the same files regardless: but I also get to see everything in nearby directories too, just in case I forget where the file I'm looking for is.Originally I built project-search as a heavy-weight tool with the expectation that I'd use it only a few times per programming session but now that it can sift through millions of lines faster than I can blink I've ended up using it to query pretty much anything about the code I'm working on.
       
 (DIR) Post #B6yQq1OxkQXzrb2UTY by jsbarretto@social.coop
       0 likes, 0 repeats
       
       Another thing I added recently is post-search filtering. Once I search for a term, I can then keep typing additional space-separated filters to refine the search.This has had a surprising effect on the way I write code. I now mostly don't think about directories when I'm moving around the codebase. Instead, it's much more like I have a tagged filesystem: I can specify little fragments of the path in whatever order I like based on whatever pops into my head first and it zeroes in on the result almost immediately.
       
 (DIR) Post #B6yQq1fGlnaigAfVtQ by jsbarretto@social.coop
       0 likes, 0 repeats
       
       It's really difficult to put hard numbers on it but I think this has made me substantially more productive as a developer, especially when working with unfamiliar code. I no longer have to pull the whole codebase into my mental cache to start working with it: I can ask questions of the code with the project search at the speed of thought. It feels *amazing*.I don't care how fancy you think your AI-powered workflow is, there's nothing like wondering "which components consume this type?" and getting the answer back before you've even finished formulating the question.
       
 (DIR) Post #B90ZJA4YQCJobS3vjk by jsbarretto@social.coop
       0 likes, 0 repeats
       
       @ariadne Reading this article feels like being repeatedly kicked in the head by a horse
       
 (DIR) Post #B90ZcqpBh6WWhNGOno by jsbarretto@social.coop
       0 likes, 0 repeats
       
       @ariadne The machine that produces plausible imitations of its input, trained on the writing of actual conscious beings, is pretending to be a conscious being again. What could this possibly mean