• groucho@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    46
    ·
    1 year ago

    That would be pretty easy.

    return "Why are you even trying to do it this way?\n$link_to_language_spec\nThis should be closed.;

  • CeeBee@programming.dev
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    1 year ago

    It really puts their stance on “no AI generated answers” in a different light.

    Basically, “no AI generated answers unless we do it”.

    • lightsecond@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Well, using ai-generated answers to train their own ai would bring down the quality of answers and worse quality means lesser money. Don’t you want them to make any money??!!

    • Lmaydev@programming.dev
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      I use ChatGPT frequently for programming and I’ve found it to be pretty good.

      The key is using it conversational nature as this gets better results.

      Start simple and expand. You can’t just ask it wrote huge chunks of code.

      • philm@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        Yeah works well, as long as the code is rather simple and it occurred rather often in the training set. But I seldom use it currently (got a little bit more complex stuff going on). It’s good though to find new stuff (as it often introduces a new library I haven’t known yet). But actual code… I’m writing myself (tried it often, and the quality just isn’t there… and I think it even got worse over the last couple of months as also studies suggest)

      • Kalabasa@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Good summary. For some people iterating over existing code is preferred.

        For others writing new code (and not maintaining it) feels better.

    • kiwiheretic@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      Agreed. I got ChatGPT to convert python code to JavaScript and I got a buggy code sample back with new bugs.

      • fidodo@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’ve found it great for asking documentation questions. It saves me a ton of time having to search through documentation myself. The problem is when it encounters something it doesn’t have information on, it’ll just confidently make shit up, and if you’re not enough of an expert to recognize when that happens, you can be mislead. It still saves me time, but I use it as a recall tool to get me started when I’m learning to do something new, I’d never use the code it puts out without reading through it line by line. I’m also experienced enough to know when it’s wrong and how to refactor its examples. People new to programming could get set down the wrong path by over relying on gpt to teach them.

    • fidodo@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I’ve gotten really good results asking chat gpt for programming help. Problem is that it’s wrong like 10% of the time, and when it’s wrong it’s very confidently incorrect. That wasn’t a problem for me because I knew when it was wrong and could course correct it and get the correct solution and it still saved me time and helped me eventually get to the right solution. But if someone who’s still getting started is trying to use chat gpt to learn, they could easily be mislead because they won’t know when its output is wrong.

        • fidodo@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Definitely depends on the type of question. I find for documentation type questions I get the 90% good answers, like how do I do something with this library, it’s good, which makes sense because that libraries documentation is probably in the training data. But for more open ended questions, like how do I solve this problem, I see similar performance to what you’re saying. I think it’s a good retrieval and synthesises tool which can really save a ton of time if you already have a high level plan of action and just use it to fill in some specific details.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    I feel like a better solution is to have a community answer as generative AI to every new question and have folks upvote or downvote it like normal.

    • alehc@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I don’t think this is it. I wouldn’t want newbies to wait for the community to tell them that running sudo rm -Rf / or other useless/dangerous command is a bad idea…

  • argv_minus_one@beehaw.org
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    1 year ago

    I look forward to the AI trend fizzling out. It’s only slightly less silly than the cryptocurrency trend was.

      • argv_minus_one@beehaw.org
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        This artificial pseudointelligence exists because there’s the “gee whiz, that’s cool” of a computer talking like a person, and a bunch of hype chasers looking to cash in. Much like cryptocurrency before it, and the dot-com boom before that, there is little substance to it, and most of it will be commercially irrelevant a decade from now.

  • genericnickname@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 year ago

    I’m not liking the announced changes to search. That sounds like we will be losing the lexical search and in exchange we will be getting the same technology that allows google to answer questions different to the one we asked.

    How many minutes between starting to use OverflowAI until we get something like “As a large language model trained by the Stack Exchange Network i can not answer duplicated questions”.

    • kiwiheretic@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      That’s when I go back to ChatGPT or Google Bard. It’s helped me with problems and less aggravation than SO

  • beirut_bootleg@programming.dev
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    I get the whole community resource and all that hoorah, but what bothers me the most is that C*O somewhere that’s padding his bonus and CV, waiting for the ship to sink so he can move on to the next thing where he can sing praises to the AI revolution.

  • kiwiheretic@lemmy.ca
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    I understand Google and Microsoft getting into it as it makes sense as a “better” Google search but for StackOverflow that sounds like they have just given up on their current platform.