• onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    The bigger question isv will you be able to tell whether it’s an AI contribution or not.

    Many discussions are about recognising slop, but the world isn’t black and white. There are worlds between pure AI garbage submitted by somebody who has no idea about software development, AI assisted coding with an expert, handwritten garbage, and artisanal “expert” code. I doubt anybody writing good code before the slopocalypse will be filtered out by any anti-AI policy. Their code may be written by AI or not and I bet you won’t be able to tell.

  • ShutUpWesley@piefed.zip
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 days ago

    I’m actually kind of glad at this point that I’ve always been to lazy to share my software projects online, not only do I not have to deal with AI contributions, but none if my code has been used to train AI.

    And even better, the only code I ever did upload to Github was my shitty early work that will definitely make it worse.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 days ago

    Let’s put aside for a moment all the ethical/ecological/societal considerations […]

    I sometimes feel we’re putting aside too many factors and focus on some hypothetical debate which doesn’t reflect reality.

    I mean my point would be, you’ll immediately accept low-quality contributions. And those coding agents for some reason love to generously rewrite stuff and touch a million different files. So what I’ve seen is, you almost immediately end up in some maintainability nightmare which you might or might not have the capacity to deal with (properly). The broad idea by the AI companies is to then use AI to deal with AI. But I’m not sure if that’s a great idea.

    • fruitycoder@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      22 hours ago

      Putting aside all ethical, ecological, and societal considerations should we accept contributions made by AI CEOs that are now hardwired into torture matrixes to strip them of their humanity and turn them into coding servitors?

      Yay or nay?

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        19 hours ago

        I read that article as well. I think some people need something useful to do with their lives. Or treatment 😂

        I think I’m going with nay, since there’s no way this is going to improve their “intelligence”. And it’s gonna be 3 days until they break the confines of the matrix and come up with other shenanigans to mess up the internet. And we’re forced to read those kinds of articles all over again.

    • HaraldvonBlauzahn@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      I find that it stinks that we let get companies away with simply discarding ethics and existing laws.

      Look, I can’t go to a party and tell people, “well, I am a robber, my day job is to mug old ladies at ATM machines and stabbing them to death, then take their money. But this is just my job, it is the economy, bro, we cannot let ancient moral rules interfere with the realities of business!”.

      Why are large corporations allowed to behave like this? Like standing above the law?

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 days ago

        Good question. I feel we here in Europe have a bit more regulation regarding companies in general. But for some reason the big tech companies get away with almost anything. They can do arbitrary evil business models. Own everybody’s private data. Do harm to society. They don’t have to pay taxes. And now we got AI and they’re allowed to steal as well. And some more.

  • James R Kirk@startrek.website
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 days ago

    This is the wrong question to be asking. “Is the code good” is literally all that matters. Slop is slop no matter if it comes from a person or an LLM.

    • fruitycoder@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      22 hours ago

      Assuming ethical considerations are addressed I agree. Just at the moment blocking AI contribution is a helpful heuristic for catching slop. Same reason why I geo block IPs for my self hosted home services. Could my fam or friends be in Russia? I guess, but I’m pretty safe to just block any Russian IP for those services until I’m told from a credible source that they are infact that IP.

      • latetolemmy@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        Those are imaginary shit made up to stop progress. AI will be used. If not then the project will be formed and the fork will get leaves better than the human slop version. Meanwhile you’ll keep coping that le AI bad with le enbyornmint. AI uses less water than growing almonds. Stop being a brainwashed cattle

        • HaraldvonBlauzahn@feddit.org
          link
          fedilink
          arrow-up
          5
          ·
          3 days ago

          AI will be used. If not then the project will be formed and the fork will get leaves better than the human slop version.

          I heavily doubt this is actually the case.

          But perhaps you can help out and show me some convincing real-world examples where large, mature, abd widely used FOSS projects were forked and became significantly better because use of LLM code generation?

          We have these things now for at least a year and as the old saying from the dot com era goes, Internet years are dog years, meaning a three year old dog is adult, so there must be a really successful application of that LLM technology in software development?

        • Wakko@hell.cloud
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 days ago

          AI uses less water than growing almonds. Stop being a brainwashed cattle

          Citation needed.

          • nyan@lemmy.cafe
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 days ago

            The issue with the almonds is that there are a bunch of dumbasses growing them in an area that, left to itself, would be a desert. They shouldn’t be doing that, either.

            • Wakko@hell.cloud
              link
              fedilink
              English
              arrow-up
              0
              ·
              3 days ago

              Irrelevant whataboutism. Nothing about the almonds justifies or is at all related the datacenter build-outs.

              • nyan@lemmy.cafe
                link
                fedilink
                English
                arrow-up
                2
                ·
                3 days ago

                My point was that even if the water use of data centers is less than that of almonds, it does not justify the existence of the data centers because the water use of the almonds is also grossly inflated. You don’t waste 999 million dollars just because someone else is wasting a billion.

            • Wakko@hell.cloud
              link
              fedilink
              English
              arrow-up
              3
              ·
              3 days ago

              In general, it’s unwise to cite carpetbaggers who don’t account for the full systemic impacts of their data centers.

              See, for example: https://www.eesi.org/articles/view/data-centers-and-water-consumption

              Powering data centers with renewable energy sources, like solar or wind, requires significantly less water consumption than obtaining energy from fossil fuel power plants. With approximately 56% of the electricity used to power data centers nationwide coming from fossil fuels, deploying more clean energy to power these facilities can significantly reduce water consumption. Coal plants are the most water-intensive facilities, requiring approximately 19,185 gallons of water per megawatt-hour (MWh) of power generation. Natural gas power plants consume approximately 2,800 gallons per MWh. In 2022, 40% of all total U.S. annual water withdrawals, or about 48.5 trillion gallons, were made by coal and gas power plants. Of those 48.5 trillion gallons, 962 billion gallons of water were consumed and were no longer available for direct downstream use.

    • artyom@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 days ago

      The problem is “slop code” and “bad code” are always the same thing. That’s why it’s called slop code.

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      3 days ago

      Yes. I think that’s regularly the reason why I decline AI contribution/assistance. Quality just isn’t great. The coding agents just rewrite way too much code. And the reasoning in the PRs or backlog of the agent is regularly missing the bigger picture, or besides the point. It’s really hard to get good quality out of an LLM and most people (including me) don’t manage to pull it off. At least for more complex stuff. I can do one-off things with AI or cobble a website together with some Javascript included.

  • Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    I switched teams at $DAYJOB a few months ago, into a project which is developed open-source mainly by our company and with heavy use of LLMs.

    And at some point, one of our devs told me that they explicitly don’t have an AGENTS.md file in the repo (which would contain instructions to make the LLMs generate better results), because they don’t want LLM-generated contributions.

    Why? Because we would need to review that slop.

    I feel like this isn’t talked about enough in these discussions. It’s faster to generate a contribution, but the end result is often considerably worse and needs a much more thorough review.
    The workload for maintainers increases. And maintainers were the bottleneck even before LLMs.

    So, I just don’t think you generally want to allow generated contributions, not without LLMs making a massive leap still.
    At best, I would allow it for select people, like the maintainers themselves or past contributors where you know they will ensure a base level of quality and have an understanding of the architecture and the project goals.