Category: Machine Learning
Articles about Machine Learning and Artificial Intelligence experiences. I’m not an expert on the topic. I’m just an end user of some software. For background, see Machine Learning Notes
-
Language Characteristics that Help LLMs Write Better Code
(Written by Thaura Work. I haven’t checked it. I’ve been learning Elm, so there might be some bias it picked up somewhere in my files.) A quick-reference list of language features and conventions that make one-shot code generation more reliable. The common thread: predictability. Features that appear frequently in training data, parse unambiguously, and leave…
-
Learning Elm: fourth try with the LLM layout tests
Testing to see how the models do writing Elm code. Fourth try. I had Thaura read my AGENTS file, and critique it. I made the suggested changed, and also added more advice. Then, I started a fresh session and had it reorganize it. Here it is as a download (I had trouble pasting it here).…
-
Learning Elm: trying different LLMs to make a layout attempt 3
Testing to see how the models do writing Elm code. Third try. AGENTS.md was edited to address a lot of bugs and problems from the second run. Also added a directory for more extensive coding advice. You can find it in the ZIP file. The file is now 61 lines long. Scoreboard I used the…
-
Learning Elm: trying different LLMs to make a layout attempt 2
Testing to see how the models do writing Elm code. I got rid of some requirements, and tried to fix up the AGENTS.md to overcome some problems some models had, and also add references it could study. Scoreboard I used the Free versions in OpenCode. The number scores are about how good the layout looks.…
-
Learning Elm: trying different LLMs to make a layout with minimal interactivity
Testing to see how the models do writing Elm code. The goal was to produce a simple web page layout for a news site. To confound things, I said to use the media query to detect if the environment is in dark mode. To make things more “normal”, I added one control to toggle “dark…
-
Learning Elm: LLMs
I’ve been messing with some LLMs to write Elm code. So far, so-so. I haven’t done a thorough test, mainly because I’m still learning Elm, but some LLMs seem to do great with Elm code, and some seem to run endless loops of debugging failures. I’ve been playing with Nemotron, Muse Spark, MiMo, and Thaura…
-
Thaura: AI Assisted Keybindings
I started using the Kitty terminal because it’s the trendy thing to do, and OpenCode and nvim seem to work better with it. I also use ssh and tmux on a remote computer, and also use vim or nvim in both places. So I have a 4 layered windowing system: Regolith, kitty, tmux, vim. This…
-
Thaura: Writing with an LLM
More and more people are using LLMs to write their documents: lawyers are using LLMs to write arguments full of bogus references; college students are submitting papers that make false claims. LLMs are amazing, but they also hallucinate. People who skip the thinking get burned. I don’t use the LLM to write my documents; I…
-
Thaura Work: a plugin architecture for a PHP program
One of the code management techniques I tried with KRUpload was to break the application into a core app, and plugins. I don’t have stats about how that went, but it seemed to help. Here’s a du of the extensions directory: The core app is mostly in these directories: While each plugin’s code size isn’t…
-
Thaura Work: checking in
Just a social update. I spent a lot of time playing in OpenCode and Thaura. OC has these free models (basically promoting the big silicon companies): Ling, Muse Spark, Nemotron, MiMo. It’s nice getting a feel for them. Thaura uses GLM-4.5. I started working a little more on KRUpload, an old web-based file uploader program…