Posts by wren6991@types.pl
 (DIR) Post #B558inhVLsITiLSXke by wren6991@types.pl
       1 likes, 0 repeats
       
       I like to ask alarming questions in the work chat every now and then to keep people on their toes. (I have no idea why we have this many licences -- it seems to be bundled with another tool or IP)
       
 (DIR) Post #B56Brn0lmI6fCfPMsC by wren6991@types.pl
       0 likes, 0 repeats
       
       @mntmn Finally a thumb grabby thing that doesn't look like a MacBook
       
 (DIR) Post #B56BrnBl7QtfkkY90C by wren6991@types.pl
       0 likes, 0 repeats
       
       @mntmn The number of manufacturers doing exactly this feature is too damn high
       
 (DIR) Post #B58O2rP7NEIRmKlJg0 by wren6991@types.pl
       0 likes, 0 repeats
       
       I have a constant debate in my head on whether it is better for my education to figure things out from first principles or to look at code written by people smarter than me. I think overall I'm too stubborn and build too many things from scratch
       
 (DIR) Post #B5PmtwKxSrst0qyig4 by wren6991@types.pl
       0 likes, 1 repeats
       
       I've seen things you people wouldn't believe. Cascaded ternary operators that continue for page after page. Nested twelve levels deep to force left-associativity. All gone, like tears in the rain
       
 (DIR) Post #B5RVTyuVxphyYoZ8RE by wren6991@types.pl
       0 likes, 0 repeats
       
       Psst, want to see a funny GitHub issue? https://github.com/anomalyco/opencode/issues/18100
       
 (DIR) Post #B5RVTzAozCkhNOC9r6 by wren6991@types.pl
       0 likes, 0 repeats
       
       If you have heard the buzzword "agentic AI" but avoided finding out what it meant until now:1. Someone figured out an LLM can do JSON RPCs by typing out the JSON token by token.2. The LLM is run in a harness that regexes out the JSON from its output and executes the RPC.3. The response is catted into the LLM's context window, also in the form of JSON that the LLM just reads.4. People connect these harnesses to system shells on their dev machines.5. Fast forward, this is a trillion-dollar industry held together by markdown files asking the LLM to please not curlbash from the internet.
       
 (DIR) Post #B5RXnSRMb4EnYXLT4i by wren6991@types.pl
       0 likes, 0 repeats
       
       @astraleureka I don't know what Anthropic do but llama-cpp (open-source inference) apparently does masked decoding for tool calls. It recognises a magic token indicating the start of a tool call and from that point it forces probability to 0 for tokens that don't match an FSM for JSON syntax + tool call schema. This is done at inference level and might not be visible in the Claude leak, which afaik was just the harness.So it's not quite as dumb as I made it sound because the LLM is constrained to only produce syntactically and schematically correct JSON during tool calls. It's still funny that it just... types the JSON though
       
 (DIR) Post #B5RXnSgxf4iMKudvO4 by wren6991@types.pl
       0 likes, 0 repeats
       
       @astraleureka There's a little bit of info here: https://github.com/ggml-org/llama.cpp/blob/master/grammars/README.mdThere is some plumbing to make this match whatever the model is post-trained to emit for tool calls. No idea where that is. The whole file format situation is absolutely fucked in general
       
 (DIR) Post #B5VqRxR3Lwxv4lV8qG by wren6991@types.pl
       0 likes, 0 repeats
       
       @lethalbit can I introduce you to our lord and saviour if (__builtin_constant_p(...))
       
 (DIR) Post #B5cjErqJUmioOSqaFk by wren6991@types.pl
       2 likes, 0 repeats
       
       I wrote a new open source licence for LLM-generated code
       
 (DIR) Post #B5hlON0OAtStLb1Cgy by wren6991@types.pl
       0 likes, 1 repeats
       
       TIL: if node.js encounters an error in a minified source file it will print out the entire library as the "context line" for the error.For example the PDF.js worker is a 2 MB source file on a single line.If you're wondering why I'm trying to use PDF.js in node even though it uses browser APIs: I'm not, it's just there seem to be several ways to inject mocked test dependencies, one of them experimental and the rest deprecated or removed.I feel like the whole web tech stack is the environmental storytelling equivalent of the skeleton sitting on the toilet in Fallout games
       
 (DIR) Post #B5jIcoQOWAcs5RdWfw by wren6991@types.pl
       1 likes, 0 repeats
       
       Stubbed my toe on "JavaScript can't do SHA-256 if your web app wasn't served over SSL" and apparently this is a known rabbit hole, holy shit: https://github.com/w3c/webcrypto/issues/28I would like to understand the thought process of someone who imagines any outcome other than people rolling their own crypto for locally served web apps
       
 (DIR) Post #B5orhieDtNGfntynMu by wren6991@types.pl
       0 likes, 0 repeats
       
       Slightly annoyed at copy.fail releasing a PoC for an exploit still not patched in Ubuntu LTS so that they can advertise their AI thing
       
 (DIR) Post #B5orhiustQaydZm6L2 by wren6991@types.pl
       0 likes, 0 repeats
       
       Uhhhhh the kernel ignores modprobe blacklist for crypto modules. I blacklisted algif_aead and I can still pop a root shell: https://github.com/torvalds/linux/blob/e75a43c7cec459a07d91ed17de4de13ede2b7758/crypto/api.c#L301-L307
       
 (DIR) Post #B5tEyDLwZdfNFI6Uwi by wren6991@types.pl
       0 likes, 0 repeats
       
       @thephd wait that's illegal
       
 (DIR) Post #B5tFHFH7eQwei2vJFw by wren6991@types.pl
       1 likes, 0 repeats
       
       > wheels are intended to replace eggscompletely normal statements from the Python community
       
 (DIR) Post #B686D5hnIxY5edk4B6 by wren6991@types.pl
       0 likes, 0 repeats
       
       @azonenberg Same thing with YAMAHA
       
 (DIR) Post #B6PkgcyzxTJt79kMfw by wren6991@types.pl
       0 likes, 0 repeats
       
       New post: Stop Using OpenCode https://wren.wtf/shower-thoughts/stop-using-opencode/This is a rabbit hole. The post is messy, but I had to post it instead of leaving it in my blog drafts forever.
       
 (DIR) Post #B6X4PxLgLM7UXqP7dQ by wren6991@types.pl
       0 likes, 0 repeats
       
       @azonenberg Your description doesn't add up: the control flow signals on the data channels must still be driven too, else it would lock up. It almost sounds like they're just masking data low and RESP high