• Mr. Satan@lemmy.zip
    link
    fedilink
    arrow-up
    16
    arrow-down
    3
    ·
    4 hours ago

    Hot take: I don’t like this. It states a rule, but the line is vague.
    How is vibe coding detected? How much is too much? How does this apply to my personal vibe coded util™? Does this apply to private repos?

    The rule feels ill defined while the consequences are quite extreme.

    • Gsus4@mander.xyz
      link
      fedilink
      arrow-up
      3
      ·
      3 hours ago

      I think in practice they are saying that any shit that happens cant be blamed on anything but the submitter.

      You can already make a project out of copypasted bits of code. So long as you understand what they do, vetted and vouch for it…it’s fine, no?

      • Mr. Satan@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        2 hours ago

        The change feels like a slippery slope where it could be easily abused if there’s enough incentive. Like the DMCA (I think that’s the acronym) process on youtube or github, or etc.

        Maybe you’re right, time will tell.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    While there are cases, when the garbage nature of genAI code wouldn’t cause that much of an issue, the issue will be that these projects ultimately will drive attention away from human-made code, which can have devastating effects on said projects.

  • lepinkainen@lemmy.world
    link
    fedilink
    arrow-up
    52
    ·
    17 hours ago

    Some good questions in the comments:

    What does “written by” mean? Who defines authorship? What does “mostly” mean? Who defines ratio? Is this going to be enforced in practice? Who is going to enforce it? Based on which reporting?

  • moonpiedumplings@programming.dev
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    edit-2
    16 hours ago

    Yeah, this makes sense. They won’t be able to kick every vibecoded project off, but it gives them a rule to point to when they do find and remove slop.

    Some of the commenters on the Codeberg issue are expressing concerns about copyright status, but my main concern is security issues with these projects, which I have expressed before. Somebody vibecoded a script to sort files? I don’t really care.

    Someone vibecoded a network facing application, shipping a docker container, and is trying to encourage people to deploy it? If I investigate, and see the bad security practices common to vibecoding, I wouldn’t want to be providing that for people to download. Even though I’m technically not responsible for it, it just doesn’t feel right to host something that could explode later. I would want to be able to take it down, and having a rule to point to prevents complaints when Codeberg does so.

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      They won’t be able to kick every vibecoded project off, but it gives them a rule to point to when they do find and remove slop.

      Exactly. This eliminates discussions over and over again with developers, maintainers and users, for every application, if and why they remove it. And it makes it clear and signalizes to such devs before they upload.

    • urushitan 漆たん@kakera.kintsugi.moe
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      13 hours ago

      while I agree with the sentiment. what if someone just sloppily hand-coded an insecure docker container, should you be able to kick that off too? I fear security isn’t a good baseline to decide if a project should be hosted because security is a gradient and it becomes very subjective to say what constitutes secure. following that, would you give remediation opportunities for hand-coded insecure projects? It’s a can of worms.

      I would argue that they can argue it purely from a capacity perspective.

      They can estimate the scale of handwritten code growing over a period of time, but not the scale of AI written code scaling, meaning their platform cannot anticipate the scale and therefore it is unsustainable. And at that point the scale of security awareness as a whole can be considered, e.g. “how many attack surfaces, e.g. repos, are we hosting?” vs “how many of our repos are insecure?”

      • moonpiedumplings@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        3
        ·
        12 hours ago

        what if someone just sloppily hand-coded an insecure docker container, should you be able to kick that off too?

        I can talk to them and have them fix it without them being weird about it. But if they don’t understand the poor design decisions in the first place then I have no confidence won’t be able to actually fix it, and keep it fixed in the future.

        It’s fuzzy, and many generalizations are gonna be made.

        Ultimately, it really comes down to human judgement and not your instance not your rules. They are hosting for free. They don’t have any obligation to host your projects. The rules and everything are nice conventions, and a good attempt at transparency, but at the end of the day, there is someone with access to the admin panel who is going to make the decisions, and you’re not really going to be able to do anything about them.

        It’s the same thing with lemmy tbh, although it’s less annoying because it’s much easier to self host and migrate to Forgejo, as opposed to hosting Lemmy. That’s why I phrased it as “I would feel uncomfortable hosting this content” rather than trying to address the fuzzier arguments about the necessity of human judgement, the difficulty of detecting LLM generated code, or the possibility of incorrectness.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    3
    ·
    6 hours ago

    Considering AI generated code is public domain, so not exactly open source licensed, this is a good move.

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      5 hours ago

      Considering AI generated code is public domain

      Is it though? There is no law that says that, so its just an interpretation of someone. I argue Ai generated code CAN be public domain if it does not contain any licensed code. Therefore we cannot assume the code being public domain without checking.

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        3
        ·
        edit-2
        4 hours ago

        It is.

        https://sciactive.com/human-contribution-policy/#More-Information

        In the Office’s view, it is well-established that copyright can protect only material that is the product of human creativity. Most fundamentally, the term “author,” which is used in both the Constitution and the Copyright Act, excludes non-humans.

        – II. The Human Authorship Requirement

        If a work’s traditional elements of authorship were produced by a machine, the work lacks human authorship and the Office will not register it. For example, when an AI technology receives solely a prompt from a human and produces complex written, visual, or musical works in response, the “traditional elements of authorship” are determined and executed by the technology—not the human user. Based on the Office’s understanding of the generative AI technologies currently available, users do not exercise ultimate creative control over how such systems interpret prompts and generate material.

        – III. The Office’s Application of the Human Authorship Requirement

        Some technologies allow users to provide iterative “feedback” by providing additional prompts to the machine. For example, the user may instruct the AI to revise the generated text to mention a topic or emphasize a particular point. While such instructions may give a user greater influence over the output, the AI technology is what determines how to implement those additional instructions.

        – Footnote 30

        (All from this document from the US Copyright Office: https://www.copyright.gov/ai/ai_policy_guidance.pdf)

        • thingsiplay@lemmy.ml
          link
          fedilink
          arrow-up
          7
          ·
          4 hours ago

          This is just an interpretation of one organization, not an universal law.

          Ai is trained on different licensed code. It does not automatically become public domain just because the Ai processes it. There is also no guarantee that the output is free of licensed code that already exists.

          • hperrin@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            3
            ·
            4 hours ago

            It is the interpretation of the Judicial Branch of the United States government and the United States Copyright Office, the best authority on copyright law in the United States.

            But yes, much like every single other law in existence, it’s not universal. (I mean, unless we’re also talking about the laws of physics.)

            And yes, if the AI generated code is a copy of copyrighted code, then it would still be copyrighted, but that’s an even worse problem for Codeberg than it being public domain.

            • zaphod@sopuli.xyz
              link
              fedilink
              arrow-up
              4
              ·
              3 hours ago

              It is the interpretation of the Judicial Branch of the United States government and the United States Copyright Office, the best authority on copyright law in the United States.

              Codeberg is based in Germany where German copyright law applies, and German copyright law is quite different from USA copyright law.

            • thingsiplay@lemmy.ml
              link
              fedilink
              arrow-up
              3
              ·
              4 hours ago

              The quoted laws do not say that generated code is automatically public domain, that is an interpretation of the law by some organization (here ScieActive). The laws just say, that a person using a prompt cannot take ownership and copyright of the generated code. It does not state it becomes public domain for everyone. Besides that, this is only in the US, not universal. And its not even tested in court yet. Its like saying in Brazil (or the EU in example) exist a law that does not allow Ai, therefore its the law for everyone. This is not universal.

  • catalyst@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    13 hours ago

    I applaud this at least in theory. As others have pointed out this may prove thorny to implement. But, I love the sentiment and hope it goes well for them.

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    17 hours ago

    Seems reasonable but good fucking luck enforcing that.

    IMO they should instead simply charge cost price for hosting. It can’t be much surely?

    • qaz@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      10
      ·
      16 hours ago

      I don’t think the cost of hosting the repositories itself is the issue, more the legal problems and the fact that real projects get drowned out by the noise

  • Scipitie@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    12
    arrow-down
    2
    ·
    18 hours ago

    How the hell does a user see a voting like this? I’m using Codeberg for quite a while and reading here something like “vote closed” is weird to me.

    Now I’m not talking about the content of the core itself here.

    • nightm4re@feddit.org
      link
      fedilink
      arrow-up
      22
      ·
      18 hours ago

      Are you a member of Codeberg e.V.? Votings are exclusive to members AFAIK, and get announced via mail.

      • starshipwinepineapple@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        17 hours ago

        Correct. Membership to the nonprofit Codeberg e.V. is 24 Euro a year (potentially less if you request a discounted rate and are approved). You will be supporting Codeberg’s mission and can optionally take part in these discussions and votes. There is an organization on Codeberg you’ll be added to where discussions occur and then vote notifications are sent out by email.

        See also: what is codeberg e.V.?

  • ISO@lemmy.zip
    link
    fedilink
    arrow-up
    5
    arrow-down
    7
    ·
    17 hours ago

    Should users who don’t self-host start recording themselves while coding just as a precaution, in case their host will ask for evidence of work authenticity?

      • NotFrenchJack@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        8
        arrow-down
        6
        ·
        17 hours ago

        THIS.

        All my murderer friends have moved their activities to jurisdictions where murder is allowed or tolerated.

        I think CodeBerg should push for giving Vibe Coders the death penalty, to make sure deterrence will work.