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

Show all comments

Showing thread 55 of 221

laichzeit01 reply#
I use it to optimize my Python + Pandas code. Dump some code in and say “Can you rewrite this code to be faster”. It even gives explanations as to why it’s making those changes.

Another one I use it for is saying “Rewrite this code to run on multiple cores”. Really saves me a lot of Googling time as these are things I want, but I don’t find much pleasure in actually writing code.
I’ve also used it to generate some proof ideas while I’m going through exercises in Baby Rudin. Or to check a proof I’ve come up with if it makes sense.

motoboi#
Very good at "vectorizing" plain python code to pandas.

I just put code like using `for row in df:` and get idiomatic vectorized pandas
The challenge is not it knowing how to do, but understanding what you want to do.
Code plus explanation works very well for more complex things.