Live data from Hacker News

Ask HN: Those with success using GPT-4 for programming – what are you doing?

news.ycombinator.com

101–109 of 109 posts

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#101
I'm launching a financial planning business right now but I was recently using it to write xpath queries to use with "xmllint --format".

I then used it to generate a more robust Python script processing these large XML files instead.

I like using it to generate scaffolding and for debugging but I haven't had to touch a legacy C++ code base for a few years.

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#102
I've been using it to generate code that follows certain pattern.

For example, I saved 2 hours. I told it to generate a GraphQL resolver after inferring a Zod schema.

It followed the code conventions from other file.

It generated it beautifully.

Every time there's boilerplate, to ChatGPT it goes.

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#103
You hit the nail on its head right there. It’s all based on a doomed technology that is not going to give us the benefits it promises. I do think future models will improve on this, but there’s likely very little room (read: data) left to make that happen.

Developing symbolic reasoning further would likely be a much better use of researchers’ time, even if it takes longer. But the incentives in the short term just aren’t there, sadly.

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#104
post #80

Earlier quoted context omitted.

Maybe you're using the paid version, or I suck too much at prompting, but so far I wasn't able to rely on the generated SQL and not for lack of trying. Workable queries, yes, but never doing what I intended...

I use ChatGPT-4 for $20/month. It pays for itself many times over, it's not really a hard decision at all! And yes, GPT-4 is much better at coding.

I’m curious what it saves you. I’ve done the same for a couple months, but found its results too unreliable to be of any use to me, in terms of time savings.

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#105
post #51

GPT-4 is amazing for me for writing Python, Go, and Kubernetes YAML. I have designed and implemented 8 operators with between 90-100% of the code auto generated. I use it to generate mermaid diagrams that implement the first 3 layers of the C4 model, sometimes needing some editing or guidance to modify it, then have it generate the code. I generate diagrams with high temperature, and code with low. That’s my experien…

I think I fall into the 2nd category, like your co-worker. What would be your tips to actually get anything useful out of it?

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#106

Earlier quoted context omitted.

RTEdge looks very nice What exactly is being shown on the map ? And which libs did u use ?

https://RTEdge.net is our global, multi-cloud network! We build on this foundation, a real-time coding/hosting platform using nothing but the web standards and APIs. On the map, you can click on the nodes and edges (lines) for additional info! This map will be embedded into our marketing pages, which we are in the process of writing. --- As a teaser, watch https://rt.ht/yt (20s video about RTCode.io – a web playgroun…

This really does seem like an AI-generated response. WTF

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#107
post #34

Earlier quoted context omitted.

I can't believe they are only charging me $20/month for access to GPT-4. I'd pay more for it.

I’d pay more if it was faster, had API access, and stronger privacy. Right now Sam Altman is channeling Zuckaberg by claiming to be the good guy changing the world, but in reality hoarding data and asking congress to build him a moat.

Exactly. Not only that, but according to a recently filed lawsuit they’re providing preferential access to YC batch companies first and then everyone else.

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#108

I have found it completely fucking worthless for anything I have thrown at it. Computing how to dilute a concentrate into a fruit punch, how to create and render a template in golang, how to parse an int in golang, what makes a chord progression a "lydian" chord progression... it goes on and on.

Ikr? Even with GPTPlus it would still hallucinate things in 90% of cases I’ve thrown at it, so by the time I fully debug its output, I’ve spent about the same if not more time than just figuring it out on my own using good ole Google (or an alternative search engine) and StackOverflow.

And that’s for things I’m fairly competent in, to judge the quality of an answer.

Re: Ask HN: Those with success using GPT-4 for programming – what are you doing?

#109

AI has replaced 90% of my SO searches. I now don't contribute anything back and have to trust unvetted code that tends to have defects Coincidentally, SO seems to be worse. But then again, I only use it 10% of the time so I might be wrong

Garbage in, garbage out, as they say. Though I still trust SO waaay more than GPT, and so deleted my GPT account for good.
Post reply on HN