by superasn · 3y ago · 0 comments
1. It understands the versions more clearly, it won't generate the code for Bootstrap 2 when my question is about Bootstrap 5
2. Asking follow up questions is easy. So the code didn't work. I tell it that and instantly it tells me what I need to do to fix it (leave missing config file, etc) or gives me an alternate.
3. Its answers instantaneously except when their site is down.
4. Its more customised as the answer is not a generic question posted an year ago.
5. It spans multiple domains of knowledge, so if lets say I get an error curl.so not found, it can tell me what I must run on the command line to fix that on my system too.
6. Its so much faster because there are no stupid questions. It's just like typing on google vs SO where you need to proof read and make sure its not a duplicate.
The most important comment on SO is the one where the OP says "I did this and that, and can confirm it's working". There is no such data when you only use the chat bot. It's a major problem. Perhaps the solution is a more tailored "stack gpt", where the "conversations" are published along with the human responses.
For instance, I needed to write a simple script that gave me all of the roles containing a list of policies where you can specify multiple policies from the command line using “-p” multiple times.
If I look it up on Google, I get this response which is close enough
https://stackoverflow.com/questions/66127551/list-of-all-rol...
And I still have to make slight modifications.
Of course I could write the entire thing myself just by looking at the boto 3 docs.
But instead I told ChatGPT
“ Write a Python script that returns a comma separated list of arns of all AWS roles that contain policies I specify with the “-p” parameter using argparse”
Then I told it, “that won’t work with more than 50 roles”. It then corrected the script and used a paginator.
Yes, I had to know enough to recognize the bug. But I count have written or modified a Python script that fast and I write boto3 based Python scripts all of the time.
I definitely could have told it that the first version wasn’t returning all of the results and it would have corrected itself like it did and added a paginator
You would still have documentation published by originators of the technology but a lot of programming is figuring out the quirks of things that aren't in the documentation or getting past bugs.
Though to be fair, it's not like Stack Overflow, or even some of the less updated parts of the official documentation, will do any better than ChatGPT, but with ChatGPT you don't get a date on the knowledge and you don't get the comments from other people telling you that it's wrong or outdated. For me personally, there is also some thing about its confidence that makes me "trust" it more than the internet that I've spent 20+ years not trusting. I'm not sure if that's just me or even why that is exactly. I'm fully aware that the language model is basically just the internet, and still I believe it? I'm happy the first thing I asked it was on a subject I knew a lot about so that I could see straight away that its answer was very outdated. Because if it had been on a subject I didn't know much about, I'm not sure I would have even found out its cutoff point was in 2021. I only learned that fact because the answer it suggested was with a library that I knew was abandoned, to which I asked if it knew that, and it told me when it had stopped "learning".
And yes, often I do follow up google searches for some things - but it has already saved me days of research time compared to Google
ChatGPT has the user interface of an oracle sitting alone in a cave in the mountains, but it isn't as accurate as an oracle is expected to be. That makes it useless to me.
I'm so sick of these people on SO.