by the__alchemist · 1y ago · 0 comments
- The ABI diaspora
- Sudo nominally being for special/power use cases, but being required for many things
- Doesn't feel like it's aimed at single-user PCs, and has associated UX problems
- Non-standard hardware has limited support.
Summarized: I feel like Linux has some deep philosophical design differences from what I look for in a computer. I'm not trying to administer anything; I just want to write and launch software.I'm also more willing to solve problems in Linux. Because I primarily write web software, I've also found "Linux debugging" skills more useful to learn than "Windows debugging skills" - the Linux skills tend to translate almost directly to my career. And it usually feels worthwhile to contribute good bug reports/fixes upstream; in stark contrast to Windows OS issues (and some of the more popular Windows software).
Many things are special/power use cases. Freedom is power, and with power comes responsibility.
> Doesn't feel like it's aimed at single-user PCs
It isn't. But what you think of as problems, I consider opportunities. Switching between multiple user accounts is useful for identity management.
> I'm not trying to administer anything; I just want to write and launch software.
If you test and package and distribute your software, you necessarily administrate the environments in which the tests and builds occur.
Just the fact that installing user software still requires sudo in most distributions is very irritating to me.
Hence the rise of `curl <something> | bash` I think
The permissions are required because you will put the files in places that can be seen by all users of the system.
It's not different from UAC on Windows getting in the way of installing "for all users".
Why does software installed by a user puts stuff where it will be seen by all users?
> It's not different from UAC on Windows getting in the way of installing "for all users".
When I'm not installing "for all users" UAC isn't there, right?
Edit
For the purposes of installing software Linux is a single-user OS masquerading as multi-user.
Because the software package has its install paths predetermined. But other distribution methods absolutely are available. Flatpak works much more like what you're accustomed to; you can supply --user at the command line. Of course, this also means you get the bloat you're accustomed to; it still tries to share dependencies, but it's much harder in that world.
Also, because it is a good thing to think twice before installing any software.
> When I'm not installing "for all users" UAC isn't there, right?
Yes, and you can correspondingly put an Appimage in ~/.local/bin (or anywhere, if you don't care about having it on your PATH) without sudo, or run flatpak install --user without sudo.
> For the purposes of installing software Linux is a single-user OS masquerading as multi-user.
I am the only actual person who uses my system, but I made 7 user accounts (so far) and use at least 2 of them regularly. To say nothing of all the non-privileged users the system creates automatically, specifically so that certain background processes can run without violating privacy or corrupting anything important if they go haywire.
If you absolutely refuse to handle your own system's security ("Enter a password to do something on my own computer? No thank you!"), you really should leave the management of your computer to Microsoft, and ask their permission personally to view your own files. They'll faceid you, consider the merits of your request, and decide how much access you should have to your own life.
In that way you can avoid sudo, or the concept of a multiuser computer entirely.
As for the last one, it is simply untrue. Linux supports as much as or more hardware than Windows. Windows will more likely support the latest greatest stuff because people don't release hardware specs. But once Linux catches up, it keeps that hardware compatibility longer, and can always be reverted back to by using an old kernel even a decade or two after a piece of hardware is dropped.
I would argue that more time was spent on thinking "how we do hotplug CPU on our machine" than on "how that user will work with USB drives".
It's possible that you are just experiencing friction moving to Linux because you are used to MS.
Easily writing and launching software is something Linux excels at.
I don't want to go into the details, but I regularly experience UX problems in Ubuntu. Even things like reading/writing a USB port requires sudo, or editing system config files, which is wild to me. And adding a trailing newline to the config file in question will prevent your GUI from booting. Adding an item to the PATH is a combo of unintuitive, or filled with incorrect instructions (Including Go's home page CAO yesterday...).
Or, software I write can't be launched without using having the user go to the CLI, or creating a GUI-specific config file and placing it in a certain location. This leads to the line I hear regularly "You should publish your software on the distro-specific app store", or "You should only install software from the app store". Which immediately leads me to think I have a use-case mismatch.
None of this sounds like anything I've experienced, or heard described, in 3 years of using the Ubuntu-derived Mint.
> Or, software I write can't be launched without using having the user go to the CLI, or creating a GUI-specific config file and placing it in a certain location.
How exactly are you distributing it? If the problem is e.g. that your users download an AppImage and it isn't executable, they can most likely change the permissions from the GUI. I don't know what you mean about GUI-specific config files. I had thought that https://specifications.freedesktop.org/desktop-entry-spec/la... was pretty widely recognized.
Distros don't generally have "app stores" but rather package repositories, modulo branding. Publishing there isn't about making your launcher work; it's about letting the system handle dependencies and letting the distro maintainers patch (and build trust in) your code.
> None of this sounds like anything I've experienced, or heard described, in 3 years of using the Ubuntu-derived Mint.
To be more specific on those anecdotes I mentioned due to having hit them recently:
- Create an embedded device that talks to a PC over USB-serial. (Here you are not constrained to the whims of a GPOS! RTOSs are a dream in comparison, or forego entirely and use bare metal)
- Write PC software that talks to it (gets data from sensors etc)
- Try to run the program without Sudo on Linux. The USB won't work unless. I've heard the justification for this is that the USB might be a storage device, and storage devices should be restricted by the OS etc.
The PATH (and other environment-vars) in Linux are shell-specific. You regularly read instructions (I saw this in Go's official instructions yesterday) indicating to use the EXPORT command. This only works until you reboot; you have to hand-edit a sudo-protected file (bashrc, .profile etc), and there's a learning curve to it. I don't remember the details, but I've screwed it up multiple times.I use NixOS and I don't have UX problems because my UX is fully customized to work exactly how I want.
Plus, for every but of friction you may experience in Linix, the cons of Microsoft are much greater. They have no concern for your privacy, and exploit their workers and the environment.
Last time I used Microsoft (~8 years ago) I couldn't get that malware OS to stop forcefully suggesting and using their cloud services automatically.
There are many things that MS does that are just unacceptable.
I don't think that would be enough: adding those people to a team won't matter if the overall vision isn't there.
It needs, and I'm about to choke on my words here, a Steve Jobs at the helm saying "No, it needs to be like this".
Yes, I know that won't achieve perfection but there needs to be a coherent vision of what the OS is trying to be, or who it is aiming for.
Linux, right now is pure techie-driven. There isn't any vision at all! Every distro is subtly different and reflects the wants of the team that work on it.
It needs a company to take a distro and pick a direction, e.g. Linux for normies would have to remove almost all traces of command line, hard disk partitions, configs, package managers etc. All that shit would have to be hidden away, still in the background and available if wanted, but to use the OS it should not be a requirement.
Anyway, Linux is what it is :)
Now do the same in Windows. Messing with system files, without knowing what you are doing, is a recipe to disaster.
I think I didn't communicate something clearly: My concern isn't that misediting a system file causes disaster. It's that you need to edit system files to do routine things.
On Windows, the solution is simple: USB/serial works without editing system files or requiring launching the program via CLI with sudo. You double-click the program in GUI, and it works.