Programmers often discover solutions while explaining a problem to someone else, even to people with no programming knowledge. Describing the code, and comparing to what it actually does, exposes inconsistencies. Explaining a subject also forces the programmer to look at it from new perspectives and can provide a deeper understanding.

  • becausechemistry@piefed.social
    link
    fedilink
    English
    arrow-up
    136
    arrow-down
    3
    ·
    15 hours ago

    Now, hear me out: what if the rubber duck burned tons of energy, poisoned the water and air, caused a global shortage of computer parts, was built with material without the permission of creators, made it easy to make nonconsensual sexual images of people, and lied to you?

    • shrugs@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      10 hours ago

      Yeah, but it always tells me my ideas are good and he is wrong. So there is that

      • halcyoncmdr@piefed.social
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        12 hours ago

        exploit and traumatize developing country workers to filter nsfw/nsfl

        I’ve always felt like there’s a place in there for the early internet users through millenials (and maybe some early Gen Z) who spent a lot of time getting tricked by places like 4chan to see nsfl stuff and developed a tolerance to that sort of crap.

        I’m sure there are a lot of people that already gave up on humanity years ago and have the psychological damage/callouses to deal with that more than a random selection of a population that hasn’t been affected yet. Let the already damaged use that ability, like a super power, to save those who haven’t experienced enough to the point where they’ve given up yet.

        • oce 🐆@jlai.lu
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 hours ago

          I don’t think they care as much for minimizing trauma as they care for cheap labor from a developing country. I doubt there are a lot of 4chan users there.

    • Cellari@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 hours ago

      You can fix the world by putting an AI into the rubber duck without electricity and expensive parts and it still works!

      AI enhanced by that smile and those eyes and quiet posture helps solve problems :)

    • 4am@lemmy.zip
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      3
      ·
      13 hours ago

      It’s a moron detector.

      Most of us would avoid it like the plague, but morons will let it write their code in the first place.

    • affenlehrer@feddit.org
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      13 hours ago

      But this rubber duck knows about programming. However, especially early on the duck lied a lot and now often insists that the API version it learned a year ago is still the latest and everything you’ve done with the new one is wrong. Well, now you l can let it read the new documentation beforehand but it’s still a weird rubber duck.

      • affenlehrer@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        13 hours ago

        I hope NPU hardware like CIX Clawcore will become more common for Developers. They can run 30B models locally and these smaller models are getting better and more efficient as well (MoE etc).

        The hardware still burns energy and resources and costs money but locally so you are responsible for it and don’t externalize everything into some data centers and investor / public money.

        • 4am@lemmy.zip
          link
          fedilink
          English
          arrow-up
          4
          ·
          13 hours ago

          I admire your optimism.

          You know what hardware is going to become common with developers? Dumb terminal tablets and cloud accounts, unless we stop the capitalists right away.

          • affenlehrer@feddit.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 hours ago

            You’re not wrong. At work I have the bizarre situation that I have a laptop which is pretty powerful but I’m not allowed to develop on it and have no admin rights on it so I have to remote desktop into a less powerful VDI running in a different country with exactly the same access to company information but I have local admin rights on that machine. Also development is super cumbersome because it’s a windows VDI so I have to use WSL2 for a lot of the things I’m doing. Really weird, inefficient and expensive.