News for hackers. Stuff that matters.
Re:The tragedy of running an old Node project by elashri on Tuesday November 19, 2024 @03:17AM (#42181070)
I understand that, you can use `--break-system-packages` or change configuration `python3 -m pip config set global.break-system-packages true`.

Python is different here because in many linux distributions, there are many tools that rely on you system python. Python unlike node is not limited (in practice) to web applications. that's why you have to be more careful. So while I understand you are using this as an example, I don't feel that your comparison is apple to an apple.

Re:The tragedy of running an old Node project by LamaOfRuin on Tuesday November 19, 2024 @08:19AM (#42183091)
>Python unlike node is not limited (in practice) to web applications. that's why you have to be more careful.

They may or may not be running Node.js specifically, but I believe that many Linux distributions, as well as Windows, include JavaScript code in core applications. I don't see this as particularly different, except that they might choose to assume a single standard system Python that is able to be modified by standard Python development, whereas I would rarely expect that to be the case with however each component chooses to execute JavaScript.

Re:The tragedy of running an old Node project by elashri on Tuesday November 19, 2024 @09:00AM (#42183491)
Apps that rely on OS provided Webview and electron apps are totally different situation. This is exactly what I said. And no, they don't use any standard nodejs installation like python. And they are different as I said. so this is still apples to orange comparison.
Re:The tragedy of running an old Node project by LamaOfRuin on Tuesday November 19, 2024 @09:14AM (#42183642)
>Apps that rely on OS provided Webview and electron apps are totally different situation.

No, they're not. I'm talking about core apps and services that are essential to a functional operating system. This is exactly the same situation. The difference is choices made by the OS and language ecosystem about how to manage dependencies in various use-cases. It is an apples to oranges comparison because of those decisions and not because of the language.

Re:The tragedy of running an old Node project by jcelerier on Tuesday November 19, 2024 @06:45PM (#42189302)
Which apps would that be ? I'm pretty sure there's zero node server running on my desktops & laptops at the moment