• 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    2 hours ago

    As someone who programs as a hobby and not a job: What is the thing with the numbers I am looking at? I assume the joke is malicious compliance, but I am completely unfamiliar with the UI shown in the comic.

    • MrScottyTay@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      16
      ·
      1 hour ago

      + is lines added, - is lines removed.

      His actual change needed was minor, but AI likes to touch anything and everything with superfluous changes

    • anon232@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      58 minutes ago

      Even if it’s just a hobby you’ll definitely want to familiarize yourself with git. I know people who code for a living who just copy source files and rename them which is insane. Just making a new branch off your main and trying things out makes it so much better because you still have the original source and if you need more copies you just make more branches. Then when you’re done you just merge them to main and start again.

    • kibiz0r@midwest.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Those deletions are way too high. AI doesn’t know how to consolidate code.

      “No refactor. Only add.” 🥏🐶

      • starman2112@sh.itjust.works
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        1 hour ago

        Oh this is that mf isn’t it? Loser literally censors attribution because he thinks it’s advertising or something. Wish he’d go back to reddit

      • Zamboni_Driver@lemmy.ca
        link
        fedilink
        English
        arrow-up
        23
        arrow-down
        9
        ·
        4 hours ago

        I’m having trouble following why we should be mad. At first I was like hey fuck this guy, he clearly stripped the attributions.

        But then I followed the link in the post and the image that they shared is identical to what the author shares on their own website.

        I see that there are different versions that could have been shared from the website, and maybe one of the ones with attribution would be better, but OP didn’t strip anything, and they posted a link to the source, so I think if people have a problem with that those people are probably going out of their way to find something to have a problem with.

        • lime!@feddit.nu
          link
          fedilink
          arrow-up
          59
          ·
          4 hours ago

          the comic as presented on the site consists four separate images on a black background, so it shows up vertically on smaller displays. the easiest way to get the comic in the op is to open the one with attribution and screenshot only the panels.

          beep has said before that they consider author signatures to be “advertising”, and has gone to great lengths to remove them from comics, including painting over them. they have been banned multiple times over this, and have created multiple accounts to evade those bans.

          providing a link shows character growth, i guess, but it is still more effort than just sharing the original image.

        • prettybunnys@piefed.social
          link
          fedilink
          English
          arrow-up
          19
          ·
          3 hours ago

          Because when someone inevitably copies this and shares it with a friend the attribution is gone.

          The only way for that attribution to show up is if you share their link.

          So if YOU care about attribution you either have to go through and find the unedited version (but again … why fucking edit it out? ) or share their post.

          The real question is why are they editing other people’s work to remove attribution. What is gained by doing that?

        • potustheplant@feddit.nl
          link
          fedilink
          arrow-up
          5
          ·
          4 hours ago

          That’s not true. There are only 2 links in the website that have the 2x2 image and they both have attributions.

  • beeng@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    I still think you can make the change obvious looking… Not sure but I still feel like there are nice PRs and shit PRs in the AI age.

    Use conventional commits on PR titles with appropriate scopes and get copilot to comment on whether their scope is correct and should it be 1 PRs or multiple. I.e. 1 fix/feat or 3 here…

  • Flatearth_Habeebi@lemmy.zip
    link
    fedilink
    arrow-up
    20
    arrow-down
    2
    ·
    5 hours ago

    Can anyone actually review this much code? If they send me AI code with this much code, I’m using the same AI to review. Let AI fight AI.

    • tatterdemalion@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      If we’re strictly talking about the example in the comic, then yes. But of course it depends on how frequently these PRs are being received, the quality of the PR, it’s structure, and what the code is doing. 2k lines of UI code is not the same as 2k lines of backend code. 2k lines that have no discernible organization and constantly subvert your expectations are different from 2k lines neatly organized into a series of small patches that each reads like the obvious thing to do.

      I think it’s reasonable to review two or three PRs of 2k lines in a day. But that’s not something I’d want to do every day.

    • MonkderVierte@lemmy.zip
      link
      fedilink
      arrow-up
      17
      ·
      5 hours ago

      Fine with boss’ (AI-written) E-Mails, but in code this introduces more bugs than you can solve. Just refuse any walls of code you can’t review.

      • tatterdemalion@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        18 minutes ago

        If you do that in a workplace where most engineers have adopted AI, you will become the person that no one asks to review their PRs. The code will get merged anyway when someone else reviews it.

        If you want to actually prevent slop getting merged, you need to push for change at the organizational level. I’d recommend finding some way to enforce PR standards so the large PRs are at least well-organized. LLMs are capable of organizing changes into a somewhat reasonable patch series.

        Sadly the quality can only go so far without the author actually reviewing their own code (which they absolutely should do), but I don’t have any ideas to ensure that will happen. At least you can push for marginal improvements to help your QoL as a reviewer.

      • Flatearth_Habeebi@lemmy.zip
        link
        fedilink
        arrow-up
        19
        ·
        5 hours ago

        I don’t think it’s that easy. If you work for a big corporation and they’re all in on AI and everyone is now a prompt engineer, then you’re going to be “that guy”.

        • MartianSands@sh.itjust.works
          link
          fedilink
          arrow-up
          8
          ·
          4 hours ago

          Whether you can manage it will depend on office politics and your own ability to asseet yourself, but sometimes in engineering someone needs to be that guy. Someone needs to be able to stand up and refuse to accept a problem in the product being engineered

          • Flatearth_Habeebi@lemmy.zip
            link
            fedilink
            arrow-up
            17
            arrow-down
            2
            ·
            4 hours ago

            I’m going to be 100% honest with you. I really like your attitude and ethics, but I could care less about a corporation’s way of doing things. They want me to write with AI? I’ll fucking write with AI. They want me to use a windows machine and I’m a Linux head? Fuck yeah I’ll use windows with a smile on my face. As long as I’m getting my paycheck, I don’t give a fuck what they do with their software. If it breaks, then I’ll work more to fix it….with AI because they love AI…. I’m here to collect the paycheck, not run the company’s business, that’s none of my fucking business.

            • MartianSands@sh.itjust.works
              link
              fedilink
              arrow-up
              10
              ·
              4 hours ago

              I guess it depends what kind of software we’re talking about. There are certainly contexts where I’d behave that way, although personally I’d try to avoid being in those contexts to begin with, but there are other contexts where getting it wrong has serious consequences. Sadly even some of those contexts are starting to entertain the idea

              • Flatearth_Habeebi@lemmy.zip
                link
                fedilink
                arrow-up
                1
                ·
                3 hours ago

                Understandable. There are things I straight up refuse or argue with the PM about, when they are absolute shit, stupid or just not doable.

    • marx2k@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      I never Connor this much code but usually if I’m writing code with AI, I will use a separate model to review it after I review it. It helps a lot to catch things I didn’t catch.

      The important but it’s using a different model

  • alstocras@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 hours ago

    nice, readable PRs are a thing of the past! abandon them in favour of unreviewable, massive diffs! this is the FUTURE!

  • AstroLightz@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    5 hours ago

    Would renaming all the files slightly differently artificially inflate these numbers? Steve could easily just do that and the boss would be happy

    • morto@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      Add several comment lines of lorem ipsum. At each commit, you regenerate the lorem ipsum, so there will be always tons of changes lines, matching the ai code