News for hackers. Stuff that matters.
Re:The Fall of Stack Overflow by svachalek on Tuesday July 25, 2023 @12:33AM (#36857936)
I have 110% replaced it with ChatGPT. Perhaps SO would still have a chance back in its glory days but there's no comparison to having a direct, specific, instant answer vs having to fight against SEO or moderators for hours.
Re:The Fall of Stack Overflow by ezconnect on Tuesday July 25, 2023 @12:46AM (#36857998)
I always read here ChatGPT is amazing. Can you give a link on how to use it? Every time I tried to google it returns lots of different results and when I tried it it:s not even usable for basic things I want. Is the ChatGPT you:re talking about on their website? Do I have to pay for it?
Re:The Fall of Stack Overflow by osigurdson on Tuesday July 25, 2023 @12:55AM (#36858057)
https://chat.openai.com/

I currently pay for it but I'm not sure if it makes any difference.

Re:The Fall of Stack Overflow by p1mrx on Tuesday July 25, 2023 @01:08AM (#36858164)
https://ai.com is easier to type
Re:The Fall of Stack Overflow by osigurdson on Tuesday July 25, 2023 @08:57AM (#36861534)
Nice! Good to know.
Re:The Fall of Stack Overflow by p1mrx on Wednesday August 02, 2023 @11:16AM (#36972043)
Looks like ai.com now redirects to an Elon Musk site. Perhaps OpenAI never controlled the domain?
Re:The Fall of Stack Overflow by Agingcoder on Tuesday July 25, 2023 @02:34AM (#36858730)
Yes it does - gpt 4 is vastly superior to gpt 3.
Re:The Fall of Stack Overflow by osigurdson on Tuesday July 25, 2023 @08:56AM (#36861533)
It is slow and rate limited however (even with the paid plan). I usually only use it when GPT3.5 isn't giving good results.
Re:The Fall of Stack Overflow by adnmcq999 on Tuesday July 25, 2023 @12:56AM (#36858062)
Re:The Fall of Stack Overflow by admiral-mohamed on Friday August 04, 2023 @02:23PM (#37003796)
How to use
Re:The Fall of Stack Overflow by alex_lav on Tuesday July 25, 2023 @01:44AM (#36858420)
You're mostly right in your experience. I have spent quite a bit of time trying to get ChatGPT to be a worthwhile piece of my workflow, and I guess sometimes it is, but most of the time the basic code or config or content I try to generate, it gets very fundamental things incorrect. It feels like it's mostly just hype these days.
Re:The Fall of Stack Overflow by honzabe on Tuesday July 25, 2023 @02:57AM (#36858885)
Can you please specify whether you use (paid) GPT-4? Would you kindly provide links to a few examples of very fundamental things incorrect?

My experience - the free version made up a lot of things but still felt very useful - enough to want to upgrade to the paid version. With the paid version, I notice very rarely that it hallucinates. It does make errors but it can correct them when I provide feedback. It is possible that I just do not notice the errors you would notice, it is also possible that we use it differently. I would like to know.

Re:The Fall of Stack Overflow by alex_lav on Tuesday July 25, 2023 @01:17PM (#36865782)
> Can you please specify whether you use (paid) GPT-4?

Paid.

> Would you kindly provide links to a few examples of very fundamental things incorrect?

No, definitely not.

> I notice very rarely that it hallucinates.

Unsure of what "hallucinates" means in this case. Some examples of things I've used it for: docker configuration, small blocks of code, generating a cover letter, proofreading a document, YAML validation, questions about various software SDKs. The outcome is usually somewhere on the spectrum of "not even close/not even valid output" to "kind of close but not close enough to warrant a paid service". When I ask for a simple paragraph and I get a response that isn't grammatically correct/doesn't include punctuation, I'm not sure what I'm paying for.

Re:The Fall of Stack Overflow by honzabe on Wednesday July 26, 2023 @01:08AM (#36873351)
>> Unsure of what "hallucinates" means in this case

The term "hallucinations" is now commonly used for instances of AI making stuff up - like when I asked ChatGPT (before I had paid account) to recommend 5 books about a certain topic and two of the recommended books looked totally plausible, but when I tried to find them, I discovered there are no such books. This is where I see a big difference between GPT-3.5 and GPT-4.

>> I get a response that isn't grammatically correct/doesn't include punctuation

What punctuation? If you mean stuff like commas separating complex sentences, my English is definitely not good enough to spot that. But your mention of punctuation reminded me of problems that ChatGPT has with my native language... any chance you are using ChatGPT in a language other than English?

Re:The Fall of Stack Overflow by da39a3ee on Tuesday July 25, 2023 @03:28PM (#36868038)
Can you give an example of a technical software question where you found it wasn't helpful? I'll see if I can get a good answer and post the permalink for you. I suspect you're not phrasing your questions well.
Re:The Fall of Stack Overflow by Eisenstein on Tuesday July 25, 2023 @01:57AM (#36858498)
> Can you give a link on how to use it? Every time I tried to google it returns lots of different results and when I tried it it:s not even usable for basic things I want.

Here is an example of using it to write simple powershell scripts:

* https://chat.openai.com/share/17a9d185-4a8c-4c10-97a2-0c5b08...

Here is an example of using it to merge different types of json configuration files:

* https://chat.openai.com/share/ed0c9cf9-7586-43df-9271-7b5859...

You need to pay for it if you want access to the latest version of the model, along with some beta features like plugins. Plugins are extremely useful and it is worth paying just to get access to them. For instance, you need to have a certain plugin to get it to read links.

Re:The Fall of Stack Overflow by merdaverse on Tuesday July 25, 2023 @06:38AM (#36860391)
In that JSON example you're honestly losing more time with ChatGPT that doing it yourself. It seems more like mentoring a junior than a helpful assistant. Most of my interactions with it have been this way.
Re:The Fall of Stack Overflow by Eisenstein on Tuesday July 25, 2023 @07:30AM (#36860758)
I knew/know very little about 3D printers and the fields didn't mean much to me so I didn't want to have to research every one of them. It wouldn't have been difficult, just tedious.
Re:The Fall of Stack Overflow by testtestabcdef on Tuesday July 25, 2023 @01:52AM (#36858459)
I haven't. Because (free, as in free beer) chatGPT is extremely slow, I have to make a rather extensive proompt to get the result I want to, and then I still have to debug most code.

That's not very convenient, atleast for now. I got so used to search engines by now, that it only takes a few keywords to get the expected result. Be it a SO-answer or a documentation page. And as people have mentioned, chatGPT was learned on the stuff that's on the internet, so if there will never be any new stuff, because people just use AI, then it will not learn and won't answer your new questions. For some edge cases I might try AI here or there, but usually it's not for me.

Hell, there comes even an example to my mind. I recently just asked chatGPT what a single-issue 5 stage pipeline on a CPU actually means. I wanted to know if, especially, the "single-issue" meant that only one instruction is present in the pipeline at a time, or if a new one gets shifted in on every clock cycle (if there is no hazard). It just couldn't answer it straight-forward. It was also kinda hard to find the exact definition on the internet. I found it in a book from the 90s which was chilling in my book shelf (Computer architecture and parallel processing by Kai Hwang). Hint: Single-issue just means that only one instruction can be in one stage at a time, but still multiple get processed inside the pipeline. The keyword is 'underpipelined'

Re:The Fall of Stack Overflow by chillee on Tuesday July 25, 2023 @02:33AM (#36858726)
ChatGPT-4 seems to do fine on this for me. https://chat.openai.com/share/c5cc8cb6-ebb5-45eb-9476-ef85a6...
Re:The Fall of Stack Overflow by testtestabcdef on Tuesday July 25, 2023 @03:52AM (#36859282)
Yes, someone tested it on GPT-4 for me too and that actually gave a quite decent reply. Still, there are always some cases somewhere where it messes up.

I'll just keep an eye on AI progress, but will probably not make it my goto for some time. Maybe later (whenever that is)

Re:The Fall of Stack Overflow by Closi on Tuesday July 25, 2023 @06:50AM (#36860475)
> I haven't. Because (free, as in free beer) chatGPT is extremely slow, I have to make a rather extensive proompt to get the result I want to, and then I still have to debug most code.

That's because you are comparing asking ChatGPT to write full code to searching for a question on Stack Overflow and adapting their answer (which is comparing apples and oranges).

Try using ChatGPT like you use Stack Overflow instead (i.e. the question is "How would I record an audio stream to disk in Python" rather than "write me an application / function which...").

As an aside, try "How would I record an audio stream to disk in Python"" in both GPT4 and searching for an answer on Stack Overflow and see what has the better answer! (Clue: GPT4, and if you don't like GPT4's answer just ask it to clarify/change it)

Re:The Fall of Stack Overflow by testtestabcdef on Tuesday July 25, 2023 @08:10AM (#36861101)
>Try using ChatGPT like you use Stack Overflow instead (i.e. the question is "How would I record an audio stream to disk in Python" rather than "write me an application / function which...").

That's my point though. I get, that it can produce quite good results, if you are specific enough. And for some applications it makes sense to take your time and describe that as much as possible.

Most of the time I just need some small snippet though and usually I can get that with just a few keywords in my favorite search engine, which is way faster. So the conclusion is: There is no one or the other. They should be used complementary, or atleast that's what I am doing (as in use the search engine for quick hints and chatGPT for some more verbose stuff 'write me a parser for this csv in awk'.)

Re:The Fall of Stack Overflow by Closi on Tuesday July 25, 2023 @11:45AM (#36864049)
Personally ChatGPT generally gives me a quicker, better, simpler and ad-free result for the snippet (At least with GPT4).

Plus I can ask follow-up questions in a context-driven way ("Can I do this without importing a library?").

I'm aware that different people will have different feelings on this though and personal tastes will differ, but while search engines stagnate I suspect the needle will continue to shift towards AI.

Re:The Fall of Stack Overflow by PeterStuer on Tuesday July 25, 2023 @02:06AM (#36858542)
That was before the decline. Straight ChatGPT is getting more useless for coding by the day.
Re:The Fall of Stack Overflow by jacobsenscott on Tuesday July 25, 2023 @03:28AM (#36859113)
You do know where chatgpt got those answers, right?