Content pfp
Content
@
0 reply
0 recast
2 reactions

L pfp
L
@lajos
Do you often use ChatGPT for coding? Maybe it's my prompting skill that are lacking, but to me it feels like a super weak junior dev
13 replies
0 recast
8 reactions

moritz πŸ’§πŸ”‘ pfp
moritz πŸ’§πŸ”‘
@moritz
I use it quite a bit for things that are (1) widespread (= it has a lot of data about it) and (2) I'm not super familiar with Faster to kickstart things than going through docs / stackoverflow
2 replies
0 recast
4 reactions

L pfp
L
@lajos
yep I agree, I think it's really good at summarizing technical stuff, and answering questions. I use it often for that as well. But once you ask it to write code 7/10 times it just hallucinates a bunch of stuff, or the debugging is just not worth it lol Like, the AI should debug my code not the other way around haha
2 replies
0 recast
2 reactions

timdaub pfp
timdaub
@timdaub.eth
I think you just have to push back A LOT. Stop the prompt immediately when you see an error and complain about it, let it run and stop prompt again when you see the next error. Rinse and repeat and you'll get a very high quality result. I use gpt-cli, so I literally kill it with Ctrl-C, it's quite natural
1 reply
0 recast
1 reaction

timdaub pfp
timdaub
@timdaub.eth
@lajos Define a system prompt with your preferences. E.g. here's mine (it keeps growing)
2 replies
0 recast
3 reactions

moritz πŸ’§πŸ”‘ pfp
moritz πŸ’§πŸ”‘
@moritz
@timdaub.eth nice! Might give gpt-cli a try! Does it format code blocks properly in the cli? Saw it also works with Claude and Bard - did you try and compare any of them?
1 reply
0 recast
0 reaction

timdaub pfp
timdaub
@timdaub.eth
I formats code well. It has some drawbacks (https://github.com/kharvd/gpt-cli/issues?q=is%3Aissue+author%3ATimDaub+) I've not tried it with Bard or Claude yet
1 reply
0 recast
0 reaction

timdaub pfp
timdaub
@timdaub.eth
@lajos 70% of Kiwi News frontend is exclusively written by GPT4. Most of it works very well and I'd say it has less bugs than had I written the code myself. It is very messy but that's because I made it so. Also, big chunks of this technical spec/code were written with it: https://github.com/attestate/delegator2
0 reply
0 recast
0 reaction