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
travisgriggs1 reply#
I use it for coding, with mixed results, for getting me going in the right direction.

I take everything it says with a grain of salt. Through some original queries about some people, I came to realize that a GPT is a stochastic parrot optimized for plausibility. Given a Venn diagram of plausible and reality, they have a large overlap. Our ideas of plausibility are informed by common repetitive observations of reality. So GPTs almost always sound truthful, and much of what they generate overlaps with truth; sometimes it does some interesting synthesizing.
For code hints in particular, which I hit it up for 2 or 3 times a day on whim, I find that the domain matters. Asking for how to do things in Jetpack Compose, I get all kinds of weird answers. Compose is a highly volatile space, GPT will synthesize function signature that are amalgamations with 3 year old stuff and newer. It helps refine my internet searches. Thank heavens for the kotlin/compose slack channels.
When I ask GPT for mainstream Python stuff, it does pretty well. Recently asking for help with parsing ical formats, it nailed a number of questions. As I moved into handling recurring events, it started getting weirder. It wrote plausible looking code with methods that didn’t exist but were hybrids of others. It missed letting me know there was a library specifically for recurring iCal events. When it came to dealing with isoweeks and timezones, it got all the right modules and functions, but put them together in weird ways. Like a blind person assembling a puzzle.
C code it does decently well. Elixir, it struggles with. Many of its elixir answers are very dated.
By and all, I treat it as a way of generating prompts/idea for me to pursue. It’s like having an eidetic four year old at your disposal whose read all of the code ever and can mention all kinds of things from association, but doesn’t really know. Or like interviewing someone who’s crammed on a subject, but hasn’t really experienced what they’re talking about.

pmoriarty#
"Many of its elixir answers are very dated."

The library/language versioning problem is going to be a tough one to overcome, because most of the training data available doesn't specify the version of either, so an AI's response will be in an unpredictable version or even mix of versions.

rajatsx#
I am currently researching how we can use AI at my current employer. We did not have any AI knowledge to begin with.

I was quickly able to write a web scraper using Python in a few hours by employing ChatGPT. I hadn't touched Python in like 12 years before that day. It wasn't just a generic scraper. I asked ChatGPT to fine-tune it to a). crawl pages belonging to a certain domain b). save data inside a specific directory with specific filenames.
Before that, I asked it to write unit tests for a React component. It did and I got 100% code coverage for that component. Our manual test suit had around 87% code coverage for that component.
Having said that, it constantly requires human intervention to judge if the produced output would work and how to integrate a piece of code produced by it into the actual projects.

cerved#
I used it to provide "business justification" why Vimium should be exempt from corporate block on browser extensions
aaronscott#
It’s been really helpful for picking up a new programming language. Particularly around helping me understand conventions in a language I’m not familiar with.

GPT-4 has been great at breaking down complex regexes that I am too lazy to parse out in the moment.
I’m also finding it helpful as a creative partner on naming things. Something I feel like I spend a lot of time noodling on. Like: creative names for a data warehouse that are surfing related (BoardRoomData lol).

Load more comments