this post was submitted on 17 Mar 2025
887 points (99.6% liked)
Programmer Humor
21658 readers
1657 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use AI toolings to generate snippets of bash scripts because I can't be fucked to remember that syntax. Obviously not for anything with high risks or that I can't easily verify. But things like parsing through mass amounts of files
But... bash snippet extensions already exist. The only difference is maybe it doesn't auto name your variables for you. I'd take that over non-deterministic LLM outputs.
I have no idea what the hell a bash snippet extension is, but I do know what a local llama.cpp instance running a small model to tell me bash commands on the fly is.
I use it to make .desktop files, too. Isn't that so lazy?
They seem to be genuinely trying to provide information about a tool that they find preferable to your solution. And you're not even the OP they were responding to. Nobody in this thread has called you or your solution lazy.
A bash snippet extension is "an extension [for a code editor] that provides a collection of snippets for bash scripting." It's a tool that is purpose-built to tell you bash commands on the fly, but smaller, more efficient, and easier to install than a local LLM.
The user you are replying to appears to prefer this because it will also tell you the same bash command every time you ask (non-deterministic outputs can be different for identical requests)