Better HN
topnewbestaskshowjobs
Log inSign up

AsyncAwait

7,526 karma · joined Apr 12, 2015 (11y ago) · 2,298 submissions

Submissions

comment 6y ago · link · parent

> he already has a Windows computer that has an NVIDIA GPU, then tires Linux on it and nothing works

He doesn't try installing macOS on his Windows PC, so perhaps we need to educate people to buy Linux hardware if they want to try Linux.

Also "nothing works" is hardly true. The proprietary driver works for your most common use case for such an user i.e. desktop, running X11 and mostly gaming, watching Netflix etc.

You run into problems on laptops with switchable graphics or if you are into the latest and greatest and want Wayland, but in that case one should seek Linux-specific hardware.

Regarding Wayland, I have various machines running amdgpu or Intel's i915 no problem, so tailoring your choice of hardware to what's well supported would help here.

comment 6y ago · link · parent

But that's precisely my point.

You don't really have a choice of just any random hardware anywhere, not on Linux, not on macOS, not even Windows.

The only difference is that most BestBuy laptops come preinstalled with Windows, so of course they're going to support Windows. The support is often not excellent either, but in Windows world that's somehow just dismissed as expected or something.

Also, try picking a TALOS II POWER9 workstation and installing Windows on it. Would not go well.

My point being, people should buy Linux-supported hardware, preferably from a reputable Linux-friendly vendor, which would spare them a lot of trouble.

They're already doing this with macOS and they're doing it with Windows too, just not realizing it because that's what comes with the majority of PCs.

comment 6y ago · link · parent

Care to elaborate?

comment 6y ago · link · parent

Playing devil's advocate, the anarchy is a major reason for me choosing Linux. Yes, the choice and "disorganization" of the whole thing can be overwhelming and inconvenient, but once you set up things just the way you want, it hits a sweet spot from me that no other OS can, (I've tried them all).

Granted, I mostly work on server-side and CLI software, but both Qt and GTK were reasonably pleasant for the odd job I needed them to do here and there.

I am on Arch, but I've found that targeting the latest Ubuntu LTS gives you a popular enough denominator of libraries that it isn't too hard to make it work on other distros, (the Arch community will usually even do a good job for you via the AUR).

comment 6y ago · link · parent

> Just find proper harware to run GNU/Linux.

I suspect this is indeed the root of the problem; people tend to just pick any hardware first and then try to run Linux on it, whereas in reality they should pick hardware to run Linux on.

They seem to get this when it comes to Mac, but not Linux for some reason.

comment 6y ago · link · parent

Pascal works [1], later cards indeed do not work well, but this is due to NVIDIA's hostility and not something the community can easily fix. Not a Linux problem, but an NVIDIA problem.

1 - https://www.phoronix.com/scan.php?page=article&item=nouveau-...

comment 6y ago · link · parent

> Because the proprietary Linux driver doesn't support Wayland.

Sure, so don't get NVIDIA hardware for Linux. People don't seem to compile long lists about how the Mac doesn't really have an NVIDIA option, it's considered that your hardware is restricted in that way on the Mac and so you're going into it knowing that. Well, Linux is the same way, just exclude NVIDIA from your list unless you're on a desktop, fine running X and fine with their proprietary driver.

This is not something we can reasonably fix without NVIDIA's direct involvement, so I see no point of including it. It's like complaining the Raspberry Pi can't run your favorite x86 programs.

comment 6y ago · link · parent

Why even mention a fairly ancient GPU when AMD has really only gotten their act together fairly recently with amdgpu, but that supports Vulkan as I would expect.

I don't get this constant obsession with mentioning how 8 years ago this and this on Linux sucked. Yes, it did, things improved considerably since then.

If you're only willing to run Linux on ancient, underpowered hardware and then complain about the experience, be my guest, but I think you'd be better served by a Mac.

There's a whole class of people who run Linux on shitty little laptops and then compare the experience to their brand new iMac. I guess somewhere there's still the mentality that since one's not paying for Linux, it's not for my serious hardware, only second hand.

As much as I'd have liked for AMD to get their shit together sooner, I am glad they eventually did and are improving amdgpu at a decent speed.

comment 6y ago · link · parent

The drivers are decent enough nonetheless. I think having an open driver done by a different team and maybe a bit less optimized is still preferable to not having an official open driver at all.

comment 6y ago · link · parent

> Every Nvidia and Intel competitor (AMD) is probably already reverse engineering their binary drivers and binary libraries trying to steal their IP, so Intel and Nvidia’s fears are imo justified. If NVIDIA or Intel could easily protect their open source code from being stolen from AMD, the story would be different.

Intel's GPU drivers are free software, they even contribute them themselves, same goes for AMD.

I think NVIDIA's different because they have the Apple mentality of them being the real innovators, (regardless of fact) and building their internal culture on secrecy, closeness even to other teams within the company etc. I think they consider it as part of their 'coolness factor', together with the CEO being on stage dressed like a rock star from the 80s.

The fact that they benefit from Linux massively and that having an open driver would win them massive goodwill is not directly measurable in terms of their balance sheet, at least in the short term, plus it would remove some of the secrecy.

comment 6y ago · link · parent

I personally appreciate the people I work with remotely now more than when I was in the office as I don't need to engage in needless chit chat and so every meeting is much more productive.

comment 6y ago · link · parent

They do. They're just going to scream about liberal media censorship even more as a result.

comment 6y ago · link · parent

Are you telling me MS could not be bothered to even ask Linus? And if there's a fee to pay it? They're a multi-billion dollar corp telling us they love Linux now.

Alternatively, calling it something like Nix subsystem for Windows or maybe just LSW would also do the trick, this seems like a lame excuse.

comment 6y ago · link · parent

> Windows Subsystem for Linux, etc. — has been to build goodwill with “developers!

WSL has been built for webdevs not to flock to *NIX from Windows, nothing else.

Even naming it "Windows Subsystem for Linux" is an insult, since it sounds as if it was something for Linux, when in reality it's a "Linux Subsystem for Windows" and doesn't benefit Linux itself in any way.

comment 6y ago · link · parent

You conveniently omit that mastodon.social operates from Germany and thus simply cannot legally federate with many of the Japanese instances.

comment 6y ago · link · parent

DokuWiki works miles better for me than Confluence ever did.

comment 6y ago · link · parent

> it seems to me like we are descending into madness now

All of the speculative execution mitigations can be turned off with a single flag, I much prefer to have the option to turn them on/off, rather than either not having them at all or not having the ability to disable them.

So from my point of view, we're exactly where one would hope we would be in the face of these hardware flaws.

comment 6y ago · link · parent

That's awesome. I've ordered the PinePhone and I know that's already mainline, so I trust them more than most other vendors to keep their word.

comment 6y ago · link · parent

Is it running the mainline/current stable kernel or is it something with out of tree patches that's behind?

comment 6y ago · link · parent

I'd be a bit more patient with COVID, also they pleaded recently in one of their newsletters to ask on the forum, rather than overwhelming them with emails.

Also, HK has some restrictions on shipping until June 7. You'll get it. They're a small company, give them a chance.

comment 6y ago · link · parent

For example [1] & [2], with more being worked on. Now, Rust is king when it comes to memory safety, especially compile-time, and is miles ahead of anyone else, (not counting research languages), but Jai isn't really being designed to have much emphasis on memory safety, so am not sure it's fair to propose it as a Rust alternative if you're looking at memory safety.

1 - https://andrewkelley.me/post/unsafe-zig-safer-than-unsafe-ru...

2 - https://ziglang.org/#Performance-and-Safety-Choose-Two

comment 6y ago · link · parent

Jai doesn't do very much in terms of memory safety, Zig [1] might be a better alternative + it actually exists.

1 - https://github.com/ziglang/zig

comment 6y ago · link · parent

> Arguing that the advantage of systemd is portability is rather bold!

It's merely a statement of fact, systemd services accept the same set of commands across distros, which is rather unlike SysV.

> It's poor quality, non-consistent and non-deterministic if you write them that way.

That's a bullshit statement, because everything fits it. Of course everything is great if you make it great. And?

The point is that systemd's declarative nature makes it hard to screw up services and even badly written ones will get enough common functionality for free that they'd be usable.

> Systemd has been pushed down everybody's throat for a while now, saying retroactively that people use it because they find it valuable is a bit of a stretch.

Systemd got adopted because people generally found it valuable enough to adopt over what they had before.

> Maybe it's nicer for the people writing the unit files, doesn't mean that it's a good thing for people actually having to use them

Matter of opinion, but I happen to think that having a uniform set of commands working at work and at home is nicer for users too, over the patchwork of scripts that SysV was across the various distros.

comment 6y ago · link · parent

I am saying GNOME is primarily a Linux desktop environment, developed practically exclusively by Linux users and thus it makes sense for it to make use of Linux specific features, just as it makes sense for FreeBSD technologies to take full advantage of FreeBSD-exclusive features.

Just because GNOME wasn't using systemd in the 90s when systemd didn't even exist does not mean it should not use it ever, even if it makes sense for GNOME devs to do so now.

comment 6y ago · link · parent

logind has a stable API, it is possible to build alternative implementations not coupled to systemd, yet so far I don't see much on that front.

See also https://lwn.net/Articles/586141

comment 6y ago · link · parent

> There are also other init systems that are better designed, like openrc or runit.

OpenRC is practically speaking a thin wrapper around SysVinit, not much of an upgrade if you ask me.

comment 6y ago · link · parent

For the same reason every piece of software 'dictates' its dependencies.

comment 6y ago · link · parent

> Where did they standardize the names and set of the services you can depend on?

You're ignoring what the parent said and talking past.

It's not the 'sets' that are standardized, it's the set of commands that are applicable to a systemd service and to any systemd Linux distro that is.

comment 6y ago · link · parent

> systemd still gets in my way regularly while the sh-based init systems tend to Just Work

For me systemd based systems allow me to have declarative, portable unit files where init scripts don't. They allow me to reliably monitor and restart services, they shut things down properly instead of just force killing as many init scripts end up doing.

I instantly know how to manage most major distros now that systemd's common among all of them, have no hesitation of writing a proper service file even for minor tasks and I get a ton of functionality 'for free' too.

Init scripts were always a poor-quality mess, non-portable among systems, non-consistent, non-deterministic. If your experience differs there's still plenty of non-systemd choices out there. They're not as prevalent as systemd ones, but that's because the people who sit down and actually write the code we all use find the services systemd provides valuable.

comment 6y ago · link · parent

> There's nothing stopping you from tearing something down from an init script

Except most init scripts I've seen are rather brittle and only "work" if the PID dance is exactly as the author predicted, are not declarative and hard to debug.

I don't want to go back to init scripts, for all systemd's faults, the past was worse.

Using the CLI as my RPC mechanism etc. just sounds like I should spend a bunch of time doing work that systemd can do a better job of managing for me.

1
171819
77