publicación cruzada desde: https://piefed.social/c/linux@programming.dev/p/2495581/yea

Linus be like:

  • “I only care about the final results and the correctness”
  • Me looks inside
  • Final results are shit and code is just slop

Ahhh, I love AI and Linus and how they’re enshittifying everything /s

Seriously, how would anyone in their right mind think that AI can be used responsibly? The only acceptable level of AI use is zero or a negative number.

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

    Nothing says joy of programming like micromanaging a junior dev through text messages.

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

      there is a ne fork of linux it’s called DSA linux

      it’s just a name

      it has fundamental principles that cannot be questioned which makes it better and will make it thrive and take over the open source world

      or not

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

    I’m gonna have to put some context here, because Linus’ opinion is alittle more nuanced than written here. I will say i don’t agree with him personally, but I also see where he’s coming from.

    In multiple different interviews, now, Linus has lamented trash ai-generated code being pushed at codebases and flooding reviewers, so Linus is acutely aware of the problems caused by irrisponsible AI use. He sees how much people just push out AI slop without ever reviewing it. The thing is, Linus has been maintaining the linux codebase for over two decades now, and I imagine he is very aware of how much humans can pump out garbage code on their own.

    He’s gone on the record, though, that he uses AI himself to rapidly create tools for troubleshooting and prototyping structures. As far as i can tell, he still views the final code as being something which should be written by a human, but he sees the value in being able to rapidly produce tools and test different data structure configurations in a few minutes where he’d normally have to jerry rig something together over a matter of hours prior.

    I have not heard him weigh in on the environmental impact of LLMs yet, though I imagine he assumes that LLMs will become more efficient in time and that they’ll be less memory-intensive over time, to the point of being run locally on a desktop while still being just as powerful.( this part is one I have serious issue with, but i can’t fault the assumption since this guy literally started his career writing machine code by hand - not assembly, machine code.)

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

      Missing is his assessment that Vibe coding can be a nice on ramp to learning how to really code.

      I’m super skeptical because I have never seen it happen in a newcomer, but it is pretty good at helping me find good candidates for libraries and how to use them consistent with my broader project design. So on ramp to a solid candidate from not knowing anything is gentler. Seeing the required arguments vaguely mapped to my existing data helps understand, even if I should throw out the generated code as being otherwise more trying than it’s worth, I still learned something useful.

  • crystalwalrus@programming.dev
    link
    fedilink
    arrow-up
    17
    ·
    3 days ago

    I guess if your joy is outputting a lot of stuff. It’s really satisfying to actually learn things and we know llms disrupt the learning process.

    • Kangae_Hishiryo@scribe.disroot.orgOP
      link
      fedilink
      arrow-up
      9
      arrow-down
      3
      ·
      3 days ago

      Yeah, I’m thinking about either supporting Redox, which is anti-AI and both POSIX and UNIX compliant although with some own extensions, or trying to find people to do an anti-AI hard-fork of Linux.

      • devfuuu@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        The core problem will be the amount of supported hardware that linux has.

        As long as there is a compat layer that somehow brings the hardware things to other kernerls we couls move away from linux.

        Or we can go through the temporary layer of reducing linux to just a virtual machine layer and put the alternatives on top of that layer meanwhile, hoping that linux doesn’t slopify too fast and gives us time to port.

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

    idk I just have joy in the process of making something. Software development is a creating craft, and devising components, getting into the nitty gritty of the application and putting it all together is where I get my joy from.

    I don’t think any other maker would just replace their entire process of creation with a chatbot. Only the software engineer, the poor lost soul…

    It seems to me agentic coders just hate every aspect of the craft, so they replace it with AI. Then what’s the point of even making software?

  • eremophila@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    My dear old grandmother used to always say ‘never trust a linus bro’

    I always assumed she was being a bigot, but now it is hard to dispute that she was just being accurate.

    • whalescenery@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      20 hours ago

      As someone who has used FreeBSD on and off for 15 years, I’d honestly say that you need to drastically temper your expectations if you think any sort of BSD will be comparable to a Linux-based desktop.

    • Kangae_Hishiryo@scribe.disroot.orgOP
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      3 days ago

      I don’t know actually, I’d just hope that someone forked Linux.

      At least there are BSD projects such as HyperbolaBSD, MirBSD or CoffeeBSD (the only three ones untainted AFAIK).

      More in Open Slopware

  • deadalus@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 days ago

    Honestly, I think it can be helpful for beginners if used in moderation.

    I’m a complete beginner with programming, and yesterday was working on my home assistant to control both my AC and Radiator simultaneously. But I couldn’t get it to work, with the special climate entity always crashing. After i think 2 hours, I asked Gemini what was wrong, and it pointed out that I didn’t have a fallback value and that when starting up, the values were invalid, and caused the entity to crash. After I added a fallback, it worked.

    I think AI can be useful if you treat it like asking someone more experienced like a teacher. It will make mistakes, but if you’re stuck it might be able to help you. I’m still writing my code myself, but I use Gemini as a last resort when I’ve spend over an hour on a problem and can’t figure it out myself.

    Not that that applies to Linus, but I thought I’d also add some context from a beginner

  • Ostfriesentee@feddit.org
    link
    fedilink
    arrow-up
    11
    arrow-down
    9
    ·
    3 days ago

    LLM agent code is good if you don’t try to one-shot things. Have it devise deterministic tests to test the code and give it the ability to check its own results via screenshots. Have it plan ahead, ask questions, work step by step in separate sessions. Give it enough context, always have it create a README.md explaining the structure and purpose of the project for other sessions. Fix some stuff yourself. It’s not either or, it can be both.

    American LLM companies are terrible for their copyright infringement, the environmental effects of their data centers and for several other valid reasons. I hated that Microsoft tried to push Copilot on every system because it sucked (mandatory “I use Arch, btw.”).

    So yes, LLM companies are terrible, people losing their jobs because of questionable business decisions is terrible. But LLMs are good tools. Like any tool, you can produce utter shit with it. You can use a screw driver to destroy the drive of an old screw and make it unusable. You can stick it in a wall and have a gaping hole. But you can also use it to remove and fasten screws regularly. The same applies to LLM agents. If you have got no idea what you’re doing, you may produce shit. The thing with shitty AI code is, you only notice it when it is shitty. Because the output that’s good is essentially invisible. The problem is not the tool, it’s who’s using it.

    Use open-weight models locally and use a harness like Pi and expand it or modify it as you wish. Don’t support the per token pricing/subscription companies.

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

      I don’t care if your code is good if the tool you used to write it for you causes so much harm to the environment and the people living near he data centers.

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

        That’s a valid point. I was just getting at OP’s point that “AI code is terrible”, which it can be, but doesn’t have to be.

        Something has to be done about data centers, especially in the US. But that’s also why I believe promoting local inference is important. My local model runs on the sun on my roof, for the most part. It’s not causing environmental havoc. The training of new frontier models is. The training of new proprietary frontier models is disincentivized if you can’t make money with them anymore. Open-weight models are free and hurt Anthropic and the likes. But it’s also a matter of energy infrastructure and how the centers are built. That needs more regulation. It’s good that local backlash seems to have an effect.

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

          I was just getting at OP’s point that “AI code is terrible”, which it can be, but doesn’t have to be.

          I consider it to be, because of the factors I mentioned earlier. And yes, if local ethically trained models are used, I’m fine with that. The thing is that in the vast majority of cases, it’s not.

      • loutr@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        3 days ago

        Right, there are a lot of issues with IA that are worth criticizing. Pretending like it’s not getting pretty fucking good at coding and other stuff is counterproductive. If it wasn’t people wouldn’t use it more and more.

        • petrol_sniff_king@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          7
          ·
          3 days ago

          If it wasn’t [good at coding] people wouldn’t use it more and more.

          This is a non-sequiter. There are thousands of reasons a person might use something that makes them worse.

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

          I didn’t say anything about how good it is at coding.

          But, if you did ask me, I would say that as a professional software developer that now is forced to work with AI, it’s really not good at programming. I have to heavily hold its hand, and whenever a non-developer at my company tries making some software with AI, it’s either awfully unreadable code, full of bugs, or, most often, both. I’m working with all the latest Claude Code models btw.

          And even if it were that good at programming, I still don’t think it’s worth the cost.

        • november@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          People use bad things all the time. People are still on Twitter and Facebook and they both fucking suck. People still smoke.

  • cub Gucci@lemmy.today
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    3 days ago

    I believe Linus holds the special place there. He’s not constrained by shitty corporate rules.

    • Lumelore (She/her)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      2
      ·
      3 days ago

      As someone who used to use AI “responsibly,” no it cannot be. I never wrote whole programs with it. I generated boilerplate and did a shittier version of rubber ducky programming, etc. Try programming without it and you’ll quickly realize how dependent on it you’ve really become. I haven’t used it at all since spring this year and it’s been great. I actually get more work done without it since I don’t have to double check slop anymore.

      • rockSlayer@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        I’ve noticed that too, and that’s with using it as a last resort when I’m unable to find my answer the traditional way

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

        Spring this year is like ages ago in terms of LLM development. I suspect that you would need to do considerably less checking now or none (it checks itself) with an up-to-date agent, if you use your harness correctly.

        Let me put your point into perspective:

        “Try calculating without a calculator and you’ll quickly realize how dependent on it you’ve really become. I haven’t used it at all since spring this year and it’s been great. I actually get more work done without it since I don’t have to double check the calculations anymore.”

        I think overdependence on LLMs is a valid concern, not restricted to coding. Studies would indicate as much. It’s good to be able to write code yourself. But I wonder if that is really a skill that is going to continue to be necessary in the future. Being able to do big calculations in your head or on paper is a nice skill to have, even now, but it’s honestly not absolutely necessary in today’s world. It’s good cognitive training, so I would still recommend it and basic arithmetic skills are necessary to understand higher maths and be able to use a calculator.

        As I’ve pointed out in another comment, LLM companies are terrible for a variety of reasons and I despise their business models, but saying that the models are not useful is a notion not rooted in reality, imho.

        • Lumelore (She/her)@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 days ago

          Calculators are deterministic though and you still need to know math. You can’t just enter a word problem into a calculator and get an answer that is maybe correct. I’ve been following AI since gpt2 and imho after 4 the only thing that’s gone up is the version number and the size of the bubble.

        • rockSlayer@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 days ago

          I use LLMs very rarely, almost exclusively for rubber ducking extremely niche problems with Bash scripts. Last time I used it was last week. Without fail, it randomly inserts globs on pseudocode variables, values, reserved words, and more.

        • petrol_sniff_king@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          3 days ago

          I have scarcely seen any math people refuse to do math because they do not have a calculator. And truthfully, I would mock them for it if they did.

          But I have seen plenty of people refuse to do anything if their LLM couldn’t.

        • Lumelore (She/her)@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 days ago

          All of my tools are:

          • Deterministic
          • Actually fucking work
          • Don’t consume 5 small nations worth of power

          AI has exactly zero of those properties. I like using tools that work, I ain’t gonna use a combine harvester if it fails to harvest my crops while also using 5000 gallons of gas to drive in circles.

          When I program, I know what I’m doing. That is a significant speed advantage because I get something that works the first time, is maintainable, and also exercises my brain so it doesn’t turn into mush.

          • bryndos@fedia.io
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            Yes.

            I know how my tools work to some degree. I know when they get dull, become inefficient, and need sharpening, or grease, or cleaning.

            Because of that i can sometimes appraise alternative and new versions’ advantages and disadvantages, and choose (with at least a semi-informed judgement) when an upgrade might be worth more than the transition/investment/retraining cost. I’ve got it wrong some times, and learned from those mistakes. I get better at managing risks with them.

            Some jobs i just know I’d better sharpen them more oftten, i can plan for that. I know how to maintain and even improve them. I can sometimes adapt them, or complementary systems, to make them better at specialised purposes.

            I mostly own them, especially the ones that i cherish; I have an incentive to maintain, upgrade and make complementary investments.

            I’m sure someone can do all that stuff with AI; but not me, so it’s not a tool to me. Some of my tool requirements seem to be very far out of reach.

        • petrol_sniff_king@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          3 days ago

          Yeah, I’m also dependent on my IDE and package managers… that doesn’t make them bad, that makes them tools.

          It might make them bad. Have you tried otherwise?

          there is absolutely no debate that a strong programmer will see multiplicative gains

          I work a lot slower with AI because fighting back the impulse to put a gun in my mouth takes at least half the day.

        • petrol_sniff_king@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          arrow-down
          2
          ·
          3 days ago

          You should try reading the article.

          To your point,

          Seriously, how would anyone in their right mind think that AI can be used responsibly?

          The problem is that […] most people suck and will use it for the worst possible things.

          Of course it will be. That’s what the tool was designed for. It is used for bad things because it was made for bad ends.

          Is nicotine addiction a problem with people or a problem with cigarettes? Kind of both, right?