Sadly, it seems like Lemmy is going to integrate LLM code going forward: https://github.com/LemmyNet/lemmy/issues/6385 If you comment on the issue, please try to make sure it’s a productive and thoughtful comment and not pure hate brigading.

Consider upvoting the issue to show community interest.

Edit: perhaps I should also mention this one here as a similar discussion: https://github.com/sashiko-dev/sashiko/issues/31 This one concerns the Linux kernel. I hope you’ll forgive me this slight tangent, but more eyes could benefit this one too.

  • GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 day ago

    ITT people making excuses to use AI in objectively “acceptable” ways.

    I thought this was fuck AI.

    guess everyone has their price. hope y’all enjoy the ride down to the enslavement level. I’d say you’ll see me there, but I’ll be at the top, cutting the cable to your elevator.

  • BlameTheAntifa@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    3
    ·
    1 day ago

    I’m sure many here know how militantly anti-AI I am, but things like “intellisense” have been around for decades. If someone is using an ML model for code prediction and they actively write code with their own fingers, I don’t see it as much different than earlier code hinting systems. That’s far different from allowing an AI to perform a task autonomously, like an Avian Intelligence.

    • ell1e@leminal.spaceOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 day ago

      Problem is, LLM code prediction will likely plagiarize too. Some argue “it’s too short I can’t get sued”, but even if that were universally true (don’t know, IANAL) that still leaves the ethics and morals of seemingly stealing some lines hook and sinker with every punctuation bit and intricancy from GPL code bases, without attribution.

      Some simply think that’s bad for FOSS, notwithstanding other ways LLMs seem to harms FOSS.

      (And oldschool “IntelliSense” is semantics based and doesn’t do that.)

  • Rentlar@lemmy.ca
    link
    fedilink
    arrow-up
    48
    arrow-down
    5
    ·
    2 days ago

    Code written with the help of LLM and being reviewed is different than like what was happening with Lutris where the developer decided to obfuscate their use of AI-generated code.

    The approach you suggest to totally ban it, while in principle can agree and I think that’s noble, it could lead to people accusing each other of using AI code where it may or may not have happened, or others just hiding it and trying to submit anyway without the reviewers knowing, which is just counter-productive.

    I’ve followed Lemmy development now for 3 years, the devs approach is slow and steady, to a fault in some people’s views. I think it’s a better use of open source resources if we encourage candor and honesty. If the repo gets spammed with AI-generated PRs, then it will probably be blanket banned, but contributors accurately documenting and reporting their usage of AI will help direct reviewers attention to ensure the code is not slop quality or full of hallucinations.

    • ell1e@leminal.spaceOP
      link
      fedilink
      English
      arrow-up
      24
      ·
      edit-2
      2 days ago

      In my opinion, this argument is exactly the same as saying “we can’t enforce people not stealing GPL-licensed code and copy&pasting it into our project, so we might as well allow it and ask them to disclose it.”

      You can try to argue AI may actually be useful, which seems like what they did, and that would more fairly inform a policy in my opinion. I think your argument doesn’t.

      • MrLLM@ani.social
        link
        fedilink
        English
        arrow-up
        12
        ·
        1 day ago

        Yeah, and of top of that all the reasons why we hate AI,

        • It’s a plagiarism machine
        • It still hallucinates which might end up in borked projects
        • it has and will continue to fuck up RAM and storage market
        • It consumes a shit ton of energy
        • It’s ruining everything with poor quality products
      • Rentlar@lemmy.ca
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        2 days ago

        My argument is that a total ban on AI use is more comparable to saying “Code from any other coding project is not allowed”. It will start unproductive arguments over boilerplate, struct definitions and other commonly used code.

        The broadness and vaagueness of “no AI whatsoever” or “no code from any other projects whatsoever” will be more confusing than saying, “if you do copy any code from another project, let us know where from”. Then the PR can be evaluated, rejected if it’s nonfree or just poor quality, rather than incentivizing people to pretend other people’s code is their own, risking bigger consequences for the whole project. People can be honest if they got inspiration from stackoverflow, a reference book, or another project, if they are allowed to be.

        I’m not saying AI should be blanket allowed, the submitter needs to understand the code, enough to be able to revise it for errors themselves if the devs point out something. They can’t just say “I asked AI and it’s confident that the code does this and is bug free”.

      • hitmyspot@aussie.zone
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        1 day ago

        Not all ai, or rather, llm output is slop. Some is useful. The reason for review is to differentiate. I’m not just talking about coding. I’m talking about their actual useful functionality.

        It would be great if they didn’t hallucinate, or produce slop. It would also be great if the fact that companies use them instead of workers meant we worked less hours and had more leisure time rather than less paying jobs and more stress. The llm is not at fault for the structure of society.

        Llm and ai is a tool. If used appropriately, there should be no issue. Of used inappropriately, it should be called out. Certainly where there is a risk of it appearing on the surface to be good, but not actually good,.like AI generated codez then marking it as such seems reasonable. Banning it doesn’t get rid of it. It hides it. It exists and is now in the world. We need to have policies that support appropriate use.

        • cloudskater@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 day ago

          I’m sorry, but no matter how many times I hear this argument, it never addresses the issues with AI that exist regardless of its usecase. There are plenty of other unacceptable things in this world that we apply strict bans to. No, it will never rid the world of the issue, but that doesn’t mean you concede to “appropriate” uses of the maliciously envisioned technology. Someone in the world will always be hungry, but that doesn’t mean we settle for mostly eradicating world hunger, we try to do all we can.

          No amount of “but it’s for a good purpose” with erase the issues inherent to LLMs and “generative” AI. I like the idea of pure tedium being automated in the future, but so long as its based on the this tech as it currently exists, any genuine attempt to make create something positive is a non-starter. I’m not a “luddite”, I don’t hate progress or new ideas, I simply refuse to support projects that rub shoulders with hyper-capitalist theft machines that destroy the planet.

          • hitmyspot@aussie.zone
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            1 day ago

            In your analogy, we don’t ban processed food as some people go hungry. We use agriculture to feed as many as possible with better foods. We try to do better. But more production is generally better. That’s what AI is, the equivalent of processed food. It’s not real food, it’s less healthy but it’s functional.

            Same with ai. It is an input and output machine. It has costs associated. We assess the output on this merits and cost. If the output is slop, it should be discarded. If it is functional output, it gets used.

            • cloudskater@piefed.blahaj.zone
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 day ago

              I knew I shouldn’t have used that analogy, because then the focus would be redirected to it and I’d end up defending it instead of the position it was meant to represent.

              I’ve said what I intended to say. I don’t wanna argue over the uses of AI when its the foundation itself that’s rotten. There’s no good way to make use of “gen” AI as it stands.

              • hitmyspot@aussie.zone
                link
                fedilink
                arrow-up
                1
                arrow-down
                1
                ·
                1 day ago

                It’s fine you have that opinion. I disagree and so do many others. I’ve used ai to generate notes, checklists, letters,.emails, work templates etc.

                The output was correct and valid in most cases. What about the foundation is rotten, in your view? The fact that it’s based on other people’s work being regurgitated, or the environmental concerns, or how big tech is trying to leverage it to be an arbiter of knowledge and computing power? All are valid concerns, but they don’t mean the technology is inherently unusable or unethical.

                Banning it because of the views of some is unfair on the views of others. I do think that marking it is appropriate, so that anyone who objects to its use can avoid it. I would be concerned that over time or becomes impossible to avoid though. However, that’s the point of open source. People can fork projects at the point where there is no AI code (except in the case where that is purposefully obfuscated).

                • cloudskater@piefed.blahaj.zone
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 day ago

                  “What about the foundation is rotten, in your view? The fact that it’s based on other people’s work being regurgitated, or the environmental concerns, or how big tech is trying to leverage it to be an arbiter of knowledge and computing power? All are valid concerns, but they don’t mean the technology is inherently unusable or unethical.”

                  It literally does. There’s no point in this discussion if we’re disagreeing over something so fundamental.

    • wheezy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      12
      ·
      2 days ago

      Great perspective and response. Far too many “fuck AI” people are literally advocating for the equivalent of “fuck computers” and “more tedious labor please!”

      The reason you should hate AI should be related to it’s exploitation of labor and it’s over use leading to energy and environmental impacts. Trying to ban AI for all applications is just counter productive and impossible. If the anti AI crowd is just filled with people that want it banned outright for everything, well, then the pro AI crowd that wants to slam it into anything and everything will win out.

      We need to be pointing to good applications of AI that can benefit open source projects in a responsible way as examples of how it should be used. Not spamming them with hate comments because “AI bad”

      • ell1e@leminal.spaceOP
        link
        fedilink
        English
        arrow-up
        17
        ·
        edit-2
        1 day ago

        far too many “fuck AI” people are literally advocating for the equivalent of “fuck computers” and “more tedious labor please!”

        Not what I’m advocating for.

        We need to be pointing to good applications of AI

        Feel free to do so, but studies are not on your side. Edit: this is a reminder we’re talking about LLMs for code and documentation.

        The only somewhat clearly useful use case appear to be code reviews, but then you don’t need to actually allow submitting any LLM rewritten code or text since code reviews can be done using natural language. And if you use server-side LLMs, you’ll probably agree to ToS that they steal your data.

        And LLMs seem to be amazing at plagiarism.

        • FauxLiving@lemmy.world
          link
          fedilink
          arrow-up
          10
          arrow-down
          7
          ·
          2 days ago

          We need to be pointing to good applications of AI Freel free to do so, but studies are not on your side.

          The only somewhat clearly useful use case appear to be code reviews, but then you don’t need to actually allow submitting any LLM rewritten code or text since code reviews can be done using natural language. And if you use server-side LLMs, you’ll probably agree to ToS that they steal your data.

          And they seem to be amazing at plagiarism.

          You, like a large portion of the ‘fuck AI’ community are angry at LLMs or image/video generation models and their associated capitalist bubble. Yes, LLMs produce poor quality output compared to humans and yes the current marketing and capital explosion is bad for everyone involved that isn’t otherwise independently wealthy.

          The reason that these are the AI that you’re aware of is that AI needs a lot of data to train and the only source of a huge amount of data, the Internet, is primarily text, images and video. So the first large transformer-based neural networks were trained on that dataset.

          ChatGPT and Sora are toys, they were just the toys that were easiest to make given the data available when transformers were discovered.

          If you train neural networks on different kinds of data you get different models. For example, if you train neural networks on protein folding data, you get neural networks that can predict protein folding based on an amino acid sequence. This is a thing that human-created software has not had great success at.

          People may be familiar with Folding@Home, a project which attempts to leverage donated computing resources to brute force the problem. These projects have consumed thousands of person-hours of our best scientists and engineers and the results are pretty poor.

          However, since we now know how to train neural networks on data, we can train an AI to predict the protein structures and the resulting networks such as AlphaFold (https://en.wikipedia.org/wiki/AlphaFold) produce results much higher than human engieered software.

          In addition to predicting the structure, other scientists have used diffusion models (similar to how consumer AI products generate images) to go the other way. Now a scientist can describe a protein’s properties in a prompt and instead of generating a picture the network outputs the sequence of amino acids that are most likely to fold into a shape with those properties.

          Robotics are another field where AI is making an impact unseen to the public. There isn’t an Internet full of bipedal motion or limb-positioning data, so it is much harder to train an AI to operate robotics. There are many projects which are working to create that data and the results are pretty impressive. This is a bipedal robot which has been trained on human motion: https://www.youtube.com/watch?v=I44_zbEwz_w compare that to pre-AI motion: https://www.youtube.com/watch?v=LikxFZZO2sk

          Weather forecasting is another field where AI is useful. Predicting weather requires identifying patterns in huge amounts of data and AI is uniquely able to deal with that level of complexity.

          None of these uses of AI can talk to you, or produce pictures. They cannot understand sentences or write e-mails or generate code. They’re trained on data generated specifically for their purpose, not on public data scrapped from the Internet. Their output allows us to develop medicines faster, automate dangerous jobs and predict weather disasters.

          I’m with anyone who’s concerned about the capitalist frenzy over LLMs and image/video generation products. This is clearly another dotcom bubble and the spending frenzy and disruption in the job markets is damaging the economy and hurting workers at a large scale.

          I do not lay the blame for this at the feet of neural networks. The blame lies with the human beings making the decision to take a promising technology and to dump trillions of dollars into it without any endgame other than market dominance.

          The community should but ‘fuck AI executives’, AI has many uses outside of LLMs and image generation and people are completely missing all of the amazing things that this technology is making possible.

          • ell1e@leminal.spaceOP
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            2 days ago

            We were talking about lemmy and LLMs. They’re not part of any use case you’re listing.

            But my apologies if I missed something here.

            • FauxLiving@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              4
              ·
              2 days ago

              My point was that people are using the term ‘AI’ when they mean LLMs and/or Image generation.

              You asked for good AI uses, when you mean good LLM uses which is the only point I wanted to make.

              Yes, LLMs are pretty bad at most things. They’re usefulness is basically around that of a search engine or Stack Overflow. They’re often used as a crutch for junior coders, which damages their training and vibe coding is just a novelty… not a production-ready tool.

              I don’t disagree that LLMs are massively over hyped, just that they’re only a tiny portion of the AI technologies. Most of which people should be excited about.

              That’s why it’s frustrating seeing the confusion. LLMs suck, image generation is terrible for many reasons… but AI has many other uses than making 6 fingered people and shitty code.

              • leftzero@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                1
                ·
                1 day ago

                We’re using the word the cartels pushing LLMs are using for their trash.

                Don’t blame us for turning “AI” into a swearword, blame those bastards.

                Once the bubble pops anyone working on any kind of AI will be seen as a liability and shunned by investors, setting research back for decades (not that any form of research would’ve been possible for long in the slop saturated world they’ll leave behind), all because those scammers thought selling their malware as “AI” would cause more marks to fall for it.

                • FauxLiving@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  14 hours ago

                  I do completely understand and I do agree that the current state of the LLM bubble is dangerous and many of the people involved know it and are just planning to make as much money as possible and get out before the bubble bursts. It’s capricious greed that will result in a lot of damage in the end and they should be called out for it.

                  I just think some people deviate from reality in their quest to fight these things. I don’t like being party to misinformation and lies, even if it’s from people I otherwise believe in.

                  It’s certainly not popular at times (I haven’t check my posts but I imagine I’ve accumulated some downvotes), but we’re all more effective in our advocacy if we don’t allow people to deliberately spread misinformation.

                  We don’t need it, we have facts and reality on our side… no need to create fiction.

              • commonmarmoset@reddthat.com
                link
                fedilink
                arrow-up
                4
                ·
                2 days ago

                Adding perhaps an additional layer of nuance - You’re totally right that there is an nomenclature issue around AI, and that the technology (basically like most technology) is value neutral. But, I think it remains a valid decision to make a choice to personally avoid it, and to engage with services and communities accordingly.

                I’m perfectly happy to agree that there is “AI” use which is groovy. Maybe as result of narrowing the definition or using it conscientiously. I understand the difference forms it can come in. But me, personally, I want to use a service that strives for no AI, regardless of if it is good, bad, or neutral. Searching for a niche like this is actually why I started using lemmy (pretty recently).

                I don’t begrudge lemmy taking an approach like “AI must be disclosed and reviewed” as suggested here (https://github.com/LemmyNet/lemmy-docs/pull/414/changes). Let Lemmy party however it wants! Honestly, I appreciate the disclosure, because it lets me know upfront that this isn’t the niche I was looking for. No shade, but I’m out. Nothing but peace and love to everybody who remains.

              • ell1e@leminal.spaceOP
                link
                fedilink
                English
                arrow-up
                4
                ·
                2 days ago

                I was asking for good uses of LLMs since we were talking about those. Sorry for being unclear.

          • baggachipz@sh.itjust.works
            link
            fedilink
            arrow-up
            6
            arrow-down
            1
            ·
            2 days ago

            Thank you so much for taking the time to put into words what I’ve been too lazy to enunciate. Transformer-based tools are a great development with some fantastic uses. I think the problem is one of nomenclature and extremely aggressive marketing by grifters. The reason I’m in this community isn’t to outright banish anything related to transformer-based tech, but to rail against the insanely overhyped, economy-wrecking shitshow that has commandeered the nebulous term “AI” when it’s really just LLMs.

            • FauxLiving@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              1
              ·
              2 days ago

              The reason I’m in this community isn’t to outright banish anything related to transformer-based tech, but to rail against the insanely overhyped, economy-wrecking shitshow that has commandeered the nebulous term “AI” when it’s really just LLMs.

              Same, I’m here because capitalism is doing serious damage to the world by taking a promising technology and massively over investing.

              I’m not here to side with the Luddites who reflexively downvote anything that says ‘AI’.

              Though, I will say that this is a nuanced opinion and so I understand that I’m going to be dog piled by the people who’re only here for low effort performative activism.

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

    I mean the lead dev is literally agreeing that LLM code shouldn’t be in the project at all as the first reply to the issue. I’m not seeing how it’s headed toward integration from what you’ve linked.

      • ohshit604@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 day ago

        Use of so-called Artificial Intelligence (AI) is allowed only if it is explicitly mentioned. Additionally all LLM-generated text or code must be manually reviewed by the author before submission (no vibe coding allowed).

        Linus Torvalds has the best take regarding using “AI” for software development a documentation.

        As I said in private elsewhere, I do not want any kernel development documentation to be some AI statement. We have enough people on both sides of the “sky is falling” and “it’s going to revolutionize software engineering”, I don’t want some kernel development docs to take either stance.

        It’s why I strongly want this to be that “just a tool” statement.

        source

        Using it in a staging environment should be perfectly acceptable usage, review it and adjust it before introducing it on a production build, treat is like a tool and not a one-click magic code machine.

        • ell1e@leminal.spaceOP
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          2
          ·
          1 day ago

          That doesn’t take into account the extensively researched plagiarism concerns. It’s not just that LLMs make low quality slop but that some of us think the GPL won’t work if you can train LLMs on GPL, then have it spit out GPL snippets un-GPL’ed.

          Some people literally un-GPL projects via AI in one go. While that’s the egregious version, any LLM use seems to risk having a similar effect on a smaller scope.

          This isn’t only a legal question. At least if you think the GPL has societal and moral value.

      • Zetta@mander.xyz
        link
        fedilink
        arrow-up
        1
        arrow-down
        3
        ·
        1 day ago

        Better stop using the internet. I always say this, but in the next five years, every single piece of software you use is going to have generated code in it. You may not like it, but it’s happening, so sorry.

    • uuj8za@piefed.social
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      2 days ago

      Yeah! I was ok with Lemmy, but recently (unrelated) decided to try Piefed. I’m liking Piefed better. Lots of nice UI/UX improvements over Lemmy. Didn’t realize what I was missing.

    • Lost_My_Mind@lemmy.worldM
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      2 days ago

      Well…dang it! I guess I’ll have to start using my piefed account more. But also, that doesn’t solve the issue of it being the same content, you know, because of the whole concept of the fediverse and how it works.

      Also this whole community is on Lemmy. How’s THAT going to work???

      • uuj8za@piefed.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        that doesn’t solve the issue of it being the same content, you know, because of the whole concept of the fediverse

        Isn’t that a feature, not a bug? Lemmy can’t single-handedly ruin the fediverse. Piefed, MBin, can lead a different direction and Lemmy can’t hold all the content hostage.

      • ell1e@leminal.spaceOP
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        2 days ago

        It’s sad. I’m hoping perhaps some well-reasoned comments might still have some impact, but I admit that it might be a long shot.

  • Liketearsinrain@lemmy.ml
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 day ago

    Seems reasonable, I recommend people actually read the linked discussions instead of just the title.

  • cloudskater@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    4
    ·
    1 day ago

    I’m glad I moved to PieFed a few months after joining Lemmy. Tankies have no real values and will claim to be radicals while holding no better values then our oppressors.