49 ms·
I’ve been doing a lot of AWS infrastructure setup lately and use ChatGPT frequently to generate possible solutions and starting examples in CDK. It doesn’t solv
by wrs 3y ago
I’ve been doing a lot of AWS infrastructure setup lately and use ChatGPT frequently to generate possible solutions and starting examples in CDK. It doesn’t solve the problems reliably by any means, but it’s good for getting an idea of an approach so I can go read the docs. It can even output a diagram if you ask for mermaid format.
It’s good for “rubber duck” debugging when things don’t work. I just give a brief description of what I’m trying to do, and paste in some code with an error message or some log entries, and it’s pretty great at pointing to the problem and suggesting a fix.
Since its capabilities are opaque, I constantly try new things. Yesterday I asked it “what was the earliest version of sass-loader that supported the quietDeps option” and it actually answered the question, with a citation. That saved a lot of time!
There was a cookie error that showed up as a pop up in the Chrome devtools. I couldn’t copy and paste the error from the pop-up, but I took a screenshot of it and pasted that into a chat. ChatGPT read it and gave me a little tutorial on the SameSite cookie setting.
It seems to be getting a little bit more introspective lately. Last week I asked it about something, and it described a solution, then apologized and said that wouldn’t actually work, and gave a different answer. I mean all of that happened in one answer, not because I prompted it. Then I asked for clarification, and it apologized again and said the original solution would work. (It wouldn’t).