I can't believe I'm the only person who sees it that way. Likely the legacy of a misspent youth writing Zork parsers...
Everyone is so quick to say how unimpressed they are by the thing meanwhile I'm sitting here amazed that it understands what I say to it every single time.
I can speak to it like I would speak to a colleague, or a friend, or a child and it parses my meaning without fail. This is the one feature that keeps me coming back to it.
“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 noticed there was a bug, AWS API calls are paginated and it would only return the first 50 results.
“that won’t work with more than 50 roles”
Then it modified the code to use “paginators”
Yes, you can find similar code on StackOverflow
https://stackoverflow.com/questions/66127551/list-of-all-rol...
But ChatGPT met my specifications exactly.
ChatGPT “knows” the AWS SDK for Python pretty well. I’ve used it to write a dozen or so similar scripts. Some more complicated than the others.