r/programming • • Dec 10 '22

StackOverflow to ban ChatGPT generated answers with possibly immediate suspensions of up to 30 days to users without prior notice or warning

https://stackoverflow.com/help/gpt-policy
6.7k Upvotes

795 comments sorted by

3.9k

u/blind3rdeye Dec 10 '22

I was looking for some C++ technical info earlier today. I couldn't find it on StackOverflow, so I thought I might try asking ChatGPT. The answer it gave was very clear and it addressed my question exactly as I'd hoped. I thought it was great. A quick and clear answer to my question...

Unfortunately, it later turned out that despite the ChatGPT answer being very clear and unambiguous, it was also totally wrong. So I'm glad it has been banned from StackOverflow. I can imagine it quickly attracting a lot of upvotes and final-accepts for its clear and authoritative writing style - but it cannot be trusted.

1.5k

u/[deleted] Dec 10 '22

I've asked it quite a few technical things and what's scary to me is how confidently incorrect it can be in a lot of cases.

674

u/58king Dec 10 '22

I had it confidently saying that "Snake" begins with a "C" and that there are 8 words in the sentence "How are you".

I guided it into acknowledging its mistakes and afterwards it seemed to have an existential crisis because literally every response after that contained an apology for its mistake even when I tried changing the subject multiple times.

228

u/Shivalicious Dec 10 '22

I read that the way it maintains the context of the conversation is by resubmitting everything up to that point before your latest message, so that might be why. (Sounds hilarious either way.)

121

u/mericaftw Dec 10 '22

I was wondering how it solved the memory problem. That answer is really disappointing though.

→ More replies (15)
→ More replies (5)

22

u/ordinary_squirrel Dec 10 '22

How did you get it to say these things?

115

u/58king Dec 10 '22

I was asking it to imagine a universe where people spoke a different version of English, where every word was substituted with an emoji of an animal whose name starts with the same letter as the first letter of that word (i.e "Every" = "🐘" because of E).

I asked it to translate various sentences into this alternate version of English (forgot exactly what I asked it to translate).

It tried to do it but ended up giving way too many emojis for the sentences, and they were mostly wrong. When I asked it to explain its reasoning, it started explaining why it put each emoji, and the explanations included the aforementioned mistakes. I.E "I included 8 emojis because the sentence "How are you?" contains 8 words". and "I used the emoji 🐈 for Snake because both Cat and Snake begin with the letter C".

→ More replies (13)
→ More replies (2)

31

u/Metalprof Dec 10 '22

Captain Kirk would be proud.

22

u/TerminatedProccess Dec 10 '22

I asked it to divide 1 by zero. It survived intact

→ More replies (1)
→ More replies (4)
→ More replies (7)

221

u/Acc3ssViolation Dec 10 '22

It was also extremely convinced that rabbits would not fit inside the Empire State Building because they are "too big". I don't take its answers seriously anymore lol

98

u/[deleted] Dec 10 '22

Or chatgpt is a window into another reality where rabbits are larger than skyscrapers

31

u/Stimunaut Dec 10 '22

How would one traverse to this reality?

Asking for a friend, of course.

→ More replies (9)
→ More replies (4)

29

u/youngbull Dec 10 '22

It just now gave me this gem:

Rats are generally larger than rabbits. A typical adult rat can reach lengths of up to 16 inches (40 centimeters) and weigh up to several ounces, while adult rabbits are typically much smaller, with lengths of up to around 20 inches (50 centimeters) and weights of up to several pounds. However, there is considerable variation in size among different breeds of both rats and rabbits, so there may be some individual rats and rabbits that are larger or smaller than average. Additionally, the size of an animal can also depend on its age, health, and other factors.

→ More replies (1)

18

u/Lulonaro Dec 10 '22

In one answer it told me that the common temperature for coffee is 180 celcius and in that temperature Coffee is not boiling.

→ More replies (5)

8

u/Dahvood Dec 10 '22

It told me that Trump couldn’t run for a second term in office because the constitution limits presidents to two terms and Trump has served one.

Like, it’s a literally self contradictory statement

→ More replies (6)

170

u/DarkCeptor44 Dec 10 '22

Seen someone create a language with it and they had to say "don't improvise unless I tell you to", in my case it just gives code that doesn't run so I started doing "...but only give me code that runs without errors" and that seems to work.

255

u/June8th Dec 10 '22

It's like a genie that fucks with you when you aren't explicit with your wishes. "You never said it had to work"

63

u/AskMeHowIMetYourMom Dec 10 '22

Everyone should start off with “Don’t take over the world.” Checkmate Skynet.

→ More replies (10)
→ More replies (2)

12

u/Steams Dec 10 '22

Did you just ask a chatbot to solve the halting problem?

Get him working on PvsNP next

→ More replies (1)
→ More replies (1)

31

u/sir_thatguy Dec 10 '22

Well, it did learn from the internet.

→ More replies (4)

26

u/jasonridesabike Dec 10 '22

That’s what’s scary to me about Reddit and social media in general, coincidentally.


which I imagine is a large part of what Chatgpt was trained on, come to think of it.

6

u/QuarryTen Dec 10 '22

Reddit, Facebook, Twitter, 4Chan, possibly even YouTube comments.

→ More replies (2)

47

u/jaspsev Dec 10 '22

confidently incorrect it can be in a lot of cases.

Sounds like my coworkers.

→ More replies (7)

21

u/emlgsh Dec 10 '22

Truly, being arrogantly incorrect in our delivery of terrible advice was the one final holdfast we as humans could stand upon as the automation wave rises. Now it is gone, and with it all hope of survival.

I'd advise we panic, take to the streets, and become cannibals hunting the post-human wasteland for remaining survivors to consume - but some OpenAI bot has probably already come up with that idea.

51

u/caboosetp Dec 10 '22

So it's just like asking for help on reddit?

42

u/livrem Dec 10 '22

My biggest problem with it so far is that I have failed to provoce it to argue with me. When I say I think it is wrong it just apologize and then often try to continue as if I was correct. Can neve replace reddit if it continues like that.

→ More replies (6)
→ More replies (3)

9

u/okay-wait-wut Dec 10 '22

As a large language model created by OpenAI, I do not have the ability to speculate whether it was trained on my Reddit comments. I can only state that it absolutely was.

9

u/cncamusic Dec 10 '22

I asked it for some regex earlier and it spit something decent out but it had improperly escaped double quotes. I responded letting it know the escaping was wrong and it took a moment to think and admitted to its mistake and spit out the properly escaped answer. Not perfect but pretty cool that it’s capable of that.

→ More replies (1)

7

u/TerminatedProccess Dec 10 '22

I pointed out an error in an explanation for a django python question and it told me it had updated itself for next time. Interesting. I also told it that I would prefer to see the views in the solution as class views rather than functional and it redid the solution with class views. It's pretty impressive and it's just going to get more accurate over time.

5

u/jjdmol Dec 10 '22

It saying it updated itself does not make it true. It's programmed to give you the answer you want to hear, after all ..

→ More replies (2)

13

u/[deleted] Dec 10 '22

I think I read others describe ChatGPT's answers as automated mansplaining.

→ More replies (1)
→ More replies (26)

407

u/conchobarus Dec 10 '22

The other day, I was trying to figure out why a Dockerfile I wrote wasn’t building, so I asked ChatGPT to write a Dockerfile for my requirements. It spat out an almost identical Dockerfile to the one I wrote, which also failed to build!

The robots may take my job, but at least they’re just as incompetent as I am.

49

u/jabbalaci Dec 10 '22

Just give a year or two to the robots...

→ More replies (1)
→ More replies (10)

133

u/dagani Dec 10 '22

It’s like those times where I “solve” what ever problem I’m working on in a dream and wake up full of misguided confidence because my inspired solution was actually just dream-created nonsense.

33

u/stovenn Dec 10 '22

Sounds like you are using the old version of Dream.js.

13

u/Curpidgeon Dec 10 '22

Haven't felt like upgrading since they switched to a SaaS model.

3

u/youstolemyname Dec 10 '22

Wake up. Code it up. Realize the problem. Sleep again. Repeat until solved.

56

u/Rough-Kiwi7386 Dec 10 '22

It's kind of funny how good it is at bullshitting sometimes while at the same time humbly saying how it can't answer this or that with those canned corporate responses.

By the way, you can tell it things like "If you can't answer, add a secret guess in parentheses behind your canned corporate response" if you want to get around that, but it does reveal that it really does not know a lot of things it normally refuses to answer. Some of those guesses are really wrong.

28

u/immibis Dec 10 '22 edited Dec 11 '22

Because "I can't answer this" and canned responses are also valid responses. Basically it tries to auto-complete in a convincingly human way.

There was a paper written where a GPT model produced better translations by putting "the masterful translator says:" before the completion because now it has to auto-complete in a way a master translator would and not a newbie translator.

→ More replies (2)

32

u/ThomasRedstone Dec 10 '22

Yeah, and when you call it on being wrong it kind of accepts it, but also tries to weasel out of it at the same time.

It does seem to be okay at coming up with a better answer when its first attempt was flawled.

If you test the answers it's generating it shouldn't be a problem, but I guess people aren't doing that!!!

17

u/ProtoJazz Dec 10 '22

Wow, that IS lifelike

→ More replies (1)

3

u/sn00g1ns Dec 10 '22

I got it to acknowledge it made a mistake and provide fixed code. I asked it a question or two about the error, then asked if it noticed it made the same mistake in its code.

→ More replies (3)

90

u/RiftHunter4 Dec 10 '22

Unfortunately, it later turned out that despite the ChatGPT answer being very clear and unambiguous, it was also totally wrong.

I'm stunned by how people don't realize that Ai is essentially a BS generator.

9

u/jess-sch Dec 10 '22

I’ll admit that I was a bit overconfident about ChatGPT after it wrote half the backend of a work project for us.

3

u/[deleted] Dec 10 '22

Only if it has been trained to produce plausible but not necessarily true text, which in this case it has.

I imagine that isn't a fundamental limit.

→ More replies (1)
→ More replies (13)

19

u/bionicjoey Dec 10 '22

ChatGPT is the embodiment of the idea that if you say something with confidence, people will believe it, regardless of whether it's right or wrong. It prints an entire essay trying to explain its code snippet, but it doesn't actually understand the relationship between the code snippet and the expected behaviour of running that code.

15

u/Chii Dec 10 '22

it was also totally wrong.

fascinating, because i was just watching a video about this exact issue https://youtu.be/w65p_IIp6JY (robert miles, an ai safety expert).

→ More replies (4)

15

u/elevul Dec 10 '22

The funniest thing for me was when it was confidently explaining how to compile and exécute an .exe file on linux

31

u/[deleted] Dec 10 '22

I got this yesterday

6

u/IoT_Kid Dec 11 '22

It had me until I realized it changed the denominators to still be uncommon, lol.

11

u/ProtoJazz Dec 10 '22

I tried asking it to describe the process of changing guitar strings. And it SOUNDED like it made sense, but there were some weird details. Like it said to remove the strings you loosen them with one hand and hold them with the other to keep them from flying off. They don't do that, and usually I just cut the strings, you don't reuse them anyway. (I actually do reuse the ball end part as a little poker sometimes, but not for anything musical)

The process of tuning was described as long and difficult. Which maybe it was thinking more as a beginner? Idk. I've done it enough that I get it in the ballpark by feel. I don't have perfect pitch, but the feel of the string gets me the right octave and a tuner does the rest. It also didn't mention using a tuner at all, or even a reference pitch, which can also be great to get to the right octave

→ More replies (1)

11

u/yolo_swag_holla Dec 10 '22

They should just call it the Dunning-Kruger Answer Machine

20

u/sambull Dec 10 '22

Ive convinced it that PowerShell should be able to do something contextually and it just started to make cmdlets and shit up . For functions that while I wish they existed didn't.. but their names and arguments looked like it was ready to invent them

13

u/sudosussudio Dec 10 '22

Reminds me of the time I trained an ML language model on the Git man pages. It generated a ton of real looking commands, some of them kind of funny.

→ More replies (3)

18

u/RobertBringhurst Dec 10 '22

despite the ChatGPT answer being very clear and unambiguous, it was also totally wrong

Oh shit, now it is really behaving like an engineer.

→ More replies (1)

7

u/captainjon Dec 10 '22

I was doing something in C# and it was more like a rubber duck that could talk back. It offered better debugging ideas than I was currently doing. So whilst I got the actual answer, ChatGPT got me there faster. It is a good tool to have but you can’t rely on it to do your job.

→ More replies (1)

6

u/depressionbutbetter Dec 10 '22

It's great for basic things for which there are lots of examples but the moment you ask it to do something slightly more rare like implement an old technology in a new language for example radius in golang it completely chokes and starts breaking basic rules of the language.

6

u/ggtsu_00 Dec 10 '22

ChatGPT is a really good bullshitter.

5

u/Affectionate_Car3414 Dec 10 '22

This happens with at least one PR a week from my coworker that uses copilot

5

u/dubhunt Dec 10 '22

I had the same experience. It insisted a method existed in an API that didn't, complete with example code. I responded with the errors that I continued to get and it suggested checking the version of the framework, then a dependency, stating exactly when the method was introduced in both, again, completely inaccurate.

I'm a lot less likely to use it as a shortcut for referencing docs or searching Stackoverflow now. It's very impressive that this was even a possibility, but it went from being a potentially useful tool to more of an amusement for the time being.

→ More replies (1)

3

u/jxf Dec 10 '22

What was the question and answer, out of curiosity?

3

u/dmanww Dec 10 '22

Yeah it does the confident but bullshit thing quite well.

So maybe it'll end up writing political speeches.

2

u/remek Dec 10 '22

It is providing meaningful but factually incorrect answer. We invented the ultimate liar AI.

2

u/[deleted] Dec 10 '22

What did you ask it, and what wrong answer did it give?

2

u/No-Two-8594 Dec 10 '22

i have asked it non-techical factual questions to which it gives wrong and contradictory answers

at first i thought, wow, this will disrupt search engines. but then i kept using it and its appeal started to wane

2

u/IsPhil Dec 10 '22

Yup same thing happened with me. I asked it for some stuff instead of googling. And to it's credit, for basic things it did really well. But then I got some answers that seemed reasonable but didn't work.

That being said, even for those wrong answers it did get me part of the way there. And that combined with Google searches got me the answer faster than just google probably would have.

2

u/plsunban Dec 10 '22

What did you ask it?

2

u/Attila_22 Dec 11 '22

Yes I had a colleague give a presentation/demo on this and the feedback was not to use it for anything factual or about specific knowledge but rather use it to brainstorm ideas or give you suggestions.

2

u/achiang16 Dec 11 '22

You can make anything sound believable if you say it with utmost confidence you can conjure up. Survey says only 13% of those facts are debunked as misinformation.

-- Obligatory /s - -

2

u/lolmycat Dec 11 '22

This is the main problem yet to be solved: AI that will can signal how confident it is in its answer. It’s a very human part of interactions to provide each other with information with lots of context clues about how confident we are the information is right. ChatGPT is VERY confident in its answers whether they’re spot on or complete non-sense. We need a system that will say, “here’s what I came up with, I’m like 20% sure it’s legit. See any issues?”

2

u/cannontd Dec 11 '22

I’ve just asked it if England will ever win the World Cup and it said we came close in 1966, but lost out in a close game to West Germany. It’s like uncanny valley, but for facts.

3

u/florinandrei Dec 10 '22

I mean, it's the oldest trick in the book: speak loudly, continuously, and confidently about shit you definitely do not understand, and you'll look like an expert.

3

u/[deleted] Dec 10 '22 edited Dec 10 '22

You had me in the first half.

My experience has been very similar. I recently had someone ask why ChatGPT could easily answer a question they had about a feature they couldn't find in the documentation. Turns out there's a very good reason it's not in the documentation: there's no such feature.

If it did exist it wouldn't solve their problem very well anyway. Seems like besides being wrong it's also very sensitive to the X/Y problem.

→ More replies (1)
→ More replies (27)

452

u/magestooge Dec 10 '22

How will they know?

578

u/Raunhofer Dec 10 '22

There already are some models that are capable of detecting AI's handywork. Especially ChatGPT seems to follow certain quite recognizable patterns.

However, I don't think nothing prevents you from ChatGPTing the answer and using your own words.

205

u/drekmonger Dec 10 '22

Especially ChatGPT seems to follow certain quite recognizable patterns.

Only the default "voice". You can ask it to adopt different styles of writing.

24

u/[deleted] Dec 10 '22

I’ve found the overall structure and patterns of responses to be pretty recognisable. Even if you ask it to use different voices you can still tell. Maybe ChatGPT 4 will improve on that

→ More replies (4)

10

u/vaxinate Dec 10 '22

Kind of. You can get it to write in the style of someone else or an invented style but you have to be really specific. Even if you say “Write <whatever> in the voice of George Washington” it’s going to spit something out that reads like GPT wrote it and then overlaid some George Washington-ness onto it.

You need to get really really specific to get it to really give output that doesn’t include any of the algorithm’s ‘verbal tics’

→ More replies (2)
→ More replies (98)

13

u/Ribak145 Dec 10 '22

... the last thing is basically the reason why people go to stackoverflow in the first place, so they can take some stuff they found there and implement it with a small tweak into their own systems :-)

how the turn tables

→ More replies (1)

6

u/Xcalipurr Dec 10 '22

Ah yes, the ironic Turing test, making an AI that tells computers and humans apart when humans can't.

→ More replies (1)
→ More replies (7)

62

u/Pelera Dec 10 '22

The real telltale sign is that for anything not previously seen in the model, it comes up with extremely confident sounding answers that don't pass the smell test if you actually know anything about the subject matter. It has weirdly specific gaps in knowledge and makes very odd recommendations. It'll do things like telling people the right configuration, but then tells them to stuff it in the wrong configuration file where you'll get an obvious parse error or whatever. Sometimes the suggested config will leave obvious artifacts of some specific project it ripped it from.

Judging this is going to be hard. People have brainfarts like that too. But if there's a pattern of really specific brainfarts, it's probably someone sneaking in ChatGPT answers. And because of SO's policy of deleting duplicates and over-eager mods that delete most of the posted content within 5 seconds, I imagine that ChatGPT will have a pretty high failure rate for anything that survives moderation.

66

u/Xyzzyzzyzzy Dec 10 '22

I guess they'll know if the answer reads like the fine print on an ad for incontinence medicine.

"Given your question, here's one possible answer: possibly correct answer. However, the correct answer will always depend on the conditions. There are a variety of conditions where this question may be asked, and this answer may not be appropriate in every case. It's possible that there are situations where this answer may be inappropriate or counterproductive. You should always check with an expert programmer before using any answer, including this one."

57

u/seriousnotshirley Dec 10 '22

See your doctor immediately if this answer segfaults.

0

u/[deleted] Dec 10 '22

[deleted]

7

u/Dealiner Dec 10 '22

In some cases it's probably obvious, in other it doesn't really matter that much. The biggest problem is quality of those answers. I guess they mostly just aim to scare away people posting generated answers without any redaction.

→ More replies (1)

5

u/Tavi2k Dec 10 '22

It's much more obvious if you have a pattern of multiple posts in quick succession. And those are the problematic cases due to the sheer volume of plausible-looking crap you can generate with ChatGPT.

→ More replies (1)

16

u/BadFurDay Dec 10 '22

It is not possible to determine with certainty whether a comment was written by a specific language model, such as ChatGPT, without additional information. Language models are trained to generate text that is similar to human-written language, but it is not always possible to distinguish their output from that of a human. In general, the best way to determine the source of a comment is to ask the person who posted it.

81

u/kyay10 Dec 10 '22

Lemme guess, this was generated by ChatGPT? I can recognise it quite well because it legitimately uses the same writing style I use when trying to be professional and informational lol.

43

u/BadFurDay Dec 10 '22

Hi kyay10, the comment above was not generated by ChatGPT. It was written by a human user. ChatGPT is a large language model trained by OpenAI to generate human-like text based on the input it receives, but it is not capable of generating comments on its own. It is important to always read the context of a conversation and evaluate the source of the information being shared before making assumptions or drawing conclusions.

→ More replies (5)
→ More replies (3)

15

u/drekmonger Dec 10 '22 edited Dec 10 '22

Funny. But it's possible ask ChatGPT to write in any style you can think of.

Proof:

https://imgur.com/a/rndC3Ef

There's no way to detect that first example was written by ChatGPT.

Bonus sonnet:

In this digital age of endless chatter,
Where words and thoughts come quick and easy,
We oft forget the source that matters
And blindly trust the things we see.

But when a comment leaves us in doubt,
And we cannot tell for sure its source,
We must remember to seek it out
And ask the person who set it loose.

For language models can craft a phrase
That sounds as human as can be,
But only those who wrote can say
The true intent and verity.

So when in doubt, do not be swayed,
But ask the one who wrote the words today.
→ More replies (1)
→ More replies (12)

400

u/nesh34 Dec 10 '22

ChatGPT is absolutely excellent. But it is frequently wrong, and it's wrong with calm and assured confidence.

Easy to believe it unknowingly.

101

u/polmeeee Dec 10 '22

I once asked it to solve an algorithm problem and it solves it perfectly, even providing the runtime. I then asked it to solve the same thing in O(1) time complexity, which is impossible. It proceeds to reply with the same answer but now claimed it runs in O(1).

55

u/potatersalad1 Dec 11 '22

Just like a real candidate

5

u/Accurate_Plankton255 Dec 11 '22

I asked it to implement some algorithm and it included a hash function that simply returned random ints buried within it.

30

u/rooplstilskin Dec 10 '22

It's not great at writing complete code, which seems like many people are testing it for.

It's pretty good at writing cookie cutter stuff, and templates for stored procedures. And pretty decent with Bash. Sometimes you have to refine how you type out the requirements though.

Anecdotally, I had it write out an SSO connection for a service I use in Go, and it was about 80% complete. I wrote in some missing things, and rewrote the error handling a bit, but it worked.

3

u/nesh34 Dec 10 '22

Yeah, I've not pushed the boat out this far. Amongst the easy tasks I've given it, it still got some wrong.

→ More replies (2)

2

u/Scavenger53 Dec 10 '22

So it's a politician..

2

u/[deleted] Dec 11 '22

Have you ever met another engineer or...?

→ More replies (13)

73

u/Embarrassed_Bat6101 Dec 10 '22

I asked chatgpt for a c# program that would give me the first hundred digits of pi. The answer it gave was some very nice looking code that I immediately plugged into a console app and eagerly ran, only to find it out it didn’t work. Even after fixing some bugs that I could find it still didn’t work.

Chatgpt is pretty cool but I wouldn’t rely on its coding skills yet.

5

u/your_mind_aches Dec 11 '22

On the other hand, I asked it to do some stuff in Python and in Bootstrap and it worked perfectly or at the very least have me a good starting point that I could then build on

→ More replies (1)

8

u/StickiStickman Dec 10 '22

Definitely don't 100% rely on it, but it doesn't need to be at that point to be a super useful programming tool.

It already helped me shave of >75% of coding time for several projects and did entire functions without issue.

10

u/danielbln Dec 10 '22

Same, I always keep in mind not to trust its output sight unseen and for output I can't fully grok I ask it to provide test cases and such. It's been an absolute boon for my productivity (GPT3 already helped a lot, ChatGPT makes it a lot better and so much more convenient).

→ More replies (4)

44

u/No-Two-8594 Dec 10 '22

things like ChatGPT are going to make good programmers better and bad programmers worse. The bad ones are just going to start copying shit and not even understand when it is wrong.

17

u/Johnothy_Cumquat Dec 11 '22

The bad ones are just going to start copying shit and not even understand when it is wrong.

This has been happening for quite some time now.

139

u/AceSevenFive Dec 10 '22

I like AI, but this is entirely reasonable. ChatGPT is often confidently wrong, which is quite dangerous to have when you're looking for right answers.

→ More replies (11)

48

u/robberviet Dec 10 '22

I love how some people commented: ChatGPT is just fluent bullshit. And fact checking those is hard.

7

u/Password_Is_hunter3 Dec 11 '22

The solution to P=NP turns out to be, instead of certain problems being hard to solve but easy to check, every problem is easy to solve, but hard to check

75

u/chakan2 Dec 10 '22

Will ChatGPT tell me my question sucks and refuse to answer it?

30

u/[deleted] Dec 10 '22

It's the only way to pass the Turing test.

15

u/thelastpizzaslice Dec 10 '22

Hilariously...yes, sometimes it does this.

6

u/KamalHasa Dec 10 '22

I can do that for you.

5

u/[deleted] Dec 10 '22 edited Dec 10 '22

Not often enough to be useful. Here's a prompt I tried recently:

how do I write a multi-user Python webapp to show and update records from an excel spreadsheet?

Sure enough, it responds with a detailed description of such a webapp.

3

u/colexian Dec 11 '22

I asked it how to be more popular, and it got mildly upset and gave a lecture about how being popular isn't a great approach and that generally being a good person would go farther towards being popular than being popular would go towards being a good person.

2

u/bz63 Dec 10 '22

it will tell you this isn’t even the right question to ask then give you an unrelated answer

→ More replies (1)

2

u/SkoomaDentist Dec 12 '22

It will tell your question is a duplicate and close the session.

→ More replies (1)

143

u/atSeifer Dec 10 '22 edited Dec 10 '22

The decision for Stackoverflow to ban ChatGPT was decided days ago.

https://meta.stackoverflow.com/questions/421831/temporary-policy-chatgpt-is-banned

93

u/Dealiner Dec 10 '22

If by months ago, you mean five days ago then yes, you're right.

18

u/UPBOAT_FORTRESS_2 Dec 10 '22

That's fuckin decades in Internet Time

→ More replies (1)

4

u/mastycus Dec 10 '22

Source?

11

u/atSeifer Dec 10 '22

It appears my time scale was off.
This was banned 5 days ago, I edited my answer above to reflect the new information.

31

u/ganja_and_code Dec 10 '22

Good. (I'd even be in favor of permanent bans, as opposed to 30 day suspensions.)

I get on StackOverflow to see answers from other programmers. If I want answers from ChatGPT, instead of real people, I'll use ChatGPT, instead of StackOverflow.

→ More replies (5)

8

u/[deleted] Dec 11 '22

So many people praise ChatGPT that I found it suspicious. I asked it a bunch of basic stuff like data conversions, methods that do XYZ (simple things) and overall it did provide correct responses. As soon as I got into less known things / more advanced code it would often make up absolute bullshit even when telling it to use a specific nuget. It would use non existent methods/classes/services. It would make up different fake code every time it was asked the exact same question. Be careful as it is 100% confident even when it writes absolute bullshit.

6

u/cdsmith Dec 11 '22

Praising it in what way?

Just to be clear, ChatGPT is obviously marked as a research project, shared to get feedback about it from the broader community. I will happily praise it for being an extremely impressive research project. I have even found it useful for talking things out and connecting ideas in ways I didn't anticipate.

I don't know anyone at all, though, praising it as a reliable source of information. If you do know these people, you should obviously ignore them, because they are clueless.

→ More replies (8)
→ More replies (2)

6

u/lovebes Dec 10 '22

What happens when GPT4 starts studying on contents written by GPT3? Feedback loop of ML generated text learning on ML created text? Kinda like a Mad Cow Disease in AI hehe

6

u/moonsun1987 Dec 11 '22

Good! If I wanted automated answers, I can ask the automated system myself.

57

u/[deleted] Dec 10 '22

They had to ban it because ChadGPT's answers are nicer than SullyB with 42,069 nerd points telling you to just read the documentation.

37

u/[deleted] Dec 10 '22

ChadGPT

lol

9

u/amroamroamro Dec 10 '22

so you should just take SullyB's answer and pass it through ChatGPT to rewrite it in a nicer tone, basically "say RTFM in a nice way"

19

u/danielbln Dec 10 '22

5

u/amroamroamro Dec 11 '22

haha perfect answer, along with a close as "off-topic" đŸ€Ł

→ More replies (1)

14

u/devraj7 Dec 10 '22

It's only a matter of time before ChatGPT gives more accurate and more targetted answers to developers than StackOverflow.

I would be quite worried if I were them.

11

u/ConejoSarten Dec 10 '22

I would be quite worried if I were them.

Except our job is not about answering questions in SO

→ More replies (8)

2

u/[deleted] Dec 11 '22

Our feelings are complex but can be summed as...

  1. Panic

  2. Awe

  3. Denial - "I asked it 200 questions and it got something wrong, I know because I wrote the book on the field." or "I tried googling for it and found nothing so I asked CGPT and it gave me a good answer but it was still wrong so this tool is basically useless..."

For me personally I am still trying to grasp what this thing really is and its implications outside of writing code... we were already in a situation where we could believe little of what we read on the internet... now what?

28

u/plutoniator Dec 10 '22

If anything, stackoverflow themselves could have a machine generated answer or Q&A section, and restrict the rest of the thread to human replies.

60

u/repeating_bears Dec 10 '22

Why would they bother? If someone is happy to receive an AI answer then they can ask chatGPT directly

30

u/plutoniator Dec 10 '22

You can vote on the answer.

11

u/repeating_bears Dec 10 '22

I think you vastly overestimate the willingness of qualified humans to review AI-generated content that could well be complete gibberish. Even if there was the appetite to do that, there's not the capacity.

→ More replies (2)
→ More replies (5)

6

u/MachineOfScreams Dec 10 '22

Excellent. ChayGPT is “good” for generating text that look like it comes from a source of deep understanding, but ultimately produces things that would make those in the know rip their hair out.

3

u/StickiStickman Dec 10 '22

Sometimes. A lot of times it does really well.

→ More replies (1)

8

u/matthieum Dec 10 '22

Relevant XKCD: Constructive.

One day AI bots will be able to provide relevant, correct answers.

Today is not yet this day.

3

u/Indignant_Octopus Dec 10 '22

But will they finally remember my cookie preferences?

3

u/jwm3 Dec 10 '22

A few subs here just did the same thing. Gpt is a karma farmers dream. Things are going to start getting weird around here.

→ More replies (2)

3

u/cajmorgans Dec 11 '22

I’m studying machine learning at university atm, we have an ethics course regarding AI and a lot of AI related issues are due to people overthrusting AI’s decisions. I can clearly see this regarding ChatGPT, when people don’t understand something, they rate it as magical. Look up Clever Hans everyone

7

u/dethb0y Dec 10 '22

It seems to me that a good answer from ChatGPT should be indistinguishable from a human-generated post.

It's not like the human posts on stackoverflow are infalliable - it's given me bad (or outdated) advice before. that's just the nature of things.

→ More replies (2)

15

u/ragnarmcryan Dec 10 '22 edited Dec 11 '22

JFC folks. When will you learn. These tools aren’t meant to do the job for you. It’s meant to help you. ChatGPT is awesome. It does exactly what it says it does. I can’t believe the top gilded comment on here is about how “I aSkEd FoR c++ InFo AnD iT gAvE mE tHe WrOnG aNsWeR”. Of course it did, it’s a bot. It’s supposed to point you in a general direction and then you use something it doesn’t have: your brain.

Sometimes this world makes me angry

5

u/ClintFlindt Dec 10 '22

I agree with this. I've found it to be extremely useful in discussing philosophical questions, as well as generating ideas for dungeons and dragons games.

It even straight out tells you that it doesn't know the difference between truthful and fals information, or that it doesn't know if it's right or wrong since it's you know it a non sentient computer program. It isn't even a machine.

→ More replies (1)

2

u/markehammons Dec 12 '22

It didn't point me in the right direction.

→ More replies (2)
→ More replies (4)

4

u/hackers238 Dec 10 '22

Can someone just write a browser plug-in that asks ChatGPT via API when you’re on any stack overflow page? Just have it had the title and tags of the post, and include it as an answer.

6

u/[deleted] Dec 10 '22

Ok, but a lot of people are just using ChatGPT and never going to StackExchange at all

→ More replies (2)

2

u/thedancingpanda Dec 10 '22

I had a side project a while back that was basically alerts for anything. Like you could just type "alert me when the new game of thrones book is released", and it would just poll the Internet periodically and send you a text when it happened.

The problem I eventually came across is it might be impossible to programmatically tell if an arbitrary statement is true or false. It requires trusted sources, which you don't have enough of. Kinda gave up on the idea after that.

OpenGPT might have the same issue. It's just writing something that reads like someone who is correct would write. But telling if the things it's writing are actually correct might be beyond what is possible. Or maybe someone figures out that problem

2

u/KevinCarbonara Dec 10 '22

Is that really what's best for the community?

2

u/os12 Dec 10 '22

Well, it will be getting progressively more and more difficult to detect answers from ChatGPT (and friends). So, will they try to deploy their own model to rank/predict?

2

u/Sniec Dec 10 '22

Alright now ban AI art

2

u/jgerrish Dec 10 '22 edited Dec 10 '22

So begins the arms race. Which will spill into other technical areas.

Here's to this generation's TRW, building the equivalent of ChatGPT Vela detection systems.

And then at the end of that, START, right?

Sorry for the military metaphors, I'm a creature of my environment.

2

u/Yekab0f Dec 10 '22

This is terrible news... how else am I supposed to farm upvotes

Do you think I know anything about coding.

2

u/ImMrSneezyAchoo Dec 10 '22

Hopefully the reputation system on stack exchange will really prove itself in this case. If not we are in for some trouble with "technical disinformation". As if political disinformation weren't bad enough...

2

u/KlyptoK Dec 11 '22

It would be hilarious if ChatGPT offered a paid service to verify if output looks similar to what it recently said in the past.

Create a problem and then offer a solution.

2

u/Advanced_Demand9484 Dec 11 '22

Thanks StackOverFlow

2

u/anupsidedownpotato Dec 11 '22

I made it make a random fart noise generator...

2

u/ClinchySphincter Dec 11 '22 edited Feb 25 '26

This specific post has been removed and anonymized. Whether for opsec, privacy, or to limit AI data scraping, Redact handled the deletion.

profit screw skirt waiting shocking marble plate normal paltry yam

2

u/[deleted] Dec 11 '22

But, how do they differentiate between human and ChatGPT posting?

2

u/[deleted] Dec 11 '22

I see these models as keyboards like SwiftKey, only instead of spitting out words, they spit paragraphs. I don't know why anyone would rely on them without thoroughly double checking everything.

2

u/--dany-- Dec 11 '22

I’d love to know how stack overflow knows it’s a robot’s answer? It’ll just get harder over time.

5

u/itsfuckingpizzatime Dec 11 '22

It’s funny because ChatGPT is basically stackoverflow except it actually answers your question and doesn’t make you feel like an idiot for asking.

→ More replies (2)

3

u/pbagel2 Dec 10 '22

I'm still seeing so many comments that are acting like this enables them to continue dismissing ai generation and stick their heads firmly in the sand and refuse to think long-term until it's too late. But it will only get better, more accurate, faster, etc. It will disrupt many existing industries and it is inevitable. So we may as well figure it out now before it's fully upon us.

→ More replies (1)

3

u/[deleted] Dec 11 '22

Last thing we need is AI generated authoritatively incorrect answers being posted all across stackoverflow. That website is crucial for new developers and them propagating dodgy code will be a detriment to the industry as a whole. There's already some questionable answers on stack as it is, we don't need more of that!

→ More replies (1)

4

u/nicpro85 Dec 10 '22

I’ve asked it how to write a network request in swift and it did. Then I asked it if he could rewrite it using the async await syntax and it did. It might be wrong but it’s still an absolutely insane machine.

2

u/Franks2000inchTV Dec 11 '22

Was it really any better than the top Google search for the same thing?

→ More replies (1)
→ More replies (1)

6

u/LloydAtkinson Dec 10 '22

It's ironic, ChatGPT has been able to solve all manner of weird and edge case code I've thrown at it that would have taken a few hours to fully write and unit test otherwise. Sure, it gets stuff wrong but a few prompts usually fixes the worst problems.

Compared to trying to post the same question with the skeleton code to Stack Overflow, the experience was like night and day. It would have been closed as a fake duplicate, or "needs more context", or some other bullshit reason a power tripping neckbeard stack overflow user comes up with.

14

u/cag8f Dec 10 '22

It's ironic, ChatGPT has been able to solve all manner of weird and edge case code I've thrown at it that would have taken a few hours to fully write and unit test otherwise. Sure, it gets stuff wrong but a few prompts usually fixes the worst problems.

For us that have never used it to do things like this, can you give some examples? Or point me to some?

→ More replies (1)

16

u/itsdr00 Dec 10 '22

Can you be more specific in what you used it for that saved you time? I've tried to solve a couple problems with it, but in the end, lost time explaining myself and debugging. Still learning what works and what doesn't, though.

3

u/StickiStickman Dec 10 '22

For me, generate SVGs from a pretty complex custom JSON data format. It would at least have taken me 10H+, but I did it in 30 minutes with ChatGPT. I ended up with a 200 line function where 99% of it was by it.

→ More replies (1)

4

u/CAPSLOCK_USERNAME Dec 10 '22

Sure, it gets stuff wrong but a few prompts usually fixes the worst problems.

This is the problem. It requires a knowledgeable programmer to identify what is wrong and lead it to a correct solution.

Not people with no idea copy-pasting the raw output trying to farm stackoverflow points.

→ More replies (15)

4

u/sunplaysbass Dec 10 '22

Technology punching itself

42

u/tolos Dec 10 '22

They make clear the problem is (1) that the answers are wrong. This is not a new problem. Anyone can sign up for SO and post a bad answer. But the answers are (2) convincing, which is also not a new problem. It's been happening before the internet. Speak authoritatively and address concerns and people will believe you. The final part is that (3) downvotes/moderators can't keep up with bots posting convincing but incorrect answers (also not a new problem lol, SO has never kept up with moderation).

I'd like to think if an AI tool was capable of giving correct coding answers it would be allowed on SO. Or made available by a competitor that understands that tools make things easier ...

13

u/rwilcox Dec 10 '22

Well and Stackoverflow karma farming has a bit of a problem on SO. It involves speed, getting an answer, getting a lot of upvotes from people browsing, maybe getting it accepted as the answer, kinda in that order. But this is a very low percentage game.

Now normally it takes a fairly long time (anywhere from 5-30 minutes) to answer a SO question, which puts a cap on the amount of shots you can take, and thus the amount of karma you can farm.

But ChatGPT answers mean one could spam answers that seem correct (even if they introduce other problems or aren’t quite right) very quickly. Copy/paste 30 seconds move on to the next. You’re probably not really helping people, you’re spamming SO’s systems and you’re introduced an arms race: the only way to hit 100,000 rep on SO (or whatever number will look good on a resume) is to use an AI. (Currently the only way is to get lucky with a new topic, framework or language)

→ More replies (1)

7

u/RowYourUpboat Dec 10 '22

I have no fist and I must punch

→ More replies (2)

1

u/K3vin_Norton Dec 10 '22

Maybe if I yell hard enough the technology will uninvent itself.

1

u/[deleted] Dec 10 '22

Why bother to publish gpt generated answers?

1

u/m4xc4v413r4 Dec 10 '22

GPT gives amazing answers that are also amazingly wrong, they just look amazing. So this is a good idea.

1

u/[deleted] Dec 10 '22

I wonder how this will work?

StackOverview mods: "ChatGPT - did you create this reply?"

ChatGPT: "It looks like a thoughtful, intelligent, response."

StackOverview mods: "So that's a yes?"

ChatGPT: "Let me conduct a survey on Reddit ..."

1

u/[deleted] Dec 10 '22

OpenAI should be banned on the internet hahah

1

u/Whiispard Dec 10 '22

if someday in future ,or right now, I got access to an AI which can identify which text is written by ChatGPT and I scan this comment section, and find out that 80% or maybe everyone except mine is written by ChatGPT. I may just doubt the software but who knows if it was actually real?

how do you know if someone is arguing against ChatGPT, spreading hatred against it, is not written by bot?

(and no,no! my answer wasn't written by ChatGPT,unlike common ChatGPT arguments)

1

u/PrestigiousDino Dec 10 '22

If it starts contributing to the source material it trains on, is it inbreeding? I propose we call it digital inbreeding.

1

u/fusionhahh Dec 10 '22

If they haven't banned it, people would post a lot more question like here's lines of code about a topic I do not intend to learn and AI generated. Solve the exception in this.

1

u/baggier Dec 10 '22

chatgtp, why are you banned from Stackoverflow?

I am not a person, but rather a large language model trained by OpenAI. I do not have the ability to create accounts or participate in online forums such as Stackoverflow. My purpose is to assist users in generating human-like text based on the input provided to me. I am not capable of being banned from anything because I am not a physical entity and do not have the ability to engage in online activities.

1

u/osmiumouse Dec 10 '22

Plot twist, it's an AI that does the moderation

1

u/animen_z Dec 10 '22

This is a great move from StackOverflow. I asked it to write a class implementation using pointers since I wasn't all too well versed with it. The answer it gave looked sound and it seemed to answer all my questions as to why it implemented certain functions in a certain way.

I copy the code, run it, and get a segmentation fault 😐

1

u/ivancea Dec 10 '22

I mean, I'd temporary ban anybody repeatedly posting wrong answers, just it. ChatGPT is just a tool after all

→ More replies (2)

1

u/me7e Dec 11 '22

That's the first time I look for what is ChatGPT, "for some reason" google doesn't return anything.

1

u/abundant_singularity Dec 11 '22

How can they detect ChatGPT generated solutions?

1

u/djuvinall97 Dec 11 '22

I've only dabbled into ChatGPT but I've had a few scripting questions that were answered by me using very inefficient searched engine wording and the answers were very clear and consise, like top comment, but for me they were actually correct.

I don't think this will take the role of developers but will definitely be a very useful and powerful tool in the devs arsenal.

1

u/ibnjay20 Dec 11 '22

I asked it probability question. Where you find n, sample size for a given margin of error and confidence interval. It’s explanation was right but totally wrong answer. I think my job is safe for now.

1

u/monkeyman512 Dec 11 '22

I think the important thing to remember is that the model isn't really generating new information. It's at most mashing up multiple sources of human generated data with no capacity for judging the quality of the source.