• Tattorack@lemmy.world
    link
    fedilink
    English
    arrow-up
    57
    arrow-down
    2
    ·
    6 days ago

    I keep seeing headlines like this, and of course conveniently leaving out how Torvalds chewed people out for vibe coding.

    Torvalds didn’t vibe code away the Linux bug. He actually knows what he’s doing.

    • darkangelazuarl@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 days ago

      Yeah he has said many times the submitter of the code is the one responsible for knowing how it works. That’s not the only issue with LLMs though. Stolen intellectual property and the larger environmental impact that the data centers required to run them is having are just a couple more.

      • Tattorack@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        I have a feeling that in order to achieve using deep learning (because let’s face it; it’s not AI) as a programming assistant, AI companies didn’t need to do half the shit they’ve done.

        The resources being outright burnt on their endeavours haven’t served any useful purpose. You don’t need data centres covering the globe and to destroy thousands of rare books to assist with code, or find cancer in a scan.

    • tangosox@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      3
      ·
      6 days ago

      Ya but the general hysteria is that any AI use is bad and that we can only trust this AI use because its from Linus. I’ve used AI successfully for debugging and learning new code bases and patches and I’ve been told I’m wrong for doing so.

      • Tattorack@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        6 days ago

        Well, so far Linus is the only person in the world, it seems, that is using AI as a tool instead of a crutch. So I agree with that sentiment.

      • theolodis@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        3
        ·
        6 days ago

        And what’s thw relation to the OP, or the comment you’re replying to? Are you understanding the result of what AI is giving you? Because thw comment states that this is not vibing because Linus owns the change, understands it.

  • aurelar@lemmy.ml
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    2
    ·
    6 days ago

    There’s a difference between using a tool as a knowledgeable professional, and using a tool as a novice or a member of the general public: the professional can likely tell when the answer an AI gives is wrong.

    AI is a tool that can be useful sometimes.

  • ToxicWaste@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    73
    arrow-down
    12
    ·
    7 days ago

    unpopular opinion, especially on the fediverse, but: AI is not inherently bad.

    it is a tool, that can do everything to a pretty low standard but rather fast. so it is up to the learnt human to use the thing at the right time. i use the company ai at regularly at work, but treat it as an apprentice: every line of code has to be checked, because it will fail hilariously. but it does type faster than me, so simple and boring jobs can be done by it.

    i don’t see the appeal of avoiding generated code at all cost. it is not different from human code in that it can fail horribly. the important thing is oversight. is there someone with the knowledge and keen eye to ensure no BS is merged. Linus, in my opinion, spent a lifetime building that reputation.

    • John Richard@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      I agree. Most actual technical professionals agree. AI has long existed in some form before tech bros in silicon valley turned it into a SaaS. It’s just the fediverse is filled with a bunch of anarchists obsessed with Loli anime, and to them chaos and a return to medieval age is their best chance of living out their child loving fantasies.

    • raze2012@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 days ago

      nothing is good nor evil, but thinking makes it so.

      But i see the issues on both sides of the aisle. Kind of like how social media is a great tool that brings about instant worldwide communication. But those merits don’t cancel out how it’s been used to exploit the human psyche, influence elections, and even coax genocides.

      In this case, the downwind effects from encouraging use by mature professionals is impacting the impressionable future. And no one seems to care about the future anymore.

    • sanzky@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      9
      ·
      7 days ago

      AI is inherently bad. It might be useful, but their externalities are quite inherent to it.

      • InputZero@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        edit-2
        6 days ago

        I’d agree with you if you mean that what has been marketed as AI to us is inherently bad. That said the word AI has been misused so much that is basically has no meaning. I’ve known researchers who have used things that can be called AI for really important research and it could run on a high end computer from 10 years ago. The externalities of that are quite minimal to what we gain. We really need to find language to discuss AI where when we talk about Big AI we’re not also dragging the proven, and efficient models which are nearly AI but not quite into the discussion.

      • raze2012@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        6 days ago

        I don’t think it’s inherently bad. We don’t need to use double the world’s energy to power it (as we see with open weight models) . We don’t need to centralize it in trillion aire companies. We don’t need to leverage an entire global economy on it. We don’t need to use it to replace human labor without a proper economic model.

        Those are all aspects of greed and stupidity. None of that is inherent.

      • anarchiddy@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        It really depends on which externalities you’re talking about

        The only one I can think of as ‘inherent’ is the ethical concern over copyright. The others are more broadly related to the commercialization of the tool than to the tool itself.

    • hardcoreufo@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      6 days ago

      I code at a kindergarten level so its been useful for me when I’m trying to get an idea to just work. I tell it what I was trying to do and give it my code and then I ask it to fix then explain what went wrong. Works pretty well in qwen 3.8 27b on my GPU in zed. But I’m not making huge apps or public code just dumb scripts for me. So ive found ive actually gotten better this past year. Its all in how you use it.

      • raze2012@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        But we very much do enforce times on when not to use calcs. Thars the whole point here.

    • Cypress@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      9
      ·
      7 days ago

      I think there’s a big difference between
      A. Expecting people to pay you and give you credit for something AI made for you
      vs
      B. Playing with AI and if it spits out something you like a lot you keep it to yourself unless someone else specifically asks you to show it to them.

      It’s basically masturbation.

      People are gonna do it to themselves and enjoy it but if you try to show me that shit without my consent we are not going to be friends.

      • BlindPenguin@lemmy.world
        link
        fedilink
        English
        arrow-up
        15
        arrow-down
        1
        ·
        6 days ago

        We’re not talking about the average clueless vibe coder here. Programming involves a lot more than just writing code. What Torvalds did was essentially “AI assisted coding”. As i understand it, he used it to narrow down the position of the bug in the code and then fixed it himself with a one-liner because apparently AI couldn’t find a solution on its own:

        And this was a debug session from hell, enormously helped by an AI doing much of the grunt-work. I’d like to call it my tireless helper, but the AI several times stated flat out that this was impossible and unsolvable and that we should just write a report about it. I suspect those things have been trained by people who may not be quite as stubborn as I am. But while the AI was ready to give up several times, it did keep adding debug code and analyzing it faithfully when I pushed. So credit where credit is due and I let the AI write the commit message above. This is basically a one-liner fixing a bogus “round_up()” to a “round_down()”, but there were 24 patches adding more and more debug information to this, and 18 kernel boot to finally narrow it down to this. - Linus

        https://github.com/torvalds/linux/commit/818bebeb63dd6bf5f4e07e145f6cdbace520a34c>

        That’s basically how AI should be used. To speed up things that are technically easy to do, but still very time consuming.

  • Acid_Burn@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    60
    arrow-down
    10
    ·
    7 days ago

    AI is like a power tool. If you give a contractor a nail gun instead of a hammer he can build a house faster. If you give someone who has no idea how to build a house a nail gun they’ll just fail at building a house faster than if you only gave them a hammer and they’ll probably hurt themselves.

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      arrow-down
      1
      ·
      7 days ago

      Problem being that the majority of software engineers really don’t know how to build software well.

      And are using AI as a tool to just accelerate their lack of engineering.

      • Zephyr@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        7 days ago

        This is a very old discussion and argument, much older than the current AI push. You’re right to a degree but also that hasn’t stopped the rise of strong minds for software development. There will always be the curious and the lazy. The curious will always want to know how things work from the chain of events of a button click to the pixel shifts and logic gate flips to display code on a screen as well as run it. There will also always be the lazy unencumbered by such a desire for awareness who just want the magic box to do the thing.

        How many software devs can write in assembly? Not many. Not much has changed if anything beyond the ability of the unaware to see their will come into creation. People couldn’t make realistic images and now they snap selfies with no barriers to entry. Does that make them a photographer or an artist? Not really.

      • KairuByte@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        7 days ago

        Could this not be said for IDEs with code awareness such as M$’s intellisense, among other tools that accelerate development speed?

        What you are describing isn’t an AI problem, is people taking a two week bootcamp and calling themselves a software engineer.

      • devedeset@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 days ago

        There’s a ton of app builders out there that are basically some crypto scam wrapped around Claude (or whatever). There’s a lot of idiots pumping out code slop.

    • 0xDREADBEEF@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      7 days ago

      I can build my bosses app faster with ai, but I would never build any app I want to maintain with it. It’s too low quality code for my standards.

      • onnekas@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        I think there is a middle ground where you can absolutely build apps faster with the help of ai and still get maintainable code.

        Just don’t let AI write a whole app in one shot. Or even whole features.

    • 0x0@lemmy.zip
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      4
      ·
      7 days ago

      …more like a nailgun that, more frequently than not, shoots backwards.

      • Holytimes@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        2
        ·
        7 days ago

        It 100% can save cognitive load if used correctly. Knowing the limitations and restraints of your tools is true for every profession.

        If you know what your llm can and can not do reliably you reduce the over head of verification to basically zero. While if you use it poorly you basically have to double your work load to fix things.

    • ZILtoid1991@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      7 days ago

      I think there could be some potential usecases for LLMs, but that’s not code generation (at least code that is not in the finished product), nor having it look up stuff in technical documentation.

      Everyone is trying to chase the rational adaptation case. Everyone wants to 10x their projects, yet keep control over them, or at least 2x their productivity. But I’ve seen just as many people going insane from at least first trying to use it as a tool as vibe coders.

      • G_M0N3Y_2503@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 days ago

        Code is probably one of the easiest things to verify, for that reason I struggle to see any other viable uses for LLMs tbh.

        user: write code that correctly asserts what 1+1 equals.
        LLM: assert_eq!(1 + 1, 4);
        LLM: hmmm, that crashed.
        LLM: assert_eq!(1 + 1, 3);
        LLM: hmmm, that also crashed, I must be doing something wrong, let me try one more time.
        LLM: assert_eq!(1 + 1, 2);
        LLM: that worked!
        LLM Response: assert_eq!(1 + 1, 2);
        
        user: what does this sentence mean? "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo"
        LLM Response: This doesn't mean anything, or someone really likes buffalo's
        

        I can always run the code to check, I still don’t know how that sentence makes sense.

          • G_M0N3Y_2503@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 days ago

            I am a software engineer by trade, so biases’ being what they are. But what I was more trying to demonstrate is that it is provable. Not that making the proof is easy.

  • Shanmugha@lemmy.world
    link
    fedilink
    English
    arrow-up
    32
    arrow-down
    1
    ·
    7 days ago

    Finally got where I stand: why uncomfortable? It’s just being hard to impose a sensible approach to it:

    • yes, llms can be used as a tool efficiently
    • no, killing the planet along the way is not an option, this has to stop be stopped
    • IndustryStandard@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      Oh the bright side: smaller local models are getting very good

      On the bad side: large models are always a year ahead so everyone wants to keep using the datacenter ones.

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        8
        ·
        6 days ago

        Local opposition to data centre builds seems to be most effective at the moment. People oppose it from across the political spectrum, and it’s becoming a hot topic. Add your voice to the crowd.

      • Shanmugha@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 days ago

        I have no good answer to that. My personal choice is ruin/kill any bastard who orders/approves building of data centers in their current state (read: doing damage to everything immediately around them and well beyond that), but I am physically far from anyone in that group

  • Artemis_Mystique@lemmy.ml
    link
    fedilink
    English
    arrow-up
    40
    arrow-down
    19
    ·
    edit-2
    6 days ago

    What AI haters don’t get is that the people fanning the flames of AI(LLM’s) hate are the same people who want you to buy their subscriptions, because they know the only place the real damage occurs is in OpenSource communities.

    AI use for Open Source projects is arguably the one use case that benefits everyone, plus it’s a sweet irony against corps and their locked-down proprietary software. Denouncer will loudly hawk that LLMs will make it trivial to circumvent the GPL, but they fail to mention that the pendulum swings both ways; with LLMs, it’s now easier than ever to reverse engineer proprietary systems and programs, recently there was a similar discourse on lemmy due to the mario kart wii decompilation.

    They want loud people to sow division into OpenSource communities so that true opensource LLMs solutions are shunned and never reach maturity, corporate meanwhile is unaffected.

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      2
      ·
      edit-2
      6 days ago

      AI use for Open Source projects is arguably the one use case that benefits everyone,

      It doesn’t benefit everyone if it pushes the quality down because the impetus to go fast wins over the dedication to reviewing the code properly. Nor does it benefit everyone if the world becomes uninhabitable because of the energy used by data centers. Nor does it benefit everyone if economies collapse due to the hype being wrong and the speculative bubble bursts. Nor does it benefit everyone if the hype is right and it renders most jobs redundant.

      These are the very rational things “haters” are concerned about. AI is for the rich to get richer. It does nothing for the rest of us.

      • almost_genocide@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        4
        ·
        edit-2
        6 days ago

        It doesn’t benefit everyone if it pushes the quality down

        Look I know some people will chime in and say things were better when programmers had to do their own memory management but I can’t say I agree. Good tools don’t push quality down. People using tools incorrectly certainly does and it’s a guarantee some people will use new tools incorrectly.

        Having a tool that can chew through a lot of code and give you suggestions which can be verified is indisputably valuable. Is it worth all the datacenters? Hell no. But open source people aren’t driving that.

        • titanicx@lemmy.zip
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          6 days ago

          The problem is that most of the people that are using it are not using it correctly and are not using it in a manner that they are just simply trying to find something to correct it. They’re literally using it to write the code and they’re barely scanning it afterwards. Therefore it’s creating a mishmash spaghetti bullshit that nobody wants.

          • almost_genocide@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            5
            ·
            edit-2
            6 days ago

            Do we think when the hammer was invented people only used it correctly? If 99 people out of 100 used it incorrectly would that make it a bad tool? I don’t think so. How people use it in general doesn’t have anything to do with the usefulness of the tool when used correctly.

            • titanicx@lemmy.zip
              link
              fedilink
              English
              arrow-up
              4
              arrow-down
              2
              ·
              6 days ago

              That is a super idiotic statement there. The amount of people not using a hammer correctly compared to the amount of people not using AI correctly is nowhere near any sort of even percentage correct. Like I am flabbergasted you would even try to make that sort of comparison.

  • _stranger_@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    6
    ·
    7 days ago

    I would trust Linus Torvalds to use AI to do this because the AI is literally trying to copy him when it writes that code. In that context, he is the training data.

    • luciferofastora@feddit.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 days ago

      Well, the tool apparently fought him and “several times stated flat out that this was impossible and unsolvable and that we should just write a report about it.”

      And it also doesn’t look like the LLM actually added code so much as helped with debug code and analysis, however exactly that may have looked like. The resulting fix changes three lines of code, very much human-writable or -verifiable.

      Also, let’s not worship Linus. The guy has done much good and is brilliant, but he’s still human, still capable of making mistakes. This instance working out well deserves the proper appreciation, bu we still ought to be wary.

  • Tigeroovy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago

    Well it’s not that this shit CAN’T be useful, it’s that it’s being pushed at people heavily in ways that aren’t.

  • melsaskca@lemmy.ca
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    5
    ·
    6 days ago

    The AI cabal is a very small group with a very large amount of power and powerful friends who want to push this on you. Remember, walking away from this does not impact hunger or shelter at all. You can survive without this shimmering facade.

  • bss03@infosec.pub
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    6 days ago

    I’ve decided to start moving to NetBSD. The copyright status of genAI code is very questionable, and it’s likely any project that integrates it, with be “extinguished” via legal action in the future.

    • teuniac_@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      7 days ago

      I really doubt that. It depends a bit on which country you’re talking about, even if a court rules that way, there is way too much money involved for the Supreme Court to uphold it. And even in the very unlikely event the supreme court would do that, I’d imagine this would be one of these rare moments of bipartisanship where some kind of way is found to allow for AI generated code. The US isn’t willing to lose the ‘AI race’ due to principles, ethics or law.

      • bss03@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        The documents I quote are from publications by the U.S. Copyright Office. But, the Berne convention and the WTO ensure that member states copyrights are aligned.

        I doubt “allow for AI generated code” has the bipartisan support you think it does; it certainly doesn’t have the popular support. But, ever if it were legal, it should still be unethical (e.g. Amnesty International’s reports of human rights violations in generative AI), and I’d be attempting to avoid it.

        • teuniac_@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          6 days ago

          It doesn’t look like it, but if 90% of silicon valley would get VERY upset if it didn’t and move their AI business abroad, you can be pretty sure that some kind of solution will get bipartisan support. Money money

  • bthest@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    14
    ·
    edit-2
    7 days ago

    Fuck off with these fake AI bubble pumping stories. fake ass grifters reading the same script wherever you go (“Im a mathamatician and IM SCARED” lol)

    It’s all horse shit.

    Sorry guys but your AI powered sex doll is going in the chipper along with her unpublished Unified Field theory.

    • 3abas@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      3
      ·
      7 days ago

      The fact that you compared “AI powered sex doll” to Linus using an LLM to generate code he reviewed and accepted (as if he’s reviewing any of the many contributions he reviews and constantly rejects for the simplest mistakes) shows that you know nothing about the different applications of “AI”.

      Yes, the “AI powered” sex toy is an example of an idiotic scam, the AI powered assistant that hallucinates in a conversation isn’t very useful, but code that literally does what it should do, reviewed by a competent engineer, is no different from reviewing code from any of your coworkers. It’s code, if it’s garbage you reject it, is it isn’t then the tool was useful.

    • G_M0N3Y_2503@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 days ago

      I know you said all, but I’m curious which part do you think is horse shit? Do you think Torvalds is lying about using AI all together? or just how useful AI actually was? The commit with the alleged AI use is in the an RC for the next release, and it is authored by Torvalds.

      • jj4211@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 days ago

        His story was a bit less flattering. The narrative the advocates want is that Torvalds is all in on vibe coding the kernel.

        The actual story is that he found it somewhat useful, even as it gave him wrong information and directed him to get help from a developer. A useful, but limited augmentation.

        If Torvald’s account were the accepted reality, they wouldn’t be steamrolling rural locals to make so many datacenters and wouldn’t be demanding we need more natural gas power, and wouldn’t represent the majority of our economy. They would have utility and be available, but not so obnoxious. Well, maybe, they might not have bothered with so much expense in training for this level of capability, but the cost is sunk now.

        Of course most development isn’t Torvald’s level, it is human slop. So there’s more to things than the actually complicated work that AI is limited for.

        But it’s not only critics that oversimplify. Advocates are obnoxiously bad at declaring everything is all good with AI

        • G_M0N3Y_2503@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Ah, that’s probably it. And yeah, governments need to figure out how to manage this. I think it’s destined to be bound by whatever is actually economical post hype. Not pending efficiency breakthroughs of the likes of mores law.

  • Bluedragon012@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    6 days ago

    Reminds me of nuke stuff back in they day. It can be energy to be harnessed, or energy to destroy, depends on the user and the sourcing of the materials. I use Ai (grammerly) to proofread important documents. (tone and proper grammar) didn’t let it re write more than a word or a symbol. Seems the equivalent here.

    I think alot of people get upset at the owners of Ai and rightfully so. Was this a local model? Did he build it? Lots of factors.

    • Echolynx@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      But if you use a tool to fix your grammar, you never learn the rules of grammar for yourself.

      • Bluedragon012@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        No argument here. I know Grammer, but there is how we speek and buisnees specific grammar. The level of formalities and what not.