Hacker News new | ask | show | jobs
by bob29 1249 days ago
Lol dude I just googled “script list IAM roles that contain policy” and this was the top result. Probably less typing than the usual silly authoritative tone people use when composing an “AI” prompt , like they’re Tony Stark or Captain Picard .

And trust me, once u google stack overflow enough pretty soon you won’t need to ask anyone how to output a csv

https://stackoverflow.com/questions/66127551/list-of-all-rol...

2 comments

that’s true. But that code snippet didn’t meet all the requirements. I laid out. And it definitely was less typing using ChatGPT once you add all of the requirements I laid out.

And then there is the context switch. This is just one little script as part of a larger system where I’m designing an entire system. It’s much easier if I’m already writing out a long set of documentation, diagrams, slides, etc just to open ChatGPT and keep writing English.

Not to mention when you’re juggling a couple of projects and one is Node and one is Python.

And just in case you are trying to gatekeep, I’ve been programming for a few years - let’s just say my first hobbyist code was in 65C02 assembly language in 1986

I agree completely. Hilarious example. But, hell, if a product's pitch is "you'll feel like Tony Stark or Captain Picard" it will probably be successful.
The entire thesis is that ChatGPT can give better results than Google.

ChatGPT gave me a specific answer with the command line arguments that I specified and allowed me to specify a list of policies and output the result in the format I needed

Google gave me a code snippet that I had to modify for my use case.