Ask HN: How are you using GPT to be productive?
629 pointsWith 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- generate AWK to transform text
- modify python script to make it multithreaded (when this worked first go I was very mindblown)
- explain concepts that I half understand in clear language, eg explain sharpe ratio and show me the math
- “what do people usually call” type questions. Like what are common job titles for people who do X and Y?
- proof read my emails and make suggestions given a stated goal
- settle language/choice of words discussions by asking GPT to reverse pitch understanding, then choosing the one that’s most aligned with the point we’re trying to make
- generally linux-y commands and explanations “best way to remap keys in i3” or find file with content “xyz” with tool faster than find
The phrase has zero hits on Google, though “reverse pitching” is apparently a thing.
Helpful exercise if you’re honing a pitch, because first listen understanding is key
Sounds intriguing, could you elaborate? Which gpt did you use? What was the input like and what did the gpt produce?
- Web scrapping
- Web crawler
- Trying out Rust
- Trying out pytorch and training models for computer vision problems
This is all stuff that would have taken me several weekends of reading docs and geting familiar with libraries.
Now it suddenly becomes a few hours because the discovery of the right tool is semi-instant and although the code it provides is often wrong it generally puts you in the right direction.
My intuition is that it's a lot better at outputting viable Python and JS code than other languages, perhaps there is bias in how much data of other languages it has access to.
Earlier today it totally hallucinated a built-in function, but when I started typing it out, the LSP kicked in and I could tell what the GPT was “thinking”. Before that I didn’t even know what the name of the function was that would do what I want, but it was close enough that it stopped me from having to parse the reference docs on my own.
> Can you improve the following text for clarity: "When deploying into the enterprise, there is a lot of flexibility when it comes to deciding how you structure the deployment, whether you want to run supporting services on premise, and which ones (if any) you choose to deploy. The decisions depend on how you plan to use our software and your security requirements. We’ll be happy to discuss these with you at [email]."
Result:
> "When deploying our software into your enterprise, you have the flexibility to decide on the structure of the deployment, including running supporting services on premise and selecting which ones (if any) to deploy. Your decisions should be based on your intended use of our software and your security requirements. If you need help with these decisions, please feel free to contact us at [email]"
It did indeed improve clarity and readability without screwing anything up. I just want to run this thing on our whole website/repo now, and I wonder how.
The original first sentence is overly long and complex, and so is GPT's. The original obscures the meaning behind passive voice, and GPT added even more passive voice ("should be based on your intended use").
I'll give credit to GPT for eliminating the ambiguity around "discuss these," but the rest of the changes don't improve the clarity much for me.
I appreciate that GPT's feedback is free and instant, but you can make deeper fixes to your writing with a one-time exercise that will probably take 10-20 hours and cost a few hundred dollars. Consider hiring a freelance editor to review your work and identify anti-patterns in your writing. I did this a few years ago, and it substantially improved my writing.[0]
The anti-patterns I notice in this snippet:
* Omission of actors for verbs ("when deploying into the enterprise" - who's deploying?)
* Overloading sentences with complexity (first sentence is very long and has complex structure, complex wording)
* Packing together verbs in a confusing way ("comes to deciding how you structure", "depend on how you plan to use")
* Ambiguous pronouns ("which ones", "discuss these")
[0] https://mtlynch.io/editor/
"When deploying into the enterprise, there is a lot of flexibility when it comes to deciding how you structure the deployment, whether you want to run supporting services on premise, and which ones (if any) you choose to deploy. The decisions depend on how you plan to use our software and your security requirements. We’ll be happy to discuss these with you at [email]."
I rewrote the above. The recipient read the new version much more easily than they would have for the original:
When deploying our software into the enterprise, there are many options to consider. Depending on how you plan to use our software and your security requirements, you can decide which supporting services to run on-premise. If you have any questions, please don't hesitate to reach out to us at [email].
I can simply feed in an en.i18n.json file, and it will generate i18n.json files for as many languages as I want. I don't use a specific prompt, but I occasionally include general information about the software in it.
Edit: I do verify the output by translating it back to English using Google translate, but it seems I need to be more careful.
I asked a speaker of Northern Sámi, a language with not that big corpora available, to comment on GPT-4's translations into her language. She said "The translation is completely incomprehensible. Lots of non-existent and completely incomprehensible words, and the words that are understandable do not fit into the context. Besides, it's the wrong subject, it's Russia's report instead of the UN report etc." Only knowing a tiny bit of the language, I could've easily been fooled by the output.
All comments shown.
Couldn't load more comments. Check your connection and try again.