Lurker News
With GPT so hot in the news right now, and seeing lots of impressive demos, I'm curious to know, how are you actively using GPT to be productive in your daily workflow? And what tools are you using in tandem with GPT to make it more effective? Have you written your own tools, or do you use it in tandem with third party tools?

I'd be particularly interested to hear how you use GPT to write or correct code beyond Copilot or asking ChatGPT about code in chat format.
But I'm also interested in hearing about useful prompts that you use to increase your productivity.

Comments (735) 221 threads

Earlier comments
buserror1 reply#
I pasted some headers (some of them very long, in multiple chunks) and asked the bot to write me a summary of what the API does, and what could be used to make it better. Answer were spot on. Free documentation! If you also paste the source, it can give you a documentation for a particular function as well. Same for rather complex Makefiles.

Otherwise I do like others, I use it as a quick stack overflow for uncommon APIs (to me). Or completely random questions, knowing the answer might be dicey.
It has replaced google at about 90%, I only use google to verify, and not all the time.

dizhn#
I was playing with translating subtitles and I forgot to ask it to do something and just pasted a portion of the subtitle file. It replied with a quick summary of the scene. It's pretty good for very low impact things like this. (A very advanced "nice to have" maker )
typicalrunt#
As a non-judgemental sidekick. It helps with flesh out a random thought, it helps me understand a random coding problem, it helps me see why a vuln exists in a particularly difficult-to-read piece of code, and building outlines for reports and presentations that I'm too lazy to deal with. It is also starting to replace the random Google searches I used to do.

To boil it down, it's my "10-minute task" time saver.
And my use of it really picked up when I started using GPT4. It's head and shoulders above GPT3.5 in terms of quality and clarity of output.

fsloth#
Coding. Best example was an obnoxious 3rd party C++ API with header, and sample code that was more confusing than helpful. I fed the header and sample code to chat-gpt (was not too many lines) and then asked it to write a sample application that did X using the API. It almost worked, and needed a bit tweaking, but removed so much of the effort of trying to parse hundreds of lines of pseudo-gibberish to get to the few API calls I needed. I'm not going to name the API here. You know such things exist, and sometimes for good historical reasons.
_xnmw#
Yesterday I just used it for the first time instead of checking the Postgres docs for some obscure JSON operators. I just asked it this:

"I have a postgres database with a json column with the following structure: [1, 2, 4, 4]. How do I query the database in SQL to retrieve all rows where the array in the json column contains the number 4?"
And it gave me a wrong answer at first (worked for strings only, not integers), but quickly corrected itself after I pointed out the mistake. I had working, testable code faster than if I had checked SO or browsed the Postgres docs.

Load more comments