I know this is a little out of date, but I think it needs to be made more clear:
uinput is for low-level emulation of input devices.
/dev/uniput is where you control the device from, when you create a device, a new input device appears in /dev/ that *outputs* the events, and udev will setup permissions on this device.
A raw input device can be grabbed by an application so that it has exclusive access to the events.
It has nothing to do with wayland, wayland still needs read from the input device, and then translate it in to wayland input events, a wayland compositor might grab the devices so they can't even be read by root users.
Wayland only provides safe access to compositor input events, old less safe methods of access will still exist until we can fully drop legacy support.
I think the main difference that most people haven't mentioned is that most "linux" OS's use the same core software projects.
The primary philosophy is that it's a lot easier to cooperate and reuse other peoples software, than to rebuild it yourself.
So the core "GNU/Linux" stack is basically a bunch of software that's shared between the majority of OS's and these projects have big amounts of funding either via direct contribution of various companies developers (i.e. Google needs x feature, so they make it submit it back to the Linux project). Or they're funded indirectly via sponsorship of said projects.
AMD, Intel, Google, Facebook can't just add features to Windows or fix bugs, so they chose linux because they can make changes to Linux or the other GNU tools (like GCC) that suite their needs.
For example it's a lot easier for AMD to take a linux kernel, and a compiler like GCC or LLVM and update it for their new CPU architecture than deal with Microsoft Windows, or write their own test code from scratch.
It's very much a "building off the shoulders of giants" thing.
It's a lot easier to "poach" talent and companies when there's room to innovate on top of existing open source products, instead of reinventing the wheel.
Maybe have a look a xsetwacom and move the tablet to the other monitor?
$ stylus=$(xsetwacom list | grep stylus | awk -F'\t' '{ print $1 }')
$ xsetwacom set $stylus MapToOutput 1120x792+1920+120
I use this to restrict it to a sub region of the display, this positions a box, of 1120x792, with the upper right corner at x=1920, y=120, which matches the offset of my right-hand display output by $ xrandr --current | grep ' connected':
Just restart (or shutdown and then start computer) and before anything shows on screen keep hitting F2, or F8, or Del repetitively until you get a menu, F2 and Del should just boot straight in to BIOS setup, F8 should select boot menu directly. These shortcuts work on basically any hardware these days so they should work even if you can't see anything on screen.
You're wrong, it has a smaller user base, in the consumer PC market.
Linux is powering Android phones, and 40% of the internet, while Windows only 28%. Considering Linux can run on a router with 128MB of RAM, and Windows 10 needs a bare minimum of 4GB just to boot quickly, I bet the Windows Server market is doing less with the number of computers they have compared to a lean Linux server.
Mine was a combinations of things, frustrations with Windows 10 bloat (eats 4GB of memory for no reason), lack of features, concerns with their direction to a "ad based model", which is being the cancer of modern privacy violations, and after one update my clock was corrupted, I could have done a fresh install, but migrated back to Linux after a 8~ year hiatus.
Hard drives have hit a wall $$/TB and SSDs are getting good but are not yet a proper replacement, windows pro has terrible support for things like RAID and SSD caches, I'm not forking out huge amounts of money to buy Windows Enterprise, just like I'm not buying Xeon to get ECC RAM, I don't like this idea that industry thinks consumers don't care about data corruption (who here would be mad if their family photos got lost due to a drive failure?).
After realizing my desktops 2TB drive is almost 10 years old, and recently getting a new Desktop Computer, and my Laptop SSD failed, I bought 2, 4TB HDDs, and a 500GB NVMe SSD, installed NixOS on a bcachefs formatted drives.
There's still a lot of frustrations with Linux, Multi-monitor support in Gnome is broken if you game, There's no decent solution for anti-cheat in Linux, so good luck playing competitive online games even in a Windows VM, Gnome has a lack of QA with some things (screenshot buttons don't work with drop downs or full screen windows, or have weird quirks like having to release alt first to get the correct type of screenshot).
I think the only correct answer is black-magic and "don't touch this it might break things", and backwards compatibility, I've found 16bit execs in my Windows 64bit 7 installation, despite Windows 7 having no support for old 16bit execs.
it seems to be that the default used is -19 (3MB/s), which is more like xz in compression speed and ratios, you could try -5 which should amount you about 120MB/s compression speed, with the compression ratio of gzip.
--fast is for decompression speed (1.6GB/s to 2GB/s), it seems to be that -19 the default is far too high, it's almost the same as xz at that point (at least there's better decompression speed), use -8 for same compression speed as gzip, but in reality disk storage is cheap, and CPU is expensive, once you add encryption and a decent SSD, your bottleneck is the CPU, I'm running lz4 on my bcachefs file system on a HDD, and will probably vary rarely touch zstd because it'll fight with other CPU resources, for example, video games are CPU intensive and a huge amount of assets need to be loaded in a sort time, so even lz4 is too slow for modern PCIe 4 SSDs.
Last time I used signal it had no features, I guess that limits attack surfaces, etc, but a lot of users don't care about E2E, so it's easier to convince friends to move to the app when it has features that other non-E2E apps support.
ghc provides base, which is like the standard library, and a few other required libraries, so ghc would need to be split off from the "core" libraries, it seems like it might be easier to statically link everything with the dependency hell that comes with Haskell.
Building pandoc on Windows, I wonder how big the binary is with everything statically linked.
Edit: Pandoc is only 55MB with everything statically linked.
NKRO breaks USB standard I think, its probably not tested so not promised to work, honestly my computer won't even turn on with NKRO enabled on my keyboard when plugged in to specific ports, 6KRO is perfectly adequate for most uses cases.
OK was just thinking, what about Normal X11 tunnelling with a app written in xcb? I know it's not feasible to rewrite every app to use xcb but theory wise wouldn't that be even faster?
I know this is a little out of date, but I think it needs to be made more clear:
uinput is for low-level emulation of input devices.
/dev/uniput is where you control the device from, when you create a device, a new input device appears in /dev/ that *outputs* the events, and udev will setup permissions on this device.
A raw input device can be grabbed by an application so that it has exclusive access to the events.
It has nothing to do with wayland, wayland still needs read from the input device, and then translate it in to wayland input events, a wayland compositor might grab the devices so they can't even be read by root users.
Wayland only provides safe access to compositor input events, old less safe methods of access will still exist until we can fully drop legacy support.
I think the main difference that most people haven't mentioned is that most "linux" OS's use the same core software projects.
The primary philosophy is that it's a lot easier to cooperate and reuse other peoples software, than to rebuild it yourself.
So the core "GNU/Linux" stack is basically a bunch of software that's shared between the majority of OS's and these projects have big amounts of funding either via direct contribution of various companies developers (i.e. Google needs x feature, so they make it submit it back to the Linux project). Or they're funded indirectly via sponsorship of said projects.
AMD, Intel, Google, Facebook can't just add features to Windows or fix bugs, so they chose linux because they can make changes to Linux or the other GNU tools (like GCC) that suite their needs.
For example it's a lot easier for AMD to take a linux kernel, and a compiler like GCC or LLVM and update it for their new CPU architecture than deal with Microsoft Windows, or write their own test code from scratch.
It's very much a "building off the shoulders of giants" thing.
It's a lot easier to "poach" talent and companies when there's room to innovate on top of existing open source products, instead of reinventing the wheel.
Maybe have a look a
xsetwacomand move the tablet to the other monitor?I use this to restrict it to a sub region of the display, this positions a box, of 1120x792, with the upper right corner at x=1920, y=120, which matches the offset of my right-hand display output by
$ xrandr --current | grep ' connected':I know Gnome has support for moving the tablet to a specific monitor, in settings, but unsure about Cinnamon.
Just restart (or shutdown and then start computer) and before anything shows on screen keep hitting F2, or F8, or Del repetitively until you get a menu, F2 and Del should just boot straight in to BIOS setup, F8 should select boot menu directly. These shortcuts work on basically any hardware these days so they should work even if you can't see anything on screen.
All OEM computers in the last 10 years have keys in their UEFI that Windows automatically detects and activates during install.
My motherboard didn't come with a Windows License.
You're wrong, it has a smaller user base, in the consumer PC market.
Linux is powering Android phones, and 40% of the internet, while Windows only 28%. Considering Linux can run on a router with 128MB of RAM, and Windows 10 needs a bare minimum of 4GB just to boot quickly, I bet the Windows Server market is doing less with the number of computers they have compared to a lean Linux server.
Mine was a combinations of things, frustrations with Windows 10 bloat (eats 4GB of memory for no reason), lack of features, concerns with their direction to a "ad based model", which is being the cancer of modern privacy violations, and after one update my clock was corrupted, I could have done a fresh install, but migrated back to Linux after a 8~ year hiatus.
Hard drives have hit a wall $$/TB and SSDs are getting good but are not yet a proper replacement, windows pro has terrible support for things like RAID and SSD caches, I'm not forking out huge amounts of money to buy Windows Enterprise, just like I'm not buying Xeon to get ECC RAM, I don't like this idea that industry thinks consumers don't care about data corruption (who here would be mad if their family photos got lost due to a drive failure?).
After realizing my desktops 2TB drive is almost 10 years old, and recently getting a new Desktop Computer, and my Laptop SSD failed, I bought 2, 4TB HDDs, and a 500GB NVMe SSD, installed NixOS on a bcachefs formatted drives.
There's still a lot of frustrations with Linux, Multi-monitor support in Gnome is broken if you game, There's no decent solution for anti-cheat in Linux, so good luck playing competitive online games even in a Windows VM, Gnome has a lack of QA with some things (screenshot buttons don't work with drop downs or full screen windows, or have weird quirks like having to release alt first to get the correct type of screenshot).
I think the sacrifice has been worth it.
I think the only correct answer is black-magic and "don't touch this it might break things", and backwards compatibility, I've found 16bit execs in my Windows 64bit 7 installation, despite Windows 7 having no support for old 16bit execs.
it seems to be that the default used is -19 (3MB/s), which is more like xz in compression speed and ratios, you could try -5 which should amount you about 120MB/s compression speed, with the compression ratio of gzip.
zstd is only 1GB/s decompression, so I assume even on a SATA SSD you're going to see CPU contention with other resources (like encryption).
If you want to maximize performance of an NVMe you're best to turn off encryption and any sort of compression.
The other option is lz4 which is about 4GB/s.
--fastis for decompression speed (1.6GB/s to 2GB/s), it seems to be that -19 the default is far too high, it's almost the same as xz at that point (at least there's better decompression speed), use-8for same compression speed as gzip, but in reality disk storage is cheap, and CPU is expensive, once you add encryption and a decent SSD, your bottleneck is the CPU, I'm running lz4 on my bcachefs file system on a HDD, and will probably vary rarely touch zstd because it'll fight with other CPU resources, for example, video games are CPU intensive and a huge amount of assets need to be loaded in a sort time, so even lz4 is too slow for modern PCIe 4 SSDs.Last time I used signal it had no features, I guess that limits attack surfaces, etc, but a lot of users don't care about E2E, so it's easier to convince friends to move to the app when it has features that other non-E2E apps support.
You need to change your locale settings to UTF-8: https://wiki.archlinux.org/index.php/locale
make sure to run
locale-gen.And set putty to use unicode.
ghc provides
base, which is like the standard library, and a few other required libraries, so ghc would need to be split off from the "core" libraries, it seems like it might be easier to statically link everything with the dependency hell that comes with Haskell.Building pandoc on Windows, I wonder how big the binary is with everything statically linked.
Edit: Pandoc is only 55MB with everything statically linked.
What's stupid is Haskell is a compiled language, you don't need the compiler to run the app once it has been built.
NKRO breaks USB standard I think, its probably not tested so not promised to work, honestly my computer won't even turn on with NKRO enabled on my keyboard when plugged in to specific ports, 6KRO is perfectly adequate for most uses cases.
Reminds me of r/math mocking r/TIL for learning the Euler Identity.
it's very fiddly and time consuming, since there's a lot of variables to tweak
you may love or hate this patch http://aur.archlinux.org/packages.php?ID=38888
sorry I'm pretty sure AMD dropped support for that card a couple of years ago, the built in drivers in Ubuntu should work though
I agree with failadmin,
but if you want to do it anyway
I thought the rule of thumb was don't grep a cat
bzgrepwill grep plain text files as wellEDIT: ANNNND I just realized I only solve the specific example, and not the general case oh well someone might find it useful
Phoronix has done some benchmarks
OK was just thinking, what about Normal X11 tunnelling with a app written in xcb? I know it's not feasible to rewrite every app to use xcb but theory wise wouldn't that be even faster?