76
Types of development
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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
here's what DeepSeek gave me for the following prompt: write a small bash script to check if a CSV exists and if it does rename to the filename_date.CSV and upload to hdfs, keep it simple
OK at least it didn't create functions for everything. ChatGPT had a function to kinit, to rename and to upload to hdfs. And each function had 2-3 line comments. I mean for a single command how can you put 3 lines of comments.
I've never touched ChatGPT out of principle, but everything I hear about it makes it sound like hot garbage.