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 commentsThe message is generated automatically via the GPT API.
I made it public in case anyone else wants to try/use/fork it:
https://github.com/stevecondylios/gpt-generated-commit-messa...
It's very convenient for README and docs changes; small changes whose commit message really doesn't matter, saving a bit of time and mental energy and allowing you to stay on task.
> Updated Gemfile.lock and added new dependencies (coderay, concurrent-… …ruby, crass, date, pry, method_source, public_suffix, puma, nio4r) and updated existing dependencies (rack-test, regexp_parser, xpath, nokogiri, racc, pg). Also added new files for a user authentication feature.
Describe the "what" but not the "why". Even "user auth wip" would be helpful. It's like having autogenerated code comments like:
// initialize variable i for later use in a loop
int i = 3;
Continue this thread — 2 replies
Diffs vary in length, small ones might be a few dozen words (tokens); large ones can be much more. GPT 3.5 Turbo's limit is 4096 tokens per question [1], meaning the most it can cost is 4/5ths of a cent per commit.
I average less than 10 commits per day, so if all my diffs are large, that will cost $0.08/day, or about $2.50/month.
[1] https://learn.microsoft.com/en-us/azure/cognitive-services/o...
* I'm using a NextJS middleware function by exporting it from my page component like this ... Here is the middleware source ... But I get this error ...
* How can I tell if my site is running in production in NextJS?
* NextJS says localStorage is not defined. What should I do?
* Please adjust this Prisma schema so that there is an index on github_id
* How do I configure eslint to accept switch style that looks like ...
* Write hex bytes that represent a 16x16 bmp image favicon (didn't work lol)
* Please write me a React reducer and React context that holds state for a users's auth token and also synchronized that token into `localStorage` with the key `__auth_token`.
* How do I disable the rule "@next/next/no-img-element" on the next line?
* Here's my current page ... What changes should I made so that the footer is at the bottom of the screen when there isn't enough content to push it down to the bottom of the page. But if there is a lot of content it will sit right below the end of the content and not on the bottom of the screen.
Generally it works really well!
awk and sed are great examples, I find them critically important just infrequently enough I barely have any idea how to use them.
or the once in 2 years I need to do something complex in a spreadsheet, a natural language description of the problem is easier for me to remember than some sequence of vlookup
For my usage patterns of sed and awk, it's not complex, but it's usually that if it comes to me using them, a series of bad and urgent things has occurred and I don't have time to grow a beard and ponder unix zen
When I started probing it about specifics it got increasingly incorrect. As I asked about specific chords, voicings etc it was not able to be consistent between two short replies. Or even between sentences in a single reply! Here is one reply where I asked about suspended chords to see how it would fare:
> A chord consisting of A-C-D-E would be an Asus2(add9) chord. The "sus2" implies the absence of the third and the "add9"implies the addition of the ninth (B).
There's no B in that chord! And it mentions omitting the third even though it's there.
If I'm honest I've been continually disappointed with it. I see so many people excited and getting hype, but it falls flat for me every time. The same when I've tried it with coding problems.
All comments shown.
Couldn't load more comments. Check your connection and try again.