Hacker News new | ask | show | jobs
by kingsloi 1137 days ago
How about outside of any workflows, and just one off? I've used ChatGPT twice recently after spending a good amount of time Googling around and finding nothing (specifically https://chatgptonline.ai/chat/), generalising the statements/removing any/all real data.

    1. given the following string [...], build me a regex that extracts the [abc] before [`], until the 2nd [xyz], used for extracting a bunch of info from an array

    2. give me a list of common beneficiaries, then give me 5 more
Took an hour or so of Googling, then about 10 mins to find an online/open ChatGPT prompt, and about 2 mins to implement the answer in my code. But that's where I draw the line, I'll never use an editor that uses AI in my actual IDE, or expose my code openly to train models