"Wait you fucked up the first part again, change it back to when you first fixed it."
"Ok now fix this last part."
"Damnit why do you keep changing the first part I already told you it was fine!"
Chat length limit reached, please start a new chat.
My experience is that you want to keep changes as focused as possible. The smaller the context it has to work on the better the results tend to be, and the easier it is to check that it did what you actually wanted it to.
Yeah AI is really stupid especially when it comes to bash. Once one of my colleague came to me asking a bash script not working that they got from ChatGPT. It was 20-30 lines with function and everything was a variable even the commands. I didn't even bother reading, asked them what they were trying to do and wrote a simple one liner and it did exactly what they wanted in first try.....
I've had pretty good success with DeepSeek making decent bash scripts. What was the script out of curiosity, I can try and see what DeepSeek spits out.
Check if a CSV exists and if it does rename to the filename_date.CSV and upload to hdfs
Happy cake day! (If we do this on Lemmy)
This is one thing from Reddit that I don't miss. To everyone else this is just spam.
The profile just says 2 years ago. How do you know this is the cake day? I don't even know when I joined so maybe it is who knows.
On the ai line, the purple cars are the part a human had to clean up and correct
Nowadays, the agents can iterate. It basically works like a genetic algorithm where it converges on a solution.
If you're talking OpenEvolve you have to specific put in the tests and expected values for each function for this approach to work.
"Write a program that does this."
"Fix this part"
"And this part"
"And this part"
"Wait you fucked up the first part again, change it back to when you first fixed it."
"Ok now fix this last part."
"Damnit why do you keep changing the first part I already told you it was fine!"
Chat length limit reached, please start a new chat.
My experience is that you want to keep changes as focused as possible. The smaller the context it has to work on the better the results tend to be, and the easier it is to check that it did what you actually wanted it to.