News for hackers. Stuff that matters.
Re:Using ChatGPT to generate a GPT project end-to-end by seunosewa on Saturday May 06, 2023 @01:31PM (#35843491)
ChatGPT is a junior developer whose knowledge is broad but shallow.
Re:Using ChatGPT to generate a GPT project end-to-end by killthebuddha on Saturday May 06, 2023 @03:03PM (#35844363)
IMO this leaves out some salient details. For example, I'd say ChatGPT is a very, very good junior developer. The kind of junior developer that loves computer science, has been screwing around with miscellaneous algorithms and data structures its whole life, has a near-perfect memory, and is awake 24/7/365, but has never had to architect a data-intensive system, write future-proof code, or write code for other developers. Of course, these last three things are a big deal, but the rest of the list makes for a ridiculously useful teammate.
Re:Using ChatGPT to generate a GPT project end-to-end by verdverm on Saturday May 06, 2023 @04:15PM (#35844999)
Getting a bit heavy on the anthropomorphizing, it's an LLM which has certain capabilities.

For example, I would not expect the same junior engineer to have such variance, given the same inputs.

Re:Using ChatGPT to generate a GPT project end-to-end by killthebuddha on Saturday May 06, 2023 @04:35PM (#35845146)
I completely agree. IMO anthropomorphisms of LLMs leave out extremely important details.
Re:Using ChatGPT to generate a GPT project end-to-end by therein on Saturday May 06, 2023 @04:39PM (#35845182)
> and is awake 24/7/365

The whole thing is a really accurate expansion on the analogy. It even extends further to explain how it tends to forget certain requirements it was just told and tends to hallucinate at times.

Re:Using ChatGPT to generate a GPT project end-to-end by addandsubtract on Saturday May 06, 2023 @04:49PM (#35845239)
It also has a very broad knowledge of programming languages and frameworks. It's able to onboard you with ease and answer most of qour questions. The trick is to recognize when it's confidently incorrect and hallucinating API calls.
Re:Using ChatGPT to generate a GPT project end-to-end by victor9000 on Sunday May 07, 2023 @04:14AM (#35849084)
But that's the secret, it's always hallucinating
Re:Using ChatGPT to generate a GPT project end-to-end by edanm on Sunday May 07, 2023 @05:23AM (#35849532)
What do you mean when you say this? Most people use hallucinate to mean "writes things that aren't true". It clearly and demonstrably is able to write at least some code that is valid and write some things that are true.
Re:Using ChatGPT to generate a GPT project end-to-end by dwallin on Monday May 08, 2023 @10:43AM (#35862062)
These models don't have a frame of reference to ground themselves in reality with, so they don't really have a base "truth". Everything is equally valid if it is likely.

A human in a hallucinogenic state could hallucinate a lot of things that are true. The hallucination can feature real characters and places, and could happen to follow the normal rules of physics, but they are not guaranteed to do so. And since the individual has essentially become detached from reality, they have no way of knowing which is which.

It's not a perfect analogy, but it helps with understanding that the model "writing things that aren't true" is not some statistical quirk or bug that can be solved with a bandaid, but rather is fundamental to the models themselves. In fact, it might be more truthful to say that the models are always making things up, but that often the things they are making up happen to be true and/or useful.

Re:Using ChatGPT to generate a GPT project end-to-end by killthebuddha on Monday May 08, 2023 @11:54AM (#35863055)
I think this is a great way to think about it. Hallucinations are the default and an LLM app is one that channels hallucinations rather than avoids them.
Re:Using ChatGPT to generate a GPT project end-to-end by victor9000 on Tuesday May 09, 2023 @11:27PM (#35883292)
Precisely, the model is just regurgitating and pattern matching using a large enough training set where the outputs happen to look factual or logical. Meaning that we're just anthropomorphizing these concepts onto statical models, so it's not much different than Jesus Toast.
Re:Using ChatGPT to generate a GPT project end-to-end by jjfoooo10 on Saturday May 06, 2023 @05:32PM (#35845533)
Yeah, the junior dev analogy misses on the core capabilities. The ability to spit out syntactically correct blocks of code in a second or two is a massive win, even if it requires careful review.
Re:Using ChatGPT to generate a GPT project end-to-end by xeromal on Saturday May 06, 2023 @09:40PM (#35847058)
Yup, it's been a help for me. Had a buddy who asked me if I could automate his workflow in wordpress for post submissions he had to deal with. I asked chatgpt with a little prodding to create me a little workflow. I cleaned it up a bit and threw it in AWS lambda for literally 0$. He was super thankful and hooked me up with a bunch of meat (his dad is a butcher) and I spent maybe an hour on it.
Re:Using ChatGPT to generate a GPT project end-to-end by Sparkyte on Saturday May 06, 2023 @04:42PM (#35845207)
Doubt it will go beyond that either. It is equivalent to a spell checker and a calculator having a baby.

It will take the world by storm and change the way we do things. But it won't change the work that needs to be done. Just the way we consume it.

Re:Using ChatGPT to generate a GPT project end-to-end by pojzon on Saturday May 06, 2023 @04:43PM (#35845211)
Now, who is going to mentor real human junior developers? Coz they wont progress by themselves (or not many will).

Whats the initiative for companies to invest into junior developers now ?

Re:Using ChatGPT to generate a GPT project end-to-end by ChatGTP on Saturday May 06, 2023 @06:19PM (#35845844)
Maybe the seniors will get replaced by juniors with ChatGPT ?

It is cheaper…

Re:Using ChatGPT to generate a GPT project end-to-end by wseqyrku on Saturday May 06, 2023 @04:55PM (#35845290)
Disagee. GPT is a senior and knows it all but doesn't know where to start unless you precisely instruct them what to do.
Re:Using ChatGPT to generate a GPT project end-to-end by mjr00 on Saturday May 06, 2023 @05:01PM (#35845329)
"Developer who needs precise instructions to accomplish every task" is the exact opposite of a senior developer
Re:Using ChatGPT to generate a GPT project end-to-end by wseqyrku on Saturday May 06, 2023 @05:23PM (#35845471)
I guess it depends on how you'd define "senior" in this context, someone who knows lots of techstack or someone who has an idea. Of course that doesn't directly map to people's skills because most people develop skills in various dimensions at once.
Re:Using ChatGPT to generate a GPT project end-to-end by chaxor on Saturday May 06, 2023 @07:58PM (#35846526)
I'm actually not so sure about that statement. For example, knowing if the code will be executed on a raspberry pi, a HPC with 10TB RAM and 512 CPUs, or a home desktop with 128GB RAM and 8 core CPU will greatly affect how the task may be done. Also, if code aesthetics are important with dependencies that allow it, or fewer dependencies are required, or if performance is more important, or if saving disk space is paramount, etc. All of these considerations (or if the need to run on any of them easily) heavily change the direction of what should be written, even after the language and such have been chosen. So, yeah - effectively you do need to specify quite a bit to a senior dev, if you want specific properties in the output - so it's obvious that this needs to be specified to a linguistic interface to coding like these LLMs.
Re:Using ChatGPT to generate a GPT project end-to-end by zerr on Saturday May 06, 2023 @07:22PM (#35846287)
The worst part is that it doesn't know when it doesn't know, so makes up a garbage.
Re:Using ChatGPT to generate a GPT project end-to-end by drekipus on Saturday May 06, 2023 @08:33PM (#35846690)
* * *
Re:Using ChatGPT to generate a GPT project end-to-end by AndrewKemendo on Sunday May 07, 2023 @01:29AM (#35848218)
And unfortunately just as many seniors
Re:Using ChatGPT to generate a GPT project end-to-end by zerr on Sunday May 07, 2023 @04:19AM (#35849114)
Well, besides the prose, ChatGPT generates a perfectly valid looking code mashup of e.g. Qt, wxWidgets and its hallucinations on top of that. Humans don't do that :)
Re:Using ChatGPT to generate a GPT project end-to-end by sekai on Sunday May 07, 2023 @03:09AM (#35848743)
> The worst part is that it doesn't know when it doesn't know, so makes up a garbage.

Hehe, that's true for humans too.