News for hackers. Stuff that matters.
Re:We need to tell people ChatGPT will lie to them, not deba... by japhyr on Friday April 07, 2023 @04:34PM (#35486631)
I was just working on a small exploratory project in Python. I used sys.argv because it's so quick to prototype with.

When I started refining the project for longer term development, I wanted to convert the CLI to use argparse, so I could build a more nuanced CLI. I gave GPT a couple example commands I wanted to use, and in less than a minute I had a fully converted CLI that did exactly what I wanted, with more consistent help settings.

I can do that work, but it would have been 30-45 minutes because there was one setting in argparse I hadn't used before. That alone was worth this month's $20.

For more complex and mature projects I could see having to give GPT a minimum working example of what I need instead of the whole project, but I can already see how it will enhance my current workflows, not replace them.

Re:We need to tell people ChatGPT will lie to them, not deba... by cultureswitch on Sunday April 09, 2023 @05:50AM (#35501247)
See, a better LLM or an experienced human would have told you to use docopt instead of argparse and saved you more time in the long run.