Live data from Hacker News

Ask HN: How are you using GPT to be productive?

news.ycombinator.com

741–750 of 752 posts

Re: Ask HN: How are you using GPT to be productive?

#741

Generally rewriting emails for clarity... but I found another neat use of GPT-4. For public APIs, I ask to make sure its aware of the api. Then I ask for endpoints. I find the endpoint I want. Then I ask it to code a request to the endpoint in language X (Ruby, Python, Elixir). It then gives me a starting point to jump off from. Thirty seconds of prompt writing saves me about 20 minutes of getting setup. Yes, I have…

You reminded me: I discovered that ChatGPT had invented an API for me. Has that happened to you yet? Since it went to the trouble of writing code for the API as well, I contacted the API developers to follow up about the topic. The code given was kind of a hand-wave anyway so I'd need to polish it up. The developers were surprised to hear they had an API. In truth, there was no such thing. I then found myself in one…

yeah even asking for common node library/sdk implementations has been off for me, calling functions with options that are not accepted, or what it thinks they should be

Re: Ask HN: How are you using GPT to be productive?

#742
post #177
post #137

Earlier quoted context omitted.

So on my coding problems I haven't had much luck. It doesn't seem to know Bazel, the Rust code I asked about was completely hallucinated, but it did solve a problem with Azure DevOps I had. I think if the training set did not contain enough of something it can't really think of a solution. What is really nice though it's as you say the refinement of questions. Sometimes it's hard to think of the right query, maybe yo…

Yeah, I gave it a simple task of encoding a secret message in a sentence by using the first letter of every word. Hello = "Hey everyone, lick less onions". I worked with the prompts for over an hour to try to get it to complete the task, and while I did have some success, it really struggled to reason about the task or provide a valid response. If it can't even reason about a child's game, I can imagine it struggles…

I'm not sure, but I got it to work great on my first try with the following prompt:

------ Your task is to encode a secret word by making a sentence where each word starts with a letter in the secret word in order. For example, encoding the secret word 'bag' could produce the sentence 'bagels are green'. Encode the following secret word: 'pen' ------ People eat noodles. ------

Worked for window, backpack as well, although I did have to tell it not to use the secret word in its encoding when I got to backpack, and then to follow the same order and not repeat words after a few attempts.

Re: Ask HN: How are you using GPT to be productive?

#743
post #726

Earlier quoted context omitted.

Since you're gonna have to search Stackoverflow anyway to verify that ChatGPT didn't hallucinate garbage, I'm very dubious that it actually saves any time, let alone "massive" amounts of it.

Just ask it to write unit tests for you and run the code to see if it's garbage. Faster than trying to verify by looking through the sources

So... use the garbage-generating AI to generate garbage unit tests to see if its other garbage code checks out? Sounds like a vortex of stupidity.

Re: Ask HN: How are you using GPT to be productive?

#744

Earlier quoted context omitted.

> I don't think it's actually reasoning about things at all, just providing a statistically plausible response to prompts. It turns out that humanity’s problem might not be that AIs can think but rather that humans believe that AIs can think. One might even go so far as to say there’s a real danger that we hallucinate that AIs can think, to our detriment.

I am personally more worried by the concept that potentially humans believe that humans can think, and in reality, what we consider to be intelligence is not much more than a flesh-and-bones LLM.

You probably meant it in tongue and cheek way (I can’t tell) but I think a lot of our fear / hesitation / denial about how useful these models are is buried into this idea that perhaps we are not special and not fundamentally different than these models.

Re: Ask HN: How are you using GPT to be productive?

#745

Earlier quoted context omitted.

I am personally more worried by the concept that potentially humans believe that humans can think, and in reality, what we consider to be intelligence is not much more than a flesh-and-bones LLM.

You probably meant it in tongue and cheek way (I can’t tell) but I think a lot of our fear / hesitation / denial about how useful these models are is buried into this idea that perhaps we are not special and not fundamentally different than these models.

My tone was flippant but I did mean what I said. I agree with you on this.

Re: Ask HN: How are you using GPT to be productive?

#747

Earlier quoted context omitted.

What do you use for the memory ? Can you explain a bit more ?

mysql database, with a column to store the embeddings vector (yeah i'm not so fancy to be using pinecone :P)

which column type do you use?

Re: Ask HN: How are you using GPT to be productive?

#749
Today

Correctly migrated several stupidly complex docker files. I spent several hours on Google trying to figure out what to do, then I just asked gpt-4 to figure out what was wrong. It was perfect.

It then added complete TS documentation to several dozen files, because documentation is for suckers. It will use this documentation in the future.

Updated about half of my API documentation, fixing my speeling errors.

And we had a nice discussion about how to start saving money for an early forced retirement and about the specific tasks it would be doing when it replaced me.

Re: Ask HN: How are you using GPT to be productive?

#750
post #406
post #351

Earlier quoted context omitted.

Fascinating idea. Can you share some code or screenshots of your client?

I don't think there's anything unique about my client, and since I'm too embarrassed to open-source my spaghetti code, I'm sharing this demo instead: https://nitter.net/itsuka_dev/status/1639631487493632000#m

I really like your UI design! There is something about it that is soothing.
Post reply on HN