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.

Linus Torvalds says AI is a great way to find joy in programming, when used responsibly
you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 week ago* (8 children)

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.

  • source
  • hideshow 8 child comments
  • [–] 21 points 1 week ago (7 children)

    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.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 4 points 1 week ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 week 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.

  • source
  • parent
  • [–] 3 points 1 week ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 week ago* (last edited 1 week 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.

  • source
  • parent