Live data from Hacker News

Tips for better coding with ChatGPT

nature.com

21–30 of 114 posts

Re: Tips for better coding with ChatGPT

#21
Further evidence of my justified true belief that the world will rapidly divide between those who already had programmatic control over their computers, now infinitely more productive through direct access to the GPT APIs (to say nothing of the firms that will use LLMs only internally, trained on their own codebase for example) and those who believe GPT=ChatGPT, which will slowly become but another conduit for ads through plugins. It's quite sad when even Nature magazine becomes a spokesperson for the latter group, who will continue to believe that LLMs are a racket on the order of Bitcoin.

Re: Tips for better coding with ChatGPT

#22
post #14

Does anyone know if you can use Copilot with Gpt4 ? I already have gpt4 access but have not been able to approved for code interpreter hence I am still using chat to handle code tasks.

GitHub Copilot X [0] seems to be exactly that, it is in technical preview with a waitlist.

[0]: https://github.com/features/preview/copilot-x

Re: Tips for better coding with ChatGPT

#23
post #6

> Trust but verify... Based on my own attempts to have ChatGPT generate code for me, it's better to NOT trust it. It tends to hilucinate even with simple requirements.

If you're already a programmer, there's no excuse for not working directly with the APIs. Learn about context and prosper.

Re: Tips for better coding with ChatGPT

#25

I've been using the openai apis to write and edit code for 3-4 months now. So I think that makes me an old timer (ha!). I have also been building tooling for improving the chat based coding experience [0]. All of this work has given me an opportunity to think about how to work best with GPTs on coding, and I've shared some thoughts about this in the past [1]. Here are some of my thoughts on how to code with chatgpt.…

Really fantastic advice. The only corollary that I'll over-emphasize to those reading: do not rely on ChatGPT and learn to work with the APIs directly -- or tools built explicitly for your purpose.

I've also been working with the APIs directly for about that time and I only get more depressed daily reading the horrible takes about GPT's problems based only off of ChatGPT (and hearing about how even many companies try to use the product). GPT has forever changed how I interact with computers.

Re: Tips for better coding with ChatGPT

#26
post #24

Now nature.com gives “coding” advice? Is openai paying for such articles or are they bored?

I thought you needed to publish amazing discoveries to get in. We have a million articles about prompting already.

For an article in the Nature scientific journal, sure. For an op-ed on Nature.com? Nah.

Re: Tips for better coding with ChatGPT

#28

Now nature.com gives “coding” advice? Is openai paying for such articles or are they bored?

It's an editorial from one of their technology editors. I have read a ton of useful editorials from Nature throughout my academic career -- not sure if it's beyond their scope, but I would be sad to see it go.

Re: Tips for better coding with ChatGPT

#30

Eh, I might be a whiner, but I seeing that nature.com, I expected something better than a Malcol Gladwell level article. Okay, the tip with anthropomorphisation is okay, and reminding people that you can't believe in LLMs output is always good... but, like, I'd assume an average Nature reader is smart enough to not need tips like "iterate" or "embrace change".

I gave this a try and got disappointed seeing "common sense" kind of reasoning, too.

Regarding Malcolm Gladwell, do you mean the "Blink" book?

Post reply on HN