There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

UnfortunateShort ,

ChatGPT was never made for programming and is horrible at generating code. It is nice for a peer-programming kinda setup tho, because it can quickly point you towards tools, libraries, APIs etc. to use

oldfart ,

It generated a custom needs GUI OCR tool in Qt5. I don’t know a single bit of Qt5 and went from zero to working tool in half an hour.

The tool takes a screenshot, lets me select an area on the screen, OCRs it and displays the text in a window.

If ChatGPT isn’t made for programming then I’m looking forward for a product that is.

Jake_Farm ,
@Jake_Farm@sopuli.xyz avatar

What about a programmer that doesn’t use stack overflow.

corsicanguppy ,

There once were writers who didn’t objectify people by using pronouns reserved for inanimate objects.

I haven’t seen any lately.

Umbrias ,

What

The_Terrible_Humbaba ,
@The_Terrible_Humbaba@beehaw.org avatar

They’re saying that the image should say :

who writes code without chatgpt

instead of :

that writes code without chatgpt

Umbrias ,

Big meh. Languages evolve.

LavaPlanet ,

You’re phrasing at the top there, started a sea shanty, but with your lyrics, in my head.

9thSun ,

As someone who is learning, I think it’s imperative to understand that chatgpt has limitations that cannot be overlooked. It’s pretty good if I make some silly syntax or formatting errors, but at the core I have to understand what I’m working with if I want to be a better programmer. I love the conversational nature because I often have a hard time wording questions, so it helps me in that regard as well. Idk if you want to be truly good at something you have to be more reliant on yourself than external tools.

1984 ,
@1984@lemmy.today avatar

The thing is, in some fields like devops, there are so many tools that you can’t remember or know all of them very well. So asking chatgpt how to do something saves very much time. It can write ansible playbooks, docker files, web server configurations etc etc. They almost never work perfectly but they give a very good starting point to modify.

It used to be that you could be very good at specific languages or tools but today, there isn’t enough time. Everyone is always in a hurry to get something out as quickly as possible too.

Mr_Lobster ,

I literally cannot comprehend coding with ChatGPT- How can I expect something to work if I don’t understand it, and how can I understand it if I don’t code and debug it myself? How can you expect to troubleshoot any issues afterwards if you don’t understand the code? I wouldn’t trust GPT for anything more complex than Hello World.

mild_deviation ,

Just yesterday, I wrote a first version of a fairly complex method, then pasted it into GPT-4. It explained my code to me clearly, I was able to have a conversation with it about the code, and when I asked it to write a better version, that version ended up having a couple significant logical simplifications. (And a silly defect that I corrected it on.)

The damn thing hallucinates sometimes (especially with more obscure/deep topics) and occasionally makes stupid mistakes, so it keeps you on your toes a bit, but it is nevertheless a very valuable tool.

philm ,

That only really works, if the method is self-contained, and written in a language that GPT has seen often (such as python). I stopped using it, because for 1 in 10 successful tries I waste time for the other 9 tries…

philm ,

This.

If I’m writing something slightly more complex, ChatGPT(4) is mostly failing.

If I’m writing complex code, I don’t even get the idea of using ChatGPT, because I’m only getting disappointed, and in the end waste more time trying to “engineer” the prompt, only to get disappointed again.

I currently cannot imagine using ChatGPT for coding, I was excited in the beginning, and it’s sometimes useful, but mostly not really for coding…

worldsayshi ,

If you’re already knee deep in existing code and looking for bugs or need to write quite specific algorithms it seems not very useful. But if you for some reason need to write stuff that has the slightest feeling of boilerplate, like how do I interact with well established framework or service X while doing A, B C it can be really useful.

oldfart ,

Also it’s often doing a great job if you paste a stack trace into it and maybe some surrounding code. I used it to fix someone else’s Java code as well as to upgrade some 3rd party Wordpress junk to latest PHP. I barely know Java and stopped following PHP news around version 5.6.

worldsayshi , (edited )

You shouldn’t use code that you don’t understand. Chatgpt outputs quite readable and understandable code and makes sure to explain a lot of it and you can ask questions about it.

It can save quite a lot of effort, especially for tasks that are more tedious than hard. Even more if you have a general idea of what you want to do but you’re not familiar with the specific tools and libraries that you want to use for the task.

III ,

It’s also wrong a lot. Hence the requirement for understanding. It can be helpful to get through a stretch but it will fuck up before too long and relying on it entirely is a bad idea.

1984 ,
@1984@lemmy.today avatar

Often the code is self explanitory. I understand the code very often, but I still couldn’t write it correctly from scratch. You never feel like that?

This is how code examples in books works too. You get some code to look at and try to understand it. Otherwise it’s like you would ignore code examples while learning programming.

Psythik ,

I haven’t been in web development in over 20 years; thanks to ChatGPT, I was able to get up-to-speed and start building websites again, when in the past I would have never been able to do so.

GPT is a powerful tool that can allow anyone to do anything if they’re willing to put in the effort. We should be praising it, not making fun of it. It’s as revolutionary as the internet itself.

corsicanguppy ,

I use it to give me prototypes for ansible because Ansible is junk. Then I build my stuff from the mishmash and have GPT check it. Cuts a lot of time down that I’d rather be doing any-bloody-thing else with.

namingthingsiseasy ,

Today we have chatbots. Yesterday we had search engines and stack overflow. Before that we had books. And before that? Well what do you know… software programming is a relatively novel field. It’s almost as if nobody has perfected how it should be learned.

The most valuable knowledge comes from experience. I copied plenty of code around during my learning days as well, and I still do it today. The most important part however is trying to understand the code you’re working with. If you can understand it, know when it fails, test it in the right way, etc., then sure, you could probably learn to code from chatbots. They provide the information, and you’re at liberty to do what you want with it. If you just copy it and forget, you’ll be a bad programmer. But it’s not like you couldn’t do that before either with the other sources that were available - there were plenty of bad programmers before we had these tools available too.

That said, there is a risk that these chatbots do not provide any useful context around the code that they produce. When you learned from a book or stack overflow, you were reading from a reasonably authoritative source that could explain the code that was produced. But the authority behind the code from chatbots is probably much weaker than what we have from stack overflow, which in turn was probably also weaker than what we have from books. Does it have an effect or learning? I have no clue. But I still think you can learn from chatbots if you use the output that they provide in the right way. (Disclaimer: I have never used one of them and have no experience with them.)

Devouring ,

If you’re doing something extremely skillfully, chat gpt will make the dumbest suggestions ever…

Chatgpt is good for learning ideas and new things as an aggregate of what everyone thinks about it. But as a coding tool it cannot reason properly and has rubber stamp solutions for everything.

DudeDudenson ,

Well yes it’s responses are based on what the average of the internet would say.

I’m surprised it doesn’t constantly tell you to format windows and reinstall no matter what you ask

EnderMB ,

ChatGPT is banned by my employer, because they don’t want trade secrets being leaked, which IMO is fair enough. We work on ML stuff anyway.

Anyway, we have a junior engineer that has been caught using ChatGPT several times, whether it’s IT flagging its use, seeing a tab open in their browser during a demo, or simply just seeing code they obviously didn’t write in code I’m reviewing.

I recently tried to help them out on a project that uses React, and it is clear as day that this engineer cannot write code without ChatGPT. The library use is all over the place, they’ll just “invent” certain API’s, or they’ll use things that were deprecated/don’t work if you’ve even attempted to think about the problem. IMO, reliance on ChatGPT is much worse than how juniors used to be reliant on Stack Overflow to find answers to copy paste.

v9CYKjLeia10dZpz88iU ,

I’m surprised these people can pass a technical interview. I imagine the employer doesn’t test candidates for something like this to happen.

EnderMB ,

One of the dirty secrets at FAANG companies is that lots of people join from internships, and can get all the way to senior and above without ever needing to go through a standard, full technical loop. If you have a formal apprenticeship scheme, sometimes you’ll join through a non-tech loop.

ProxyZeus ,
@ProxyZeus@lemmy.world avatar

Tbf some technical interviews are bs

Nahdahar ,

The underlying problem is the same, it just became more accessible to copy code you don’t understand (you don’t even need to come up with a search query that leads you to some kind of answer, chatpgt will interpret your words and come up with something). Proper use of chatgpt can boost productivity, but people (both critics of chatgpt and people who don’t actually know how to code) misuse it, look at it as a “magic solution box” instead of a tool that can assist development and lead you to solutions.

pirrrrrrrr ,
eerongal ,
@eerongal@ttrpg.network avatar

Notepad++ is perfectly fine to code in. With the wealth of plugins it has, it’s pretty similar to vscode in how you can trick it out with all sorts of things it can’t do by default.

slackassassin ,

Notepad++ gang

kogasa ,
@kogasa@programming.dev avatar

I’m a tolerant person, but come on, man. Between VSCode, JetBrains, (n)vim and emacs, and I can’t think of a legitimate reason to use np++ for development over any of them.

GBU_28 ,

If you accept confusing and unsettling peers who watch you screen share and hammer out keybinds that do mysterious things, then you’re all set.

pirrrrrrrr ,

The tiny, tiny footprint and speed to load.

I would think I’d probably use an IDE if I was coding all the time.

Heck, I’m only using it because JFE got too old.

I do have VSCode set up even with the same scheme as NP++… but let’s face it, the most complex things I’m using are PowerShell and Node JS.

tiredofsametab ,

I don't use JetBrains because it's not free, I mainly use VSCode since it is and works fine, but I would use np++ after that. I spent years working in np++.

I played with linux in the early '90s, but mostly got started on GenToo Linux years ago and they had people installing Nano when building from the ground up. I grew to like that and never really learned VIM. I did use emacs every now and again, but all of those have lots of unwieldy key combinations that require memorization and don't work like a lot of other programs people coming from, for instance, Windows would be at all familiar with. The barrier to entry was too high to bother with so it was wine and np++ since I was also still using Windows for work.

I've been forced to use a Mac for work for the last almost-year and still can't find anything as good as np++. BBCode is as close as I can get and I'm still not really a fan.

kamenlady ,
@kamenlady@lemmy.world avatar

VSCode for osx, why not use this?

tiredofsametab ,

Ah, unclear on my part. I do use vscode on Mac, but still want a text editor to do other stuff.

kamenlady ,
@kamenlady@lemmy.world avatar

ah ok - yeah, i have the same struggle. Mac’s default Editor is too Rich-Text centric.

PieMePlenty ,

You havent lived until you wrote python over ssh in nano.

Black616Angel ,

But I mean this is (hopefully) an exception and not the norm.

trash80 ,

I’ve written C over ssh in pico. It was sort of zen in its simplicity.

ByGourou ,

We wouldn’t have to do that if vscode remote ssh was good

gentooer ,

Luckily all systems I had to do this on had vi installed.

MikuNPC ,

It’s super fast in comparison to full IDEs and is easier to use than most editors. I switch between vscode and notepad++ depending on what im doing.

DudeDudenson ,

Macros man, being able to record a macro and use it quickly and easily is worth it’s weight in gold when you’re doing something super repetitive that there are no automatic refactors for.

And i hate the “modern sleek design” culture of making all the options hidden and difficult to reach. Notepad s interface is so fucking clean and usefull.

I still use intellij because of a lot of other things but quite often I find myself using notepad for specific tasks and it’s such a treat

droans ,

I’ll use it for one-off short scripts. No point in doing the whole shebang for something that doesn’t need it.

guywithoutaname ,

I strongly advise not to do that. As others pointed out, it really is just predicting the next word. It is worth learning about how to problem solve and to recognize that the only way to become a better program is with practice. It’s better to get programming advice from real people online and read the documentations for the functions and languages you are trying to use.

JeeBaiChow ,

If the internet has succeeded in anything, it’s that the illusion of competence is worth more than the thing itself. Until someone calls you out, that is.

ScrotusMaximus ,

Sage wisdom.

Somewhereunknown7351 , (edited )
@Somewhereunknown7351@kbin.social avatar

There was once a programmer that wrote his own code

threelonmusketeers ,

Of course the first programmer did, but everyone who came after just copied her work and tweaked it a bit to suit their needs.

namingthingsiseasy ,

Basically, yeah. Dennis Ritchie wrote the C compiler because he knew exactly what her wanted to use it for and the kinds of code that he wanted to write. Then he went on to write the book that everyone used to learn the language.

This is true of probably every language, library, framework, etc. The original designer writes it because he knows what he wants to do with it and does so. Then everyone else follows. People then add more features and provide demonstrations of how to use them, and others copy them. It is extremely hard to just look at an API and use that to figure out exactly which calls should be made and in what order. Everyone just reads from the examples and adapts them as needed.

smotherlove ,

I’ve always, always been a documentation-only guy. Meaning I almost never use anything other than the documentation for the languages and libraries I use. I genuinely don’t feel that I’m missing out on anything, I already write code faster than my peers and I don’t feel the need to try to be some sort of 10x developer.

TrickDacy ,

Is there a c/iamverysmart ?

smotherlove ,

Learning the proper way to do things has nothing to do with being smart. I don’t think I’m smarter than my peers, I just have a longer attention span (thanks adderall!)

TrickDacy ,

Yeah I don’t buy it. I don’t think I’ve ever once used documentation so good I didn’t need to use a search engine at some point. Kind of odd you pretend you never use one lol… You and all the downvoters seem to have some kind of strange complex where you need to feel superior

smotherlove ,

I don’t get how you could think that’s what I meant. Every person with an internet connection uses a search engine. I use search engines to find relevant documentation. I assumed that went without saying.

TrickDacy ,

You say you use documentation only. You obviously use stack overflow or other forums too, like the rest of us. But keep on pretending

smotherlove ,

If you don’t believe me, there isn’t really anything I can do to change your mind. It doesn’t matter to me either way, but no I don’t go on stackoverflow because it’s toxic and unhelpful. I go on forums or IRC if I want to discuss the development of a library.

Honestly, I am pretty used to the “you can’t do things your way, you have to do them our way or it wont work” shit because practically every neurotypical thinks this way. All I’m saying is there’s a reason I’m faster than my peers. I don’t know how much of that is due to my avoidance of “crutches” but I’m certain it’s nonzero.

wizardbeard ,

This comment says a hell of a lot more about you than the other person here.

TrickDacy ,

The fact that you people pretend to only use documentation like some elitist boyscouts actually does say something about you.

I don’t believe you, you’re lying, you just want to seem smart. I don’t give a flying fuck if random Internet people think I’m smart or whatever the hell else you’re suggesting. Just flat don’t care. I know there is nothing wrong with using search engines and stack overflow and that we all do it. Pretty weird you all pretend otherwise. Kind of sad really that your ego requires this of you.

alignedchaos ,

Sometimes there are better methods to implement something, and we can learn from others’ mistakes without having to make them ourselves

wizardbeard ,

How would chatgpt streamline that any better than other documentation and skimming things like programming blogs and stackoverflow?

emptiestplace ,

It’s not as dumb as you are suggesting. I’ve been programming in various languages since the 80s and I can say with confidence that your take is, at best, absurd. Go spend some time with GPT 4.

smotherlove ,

I’m IP banned due to my VPN. If they don’t want my business, that’s fine. I’m not getting off my VPN just to interact with proprietary software.

alignedchaos ,

“skimming things like programming blogs and stackoverflow”

Like this commenter claims he doesn’t do?

smotherlove ,

Isn’t this why we use external libraries?

canni ,

I’ve always, always been a intuition only guy. Meaning I almost never use any thing other than blind guessing on how languages and libraries work. I genuinely don’t feel I’m missing out on anything, my farts already smell better than the rest of my peers and I just don’t feel the need to learn the modern tools of my trade.

blackbirdbiryani ,

For the love of God, if you’re a junior programmer you’re overestimating your understanding if you keep relying on chatGPT thinking ‘of course I’ll spot the errors’. You will until you won’t and you end up dropping the company database or deleting everything in root.

All ChatGPT is doing is guessing the next word. And it’s trained on a bunch of bullshit coding blogs that litter the internet, half of which are now chatGPT written (without any validation of course).

If you can’t take 10 - 30 minutes to search for, read, and comprehend information on stack overflow or docs then programming (or problem solving) just isn’t for you. The junior end of this feel is really getting clogged with people who want to get rich quick without doing any of the legwork behind learning how to be good at this job, and ChatGPT is really exarcebating the problem.

chicken ,

If you can’t take 10 - 30 minutes to search for, read, and comprehend information on stack overflow or docs

A lot of the time this is just looking for syntax though; you know what you want to do, and it’s simple, but it is gated behind busywork. This is to me the most useful part about ChatGPT, it knows all the syntax and will write it out for you and answer clarifying questions so you can remain in a mental state of thinking about the actual problem instead of digging through piles of junk for a bit of information.

el_bhm ,

Just a few days ago I read an article on the newest features of Kotlin 1.9. Zero of it was true.

Internet is littered with stuff like this.

If model is correct, you are correct. If model is not correct, you are working on false assumptions.

chicken ,

No difference there, either way your information may be wrong or misleading. Running code and seeing what it does is the solution.

bear ,

Never ask ChatGPT to write code that you plan to actually use, and never take it as a source of truth. I use it to put me on a possible right path when I’m totally lost and lack the vocabulary to accurately describe what I need. Sometimes I’ll ask it for an example of how sometimes works so that I can learn it myself. It’s an incredibly useful tool, but you’re out of your damn mind if you’re just regularly copying code it spits out. You need to error check everything it does, and if you don’t know the syntax well enough to write it yourself, how the hell do you plan to reliably error check it?

_danny ,

You absolutely can ask it for code you plan to use as long as you treat chatgpt like a beginner dev. Give it a small, very simple, self contained task and test it thoroughly.

Also, you can write unit tests while being quite unfamiliar with the syntax. For example, you could write a unit test for a function which utilizes a switch statement, without using a switch statement to test it. There’s a whole sect of “test driven development” where this kind of development would probably work pretty well.

I’ll agree that if you can’t test a piece of code, you have no business writing in the language in a professional capacity.

wizardbeard ,

The more you grow in experience the more you’re going to realize that syntax and organization is the majority of programming work.

When you first start out, it feels like the hardest part is figuring out how to get from a to b on a conceptual level. Eventually that will become far easier.

You break the big problem down into discrete steps, then figure out the besy way to do each step. It takes little skill to say “the computer just needs to do this”. The trick is knowing how to speak to the computer in a way that can make sense to the computer, to you, and to the others who will eventually have to work with your code.

You’re doing the equivalent of a painter saying “I’ve done the hard part of envisioning it in my head! I’m just going to pay some guy on fiver to move the brush for me”


This is difficult to put into words, as it’s also not about memorization of every language specific syntax pattern. But there’s a difference between looking up documentation or at previous code for syntax, and trying to have chatGPT turn your psiedocode notes into working code.

emptiestplace ,

The more you grow in experience the more you’re going to realize that syntax and organization is the majority of programming work.

organization, absolutely - but syntax? c’mon…

Stumblinbear ,
@Stumblinbear@pawb.social avatar

I’m a pretty senior dev and have chat gpt open for quick searches. It’s great for helping me figure out what to Google in the cases where I can’t think of the name of a pattern or type I’m looking for. It also helps quite a bit with learning about obscure functions and keywords in SQL that I can do more research on

Hell, I use Copilot daily. Its auto complete is top-tier

pkill ,

Copilot is good for tedious stuff like writing enums. But otherwise I more often than not need to only accept tne suggested line or particular words, since in multiline snippets it can do stupid things, like exiting outside of main() or skipping error checks.

chicken ,

I’ve been programming for decades, I’m not actually a beginner. A mistake I made early on was thinking that everything I learn will be worth the time to learn it, and will always increase my overall skill level. But (particularly as relates to syntax) it’s not and it doesn’t; something I only use once or rarely, something that isn’t closely connected with the rest of what I often do, I’ll just forget it after a while. I greatly prefer being broadly capable of making things happen to having a finely honed specialization, so I run into that sort of thing a lot, there is an ocean of information out there and many very different things a programmer can be doing.

I think it is an important and valuable lesson to know when to get over yourself and take shortcuts. There are situations where you absolutely should never do that, but they are rare. There are many situations where not taking shortcuts is a huge mistake and will result in piles of abandoned code and not finishing what you set out to do. AI is an incredibly powerful source of shortcuts.

You’re doing the equivalent of a painter saying “I’ve done the hard part of envisioning it in my head! I’m just going to pay some guy on fiver to move the brush for me”

More like you’ve coded the functionality for a webapp, have a visual mockup, and pay some guy on fiver to write the CSS for you, because doing it yourself is an inefficient use of your time and you don’t specialize in CSS.

As for the issue of a new programmer ending up with problems because they rely too much on AI and somehow fail to learn how to model the structure of programs in their head, that’s probably real, but I can’t imagine how that will go because all I had to go on when I was learning was google and IRC and it’s totally different. Hope it works out for them.

eclectic_electron ,

TBF that’s how many master artists worked in the past. The big art producers had one master painter guiding a bunch of apprentices who did the actual legwork.

Rodeo ,

And senior devs guide junior devs in the same way. The point is the masters already did their time in the trenches. That how they became masters.

257m ,

That the exact opposite problem for most people though. Syntax is hard at first because you are unfamiliar and gets more natural to you overtime. Algorithms are easier to think about conceptually as a person with no programming experience as they are not programming specific. If you are an experienced developer struggling over syntax yet breezing through difficult data structure and algorithm problems (Eg. Thinking about the most efficient way to upload constantly updating vertex data to the gpu) you are definitely the anomaly.

sj_zero ,

There's a 5 hour interview with John Carmack on YouTube where he talks about transitioning from really caring deeply about algorithms and the like to deeply caring about how to make a sustainable and maintainable codebase you can have an entire team work on.

Often, a solution that is completely correct if all you're doing is solving that problem is completely incorrect in the greater context of the codebase you're working within, like if you wanted to add a dog to the Mona Lisa, you can't just draw a detailed line art dog or a cartoon dog and expect it to work -- you'd need to find someone who can paint a dog similar to the art style of the piece and properly get it to mesh with the painting.

CoopaLoopa ,

Somehow you hit an unpopular opinion landmine with the greybeard devs.

For the greybeard devs: Try asking ChatGPT to write you some Arduino code to do a specific task. Even if you don’t know how to write code for an Arduino, ChatGPT will get you 95% of the way there with the proper libraries and syntax.

No way in hell I’m digging through forums and code repos for hours to blink an led and send out a notification through a web hook when a sensor gets triggered if AI can do it for me in 30 seconds. AI obviously can’t do everything for you if you’ve never coded anything before, but it can do a damn good job of translating your knowledge of one programming language into every other programming language available.

kogasa ,
@kogasa@programming.dev avatar

It’s great for jumping into something you’re very unfamiliar with. Unfortunately, if you often find yourself very unfamiliar with day to day tasks, you’re probably incompetent. (Or maybe a butterfly who gets paid to learn new things every day.)

ByGourou ,

Getting paid to learn new things everyday at work is a dream, I don’t see the issues

kogasa ,
@kogasa@programming.dev avatar

The issue is it’s a dream.

sj_zero ,

BIIIIG problem: The last 5%.

Did ChatGPT just hallucinate it? Does it exist but it isn't used like ChatGPT says? Does it exist but it doesn't do what ChatGPT thinks it does?

I use ChatGPT sometimes to help out with stuff at home (I've tried it for work stuff but the stuff I work on is niche enough that it purely hallucinates), and I've ended up running in circles for hours because the answer I got ended up in this uncanny valley: Correct enough that it isn't immediately obviously wrong, but incorrect enough that it won't work, it can't work, and you're going to really have to put a lot of work in to figure that out.

blackbirdbiryani ,

I write a lot of bash and I still have to check syntax every day, but the answer to that is not chatGPT but a proper linter like shell check that you can trust because it’s based on a rigid set of rules, not the black box of a LLM.

I can understand the syntax justification for obscure languages that don’t have a well written linter, but if anything that gives me less confidence about CHATGPT because it’s training material for an obscure language is likely smaller.

ByGourou ,

Less checking syntax and more like “what was this function name again ?”
“Which library has that ?”
“Do I need to instance this or is it static ?”
All of theses can be answered by documentation, but who want to read the docs when you can ask chatgpt. (Copilot is better in my experience btw)

pkill ,

you can remain in a mental state of thinking about the actual problem

more like you’ll end up wasting a significant amount of time debugging not only the problem, but also chatGPT, trying to correct the bullshit it spews out, often ignoring parts of your prompt

chicken ,

That hasn’t been my experience. How are you trying to use it?

pkill ,

It might be wrong even if you provide extensive context to make it more accurate in it’s heuristics. And providing extensive context is pretty time consuming at times.

chicken ,

I think it would help me organize my thoughts to write that all out anyway even without a LLM.

pkill ,

I mean it might be good at helping you when you’re stuck, but sometimes it misses simple issues such as typos and for one issue resolved, it might introduce another if you’re not careful.

state_electrician ,

ChatGPT cannot explain, because it doesn’t understand. It will simply string together a likely sequence of characters. I’ve tried to use it multiple times for programming tasks and found each time that it doesn’t save much time, compared to an IDE. ChatGPT regularly makes up methods or entire libraries. I do like it for creating longer texts that I then manually polish, but any LLM is awful for factual information.

chicken ,

ChatGPT regularly makes up methods or entire libraries

I think that when it is doing that, it is normally a sign that what you are asking for does not exist and you are on the wrong track.

ChatGPT cannot explain, because it doesn’t understand

I often get good explanations that seem to reflect understanding, which often would be difficult to look up otherwise. For example when I asked about the code generated, {myVariable} , and how it could be a valid function parameter in javascript, it responded that it is the equivalent of {“myVariable”:myVariable}, and “When using object literal property value shorthand, if you’re setting a property value to a variable of the same name, you can simply use the variable name.”

state_electrician ,

If ChatGPT gives you correct information you’re either lucky or just didn’t realize it was making shit up. That’s a simple fact. LLMs absolutely have their uses, but facts ain’t one of them.

apinanaivot ,

All ChatGPT is doing is guessing the next word.

You are saying that as if it’s a small feat. Accurately guessing the next word requires understanding of what the words and sentences mean in a specific context.

blackbirdbiryani ,

Don’t get me wrong, it’s incredible. But it’s still a variation of the Chinese room experiment, it’s not a real intelligence, but really good at pretending to be one. I might trust it more if there were variants based on strictly controlled datasets.

Fraylor ,

So theoretically could you program an AI using strictly verified programming textbooks/research etc, is it currently possible to make an AI that would do far better at programming? I love the concepts around AI but I know fuckall about ML and the actual intricacies of it. So sorry if it’s a dumb question.

PixelProf ,

Yeah, this is the approach people are trying to take more now, the problem is generally amount of that data needed and verifying it’s high quality in the first place, but these systems are positive feedback loops both in training and in use. If you train on higher quality code, it will write higher quality code, but be less able to handle edge cases or potentially complete code in a salient way that wasn’t at the same quality bar or style as the training code.

On the use side, if you provide higher quality code as input when prompting, it is more likely to predict higher quality code because it’s continuing what was written. Using standard approaches, documenting, just generally following good practice with code before sending it to the LLM will majorly improve results.

Fraylor ,

Interesting, that makes sense. Thank you for such a thoughtful response.

jadero ,

I have read more than is probably healthy about the Chinese room and variants since it was first published. I’ve gone back and forth on several ideas:

  • There is no understanding
  • The person in the room doesn’t understand, but the system does
  • We are all just Chinese rooms without knowing it (where either of the first 2 points might apply)

Since the advent of ChatGPT, or, more properly, my awareness of it, the confusion has only increased. My current thinking, which is by no means robust, is that humans may be little more than “meatGPT” systems. Admittedly, that is probably a cynical reaction to my sense that a lot of people seem to be running on automatic a lot of the time combined with an awareness that nearly everything new is built on top of or a variation on what came before.

I don’t use ChatGPT for anything (yet) for the same reasons I don’t depend too heavily on advice from others:

  • I suspect that most people know a whole lot less than they think they do
  • I very likely know little enough myself
  • I definitely don’t know enough to reliably distinguish between someone truly knowledgeable and a bullshitter.

I’ve not yet seen anything to suggest that ChatGPT is reliably any better than a bullshitter. Which is not nothing, I guess, but is at least a little dangerous.

nogrub ,

what often puts me of that people almost never fakt check me when i tell them something wich also tells me they wouldn’t do the same with chatgpt

worldsayshi , (edited )

The Chinese room thought experiment doesn’t prove anything and probably confuses the discussion more than it clarifies.

In order for the Chinese room to convince an outside observer of knowing Chinese like a person the room as a whole basically needs to be sentient and understand Chinese. The person in the room doesn’t need to understand Chinese. “The room” understands Chinese.

The confounding part is the book, pen and paper. It suggests that the room is “dumb”. But to behave like a person the person-not-knowing-Chinese plus book and paper needs to be able to memorize and reason about very complex concepts. You can do that with pen and paper and not-understanding-Chinese person it just takes an awful amount of time and complex set of continuously changing rules in said book.

Edit: Dall-E made a pretty neat mood illustration

worldsayshi ,

Yup. Accurately guessing the next thought (or action) is all brains need to do so I don’t see what the alleged “magic” is supposed to solve.

Hazzia ,

The best thing that’s come out of this ChatGPT bullshit is making me feel like I’m actually good at my job. To be clear, I’m not - but at the very least I can reverse engineer functional code and logically map out what I think is supposed to be happening. The bare minimum that should be required, and yet here we are, with me being able to lord my wizardry over the ChatGPT peasantry.

ETA: specifically lording myself over people who use ChatGPT to do the whole thing, not people who just use it to cut down on busywork

LemmyIsFantastic ,

It’s okay old man. There is a middle there where folks understand the task but aren’t familiar with the implementation.

RandomVideos ,

I cant use chatgpt with godot :(

kurwa ,

Why not? I haven’t had the best time with it, but it certainly can write gdscript

RandomVideos ,

Godot 4.0, which was released in 2023, changed a lot of gdscript

Chatgpt only knows gdscript from godot 3.x

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines