Guy at work did a whole mini project with just LLMs and prompting. I asked him some questions about how it works and some implementation details, and he had no idea. Great. I'm going to have to maintain this thing, probably.
Just use a LLM to maintain it. Duh.
except instead of ls it runs rm -rf /
-y
-frfr
Why did you prompt for that?
To test the --no-preserve-root safeguard. It's like playing Russian roulette
Didn't steam actually do that for a bit on some systems when you tried to uninstall?
If you ask AI to create the shell of a class for you with 3 variables (two ints and one Vector as you defined elsewhere in your project), that’s different than saying “make me Facebook 2” and expecting everything to go well.
Ethics of current LLMs in a still-capitalist-materially society aside, the problem with AI is that management wants the robots to do all the work so their jobs become easier and their stocks go up. But that shit just doesn’t DO that. LLMs don’t think. They are statistical autocomplete. Programming is not trivial, no matter how much it may seem that way because we have trivialized as much of it as possible to make it useful.
"They are statistical autocomplete." nice
Yes, and you can make a door by driving a car through a wall. The outcome may be less than optimal though.
That's a doorway, not a door
But doesn't pressing the up arrow 10 times (and reading each command) waste both time and effort compared to just pressing 2 buttons?
Yes, which is a perfect comparison
...pressing the 'up' arrow ten times in a shell might let you avoid typing 'ls'
I feel seen. But in my defense, that directory was like, 6 levels deep
Let me introduce you to my savior: ctrl + r
And a better bash with fuzzy find: fish or zsh.
fzf is where it's at
Yeah, that what you can type ^R ls instead of ls to save time!
Thought it was going to be ctrl+r
I didn't know that one for years.
(Searches command history.)
Yeah, pair that with fzf!
Showerthoughts
A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The most popular seem to be lighthearted clever little truths, hidden in daily life.
Here are some examples to inspire your own showerthoughts:
- Both “200” and “160” are 2 minutes in microwave math
- When you’re a kid, you don’t realize you’re also watching your mom and dad grow up.
- More dreams have been destroyed by alarm clocks than anything else
Rules
- All posts must be showerthoughts
- The entire showerthought must be in the title
- No politics
- If your topic is in a grey area, please phrase it to emphasize the fascinating aspects, not the dramatic aspects. You can do this by avoiding overly politicized terms such as "capitalism" and "communism". If you must make comparisons, you can say something is different without saying something is better/worse.
- A good place for politics is c/politicaldiscussion
- Posts must be original/unique
- Adhere to Lemmy's Code of Conduct and the TOS
If you made it this far, showerthoughts is accepting new mods. This community is generally tame so its not a lot of work, but having a few more mods would help reports get addressed a little sooner.
Whats it like to be a mod? Reports just show up as messages in your Lemmy inbox, and if a different mod has already addressed the report, the message goes away and you never worry about it.