Live data from Hacker News

An example of LLM prompting for programming

martinfowler.com

291–297 of 297 posts

Re: An example of LLM prompting for programming

#291

Earlier quoted context omitted.

A cellphone literally tracks your every move. If that's not a privacy concern then I don't know what is. Maybe a device with a microphone that's constantly on you. Oh no wait, that's also a cellphone. I was born in the 70's, and I can tell you, you can survive just fine without a cellphone. All of what you describe can be done on a desktop. But hey, if you want to compromise your privacy for some convenience, that's…

Are you going to carry your desktop into the forest on a hammock and work? How about on a plane to other countries? Will you carry your desktop in your car while living on the road? In the middle of forests and on top of mountains? Will you work from a campsite with your desktop while not connected to the internet? Can you have a meeting via your desktop from a rocky beach and no internet service? A cellphone can't t…

Sure, if you are willing to compromise your privacy, which you clearly are.

Re: An example of LLM prompting for programming

#292
post #283

Earlier quoted context omitted.

Good rule of thumb with ChatGPT: you can’t exit loops. Once you’ve gone A > B > A, your best move is to start a new chat. Even then it may reproduce and you should do some similar but different task. Remember that it’s a prediction engine, weighing heavily on the existing prompt. So you say B again, or B1 and it’s like, I know what to do! A! Cause last time was A->B so let’s do it again. In your case this would be “[…

Instead of starting a new chat, why not change the prompt higher up in the conversation with the relevant detail that you have gained through the responses?

I think that would work and be better in some cases. The thing is you want to change things up, lose some context. I may not be able to go far enough back without losing progress to do that. But I could copy just the current state of the task (last response) to a new chat.

Re: An example of LLM prompting for programming

#293

If somebody thinks an LLM is coming for everybody's coding job, I'd say this article is a great counterpoint just for existing. You could tell someone from decades ago that we now use a very high level language for complex tasks in complex code ecosystems, never even mention AI, explain that the parser is really generalist-biased, and this article would make perfect sense as an example of exemplary code by a modern c…

Yeah, even if ChatGPT could perfectly understand the prompts you'd still run into major issues with token limits. I tried to get it to rebuild a single page for me (to move from one UI framework to another) and I couldn't fit the existing code in the token limit. I might be able to get it to do a chunk of the initial work for a greenfield project if I perfected the prompts, but it's structurally incapable of maintaining existing code.

Re: An example of LLM prompting for programming

#294
post #226

Earlier quoted context omitted.

Hmm, I also use ChatGPT as an anti-procrastination tool and task manager, and it's never made a mistake with keeping track of my task list (except that when it sums the estimated times of subgroups of tasks, sometimes those sums are wrong). Note that it outputs my updated task list every time I add or remove a task (I only asked it to do that one time), so even if old messages go outside of the context window, it's n…

Interesting. What's your prompt?

Details here, https://news.ycombinator.com/item?id=35390644

Re: An example of LLM prompting for programming

#295

Earlier quoted context omitted.

No or no company would be able to use it. As you type fragments of code are sent and discarded after use. You need to trust Microsoft to actually do the discarding but contractually they do and you can sue them if they accidentally or deliberately keep your code around or otherwise mismanage it.

They are obligated to give data to the government, and government took part of spying in Brazil for Boeing in the past, but I guess they are using this capability only for a few strategic companies, and most companies are not that.

> government took part of spying in Brazil for Boeing in the past

Do you have more details? Please elaborate.

Re: An example of LLM prompting for programming

#296

Earlier quoted context omitted.

Yet, the whole movement of getting blue collar workers to code seems to have lost its steam.

Probably because “graduating” bootcamps doesnt make one a swe and people figured out it’s a scam?

I'm a fullstack dev of 10+ years experience. We have people on our team who've done almost nothing more than a react bootcamp. They can't do what I do, even with chatGPT, but they can do a lot of things I don't want to do.

Re: An example of LLM prompting for programming

#297
post #226

Earlier quoted context omitted.

Interesting. What's your prompt?

Details here, https://news.ycombinator.com/item?id=35390644

Here's a web app I found recently that should work way better for you. Idk what model it uses (its also free, it feels like chatgpt3.5, so I guess they are funding it out of pocket?)

https://goblin.tools/

Post reply on HN