News for hackers. Stuff that matters.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by dheera on Sunday May 04, 2025 @08:35PM (#43890867)
Venvs also suck because the user has to create and activate them.

It would be nice if a foo.py file could just deal with all of that.

A while ago I created this thing as a thought experiment. It likely doesn't work with more recent version of python though: https://news.ycombinator.com/item?id=24735303

It was partly in jest but I was not entirely un-serious; I think "dealing with dependencies" is quite possibly the biggest reason why Python isn't used to distribute end-user applications. It's a wonderful language but a really shitty import system. There are various attempts to make the experience better (pipx, poetry) but you still can't ship a .py file to someone, have them double click and run it. They still have to conda something, venv something, pipx something.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by yjftsjthsd-h on Monday May 05, 2025 @02:30AM (#43892443)