Post ArvH7BjFck4XMfZ7C4 by rozenglass@fedi.dreamscape.link
 (DIR) More posts by rozenglass@fedi.dreamscape.link
 (DIR) Post #Arv75NctQ43w8w5fvM by lain@lain.com
       2025-03-10T18:42:04.036760Z
       
       9 likes, 2 repeats
       
       "what if you don't understand the AI's code" people when they have to read their own code 3 months after writing it
       
 (DIR) Post #Arv7DLORbc1zXB86zI by bartholin@fops.cloud
       2025-03-10T18:43:30.170119Z
       
       3 likes, 0 repeats
       
       @lain delete this
       
 (DIR) Post #Arv7H9PK6uxfWFM97g by SuperDicq@minidisc.tokyo
       2025-03-10T18:44:10.462Z
       
       0 likes, 0 repeats
       
       @lain@lain.com Not relatable. I recently got asked by a client to do some maintenance and add some new features on a project that I stopped working on 2 years and I managed to pick it up like I stopped working on it yesterday.
       
 (DIR) Post #Arv7JKHAflefo3a2eu by lain@lain.com
       2025-03-10T18:44:35.166750Z
       
       3 likes, 1 repeats
       
       @SuperDicq good job!
       
 (DIR) Post #Arv7Rbcs38pPvug7Ci by SuperDicq@minidisc.tokyo
       2025-03-10T18:46:04.229Z
       
       0 likes, 0 repeats
       
       @lain@lain.com If I can't understand code I've written in the past it is because I have probably written it under very bad working conditions such as impossible deadlines without documentation, abiding by best practices and such. But that should be rare unless you work at a very bad company.
       
 (DIR) Post #ArvCa0M6UOAmiZeyJ6 by sun@shitposter.world
       2025-03-10T19:43:38.015085Z
       
       2 likes, 1 repeats
       
       @lain This is a variant on the "what if the AI becomes sentient" stupid shit. It's not producing "alien code no human can understand" or has exotic errors a human can't detect. It just doesn't.
       
 (DIR) Post #ArvCdNk5zeY47VUaDg by p@raru.re
       2025-03-10T19:42:09Z
       
       1 likes, 0 repeats
       
       Hey come on now, it's at least for months@lain
       
 (DIR) Post #ArvCj0TVPleDh7PlJY by lain@lain.com
       2025-03-10T19:45:15.082165Z
       
       3 likes, 1 repeats
       
       @sun mostly its just the same stuff that a tired junior dev would produce lol
       
 (DIR) Post #ArvCunv5v540EMwcIy by sun@shitposter.world
       2025-03-10T19:47:21.572890Z
       
       0 likes, 1 repeats
       
       @lain it would be cool if it could produce genius code the same way it can produce genius chess moves but it just aint so
       
 (DIR) Post #ArvCyDzLSCQjwwZ0Ma by lain@lain.com
       2025-03-10T19:48:00.192110Z
       
       0 likes, 1 repeats
       
       @sun we’ll have to wait another week for that at least
       
 (DIR) Post #ArvDSMfnjEK9ZYnHsm by sun@shitposter.world
       2025-03-10T19:53:27.536443Z
       
       0 likes, 1 repeats
       
       @lain we would need to find genius coders to train it on
       
 (DIR) Post #ArvDUUez0M6MvFQUvw by lain@lain.com
       2025-03-10T19:53:49.474189Z
       
       2 likes, 1 repeats
       
       @sun I’m donating my pleroma code
       
 (DIR) Post #ArvDXXbIWoSEuY9ivg by sun@shitposter.world
       2025-03-10T19:54:23.549547Z
       
       0 likes, 1 repeats
       
       @lain can we actually fine-tune something on all our code
       
 (DIR) Post #ArvDaVOZBTbGwLc9dA by Leyonhjelm@detroitriotcity.com
       2025-03-10T19:54:48.574373Z
       
       0 likes, 1 repeats
       
       @sun I am sure Ranjit can get you the resumes of very genius coders who can do the needful@lain
       
 (DIR) Post #ArvDl4abBjPkzLHVp2 by sun@shitposter.world
       2025-03-10T19:56:49.685542Z
       
       3 likes, 1 repeats
       
       @lain incidentally you already did, indirectly via claude scraping my SPC fork from my gitea
       
 (DIR) Post #ArvDmbYQ6x7RW5zc7E by lain@lain.com
       2025-03-10T19:57:06.567328Z
       
       1 likes, 1 repeats
       
       @sun sure, but I don’t know how they actually train this, I.e. what format they use
       
 (DIR) Post #ArvDybkBEQb7a1DVjs by sun@shitposter.world
       2025-03-10T19:59:16.418420Z
       
       0 likes, 1 repeats
       
       @ageha @lain I am already getting AI to create code for me by giving it concise natural language instructions.
       
 (DIR) Post #ArvE7n3gX9I1HHicdc by sun@shitposter.world
       2025-03-10T20:00:56.564674Z
       
       2 likes, 1 repeats
       
       @ageha @lain I am hoping that LLM-assist will get programming language developers to start formally specifying their languages, or at least defining an ebnf grammar. there are multiple LLMs that be coerced to produce token prediction according to a regular grammar
       
 (DIR) Post #ArvE8X4fRpPLzeX3YW by polarisera@spinster.xyz
       2025-03-10T20:01:00.220100Z
       
       1 likes, 0 repeats
       
       @sun @lain You drink the prion juice first, I'll wait.
       
 (DIR) Post #ArvEMxJSgqRPQQKUjY by sun@shitposter.world
       2025-03-10T20:03:40.499636Z
       
       1 likes, 1 repeats
       
       @ageha @lain I think that LLMs could get a lot better through this
       
 (DIR) Post #ArvEZI2vQilNCfTafQ by lain@lain.com
       2025-03-10T20:05:53.681143Z
       
       1 likes, 1 repeats
       
       @sun @ageha I mean, code-specific llms exist and they work very well for their size, but Claude is just better for now.
       
 (DIR) Post #ArvEeExuJQAB60UPy4 by lain@lain.com
       2025-03-10T20:06:47.085382Z
       
       0 likes, 1 repeats
       
       @ageha @sun o1 is extremely good at one or two page pastiches, I was surprised.
       
 (DIR) Post #ArvEqRMW2x391FokHg by sun@shitposter.world
       2025-03-10T20:09:00.353141Z
       
       1 likes, 1 repeats
       
       @lain @ageha I just paid for a month of Anthropic so I could use Claude Code, and it turns out it only works on credits
       
 (DIR) Post #ArvF1yXv0g0l7feRpA by lain@lain.com
       2025-03-10T20:11:05.426977Z
       
       0 likes, 1 repeats
       
       @sun @ageha you got PRANKED (I already spent $100 on Claude code this week)
       
 (DIR) Post #ArvH7BjFck4XMfZ7C4 by rozenglass@fedi.dreamscape.link
       2025-03-10T20:34:12Z
       
       1 likes, 0 repeats
       
       @lain@lain.com @sun@shitposter.world @ageha@tomo.airen-no-jikken.icu @sun@shitposter.worldLots of Antlr grammars for many languages are here, might be interesting, but I have no direct experience with them: https://github.com/antlr/grammars-v4
       
 (DIR) Post #ArvHhoiO9Tlqhdczdw by lain@lain.com
       2025-03-10T20:41:03.157331Z
       
       0 likes, 1 repeats
       
       @rozenglass @sun @ageha I think this isn’t the right approach at all. Claude has zero issues producing pages upon pages of syntactically correct code. If it does make a mistake, it’s usually similar to one a human would make (e.g. misplacing a ‘}’) and that is caught right away by the compiler or linter.
       
 (DIR) Post #ArvHpGHm2izgEsjGIi by sun@shitposter.world
       2025-03-10T20:42:24.989518Z
       
       1 likes, 1 repeats
       
       @lain @rozenglass @ageha I repeatedly have problems with this. As an example Zig changes things every point release. I would like the option to say "no you stupid son of a bitch, use this grammar no matter what"
       
 (DIR) Post #ArvHwFAIbjIOn5YuGW by lain@lain.com
       2025-03-10T20:43:39.628830Z
       
       0 likes, 1 repeats
       
       @sun @rozenglass @ageha I think it’s better to copy the changelog into a docs directory and tell the LLM to read it
       
 (DIR) Post #ArvIGkZlX5sA08Fgv2 by rozenglass@fedi.dreamscape.link
       2025-03-10T20:47:05Z
       
       0 likes, 0 repeats
       
       @sun@shitposter.world @ageha@tomo.airen-no-jikken.icu @lain@lain.com Trying multiple LLMs, I faced dozens of syntax errors, when working with a C code-base that uses Vulkan, a graphics API commonly used with C++.  The LLM kept confusing C and C++ syntax, sometimes writing stuff that doesn't make sense in either languages.  So a grammar limit would possibly be helpful.  But many programming language cannot be correctly specified, C++ being an infamous example, due to templates.
       
 (DIR) Post #ArvIKpRLOESqFHG2Pw by sun@shitposter.world
       2025-03-10T20:48:06.998822Z
       
       0 likes, 1 repeats
       
       @rozenglass @lain @ageha yeah I get syntax errors for things all the time, I see zero reason not to have a language's grammar built in for token prediction since it can in fact be specified
       
 (DIR) Post #ArvKdWant7lPCYj0vw by i@declin.eu
       2025-03-10T21:13:50.290727Z
       
       0 likes, 0 repeats
       
       @lain @sun @ageha if claude is so good how come mastoroma still isn't getting commits
       
 (DIR) Post #ArvL1Fle5xTjyA6wYi by k1tteh@uwu.social
       2025-03-10T21:17:11Z
       
       1 likes, 0 repeats
       
       @lain oh don't worry i don't understand my code as i'm writing it
       
 (DIR) Post #ArvVfbvA9C6xnnReZE by lain@lain.com
       2025-03-10T23:17:30.280291Z
       
       0 likes, 1 repeats
       
       @scathach it’s so easy
       
 (DIR) Post #ArvVoSQIpSdGx4EGBc by sun@shitposter.world
       2025-03-10T23:19:08.408495Z
       
       3 likes, 1 repeats
       
       @lain @scathach my code is self-documenting
       
 (DIR) Post #ArvWiw5phj5NBhaMTo by thatbrickster@shitposter.world
       2025-03-10T23:29:21.376238Z
       
       1 likes, 1 repeats
       
       @sun @lain @scathach
       
 (DIR) Post #ArwKWx5fAMLgVuz8bo by rich@mastodon.gamedev.place
       2025-03-11T08:47:09Z
       
       1 likes, 0 repeats
       
       @lain *3 hours* for me 😅