this post was submitted on 03 Jun 2024
1301 points (96.4% liked)

Technology

59314 readers
4719 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] rottingleaf@lemmy.zip 5 points 5 months ago (2 children)

Half of Linux usage is on the text-based command line anyway, just what LLMs are good at.

You are going to allow an LLM to run commands on your system?

[–] Buttons@programming.dev 3 points 5 months ago* (last edited 5 months ago) (1 children)

Maybe.

Like, if I could type "extract the audio of this video and re-encode it as a medium quality MP3, break up the audio into 30 consecutive tracks" in a shell, and the next line was populated with the appropriate ffmpeg command, but not yet executed, I could quickly look over the command, nothing looks fishy, so I go ahead and run the command.

[–] rottingleaf@lemmy.zip 0 points 5 months ago (1 children)

And it will be optimized for nothing looking fishy, right.

[–] Buttons@programming.dev 1 points 5 months ago* (last edited 5 months ago)

It's no different than what the internet has been doing for us for decades. People tell us commands to run, we use our best judgement, maybe check a couple things, and then run the commands. If the internet suggests a command or a LLM suggests a command, what's the difference?

[–] Val@lemm.ee 3 points 5 months ago (1 children)

You could have a command that recommends commands and then you select them on a drop-down list.

Alternatively if the dataset is verified you wouldn't need to worry about it running dangerous commands, since it doesn't know any. Or you could have a list of verified commands that run automatically and any command not on that list requires confirmation.

But this is missing the point that most of the time I know exactly what command I want to run so adding a LLM Is quite useless. The reason so much of linux is still relying on commands is because for a lot of people (myself included) commands are quick and efficient.

[–] RecluseRamble@lemmy.dbzer0.com 1 points 5 months ago

You could have a command that recommends commands and then you select them on a drop-down list.

Still dangerous. One character (even a space) might make a huge difference. You wouldn't want a hallucinating probability matrix barf out a command and run it only half understanding what it does. By building it yourself, you get a better understanding.

But this is missing the point that most of the time I know exactly what command I want to run so adding a LLM Is quite useless. The reason so much of linux is still relying on commands is because for a lot of people (myself included) commands are quick and efficient.

100% agreed here.