HNHacker News
TopNewBestAskShowJobs

canofbars

905 karma · joined December 24, 2018

submissionscomments
canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
>Wayland has existed since more than 10 years and it has still not been able to release a usable system.

Fedora has has it on by default for about 4 years now and its perfectly usable. I use it every day.

The problem is much more serious than you are explaining. While using X, on my main monitor, UI and text becomes so small I can not even read it or click the icons. I'm not talking about the window size, but the UI and text size. With wayland the app can switch from 200% scale to 100% scale as it crosses the window border. On X you must pick either 100% or 200% and stick with it on all monitors.

canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
Its extremely slow and does not support CUDA. I think the problem is nvidia blocks them somehow from changing the clock speed on the gpu so it gets stuck running in its slowest speed.
canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
Wayland already provides a less buggy and more polished experience than X did for me. So I'd say job well done.
canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
>Hats off to the Wayland devs. We're cheering you from the sidelines.

Its pretty horrible how much toxic crap gets directed at the people who actually do all of the work. Just look at the amount of abuse has been flung at the SystemD developers from people who largely do not even know what it does.

canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
You could try it in chrome which has wayland support. Wayland support was added to chrome and electron recently but it looks like most electron apps are on old versions.
canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
The only downside is anything running in xwayland (Essentially just apps on old versions of electron and wine) will pick the scale of one of your monitors and not switch when dragged across the border.
canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
For me I have a 60fps 4k monitor and a 1080p monitor. I want a higher refresh rate monitor for gaming but I do not want to drop down to 1440p on my main monitor so I am waiting for 4k high refresh rate monitors to become affordable. Wayland makes it possible to wait that out and doesn't break anything I do.
canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
>if this is really the future of desktop Linux, why doesn't it gain more momentum?

Nvidia is the major blocker here and there is very little wayland devs can do to fix this. Fedora has actively discouraged using the proprietary nvidia driver for a while now and they ship wayland by default since the open source driver works fine. I saw that ubuntu is also shipping wayland by default soon for amd and intel users.

canofbars··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
The problem has been crippling the Linux desktop for many years now and it still remains unsolved in X which must indicate that either it is not realistically possible or it is so much work that no one is willing to do it and likely never will.

The transition to Wayland is largely finished now. Electron added support last year and eventually the last of the electron apps will update and everything will be done other than nvidia proprietary driver support.

There are so many minor improvements from wayland that are less noticeable like the lack of screen tearing, the possibility of sandboxing apps.

canofbars··on Apple silicon M1 as-a-Service
Its almost always cheaper to just buy a mac mini than to rent one out 24/7 though. I think Apple also made a tos change banning renting them by the hour as well.
canofbars··on GitHub Should Start an App Store
Its different based on what service you use but pretty much all of them just involve dropping a line of curl in to your crontab file to run every minute.
canofbars··on Drawbacks of P2P and a defense of Signal
Its a valid comment. I tried to run synapse on a reasonable VM and it was unusably slow. Essentially you either use the main server or you are a large org that can pay for a powerful machine to run it. The average person can not run a matrix server.
canofbars··on Wayland Keylogger
Installed it in the second quarter of 2020 but I just checked my isos folder and it looks like I have ubuntu server 19.10. Good to see python 2 finally kicked out.
canofbars··on CDC website built by Deloitte at a cost of $44M is abandoned due to bugs
Because governments outsource everything possible and end up with no persistent talent that really understands whats going on so you end up spending all the money on interfacing with contractors.
canofbars··on CDC website built by Deloitte at a cost of $44M is abandoned due to bugs
Plain old HTML stops being responsive as soon as you try to do anything more than text. A plain HTML table would be horrible on mobile. If you want to reflow anything that isn't text you will need flexbox. There is literally no reason to not use CSS to make a site that works well on mobile and desktop.
canofbars··on A few HiDPI tricks for Linux
Yes, either that or put up with the many problems of X
canofbars··on Wayland Keylogger
Every day I become more and more of the opinion that Fedora/RHEL are the only distros that are actually worth using. I recently installed ubuntu server to see what it was like compared to fedora server and was shocked to see that the python package still links to python 2 (!) despite it already being officially discontinued.

Fedora Silverblue/CoreOS look like a massive step in the right direction which no other mainstream distros are working on.

Fedora also seems to be the only distro willing to set sane defaults for everything (SELinux, Wayland, CGroupsV2, soon to be pipewire, python 3) while every other distro waits around for someone else to make the first move.

canofbars··on Wayland Keylogger
No one who understands wayland was under the delusion that wayland would protect against an application which has full access to your user directory. Wayland becomes secure when combined with an application sandbox using SELinux/flatpak. Previously you could sandbox the app and X would provide an escape.
canofbars··on Wayland Keylogger
>To limit what malicious software that runs as one's user can do, one must limit what the user can do

This is completely untrue. You can gain root access on Android and have full access to do anything while still keeping applications sandboxed. Limiting user freedoms is simply an extra thing that came with new mobile OSs.

canofbars··on Wayland Keylogger
You don't have to, package maintainers and developers do. Flatpak gives them the tools to do this. Flatpak solves a lot of other problems like making program installs a user level task without touching the OS. Which is needed because in the future the OS will be an immutable image.
canofbars··on Wayland Keylogger
There are like 10 weak points in the linux security model. Wayland plugs one of them but there are still a bunch of ways around it. Yes any program you install from the package manager can still see everything but wayland combined with flatpak and SELinux gets really close to a secure system similar to MacOS.
canofbars··on A few HiDPI tricks for Linux
If you actually use a modern config like the defaults on Fedora it all just works. 100% of these problems come from people trying to use the proprietary nvidia drivers which is filled with issues.
canofbars··on A few HiDPI tricks for Linux
>I was able to get per-monitor scaling to work

X11 is not capable of doing this properly. Wayland is and as you probably know, nvidia refuses to support it which is out of the control of linux developers. You can get everything working if you use the open source nvidia drivers but then they run slow as shit because nvidia blocks them from setting the clock speed on the gpu.

Basically every problem falls back on nvidia and the linux desktop people have done everything in their power to make it work.

canofbars··on A few HiDPI tricks for Linux
>It would be nice if distributions would do a better job of handling this for you

They did, its called wayland. If you want to use a legacy tool you shouldn't expect it to work as nice as the current generation software.

canofbars··on A few HiDPI tricks for Linux
>but everything has worked almost flawlessly.

Its because everyone having issues is using X and likely 2 monitors with different dpis. On wayland its pretty much flawless unless you use 2 monitors at different scales and load an X application.

canofbars··on A few HiDPI tricks for Linux
All I know is the gnome settings has a scaling section and everything respects that scale.
canofbars··on A few HiDPI tricks for Linux
Electron is the biggest offender these days. I saw that they added support a few months ago but it seems the apps haven't turned it on yet
canofbars··on Can you make a basic web app without Googling? I can’t
Our office lost internet connection for a day. We just connected to our phones and continued on.
canofbars··on Can you make a basic web app without Googling? I can’t
I have been a react developer for 3 years and I don't even know how you set up a react project from scratch since it was already done when I started the job. I assume its pretty easy with lots of info available online though.
canofbars··on Can you make a basic web app without Googling? I can’t
I usually only remember there is a thing that does what I want but not its name or exact usage.
Page 1 of 12Next →