• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    Meanwhile current AI is pretty much useless for any purpose where you actually need to rely on a decent chance to get quality results without human review.

    Sure but there are tons of applications where you can tolerate lower than human levels of performance.

    The amount of time ChatGPT has saved me programming is crazy, even though it struggles with more complex or niche tasks.

    Here’s what I used it for most recently:

    Write an HTML page that consists of a tree of <details> elements with interspersed text. These are log files with expandable sections. The sections can be nested.

    The difficult part is I want the text content that is stored in the HTML file to be compressed with zlib and base64 encoded. It should be decompressed and inserted into the DOM once when each DOM node first becomes visible.

    Be terse. Write high quality code with jsdoc type annotations.

    It write a couple of hundred lines of code that was not perfect but took 5 minutes to fix. Probably saved me an hour writing it from scratch (I’m not a web dev so I’d have to look things up).