James Warren <
jwwar...@gmail.com> writes:
>
> It probably can learn from it's mistakes but it not going to take
> your word for it. You could be trying to fuck with it. Your correction
> would have to be vetted. Indeed, they are doing this continuously.
> Maybe you could get to be a vettor.
>
> If it was trained on more good code it would do better.
Two things:
(1) Yes, I could tell it to always use "sudo rm -rf *" at the
beginning of every script (I'm sure kiddies are doing this all the
time.) Somehow, it or a human mind needs to verify suggestions.
(2) What I'm doing is Bash scripting and Python programming. These are
the two most commonly used computer dialects in 2023. Yet it can't do
even the simplest things in either one. I'm serious. I changed my
request to list all but the 10 newest files (safer than playing with
deleting anything). Then, I wrote a script to do it myself in less
than 5 minutes:
#!/bin/bash
# Set the directory to clean up
dir="$HOME/test_dir"
# Change to the directory
cd "$dir" || exit
# List all files in the directory, sort by name, and list all
# but the 10 most recent ones
the_files="$(ls -1 | sort -r | tail -n +11)"
# List all files in the directory except the most recent 10
ls -la -- ${the_files}
Some kid in Grade 11 could write that. It tried 5 times and
got it wrong on each attempt. It can't write code. I guess it can write
poems and play games like the guy in the comments after the video got it
to do:
"The thing that blew me away was when I told ChatGPT about a "new word"
- I told it that "wibble" is defined as: a sequence of four digits that
are in neither ascending or descending order. I asked it to give me an
example of a wibble - and it did. 3524. I asked it for a sequence that
is NOT a wibble and it said 4321. Then I asked it for an anti-wibble
and no problem, 2345. Then I asked it fan example of an alpha-wibble
and it said FRDS....which is amazing. It was able to understand an
entirely new word...which is clever - but it was able to extrapolate
from it...which is far more than I thought possible."
I just asked it what wibble was and it said:
"I'm sorry, but "wibble" is not a specific term or concept that I can
provide a clear definition for. It could be a made-up word or a term
used in a specific context or field that I am not familiar with. If
you have more context or information about where you encountered the
term "wibble," I may be able to provide a more helpful answer."
Apparently it can't remember or write code.
--
HRM Resident