News for hackers. Stuff that matters.
Re:Steam survey shows Linux marketshare hitting 1.0% by vardump on Monday August 02, 2021 @06:01AM (#28034766)
Nowadays OS matters pretty little.

Personally, on some level, I don't even notice difference working macOS, Linux and Windows. Other than platform specific development work, it doesn't really matter in the big picture.

Other than that, only Linux allows me true visibility to its innards. Fast to fix almost any issues, should they happen. And I say this as someone who has for example no problem debugging Windows kernel remotely. Or reverse engineering using Ghidra etc.

Re:Steam survey shows Linux marketshare hitting 1.0% by pizza234 on Monday August 02, 2021 @06:40AM (#28034973)
OS matters a lot.

The fragmentation on Linux is astounding; I have experience with maintenance of Linux-based projects.

You'll be surprised at how fragmented distributions are, even within the same family (e.g. Ubuntu-based).

The nature of Linux is a double-edged sword, and in gaming, this is a very serious downside - at least, when it comes to Linux-native gaming; Proton/Wine is another story.

Re:Steam survey shows Linux marketshare hitting 1.0% by bpfrh on Monday August 02, 2021 @06:50AM (#28035037)
Would you say that the new flat and snap format alleviates some of these issues?
Re:Steam survey shows Linux marketshare hitting 1.0% by AnIdiotOnTheNet on Monday August 02, 2021 @08:06AM (#28035524)
Personally I'd say no, not really. They're hacky and a lot of overhead for what is actually a very straightforward and natural thing on other OSs. AppImage is a bit better, but it still has to pull some namespacing tricks to work.
Re:Steam survey shows Linux marketshare hitting 1.0% by the_why_of_y on Monday August 02, 2021 @12:12PM (#28038568)
I don't understand how you say AppImage is better when it doesn't even provide runtimes and SDKs. The hardest problem is to know which APIs to use, and AppImage provides zero support for the developer there.
Re:Steam survey shows Linux marketshare hitting 1.0% by TomasBaneUK on Monday August 02, 2021 @12:27PM (#28038798)
My personal opinion below.

- SteamRuntime: A runtime environment for Steam applications. The next generation is/will use Flatpak related technologies like Bubblewrap. It's what you target.

- Flatpak: there's close to no overhead, you can try the Steam Flatpak and see for yourself. It's aimed at desktop applications and the sandbox gets better and better. There's a FUD website called flatkill that has already been torn to pieces so don't even bother linking that. You can't instantly make all closed source or old software work in a sandbox without compromises. Flatpak-override and Flatseal exists.

- Snap: nobody cares about Snap not even Canonical. Recently a former employer said he gave up after trying for years to solve issues with Snaps in the desktop. https://s1.desu-usergeneratedcontent.xyz/g/image/1600/72/160...

- AppImage: nobody cares about AppImages they had almost two decades to try and prove it can work. It doesn't. The main developer is now trying to integrate Flatpak runtimes with AppImages and that's all you need to know to ignore this project. One of the most popular video players tried to use it and it kept crashing or having issues, and they know what they are doing.

tl;dr only Flatpak matters, SteamRuntime uses Flatpak concepts and tools, "huge overhead" is FUD

Re:Steam survey shows Linux marketshare hitting 1.0% by AnIdiotOnTheNet on Monday August 02, 2021 @02:34PM (#28040802)
FlatPak requires a package manager and repos to work. AppImage doesn't. That's what I meant by overhead.
Re:Steam survey shows Linux marketshare hitting 1.0% by AnIdiotOnTheNet on Monday August 02, 2021 @02:32PM (#28040780)
AppImage is simpler. It requires no management infrastructure, no repos, and no package manager. You can keep multiple versions of the same application around, you can store and run them on different volumes and media, and installation and removal is identical to simple file management.
Re:Steam survey shows Linux marketshare hitting 1.0% by the_why_of_y on Monday August 02, 2021 @02:51PM (#28041043)
The documentation claims that flatpak allows for single-file bundles, so repository is not required:

https://docs.flatpak.org/en/latest/single-file-bundles.html

Also, you can install multiple versions of an application, but you can only run one version at a time:

Note that flatpak allows to have multiple branches of an application and runtimes installed and used at the same time. However, only one version of an application can be current, meaning its exported files (for instance desktop files and icons) are visible to the host. The last installed version is made current by default, but this can manually changed with flatpak make-current.

https://manpages.debian.org/testing/flatpak/flatpak-install.... https://manpages.debian.org/testing/flatpak/flatpak-make-cur...

Re:Steam survey shows Linux marketshare hitting 1.0% by AnIdiotOnTheNet on Monday August 02, 2021 @02:59PM (#28041151)
Ok, either those are relatively new features or they're just enver promoted anywhere.

Still, what I like about AppImage is that it is just a file that I download, put it wherever I want, and run. then delete it when I don't want it anymore.

Re:Steam survey shows Linux marketshare hitting 1.0% by AnIdiotOnTheNet on Monday August 02, 2021 @08:04AM (#28035511)
The fact that you're being downvoted for pointing out the objectively true statement about fragmentation in Linux Desktop says a lot about the community behind it. Which, incidentally, I think is another big reason people avoid using it.
Re:Steam survey shows Linux marketshare hitting 1.0% by quijoteuniv on Monday August 02, 2021 @06:04AM (#28034783)
I think it matters a lot, specially on machines that are not that new, with modest resources
Re:Steam survey shows Linux marketshare hitting 1.0% by phendrenad2 on Monday August 02, 2021 @09:07AM (#28035992)
Maybe in developing countries this matters more, but RAM and SSD upgrades for older hardware are surprisingly affordable these days.
Re:Steam survey shows Linux marketshare hitting 1.0% by threatripper on Monday August 02, 2021 @06:51AM (#28035044)
I would rephrase this: The share of users who could work well with any of the operating systems is increasing. The fundamental differences between the operating systems that impact user experience are decreasing.

I think 90-99% of users only use Browser+Office+Games which could work well in any of the big operating systems. Some software preferences are superficial and appropriate replacements exist on the other platforms.

As someone working with macOS, Linux and Windows I focus my workflow on the things that work under all of these operating systems so the impact they have on me is very little. People who are deeper into the UX of a single operation system may disagree completely.

Re:Steam survey shows Linux marketshare hitting 1.0% by AnIdiotOnTheNet on Monday August 02, 2021 @08:02AM (#28035495)
> I think 90-99% of users only use Browser+Office+Games which could work well in any of the big operating systems.

Linux Desktop evangelists have been saying this sort of thing for about a decade now, only they used to exclude "games" from that list because Linux was so terrible as a game platform. Their constant underestimating of "average computer user" is, in my opinion, one of the big reasons they've completely and utterly failed to make significant headway in the Desktop market.

Re:Steam survey shows Linux marketshare hitting 1.0% by threatripper on Monday August 02, 2021 @01:45PM (#28040048)
Just because it works well enough on other platforms doesn't mean that users will switch. Usually they won't. If they know MS Office and MS Windows from work they don't want to use LibreOffice in private. (And MS Office and MS Windows Server is far superior in the business context in many ways.)

I stopped caring what most people use. I prefer to use Linux and OpenSource software in general for myself but I don't push it onto others. It doesn't matter if the market share of Linux is 1%, 10% or 50% as long as it works for me - and it does.

Re:Steam survey shows Linux marketshare hitting 1.0% by GekkePrutser on Monday August 02, 2021 @05:40PM (#28043050)
Totally, it always bugs me when people complain that Linux is too technical and fragmented and that this way it'll never be mainstream. Who cares, really. I like having all this choice. In fact I'm using FreeBSD (though it could as well have been Linux) as daily driver because I don't get these kind of choices in mainstream software. I don't care if it never gets big, if it did I probably wouldn't want it anymore.

For example Ubuntu is getting very close to that point already. They stuff lots of stuff in it that I don't want (like snaps) and make them really hard to disable completely. Exactly the kind of thing I left Windows and Mac for (as daily drivers - I still use them for my work)

Re:Steam survey shows Linux marketshare hitting 1.0% by vardump on Monday August 02, 2021 @06:57AM (#28035083)
> I would rephrase this: The share of users who could work well with any of the operating systems is increasing. The fundamental differences between the operating systems that impact user experience are decreasing.

Thanks. This was indeed my main point.

Of course this doesn't mean there aren't a lot of niches that require a particular OS.

Re:Steam survey shows Linux marketshare hitting 1.0% by londons_explore on Monday August 02, 2021 @06:20AM (#28034866)
I find there is a lot of OS-specific knowledge for deep-diving.

Want to get symbols to debug the kernel? That'll be the microsoft symbol server on windows, or a System.map file in Linux...

Want to make something happen with every boot of the system? That'll be a system service on windows (and by the way they have all kinds of gotchas about what kinds of stuff they can access) or a systemd service on linux.

Want to make a file creatable, writable and deletable by a specific user, but disallow reading back the file contents? Thats easy with windows ACL's, but on linux you're going to have to mess with seccomp.

Need to script something quickly? Well thats either bash on linux or powershell/batch files on windows.

It turns out regularly using two OS's requires almost double the learning time to be as effective on both - there is overlap with concepts, but little overlap with implementations.

Re:Steam survey shows Linux marketshare hitting 1.0% by vardump on Monday August 02, 2021 @06:44AM (#28035005)
"Want to make something happen with every boot of the system? That'll be a system service on windows (and by the way they have all kinds of gotchas about what kinds of stuff they can access) or a systemd service on linux."

On Windows there's also numerous registry keys, Windows Task Scheduler, etc (ugh). On Linux, it depends. Could be also init.d or n+1 other options, including a single custom binary running as init process.

> Need to script something quickly? Well thats either bash on linux or powershell/batch files on windows.

Or bash on Windows (WSL, cygwin, etc.). PowerShell is also available for Linux. Both come with their footguns, especially when used on a "foreign" platform.

But you could just as well use some suitable scripting language, like Python, JS or whatever.

Sure, there's complexity if you really start (or need) to look for it. I do think it's exaggeration to say double, maybe 20%, at most 50%.

Re:Steam survey shows Linux marketshare hitting 1.0% by xxs on Monday August 02, 2021 @06:04AM (#28034787)
Windows has no epoll(), but of course that doesn't matter for games.
Re:Steam survey shows Linux marketshare hitting 1.0% by vardump on Monday August 02, 2021 @06:08AM (#28034811)
Windows does have I/O completion ports, which is, frankly, superior. Then again, Linux has io_uring.

Again, pointless in the big picture. Most of the time these details are hidden by libraries.

Re:Steam survey shows Linux marketshare hitting 1.0% by merb on Monday August 02, 2021 @06:54AM (#28035061)
Btw Windows built an api based on io_uring https://windows-internals.com/i-o-rings-when-one-i-o-operati...
Re:Steam survey shows Linux marketshare hitting 1.0% by vardump on Monday August 02, 2021 @07:02AM (#28035115)
Nice! Haven't heard about this before, must be something really new?

Anyways given extremely high syscall cost due to Meltdown workarounds, batching multiple operations makes more and more sense.

Re:Steam survey shows Linux marketshare hitting 1.0% by merb on Monday August 02, 2021 @09:21AM (#28036164)
well as far as I know I've read something about it either on lwn or hn and it's really really new. I'm not exactly sure if it is even possible to use.
Re:Steam survey shows Linux marketshare hitting 1.0% by maccard on Monday August 02, 2021 @06:47AM (#28035020)
> Again, pointless in the big picture. Most of the time these details are hidden by libraries.

Except for when they're not, or those libraries don't expose the "one little implementation detail", and a platform hack sneaks in, and _thats_ how we end up with "well it works fine on windows and we use asio so shrug". Unfortunately games are really bad for doing this in my experience (and I'm guilty of doing it on occasion too).

Re:Steam survey shows Linux marketshare hitting 1.0% by lucian1900 on Monday August 02, 2021 @06:07AM (#28034807)
Windows has completion ports (IOCP), which are much better.

At least finally Linux is also getting completion based IO with io_uring.

Re:Steam survey shows Linux marketshare hitting 1.0% by yxhuvud on Monday August 02, 2021 @07:45AM (#28035379)
Seems windows is getting ring buffers based io too, eventually: https://windows-internals.com/i-o-rings-when-one-i-o-operati...

Not identical to io_uring, but close enough that porting between them will probably be quite simple.

Re:Steam survey shows Linux marketshare hitting 1.0% by lucian1900 on Monday August 02, 2021 @10:52AM (#28037247)
Sure, the ring buffer part of also useful.

The competition triggered part is what was already there.

Re:Steam survey shows Linux marketshare hitting 1.0% by encryptluks2 on Monday August 02, 2021 @06:06AM (#28034801)
> Nowadays OS matters pretty little.

> Other than platform specific development work, it doesn't really matter in the big picture.

Yes it does. It just doesn't matter to you.

Re:Steam survey shows Linux marketshare hitting 1.0% by vardump on Monday August 02, 2021 @06:27AM (#28034900)
Right. I can just talk for myself. I do think in the big picture what really matters for the most is really just a good web browser.

Thinking about this, I just realized I tend to pick OS according to device type.

For laptops, macOS for the best touchpad, security and speedy open-lid-to-machine-actually-usable time. But I'd sure like "upgradeability" and "repairability" over thinness, something 2012 Macbooks still had. But for now, practicality wins.

For desktops and workstations often Windows, sometimes Linux. Windows got good desktop performance and nice commercial software library. Freedom to choose your hardware, CPU and GPU. And of course gaming.

For servers, it's pretty much always Linux or possibly some BSD. Minimal, easy to admin, fast, efficient and secure if configured correctly.

Re:Steam survey shows Linux marketshare hitting 1.0% by encryptluks2 on Tuesday August 03, 2021 @03:29AM (#28046567)
> I do think in the big picture what really matters for the most is really just a good web browser.

If you prefer web apps. A lot of people don't prefer web apps and for good reasons.

> macOS for the best touchpad, security and speedy open-lid-to-machine-actually-usable time

I can't speak about the touchpad, but Mac OS isn't immune to vulnerabilities and there have been multiple questionable privacy practices. Linux tends to cold boot faster, and can suspend and unsuspend just as quick if not quicker.

> Windows got good desktop performance and nice commercial software library

And Linux has even better desktop performance. Many people would see the open source software benefits of Linux as a pro, not to mention Windows package management still being significantly behind Linux. Many people are also very happy with gaming on Linux.

> For servers, it's pretty much always Linux or possibly some BSD. Minimal, easy to admin, fast, efficient and secure if configured correctly.

The same can be said about desktop too.

Re:Steam survey shows Linux marketshare hitting 1.0% by rvz on Monday August 02, 2021 @06:39AM (#28034966)
> Nowadays OS matters pretty little.

Unless you use iTunes to sync your music to your computer and iDevice or you're a music producer in need of using the best DAW software, or perhaps you're a creator that uses the Adobe suite to create the best media content you need, etc, then the OS does matter very much since millions of users still use this type of software.

The most important part of this is that the software must be officially supported; and not be at some 'experimental' stage, especially since these users do not play around with their computers and they focus on getting things done.

macOS and Windows users are the 'real' big picture and the 99% of users and that matters. Not the 1% of Linux users.

To Downvoters: So it makes business sense to ignore the 99% of users on Windows and Mac and target the 1% of your userbase running Linux and support as many distros as possible to cover the many users who could be running whatever distro they have installed?

Have you considered what the 'definition of Linux support is?' and the cost of testing for all of that is?