News for hackers. Stuff that matters.
Re:Lessons from Creating a VSCode Extension with GPT-4 by sharemywin on Thursday May 25, 2023 @05:07PM (#36076248)
I feel like you would get more benefit out of GPT. you could ask it if it finds any vulnerabilities, common mistakes, other inconstancies. please provide comments on what each line does. what are some other common ways to write this line of code, etc.

what are some ways to handle this XYZ problem. I see you might have missed sql injection attacks. would that apply here?

Same goes for code you find on the internet.

I got this out put for this line of code what do you think the problem is.

Re:Lessons from Creating a VSCode Extension with GPT-4 by jjnoakes on Thursday May 25, 2023 @05:25PM (#36076435)
Every time I've tried chatgpt I've been shocked at the mistakes. It isn't a good tool to use if you care about correctness, and I care about correctness.

It may be able to regurgitate code for simple tasks, but that's all I've seen it get right.

Re:Lessons from Creating a VSCode Extension with GPT-4 by pixl97 on Thursday May 25, 2023 @11:35PM (#36079510)
You using 3.5 or 4?
Re:Lessons from Creating a VSCode Extension with GPT-4 by still_grokking on Saturday May 27, 2023 @01:39AM (#36092343)
Makes no difference. Both versions are mostly a bullshit generator.

But to see that you actually need to know in detail the things you're asking about.

After using it for some time I'm by now quite surprised when this thingy gets something actually right. But that are very seldom cases.

Re:Lessons from Creating a VSCode Extension with GPT-4 by still_grokking on Saturday May 27, 2023 @01:32AM (#36092322)
Big misunderstanding about those chat-bot AIs.

Even OpenAI says clearly: You should not, by any means, ask the AI any questions you don't know the answer already!

> more benefit out of GPT. you could ask it if it finds any vulnerabilities, common mistakes, other inconstancies. please provide comments on what each line does. what are some other common ways to write this line of code, etc.

And than it spits out some completely made up bullshit…

How would you know if you don't understand what you're actually doing?