News for hackers. Stuff that matters.
Re:Fragmentation Is Why Desktop Linux Failed [video] by smacktoward on Friday December 14, 2018 @02:00AM (#18679008)
there has been some progress on that front too with Flatpak

Don’t worry Linus, with Snaps and AppImages we’re hard at work fragmenting that front too!

Re:Fragmentation Is Why Desktop Linux Failed [video] by VvR-Ox on Friday December 14, 2018 @02:59AM (#18679236)
Hahaha YMMD! :-D
Re:Fragmentation Is Why Desktop Linux Failed [video] by keyboardmowing on Friday December 14, 2018 @02:02AM (#18679021)
Isn’t flatpak like npm where it just flat stores all the libraries? So it’s a huge waste of space ?
Re:Fragmentation Is Why Desktop Linux Failed [video] by jackfraser on Friday December 14, 2018 @02:15AM (#18679087)
There's been a continual oscillation between bring-your-dependencies (ranging from statically compiled executables, to composed things like docker containers, snaps, npm / ruby / php composer apps, etc.) and use-the-systemwide-stuff (like most linux apps).

The tradeoff is pretty obvious: on the one hand you get full control over what code you bring in, but you also get full responsibility of keeping it up to date and it does indeed take up more space. On the other hand you get systemwide updates, but also unpredictability which can break things.

In the former, you have a lot of work to do yourself to maintain your ecosystem between releases. In the latter, a greater amount of effort and responsibility goes onto those who maintain the packages at a distribution level to ensure mutually compatible package selections. This can be done (viz. most of the top tier distributions successfully doing this with occasional problems for decades) but we keep trying new all-in-one mechanisms every few years.

I'm not convinced that there's ever going to be a final answer to this, but it is clear that storage is cheap as chips...

Re:Fragmentation Is Why Desktop Linux Failed [video] by AnIdiotOnTheNet on Friday December 14, 2018 @07:51AM (#18680440)
I don't know, I think the answer is pretty obvious: use system-wide shared libraries for things that are very common, like widget toolkits, network libs, cryptography, and other system components. Otherwise it is part of the application, not the system, and should be with the application.

The reason you don't see this on Linux is because there is no such thing as a separation between 'system' and 'application' in its culture. Consequently there has never been a "base system" to target or keep compatibility with so applications have to either target a specific version of a specific distro (waste of time) or include everything above the stable kernel ABI in their product (waste of space).

It is actually a very simple problem to solve, it just isn't one that the Linux community is interested in solving simply, so instead they invent ridiculously complicated tooling like package managers and Flatpak, introducing a bunch of unnecessary limitations and yet more parts to break and ruin your day.

Re:Fragmentation Is Why Desktop Linux Failed [video] by simonh on Friday December 14, 2018 @02:29AM (#18679132)
Was cheap as chips. The age of flash has dawned.
Re:Fragmentation Is Why Desktop Linux Failed [video] by AnIdiotOnTheNet on Friday December 14, 2018 @07:51AM (#18680442)
Still cheap as chips. 1TB name brand flash drives can be had for under $200.
Re:Fragmentation Is Why Desktop Linux Failed [video] by IronBacon on Friday December 14, 2018 @02:16AM (#18679093)
FWIK, flatpak applications can share libraries via runtimes. If you instead mean about the host system, then yes, I think they import everything from libc and up.

Edit: clarification.

Re:Fragmentation Is Why Desktop Linux Failed [video] by alexeiz on Friday December 14, 2018 @01:00PM (#18682899)
I tried to use Flatpak for everything and because various Flatpak apps want their own version of Gnome I ended up with different versions of Gnome runtime installed on my system each consuming several hundred megs of disk space. At that point I decided to screw it and use Flatpak only if native repos didn't have an app I needed.