• conditional_soup@lemm.ee
    link
    fedilink
    arrow-up
    12
    ·
    23 小时前

    FTA: The user considered it was the unpaid volunteer coders’ “job” to take his AI submissions seriously. He even filed a code of conduct complaint with the project against the developers. This was not upheld. So he proclaimed the project corrupt. [GitHub; Seylaw, archive]

    This is an actual comment that this user left on another project: [GitLab]

    As a non-programmer, I have zero understanding of the code and the analysis and fully rely on AI and even reviewed that AI analysis with a different AI to get the best possible solution (which was not good enough in this case).

  • TempermentalAnomaly@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    1 天前

    I am not a programmer and I think it’s silly to think that AI will replace developers.

    But I was working through a math problem in Moscow Puzzles with my kiddo.

    We had solved it, but I wasn’t sure he got it at a deep level. So I figured I’d do something in Excel or maybe just do cut outs. But I figured I’d try to find a web app that would do this better. Nothing really came up that was a good match. But then thought, let’s see how bad AI programming can be. I’d fought with it over some excel functions and it’s been mainly useful in pointing me in the right direction, but only occasionally getting me over the finish line.

    After about 6 to 8 hours of work, a little debugging, havinf teach and quiz me occasionally, and some real frustration of pointing out that the feature previously changed and re-emeged, I eventually had something that worked.

    The Shooting Range Simulator is a web-based application designed to help users solve a logic puzzle involving scoring points by placing blocks on vertical number lines.

    A buddy developer friend of mine said: “I took a quick scroll through the code. Looks pretty clean, but I didn’t dive in enough to really understand it. Definitely all that css BS would take me ages to do without AI.”

    I don’t take credit for this and don’t pretend that this was my work, but I know my kiddo is excited to try the tool. I hope he learns from it and we bond over a math problem.

    I know that everyone is worried about this tool, but moments like those are not nothing. Personally, I’m a Luddite and think the new tools should be deployed by the people’s livelihood it will effect and not the business owners.

    • bignose@programming.dev
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 天前

      Personally, I’m a Luddite and think the new tools should be deployed by the people’s livelihood it will effect and not the business owners.

      Thank you for correctly describing what a Luddite wants and does not want.

    • auraithx@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      23 小时前

      Yes, despite the irrational phobia amongst the Lemmings, AI is massively useful across a wide range of examples like you’ve just given as it reduces barriers to building something.

      As a CS grad, the problem isn’t it replacing all programmers, at least not immediately. It’s that a senior software engineer can manage a bunch of AI agents, meaning there’s less demand for developers overall.

      Same way tools like Wix, Facebook, etc came in and killed the need for a bunch of web developers that operated in the range for small businesses.

  • Reptorian@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    1 天前

    I’ll admit I did used AI for code before, but here’s the thing. I already coded for years, and I usually try everything before last resort things. And I find that approach works well. I rarely needed to go to the AI route. I used it like for .11% of my coding work, and I verified it through stress testing.

  • LeFantome@programming.dev
    link
    fedilink
    arrow-up
    20
    ·
    2 天前

    Can Open Source defend against copyright claims for AI contributions?

    If I submit code to ReactOS that was trained on leaked Microsoft Windows code, what are the legal implications?

    • General_Effort@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      23 小时前

      If I submit code to ReactOS that was trained on leaked Microsoft Windows code, what are the legal implications?

      None. There is a good chance that leaked MS code found its way into training data, anyway.

    • proton_lynx@lemmy.world
      link
      fedilink
      arrow-up
      18
      ·
      edit-2
      2 天前

      what are the legal implications?

      It would be so fucking nice if we could use AI to bypass copyright claims.

      • piccolo@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        23 小时前

        “No officer, i did not write this code. I trained AI on copyright material and it wrote the code. So im innocent”

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    64
    ·
    3 天前

    Have you used AI to code? You don’t say “hey, write this file” and then commit it as “AI Bot 123 aibot@company.com”.

    You start writing a method and get auto-completes that are sometimes helpful. Or you ask the bot to write out an algorithm. Or to copy something and modify it 30 times.

    You’re not exactly keeping track of everything the bots did.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 天前

        I’ll admit I skimmed most of that train wreak of an article - I think it’s pretty generous saying that it had a point. It’s mostly recounts of people complaining about AI. But if they hid something in there about it being remarkably useful in cases but not writing entire applications or features then I guess I’m on board?

        • HaraldvonBlauzahn@feddit.orgOP
          link
          fedilink
          arrow-up
          14
          ·
          3 天前

          Well, sometimes I think the web is flooded with advertising an spam praising AI. For these companies, it makes perfect sense because billions of dollars has been spent at these companies and they are trying to cash in before the tides might turn.

          But do you know what is puzzling (and you do have a point here)? Many posts that defend AI do not engage in logical argumentation but they argue beside the point, appeal to emotions or short-circuited argumentation that “new” always equals “better”, or claiming that AI is useful for coding as long as the code is not complex (compare that to the objection that mathematics is simple as long it is not complex, which is a red herring and a laughable argument). So, many thanks for you pointing out the above points and giving in few words a bunch of examples which underline that one has to think carefully about this topic!

          • atzanteol@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            10
            ·
            3 天前

            The problem is that you really only see two sorts of articles.

            AI is going to replace developers in 5 years!

            AI sucks because it makes mistakes!

            I actually see a lot more of the latter response on social media to the point where I’m developing a visceral response to the phrase “AI slop”.

            Both stances are patently ridiculous though. AI cannot replace developers and it doesn’t need to be perfect to be useful. It turns out that it is a remarkably useful tool if you understand its limitations and use it in a reasonable way.

            • Beldarofremulak@discuss.online
              link
              fedilink
              English
              arrow-up
              3
              ·
              edit-2
              2 天前

              Don’t forget all these artists and developers are staring unemployment in the face so it’s no wonder they phone it in when they “try” to use AI.

              “Make me a program that does this complex thing across many systems… It didn’t work on the first try AI SLOP REEEEEEE!”

              Forks suck at eating soup yet are still useful.

              • XM34@feddit.org
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 天前

                No, it’s a car that breaks down once you go faster than 60km/h. It’s extremely useful if you know what you’re doing and use it only for tasks that it’s good at.

    • Reptorian@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 天前

      I used it only as last resort. I verify it before using it. I only had used it for like .11% of my project. I would not recommend AI.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 天前

        My dude, I very code other humans write. Do you think I’m not verifying code written by AI?

        I highly recommend using AI. It’s much better than a Google search for most things.

    • Corngood@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      3 天前

      Or to copy something and modify it 30 times.

      This seems like a very bad idea. I think we just need more lisp and less AI.

      • pinball_wizard@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        1 天前

        Good point.

        This is the point that the “AI will do it all” crowd is missing. Current AI doesn’t innovate. Full stop. It copies.

        The need for new code written by folks who understand what they’re writing isn’t gone, and won’t go away.

        Whether those folks can be AI is an open question.

        Whether we can ever create an AI that can actually innovate is an interesting open question, with little meaningful evidence in either direction, today.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        3 天前

        “Hey AI - Create a struct that matches this JSON document that I get from a REST service”

        Bam, it’s done.

        Or

        "Hey AI - add a schema prefixed on all of the tables and insert statements in the SQL script.

  • notannpc@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    2 天前

    AI is at its most useful in the early stages of a project. Imagine coming to the fucking ssh project with AI slop thinking it has anything of value to add 😂

    • HaraldvonBlauzahn@feddit.orgOP
      link
      fedilink
      arrow-up
      31
      ·
      edit-2
      2 天前

      The early stages of a project is exactly where you should really think hard and long about what exactly you do want to achieve, what qualities you want the software to have, what are the detailed requirements, how you test them, and how the UI should look like. And from that, you derive the architecture.

      AI is fucking useless at all of that.

      In all complex planned activities, laying the right groundwork and foundations is essential for success. Software engineering is no different. You won’t order a bricklayer apprentice to draw the plan for a new house.

      And if your difficulty is in lacking detailed knowledge of a programming language, it might be - depending on the case ! - the best approach to write a first prototype in a language you know well, so that your head is free to think about the concerns listed in paragraph 1.

  • oakey66@lemmy.world
    link
    fedilink
    arrow-up
    36
    ·
    3 天前

    It’s not good because it has no context on what is correct or not. It’s constantly making up functions that don’t exist or attributing functions to packages that don’t exist. It’s often sloppy in its responses because the source code it parrots is some amalgamation of good coding and terrible coding. If you are using this for your production projects, you will likely not be knowledgeable when it breaks, it’ll likely have security flaws, and will likely have errors in it.

    • Excrubulent@slrpnk.net
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 天前

      And I’ll keep saying this: you can’t teach a neural network to understand context without creating a generalised context engine, another word for which is AGI.

      Fidelity is impossible to automate.

  • Blue_Morpho@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    3 天前

    If humans are so good at coding, how come there are 8100000000 people and only 1500 are able to contribute to the Linux kernel?

    I hypothesize that AI has average human coding skills.

      • HaraldvonBlauzahn@feddit.orgOP
        link
        fedilink
        arrow-up
        3
        ·
        1 天前

        A million drunk monkeys on typewriters can write a work of Shakespeare once in a while!

        But who wants to pay a 50$ theater ticket in the front seat to see a play written by monkeys?

    • HaraldvonBlauzahn@feddit.orgOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 天前

      The average coder is a junior, due to the explosive growth of the field (similar as in some fast-growing nations the average age is very young). Thus what is average is far below what good code is.

      On top of that, good code cannot be automatically identified by algorithms. Some very good codebases might look like bad at a superficial level. For example the code base of LMDB is very diffetent from what common style guidelines suggest, but it is actually a masterpiece which is widely used. And vice versa, it is not difficult to make crappy code look pretty.

      • XM34@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 天前

        “Good code” is not well defined and your example shows this perfectly. LMDBs codebase is absolutely horrendous when your quality criterias for good code are Readability and Maintainability. But it’s a perfect masterpiece if your quality criteria are Performance and Efficiency.

        Most modern Software should be written with the first two in mind, but for a DBMS, the latter are way more important.

  • Prime@lemmy.sdf.org
    link
    fedilink
    arrow-up
    12
    ·
    2 天前

    Microsoft is doing this today. I can’t link it because I’m on mobile. It is in dotnet. It is not going well :)

  • teije9
    link
    fedilink
    arrow-up
    14
    ·
    3 天前

    who makes a contribution made by aibot514. noone. people use ai for open source contributions, but more in a ‘fix this bug’ way not in a fully automated contribution under the name ai123 way

    • lemmyng@lemmy.ca
      link
      fedilink
      English
      arrow-up
      38
      ·
      3 天前

      Counter-argument: If AI code was good, the owners would create official accounts to create contributions to open source, because they would be openly demonstrating how well it does. Instead all we have is Microsoft employees being forced to use and fight with Copilot on GitHub, publicly demonstrating how terrible AI is at writing code unsupervised.

  • andybytes@programming.dev
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 天前

    My theory is not a lot of people like this AI crap. They just lean into it for the fear of being left behind. Now you all think it’s just gonna fail and it’s gonna go bankrupt. But a lot of ideas in America are subsidized. And they don’t work well, but they still go forward. It’ll be you, the taxpayer, that will be funding these stupid ideas that don’t work, that are hostile to our very well-being.

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    10
    ·
    3 天前

    Mostly closed source, because open source rarely accepts them as they are often just slop. Just assuming stuff here, I have no data.

    • unalivejoy@lemm.ee
      link
      fedilink
      English
      arrow-up
      10
      ·
      3 天前

      And when they contribute to existing projects, their code quality is so bad, they get banned from creating more PRs.

    • magic_lobster_party@fedia.io
      link
      fedilink
      arrow-up
      8
      ·
      3 天前

      Creator of curl just made a rant about users submitting AI slop vulnerability reports. It has gotten so bad they will reject any report they deem AI slop.

      So there’s some data.