• Grail@multiverse.soulism.net
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 month ago

        Counting energy consumption by a programmer’s children as a cost of code generation? That’s the most capitalist thing I’ve read in a month!

      • wonderingwanderer@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        Yes but how many billable hours did they get for this 320-minute ordeal?

        Spending $1000 on transportation costs commuting to and from work over a span of 2-4 years is completely different from burning through $1000 dollars of tokens in a single workday.

        Especially if the boss now demands the same amount of output from you every day as the new normal.

        And that’s not to mention how the energy and water consumption happens on a much shorter timescale than the drawn out one you needed to cite to make it seem comparable.

  • kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    81
    arrow-down
    1
    ·
    1 month ago

    It is wild that Anthropic decided to go with “Claude”, as in “Claude Shannon”, as in the guy who formally proved that information degrades every time it passes through a channel that can’t represent it in a mathematically reversible way.

    If you can’t theoretically produce the original code, given the “refactored” code… congratulations, you have lost information.

  • Gyroplast@pawb.social
    link
    fedilink
    English
    arrow-up
    68
    ·
    1 month ago

    Perfection is achieved, not when there is nothing more to add, but when there is nothing more to take away. — Antoine de Saint-Exupére

    +55653, -937? That is not beauty, even if it all “worked”.

    • regdog@lemmy.world
      link
      fedilink
      arrow-up
      33
      ·
      1 month ago

      I would say a few new lines are OK if they at least improve the readability of the code.

      But given that AI was doing the work, I would say it is even less readable now.

      • Gyroplast@pawb.social
        link
        fedilink
        English
        arrow-up
        32
        ·
        1 month ago

        Slinging random quotes at Jr. devs works best if you have one for every rebuttal:

        Everything should be as simple as it can be, but not simpler. — Albert Einstein

    • lengau@midwest.social
      link
      fedilink
      arrow-up
      7
      ·
      1 month ago

      Ive done a few of those, but they were all preparatory refractors, pulling out bits of code to turn them into standalone functions that are only used once because my next PR uses them, and then adding unit tests for those new functions. -100 or so lines of code, +300 or so when you take into account the new docstrings, etc.

      (The secret to doing these preparatory refractors is to actually do them after writing the “next” PR so you’re not unnecessarily refactoring stuff you’re going to touch.)

      • mertn@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 month ago

        I once tasked a guy with writing a floppy disk driver. He wrote two completely different drivers. One for drive A, and another for drive B. Maybe the AI doing the refactoring was trained on that sort of code.

  • hansolo@lemmy.today
    link
    fedilink
    arrow-up
    25
    ·
    1 month ago

    If the movie Tron were true, or The Matrix, and code was alive and sentient, things like this would be horror on the level of the Star Trek: TMP transporter accident.

    • chloroken@lemmy.ml
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      36
      ·
      1 month ago

      You sound like such a fucking loser it is incredible.

      AI fanatics will never cease to amaze me in unpleasant ways.

        • daq@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 month ago

          So strange when I see replies to ml comments. I’ve had all those servers blocked since I started using Lemmy on all the instances I use.

          • ChickenLadyLovesLife@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 month ago

            I never notice when a user or a thread comes from ml until I say something that is real-world uncontroversial like “Stalin had some people murdered” and get flamed for it. I’ve never really felt the need to block servers on Lemmy but ml sure makes me think about looking up how to do it.

          • chloroken@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            6
            ·
            1 month ago

            Bury your head in the sand so the scary communists don’t accidentally convert you!

        • chloroken@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          4
          ·
          1 month ago

          Ah yes, thank you sh.itjust.works user for the weaponized false concern. A tactic employed by shitbrain reactionaries with absolutely nothing constructive to add.

          Was it me calling AI bros losers that made you look for a way out?

    • Kojichan@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 month ago

      slams desk

      THANK YOU!

      Glad I wasn’t the only one who thought of this. Couldn’t help but wonder when the new Fable was numbered like that…