ChatGPT can do what? Goodbye Stack Overflow...

Поделиться
HTML-код
  • Опубликовано: 22 май 2024
  • ChatGPT has shown to do some amazing things, including helping code. But can it replace stackoverflow? In this video we put it to the test and see if how it compares to stackoverflow answers to python coding questions.
    Timeline:
    00:00 Intro
    01:21 Question 1
    03:18 Question 2
    05:18 Question 3
    Follow me on twitch for live coding streams: / medallionstallion_
    * RUclips: youtube.com/@robmulla?sub_con...
    * Discord: / discord
    * Twitch: / medallionstallion_
    * Twitter: / rob_mulla
    * Kaggle: www.kaggle.com/robikscube
    My other videos:
    Speed Up Your Pandas Code: • Make Your Pandas Code ...
    Speed up Pandas Code: • Make Your Pandas Code ...
    Intro to Pandas video: • A Gentle Introduction ...
    Exploratory Data Analysis Video: • Exploratory Data Analy...
    Working with Audio data in Python: • Audio Data Processing ...
    #chatgpt #stackoverflow #coding #python
  • РазвлеченияРазвлечения

Комментарии • 65

  • @mosesnandi
    @mosesnandi Год назад +10

    You forgot to mention that in ChatGPT you can hit "Try again" and it will generate another response. You can basically do unlimited "Try again" and each time you will get a variation of the original response which sometimes is what you're looking for. For one specific scenario I went up to 30 times hitting Try again.

    • @robmulla
      @robmulla  Год назад +3

      This is a great point. You are able to refresh the result until you find something you are happy with, however if you are searching for something and you don't know the correct answer you might not know when to refresh.

    • @mosesnandi
      @mosesnandi Год назад

      @@robmulla Also it keeps a record of all those tries per session

    • @seanzhang3873
      @seanzhang3873 Год назад +3

      @@robmulla one note is that, if you get an error message, just copy the error message and ask GPT to solve it for you. Usually the second time it would make it work, and explain why it is giving that error message. I am literally writing a python code with the help of chatGPT, and yes it often give you code that just not work, but if you keep asking, it will eventually get it right.

  • @bane2256
    @bane2256 Год назад +4

    Can’t imagine what this will be like 10 years from now. Interesting times

    • @robmulla
      @robmulla  Год назад +1

      Absolutely! So many things have come out recently that I didn’t even believe would be possible a year ago. 10 years from now is going to be 🤯.

  • @hussamcheema
    @hussamcheema Год назад +5

    May be not this version but the future version of ChatGPT would definitely replace a lot of websites/technologies.

    • @robmulla
      @robmulla  Год назад +1

      I agree. It's only going to get better with time.

  • @paulkiragu8120
    @paulkiragu8120 Год назад +1

    I've written some pretty sophisticated code with chatgpt. What I've realised is once you get wrong code, you can tell it to correct it and it does it perfectly.

    • @robmulla
      @robmulla  Год назад

      Thats an excellent idea. I haven't told it explicitly to fix things but it's cool that it works!

    • @paulkiragu8120
      @paulkiragu8120 Год назад +1

      @@robmulla I realised this when I replaced my code with the code it generated and didn't save. I ad to modify it until it worked 😂 and it worked lile a charm. I think chatgpt is better for writing and debugging code than stack will ever be. Though in some instances we would need stackoverflow for help

  • @gc2161
    @gc2161 Год назад +3

    The most annoying thing I encountered on stack overflow is when someone shows a solution much more complicated than it should be. Like showing off.

    • @robmulla
      @robmulla  Год назад

      I can relate. But I think for the most part the best responses get more upvotes. What annoys me is that the most voted solution can be way far down in the list.

  • @arda3420
    @arda3420 Год назад +1

    Hi Rob. Great video once again.
    Will you be able to stream this weekend or next week?

    • @robmulla
      @robmulla  Год назад +1

      He Arda. Thanks for asking. It's been a busy couple of weeks for me but I hope to return to streaming this week. We shall see. Connect on discord for more updates!

    • @arda3420
      @arda3420 Год назад

      @@robmulla can you link your discord?

    • @robmulla
      @robmulla  Год назад +1

      @@arda3420 Discord link: discord.gg/KUuTvv3w8R

  • @QuarktaschemitSenf
    @QuarktaschemitSenf Год назад +3

    Yesterday i asked ChatGPT3 to build a python program with a tkinter gui that can merge pdfs. Take a guess what i had 30 seconds later? A working pdf-merger :-). This shit is insane, although when you ask it for more complex stuff , you often run into network errors or the AI just crashing

    • @robmulla
      @robmulla  Год назад

      It is pretty amazing, isn't it!

    • @peeturpain9379
      @peeturpain9379 Год назад

      thanks for another idea for chatgpt to build me for my github :D

  • @CaribouDataScience
    @CaribouDataScience Год назад +2

    ChatGPT correctly answered my question on how to extract the date from a datetime field.

    • @robmulla
      @robmulla  Год назад +1

      Focused questions like that it is amazing at answering well. But is it just using stackoverflow to find the answers? Would it work so well if we stop having human answered solutions like we currently do?

    • @CaribouDataScience
      @CaribouDataScience Год назад

      @@robmulla It also wrote code in Fortran and assembler to calculate median values.

    • @robmulla
      @robmulla  Год назад

      @@CaribouDataScience very cool!

  • @bastooopanooo2311
    @bastooopanooo2311 10 месяцев назад

    The main issue is the admins themselves. That's why people prefer ChatGPT over Stack Overflow. Even before ChatGPT, every time you posted a question, there would be a moderator flagging to close it just to gain more reputation. I'm glad I don't have to rely on and beg for help on Stack Overflow anymore.

  • @antcastan
    @antcastan Год назад

    Both are very good tools. I have been using Stack Overflow for many years and it is still very useful and now I am using ChatGPT and it very helpful too so I thing both will prevail and both are going to be very useful now and in the future.

    • @robmulla
      @robmulla  Год назад

      Thanks for sharing. I think gpt bots will be good. But only if we continue to provide it good training data.

  • @ekaterinavalinakova2643
    @ekaterinavalinakova2643 Год назад +2

    ChatGPT may not be perfect, but you can ask a question without worrying about toxicity. But... there are still major limits that need to be overcome. It's not bad for getting something that points in the right direction. But it keeps bungling my requests for help on procedural generation. It gets some things right but misunderstands other parts of my question. It's not great on complex questions. Maybe ChatGPT 4 or 5 might be different.

    • @robmulla
      @robmulla  Год назад

      Totally agree. Thanks for watching!

  • @ibowman_UCLA_BRAIN
    @ibowman_UCLA_BRAIN Год назад +1

    Another problem with ChatGPT answers: no bass guitar in background.

    • @robmulla
      @robmulla  Год назад +1

      That's my biggest criticism of most AI. Needs more bass.

  • @ElliottBrun
    @ElliottBrun Год назад +3

    probably not goodbye, given chat gpt scrapes sites like stack overflow for coding responses

    • @robmulla
      @robmulla  Год назад

      This is a great point. ChatGPT relies on sites with good text to train. If people stop writing on those sites then chatgpt will just get worse with time

  • @jasonsykes8244
    @jasonsykes8244 Год назад +3

    I think it just killed google search also.

    • @jasonsykes8244
      @jasonsykes8244 Год назад +4

      This is the difference though. If you can guide chatgpt with dialog. You can get great results. It doesn't do well with one offs. I actually used it, with guidance, to build a full stack web blog. That used django and nextjs. It even optimized it for performance. But you have to have some understanding of what your looking for.

    • @robmulla
      @robmulla  Год назад +1

      Totally. If you know what you're doing and just want chatGPT to give you a quick solution or help you improve your existing code it's really great for that. It will just become better with time too!

    • @gambaweb
      @gambaweb Год назад

      @@jasonsykes8244 could you share the app, is it public? can we use it?

    • @jasonsykes8244
      @jasonsykes8244 Год назад

      @@gambaweb It isn't public it was just me having fun with chatgpt

  • @AustinMark
    @AustinMark Год назад +2

    Its speed and breadth of knowledge is impressive but when you look at the details chatgpt is more like letting some overconfident stranger take over your nuanced thinking. Its great for getting ideas but a lot of its code doesn’t actually work , it just looks impressive because it spits it out so fast and interactively.

    • @robmulla
      @robmulla  Год назад +1

      Yea, that's my take too at least at this point. I'd think it's only going to get better though. We shall see..

    • @peeturpain9379
      @peeturpain9379 Год назад

      True, Ive tried to make it train many neural network models and often it gets them wrong usually with the shapes of the tensors.

  • @swiatlowiekuiste
    @swiatlowiekuiste Год назад +1

    How long before chatgpt becomes a paid subscription?

    • @robmulla
      @robmulla  Год назад

      I think they've already created a paid version. But bing is going to have it soon too, so I'm not sure.

    • @swiatlowiekuiste
      @swiatlowiekuiste Год назад

      @@robmulla Normal greedy way of doing things is to wait for everybody to become dependent on the AI and then limit greatly the capabilities of the free version or remove it entirely, but that could not be the case if competition catches up.

  • @bazoo513
    @bazoo513 Год назад +2

    Yeah, while, in my experience, all kinds of ChatGPT answers are often incorrect (but sound reasonable), human answers on StackOverflow are usually correct, but very often useless, as users write answers to what they (think they) know, not what the question actually asked. User's discretion is advised in both cases, of course 😀
    ChatGPT will give correct answers to textbook question (e.g. "Give me C code for Heapsort algorithm with explanation"), but we must remember that is is just a _language_ model; it does not "understand" the subject matter and is not "creative".

    • @robmulla
      @robmulla  Год назад +1

      True. Also chatGPT is always confident sounding in its answers even when wrong. Leading to a false sense of certainty.

    • @bazoo513
      @bazoo513 Год назад

      @@robmulla Exactly, As OpenAI guys state that they appreciate feedback, I try to always provide it. but it is sometimes genuinely funny how ChatGPT "improvises" like a bright student in literature class who did not read assigned novel. For example, for a relationship within a series of novels, it will pluck out proper characters and put them into common, but incorrect relationships.

  • @jeremiahsherrill
    @jeremiahsherrill Год назад +1

    Also ChatGPT is not rude, arrogant and condescending.

    • @robmulla
      @robmulla  Год назад

      Unless you ask it to be.

  • @moviemusicmash4899
    @moviemusicmash4899 Год назад +1

    How long did it take for you to get those answers or find those answers

  • @raymondhill5099
    @raymondhill5099 Год назад +2

    Stackoverflow should be worried, they could survive this by implementing the technology on their website so programmers still have a reason to use it. Else in the coming years, ChatGPT will be so good that websites like stackoverflow would be irrelevant.

    • @robmulla
      @robmulla  Год назад

      You could be right. Although would chatGPT exist if it didn't have sites like stack overflow to scrape?

    • @user-xedwsg
      @user-xedwsg 2 месяца назад

      Thats not the point, the point is that chatGPT does exist. and It exists now...STack is dead.
      @@robmulla

  • @AFuller2020
    @AFuller2020 4 месяца назад

    You don’t have the rude jerks like Stack.

  • @masteronepiece6559
    @masteronepiece6559 Год назад +1

    It will be canceled like any great idea and used under the hood later.

    • @robmulla
      @robmulla  Год назад

      Maybe. What do you mean by used under the hood?

    • @arunachalpradesh399
      @arunachalpradesh399 Год назад

      @@robmulla it means goverment or the programmer who made will only use it for their own benefits. they will create new business ideas, weapons, predict things, etc.

  • @moviemusicmash4899
    @moviemusicmash4899 Год назад +1

    I notice everyone complains about stack overflow toxicity and not the answers.

    • @robmulla
      @robmulla  Год назад

      Truth

    • @user-xedwsg
      @user-xedwsg 2 месяца назад

      but thats enough to not use it. GPT is a guide and pleasent one

  • @AtticusDenzil
    @AtticusDenzil Год назад +2

    A lot of Stackoverflow answers don't make any sense either.