• lugal@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    When I was a kid, I programmed a jump and run game and each time I found a bug, I made a new level in which you needed to use it.

    • snaggen@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      8 months ago

      I actually asked chatGPT about a specific issue I had and solved a while back. It was one of these issues where it looked like a simple naive solution would be sufficient, but due to different conditions that fails, you have to go with a more complex solution. So, I asked about this to see what it would answer. And it went with the simpler solution, but with some adjustments. The code also didn’t compile. But it looked interesting enough, for me to question my self. Maybe it was just me that failed the simpler solution, so I actually tried to fix the compile errors to see if I could get it working. But the more I tried to fix its code the more obvious it got that it didn’t have a clue about what it was doing. However, due to the confidence and ability to make things look plausible, it sent me on a wild goose chase. And this is why I am not using LLM for programming. They are basically overconfident junior devs, that likes mansplaining.

      • Aurenkin@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        It’s not always right but it saves me tonnes of time at work, usually when I want to do something simple in a language or environment I’m not totally familiar with.

        • Barbarian@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          8 months ago

          It can reliably copy the simple things in it’s training data from stackoverflow.

          But at that point, why not just go to stackoverflow instead?

          • Aurenkin@sh.itjust.works
            link
            fedilink
            arrow-up
            0
            ·
            8 months ago

            I’m not saying it’s going to take anyone’s job anytime soon but it’s a lot quicker to get something tailor made for your problem than going to stack overflow. Everyone should use the tools that work for them but don’t sleep on this stuff, like any tool it’s really helpful once you know how to use it.

            • Holzkohlen@feddit.de
              link
              fedilink
              arrow-up
              1
              ·
              8 months ago

              Agreed. But I think it is utterly useless if you aren’t experienced enough to tell if it is bullshitting. Almost every time I have asked for a little adjustment, it just makes something up that looks good on first glance. My favorite is when it invents python libraries that magically handle all the difficult stuff. But man is it useful for my crappy little bash scripts or regex.

  • DTFpanda@lemmy.world
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    8 months ago

    Sometimes I feel like the only non-tech worker on Lemmy. This place desperately needs more diversity

    • TORFdot0@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      Encourage your other non-tech friends and colleagues to join a Lemmy instance then. The fediverse hasn’t gotten big enough and normal people haven’t really gotten to the level of technical literacy yet to be able to come here organically yet

      We are here because we are nerds that already care about FOSS.

    • Syrc@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      That’s a normal consequence of more tech-savvy people leaving Reddit than others. Just gotta wait for spez to mess it up even more and we’ll get a wider variety of people here.