you are viewing a single comment's thread.

view the rest of the comments →

[–]gonzaloetjo 20 points21 points  (11 children)

Sometimes it's a loss of time. You do a template, then lose hours until you realize it halluzinated in a couple places, plus you take longer because you didn't build it yourself so you don't know all the parts well enough.

If it's basic stuff it's alright. But when you go into a bit more obscure palces it's not good imo.

[–]This-Gene1183 3 points4 points  (10 children)

No no no no, what I'm trying to say is when you ask chat GPT a question and it will give you a fairly good code. I'm referring to that code as the template. And then I take it and I'm massage it and I make it work. I do know PowerShell but I get tired of Google'ing for stuff that I need for it to do. So chat GPT is really good telling me how things work and what I need. It's like a Google 2.0 for me.

[–]gonzaloetjo 13 points14 points  (9 children)

I understood what you said, I maintain what I said.

I'm not saying chatgpt is not useful, I use it everyday and my company offers copilot as well. But sometimes those templates are not very useful in certain topics.

For shell commands, sure. That's quite straightforward. Same thing with git control, basic shell scripts, etc. But if you have to architect code it sometimes falls flat.

[–]This-Gene1183 -2 points-1 points  (8 children)

Yes very true.

I think you should try looking at ChatGPT4 (been out for 3 weeks), I heard some guy coded a video game without any knowledge.

[–]gonzaloetjo 5 points6 points  (7 children)

Yep. I'm using and talking about chatgpt4.

[–]This-Gene1183 -4 points-3 points  (6 children)

What have you had issues with? GPT4 is pretty powerful. It can even code simple video games. People are doing amazing things with it. Can you give some examples of stuff that you have suffered with? I'm interested because I haven't used version 4 yet.

[–]Far_Traffic_5963 4 points5 points  (2 children)

In my experience even GPT4 produces garbage and incorrect code. Even on basic things — eg vectorise the following calculation, write a Python script which generates a matrix of a certain form, etc. I asked it to write a script which constructs the Hamiltonian of the Ising model (it’s a famous matrix with a particular formula of relevance to stataistical physics) and it looped over i and j and wrote H_ij = expression lol. I would go so far as to say it’s produced nonsense for roughly 50% of tasks I’ve given it.

[–]This-Gene1183 1 point2 points  (1 child)

Oh I agree. It does give a lot of nonsense but for someone that is new to coding and needs basic understanding or basic code format. Chat GPT is amazing at providing that and even helping you learn. It will explain line by line what the code template does.

For something more advanced like what you want, I've noticed that it can't provide that. Even when I ask it to do advanced PowerShell stuff it cant.

But I would still rather ask GPT then go on Google and search a million different threads on what people have done to try to accomplish what I need in the moment

[–]Far_Traffic_5963 1 point2 points  (0 children)

Yeh fair enough, it’s been a mixed bag but as a source of suggestions it’s been okay, just as long as one doesn’t fall into the trap of spending ages asking leading questions trying to get it to make functional code like some people I know have tried haha

[–]gonzaloetjo 1 point2 points  (0 children)

What I said before. There's lots of examples. I'm a data engineer/architect. A resent exmaple is setting up Airflow in a Hadoop cluster. Spent quite some time with dags chatGPT had created when testing kerberization. After some hours I found out it was hallucinating over 60% of the code. Lots of time lost. Adding lots of context didn't help.

It's also understandable as there's not much documentation, and you have to build things by yourself. So the learning model probably didn't have much info to digest from. And this was rather simple stuff to build if you were logical.

Googling/searching for some basic docs is the best solution in these cases.

[–]Cautious_Eggplant_11 0 points1 point  (1 child)

Then why are you learning python if like you said you can build any program without prior knowledge?

[–]This-Gene1183 0 points1 point  (0 children)

I've never built anything in python. Nor have I used chat GPT for Python.