• underisk@lemmy.ml
      link
      fedilink
      arrow-up
      88
      arrow-down
      9
      ·
      5 months ago

      the comic is about using a machine learning algorithm instead of a hand-coded algorithm. not about using chatGPT to write a trivial program that no doubt exists a thousand times in the data it was trained on.

      • Honytawk@lemmy.zip
        link
        fedilink
        arrow-up
        43
        arrow-down
        17
        ·
        5 months ago

        The strengths of Machine Learning are in the extremely complex programs.

        Programs no junior dev would be able to accomplish.

        So if the post can misrepresent the issue, then the commenter can do so too.

        • pearsaltchocolatebar@discuss.online
          link
          fedilink
          arrow-up
          30
          arrow-down
          3
          ·
          5 months ago

          Lol, no. ML is not capable of writing extremely complex code.

          It’s basically like having a bunch of junior devs cranking out code that they don’t really understand.

          ML for coding is only really good at providing basic bitch code that is more time intensive than complex. And even that you have to check for hallucinations.

          • kurwa@lemmy.world
            link
            fedilink
            arrow-up
            15
            ·
            5 months ago

            To reiterate what the parent comment of the one you replied to said, this isn’t about chat GPT generating code, it’s about using ML to create a indeterministic algorithm, that’s why in the comic it’s only very close to 12 and not 12 exactly.

          • BluesF@lemmy.world
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            5 months ago

            ML is not good for coding, it is good for approximately solving very complex problems.

        • underisk@lemmy.ml
          link
          fedilink
          arrow-up
          19
          ·
          5 months ago

          Yes that is what they are good at. But not as good as a deterministic algorithm that can do the same thing. You use machine learning when the problem is too complex to solve deterministically, and an approximate result is acceptable.

        • Pelicanen@sopuli.xyz
          link
          fedilink
          arrow-up
          17
          arrow-down
          1
          ·
          5 months ago

          I think the exact opposite, ML is good for automating away the trivial, repetitive tasks that take time away from development but they have a harder time with making a coherent, maintainable architecture of interconnected modules.

          It is also good for data analysis, for example when the dynamics of a system are complex but you have a lot of data. In that context, the algorithm doesn’t have to infer a model that matches reality completely, just one that is close enough for the region of interest.

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          14
          ·
          5 months ago

          I strongly disagree. ML is perfect for small bullshit like “What’s the area of a rectangle” - it falls on its face when asked:

          Can we build a website for our security paranoid client that wants the server to completely refuse to communicate with users that aren’t authenticated as being employees… Oh, and our CEO requested a password recovery option on the login prompt.

          • ulterno@lemmy.kde.social
            link
            fedilink
            English
            arrow-up
            9
            ·
            edit-2
            5 months ago

            I got interested and asked ChatGPT. It gave a middle-management answer.
            Guess we know who’ll be the first to go.

        • funkless_eck@sh.itjust.works
          link
          fedilink
          arrow-up
          5
          arrow-down
          2
          ·
          5 months ago

          The biggest high level challenge in any tech org is security and there’s no way you can convince me that ML can successfully counter these challenges

          “oh but it will but it will!”

          when

          “in the future”

          how long in the future

          “When it can do it”

          how will we know it can do it

          “When it can do it”

          cool.