News for hackers. Stuff that matters.
Re:What Really Happened with Vista: An Insider's Retrospective by xorcist on Saturday January 13, 2018 @07:35AM (#16139365)
There's nothing DIY about a ready made Linux distribution such as the Fedora Desktop.

As long as you don't fiddle around too much under the hood, and don't insert random commands in places because someone on the Internet told you to, things will Just Work like nothing else. There's something to be said to having the developers actually caring about making a useful computer without allowing the marketing department to take charge.

Don't try to run it on some unsupported hardware (including outside "third party drivers"), anything bog standard Intel based will do, and you'll be absolutely fine.

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @09:28AM (#16139724)
> There's nothing DIY about a ready made Linux distribution such as the Fedora Desktop.

Until you want to change something. It is trivial to target a single use case and make it easy with Linux (most of the time) or almost any other OS, but that isn't what we want from Desktop OS, we want flexibility so we can conform it to our workflow, and Linux Desktop is absolutely terrible at that because it's become a giant Rube Goldberg machine of schizophrenic and often half-thought out components written with the idea that they're in a multiuser server environment but pretending they were designed for personal desktops.

If someone built a new, joy to work with and develop for, userland on top of the Linux kernel that wasn't oriented towards the idea that the system is a multi-user network server in 1983, I would subscribe the hell out of it (though in my opinion it had better be open source regardless). As a side project, I'm actually playing with concepts in this vein, but I'm really not that good a developer and don't have a lot of time to devote to it, it's just that no one else is doing it.

Re:What Really Happened with Vista: An Insider's Retrospective by ghaff on Saturday January 13, 2018 @11:21AM (#16140075)
It's not clear to me what the userland has to do with "the idea that the system is a multi-user network server in 1983." Pretty much any PC GUI out there today would be at least recognizable to a Windows 3 user OR a Unix workstation user--one of which was based on a multi-user network server but the other was not.

There are alternative models out there. There are Chromebooks where you basically live in the browser (which many people do anyway for most of their computing) and there's the app store model we see on phones and tablets.

I guess there's a potential for new paradigms that blend the flexibility of current GUIs with simplicity but I'm not sure a multiuser server foundation has much to do with it.

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @11:46AM (#16140168)
It's mostly about the way permissions are handled. User-oriented permissions are about protecting the system from the user. This is a useful notion when people connect to a multiuser server via a terminal, or for shared network resources, but is nigh useless and generally just gets in the way for personal computing devices.

The mobile OSs orient the permissions system around the applications, protecting the user's data and resources.

Re:What Really Happened with Vista: An Insider's Retrospective by ghaff on Saturday January 13, 2018 @12:02PM (#16140227)
That's fair enough although one of the reasons that works is that applications are sandboxed and limited in terms of what they are allowed to do. Certainly one could imagine a tablet/phone OS that was more oriented to desktop use cases (mouse support, etc.). But now we're back to Windows 8 and possibly Surface Pros and that just hasn't been a particularly popular model.
Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @12:14PM (#16140277)
But that's exactly what we want: applications that are only allowed to access what the user has permitted them to access. And I believe it can be done better than popping up a dialog all the time like UAC or just once at first launch like Android/iOS.

You don't need to tabletize your interface to implement this concept. Bubblewrap, FireJail, and some similar software already exists that implements this in Linux (poorly in my opinion, but it works).

Re:What Really Happened with Vista: An Insider's Retrospective by JdeBP on Sunday January 14, 2018 @06:16AM (#16143776)
People have done it.

The self-contained application bundles idea that you espouse can be found as Daniel J. Bernstein's "slashpackage" mechanism, from the turn of the century. It gives side-by-side installation of multiple versions of packages and simple packaged files installation, upgrade, and removal procedures.

* https://news.ycombinator.com/item?id=10357816

* http://code.dogmap.org/slashpackage/

The ability for users to isolate their own applications from one another is one of the concepts (removing the superuser) that underpins GNU Hurd, where one can sandbox one's own programs using translators and servers that substitute for the root ones.

* http://jdebp.eu./FGA/hurd-daemons.html

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Sunday January 14, 2018 @10:00AM (#16144485)
I am aware that people have tried it, ROX Filer knew about AppDirs, I think WindowMaker/GNUStep supported Application Bundles, there are currently (in keeping with Linux Desktop tradition) at least 3 implementations of the concept (FlatPak, Snap, AppImage), all of which are overengineered (but AppImage is the closest to correct by a wide margin).

But there is no system I can install today that makes it the primary way of doing things. That's what I'm trying to build, a new OS (or perhaps "operating environment" would be a more precise term), not a "distribution", on top of the Linux kernel, that takes the good ideas that already exists and makes them the primary way of doing things.

It's likely that even if I did finish the project people would ignore it. Maybe only I think these are good ideas, maybe I'm missing something, but I don't care. When I look at the future of the desktop operating system I see Windows 10 continuing down its path of becoming increasingly uselessly stupid, and the Linux Desktop, and those two futures make me want to become Amish. I'm building this because if I don't build something like this because if I don't I'll probably just leave computing altogether.

Re:What Really Happened with Vista: An Insider's Retrospective by pritambaral on Saturday January 13, 2018 @10:54AM (#16139986)
> it's become a giant Rube Goldberg machine of schizophrenic and often half-thought out components written with the idea that they're in a multiuser server environment but pretending they were designed for personal desktops

I don't get where you're getting this idea.

Re:What Really Happened with Vista: An Insider's Retrospective by striking on Saturday January 13, 2018 @11:21AM (#16140074)
Wayland is an attempt to replace X11. PulseAudio is a (now decent) attempt to clean up the Linux audio space.

There are attempts being made. Your comment is too vague to be falsifiable, though. Would you mind being more precise as to what you'd like to see changed?

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @12:12PM (#16140266)
In the short version:

Package management and spreading files all over the hierarchy is a really terribly inflexible way to manage applications. Applications should just be folders that contain any resources the application requires that aren't in the base system (this requires a defined and stable base system). This requires no special management software whatsoever and fits intuitively into the file management metaphor that already exists. See: Application Bundles, AppDirs, AppImage, and just about any desktop os before Windows 95.

Permissions should not be oriented around protecting the system from the user. That's a concept that makes sense in multiuser servers and organization networks, not personal devices. Permissions should be oriented around protecting the user's data from misbehaving applications.

Base system libraries should be stable on at least decade long timelines, barring a severe security issue that cannot be mitigated in any other way. I generally agree with Linus's opinion regarding breaking comparability. Unfortunately, a lot of the developers of the userland stuff aren't Linus.

In general, the OS should not presume it knows what my workflow is. This is the problem with the difference between "easy", which requires understanding what I want, and "simple" which is making systems understandable enough that I can conform them to what I want. It is my opinion that Linux Desktop has put so much effort into being easy that it has destroyed any simplicity it once had (see common Linux Desktop evangelist argument: "normal users don't need that").

The commandline environment and toolset are ass. PowerShell implemented the same concept significantly better.

Explaining my ideas for the how a GUI interface should work would take a long time and are not really relevant because they could exist as just another compositor in the current ecosystem.

Re:What Really Happened with Vista: An Insider's Retrospective by ghaff on Saturday January 13, 2018 @01:10PM (#16140477)
>Applications should just be folders that contain any resources the application requires that aren't in the base system (this requires a defined and stable base system)

You're basically describing OCI/docker/moby containers.

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @02:06PM (#16140762)
No. Well, yes, to a certain extent, but they don't need all the abstraction of containers, they can just be regular old directories. DOS applications were managed this way, MacOS applications were managed this way, RiscOS, NextStep, and OSX (now confusingly renamed to MacOS again) worked this way.

None of them use any containerization hackery to make it work, they just don't hardcode paths at compile time in their applications like UNIX developers do.

Re:What Really Happened with Vista: An Insider's Retrospective by vetinari on Saturday January 13, 2018 @08:42PM (#16142380)
No they do not hardcode paths, they just have to use some other mechanism (for example: registry) to find each other's location. MacOS doesn't really work this way either, half the apps available use installer and have their files somewhere in /Library.

The time when applications were universes by themselves ended in 1990 with OLE.

Re:What Really Happened with Vista: An Insider's Retrospective by lrem on Saturday January 13, 2018 @04:31PM (#16141526)
Containers go a step further, tossing out most of the system above the kernel. This works, but might be too expensive for personal computing.
Re:What Really Happened with Vista: An Insider's Retrospective by vetinari on Saturday January 13, 2018 @08:47PM (#16142393)
Flatpak in linux uses bubblewrap (namespaces, cgroups, bindmounts, seccomp, basically the same tech behind containers), and constructs /usr based on the frameworks the application requires in its manifest.

On the disk, it boils down to a single copy of each framework required. Additionally, the flatpak repository is content addressable, the constructed directory trees are hardlinks to the repository, so multiple versions or even separate frameworks will share identical files.

Re:What Really Happened with Vista: An Insider's Retrospective by swebs on Saturday January 13, 2018 @04:18PM (#16141466)
So basically you want Snap packages?

https://docs.snapcraft.io/core/snapd

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @08:15PM (#16142323)
No, snaps are a completely ridiculous overengineering of the concept. They use a package manager and repositories and paclage format and, from what I can tell, some overlayfs, they don't fit in to the normal file management paradigm... Frankly, they're exactly what you'd expect from the Linux community.

AppImage did it much better and even that's overengineered, but its goal is to work on all Linux distributions (without a package manager or a new infrastructure or anything) and really doesn't do much more than the bare minimum to make that happen. Naturally, the Linux Desktop community largely ignores it for making too much sense.

Re:What Really Happened with Vista: An Insider's Retrospective by liveoneggs on Sunday January 14, 2018 @09:37AM (#16144402)
ROX Desktop attempted to do app bundles a long time ago on linux as well.

Anyway you are missing one of the core problems of linux distros- they are not split between "base" or "core" OS and extra packages; they are a single monolithic thing! That is why debs and rpms install right into /usr/bin along with the core OS. There is no difference.

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Sunday January 14, 2018 @09:43AM (#16144420)
I know, I was there when ROX Desktop and ROX Filer hit the scene. Sadly, yet predictably, a concept as simple and flexible as AppDirs was completely ignored by the rest of the desktop linux community. I guess it didn't make them feel leet enough or something.

I may be wrong, but WindowMaker, being based on GNUStep, which was derived from NextSTEP, might have also supported application bundles (as in the actual NextSTEP Application Bundle specification).

“These days, the problem isn't how to innovate; it's how to get society to adopt the good ideas that already exist.” - Douglas Engelbart

> Anyway you are missing one of the core problems of linux distros- they are not split between "base" or "core" OS and extra packages

I didn't miss it, I mention right in there that having a defined base system is a requirement. Something I didn't mention is that I will not call the end product a "Linux Distribution", because it is not intended to play nice with existing Linux Desktop paradigms. It'll be like Android, a completely different OS underpinned by the linux kernel.

Re:What Really Happened with Vista: An Insider's Retrospective by liveoneggs on Sunday January 14, 2018 @10:30AM (#16144621)
I agree completely. Linux as it exists today seems to be dialing up the complexity to 11. I am expecting (hoping, almost) that the whole thing implodes sooner rather than later so we can start getting simple things again.
Re:What Really Happened with Vista: An Insider's Retrospective by saahtb on Saturday January 13, 2018 @01:28PM (#16140564)
> I generally agree with Linus's opinion regarding breaking comparability.

Linus, the guy who doesn't give a shit about breaking the ABI of drivers.

Re:What Really Happened with Vista: An Insider's Retrospective by vetinari on Saturday January 13, 2018 @08:50PM (#16142403)
The driver ABI is not a part of the compatibility promise, it is an internal API.

However, the folks who break internal APIs also fix the users of these APIs -- if they are available to them. If they are not, tough luck, if you want to keep the driver to yourself, you get to keep all the broken pieces too.

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @02:07PM (#16140770)
Yeah, I also don't care for that, but I can't argue that that policy hasn't achieved its goals. The Linux kernel has more and better driver support than any other open source OS and also most closed source ones.
Re:What Really Happened with Vista: An Insider's Retrospective by swiley on Saturday January 13, 2018 @09:47AM (#16139784)
If you want to change something then run an OS that's built with the expectation that you change things (Alpine, Gentoo etc.)
Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @10:03AM (#16139832)
They aren't any better because they still use all the same software and follow all the same broken paradigms.
Re:What Really Happened with Vista: An Insider's Retrospective by swiley on Saturday January 13, 2018 @11:28PM (#16142806)
No they don't? Alpine uses the BusyBox deamons (initd, evdev etc.) And Gentoo uses openrc. Both of these are much easier to tweak than systemd. Same for the network manager replacements and so on.

Different distros (that aren't just modified Debian or redhat) can differ by quite a lot.

Re:What Really Happened with Vista: An Insider's Retrospective by majewsky on Sunday January 14, 2018 @09:30AM (#16144367)
> Both of these are much easier to tweak than systemd.

Disagree. The documentation for systemd is very detailed, and while it is in fact different from sysvinit (which I believe is 90% of the criticism), it is remarkably consistent with itself (compared to a feature-equivalent set of 100 separate tools).

The big achievement of systemd is that it steamrolls over a ton of idiosyncrasies that distributions built over the decades. These days, I can just SSH into a random distribution (Arch, Debian, Ubuntu, Redhat, Suse) and everything works as I expect (querying the status of services, finding logs, issuing administrative commands, etc.).

Re:What Really Happened with Vista: An Insider's Retrospective by oblio on Saturday January 13, 2018 @09:01AM (#16139626)
The OS itself is not that DYI, even though I don't like being constrained in hardware terms. Let's say that I get over that. Then the DYI part begins, at least for me.

I like AAA games, almost none of the games I play are available on Linux (primarily Blizzard games). A lot of desktop apps I like or need are not on Linux, etc.

In any case, let's just say I used to have a Linux site and forum back in 2007 or so, I'be been through the Linux evangelism cycle a few times.

For many people, such as myself, Linux desktop is acceptable but not the best option. And for a reasonable price I'd rather have the best option for me, personally.

Re:What Really Happened with Vista: An Insider's Retrospective by mcny on Saturday January 13, 2018 @09:26AM (#16139718)
> I like AAA games, almost none of the games I play are available on Linux (primarily Blizzard games). A lot of desktop apps I like or need are not on Linux, etc.

I don't have any first hand knowledge about the AAA gaming industry but from what I understand, the studios offload a lot of the work to the GPU manufacturer (nVidia most likely) who then "fixes" the bugs in what they call a graphics driver.

I think this is the main problem. The so called graphics drivers do too much work and games don't pull their own weight.

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @09:35AM (#16139745)
That's certainly a problem, but that's not why games aren't being ported to Linux, in my opinion, it's that A) the user base isn't large enough to bother in many cases (these same companies often release terrible Windows ports for more or less the same reason) and B) It's a pain in the ass for a multitude of reasons not the least of which is that the Linux community thinks it has a great development environment but it doesn't (at least for Destktop stuff).
Re:What Really Happened with Vista: An Insider's Retrospective by skgoa on Monday January 15, 2018 @08:16AM (#16150261)
> the Linux community thinks it has a great development environment but it doesn't

This is an incredibly important point. The community is full of true believers and college students (and many are both) who just can't fathom that almost all of their dev tools and workflows suck compared to professional grade tooling available outside the FOSS echochamber. I have nothing against FOSS in principle, but in practical use I have become convinced that there is no reason to develop on Linux, unless you develop specifically FOR Linux. And even then it's such a PITA to do anything complex that it's often just not worth it to target Linux if you don't absolutely have to. Microsoft and Apple have realized how important it is to make it easy for developers to create good software.

Re:What Really Happened with Vista: An Insider's Retrospective by pbhjpbhj on Saturday January 13, 2018 @02:10PM (#16140781)
>that's not why games aren't being ported to Linux //

What's weird to me is that a lot of games will run on Linux, eg via WINE (PlayOnLinux) say but the companies then appear to be hostile to users doing that. I used to play a load of the Tom Clancy games on WINE [single player], but then Origin messed with something, maybe their cheat system, making it no longer work on Linux. So now I don't buy games from Origin any more and stick with Steam.

It's not just "not ported to", game companies seem actively hostile to [paying!] Linux users, I don't know if MS pay them to be like that or what their motivation is?

Re:What Really Happened with Vista: An Insider's Retrospective by AnIdiotOnTheNet on Saturday January 13, 2018 @04:09PM (#16141420)
I think you're reading too much in to it. They just don't want to have to support WINE users and have their brand associated with their problems.
Re:What Really Happened with Vista: An Insider's Retrospective by pbhjpbhj on Saturday January 13, 2018 @07:14PM (#16142150)
>They just don't want to have to support WINE users //

Couldn't they just respond to support requests with "we don't support non-MS users" rather than actively preventing the use.