by nvella · 5y ago · 0 comments
I often dock between standard-DPI displays and portable mode (with the high-DPI/'retina' display.) I first noticed that Windows doesn't correctly handle DPI switching with window borders, Explorer, and notifications back in 2019 (the old 2x scaling level remains when switching from portable to docked), and filed a feedback with the built-in app on Windows. I worked around this by killing dwm.exe and explorer.exe every time I docked my Surface. This issue was still present earlier this year, and deciding I had enough of dealing with all these little Windows 'quirks', wherever they arose, I switched back to my old Mac.
It turns out that SIP and Gatekeeper aren't nearly as much of a problem as I was led to believe, neither of these features have hampered me once. The Big Sur interface changes, whilst I thought I'd never get used to them, have actually grown on me. Since switching back, I've discovered a lot of quality native apps that simply have no analog on Windows–OmniFocus stands out here. And as always, Homebrew still exists and works just as well as it always has for most of my *nix related tasks.
Hearing about the M1 performance improvements, I can see myself staying on Mac for quite some time yet–I'll upgrade to an M1 MacBook Air once this 2015 MBP (six years old!) kicks the bucket.
Edit: For some context, I'm mainly a .NET developer. .NET Core/5 is a game-changer for cross-platform and development is first class on really any system nowadays. I've settled on JetBrains Rider for my IDE and find myself generally happier than I was with VS on Windows.
[0]: https://arstechnica.com/gadgets/2009/08/mac-os-x-10-6/21/#re...
Well, that's the whole thing. HiDPI in and of itself works well. I use it with a 24" UHD monitor and I absolutely love the setup.
But the main issue with Linux, at least with X11, is that it doesn't handle multiple displays with different DPI settings.
As you noted, QT seems to work fine, as do some other toolkits that have dynamic scaling according to the monitor size. Alacritty does this too, for example (don't know what toolkit they use, though).
But GTK in particular is terrible. Yes, you can configure it to use scaling, in which case it works well, IF you don't need fractional scaling (though recent versions of Gnome seem to support it somehow).
But now, if you're going to use, say, a HiDPI laptop with a "regular", larger external monitor, you're gonna have a bad time. If you enable scaling, the widgets will be huge on the LoDPI display. If you disable it, widgets will be teeny tiny on the HiDPI one.
If you use 2x scaling (or other integer scaling), everything is fine. If you need fractional scaling, things break down pretty quickly, at least on GNOME.
Once you use fractional scaling (e.g. 1.5), GTK applications will scale correctly, but are slightly slower and consume more mattery. However, all XWayland applications are unusably blurry.
Unfortunately, fractional scaling is really needed on 14" 1080p laptops or 4k e.g. 27" screens. With 1x scaling everything is tiny and with 2x scaling gigantic.
The only workaround that worked ok for me was using 1x scaling and using font scaling in GNOME. Many controls and icons are tiny that way, but at least text is readable and not blurry. Of course, this only works up to some extend and when both screens need the same amount of scaling (since font scaling cannot be configured per screen).
In fact you can speed it up slightly by making sure the display resolution is exactly “half” the actual resolution so to prevent MacOS from scaling 8x internally first.
For example, if you want a notification icon to always be shown, you have to open a menu, open another menu, scroll to find the one you want, open an option list, and finally hit "show icon and notifications". Why can't you just right click an icon and hit "show icon and notifications"? Because Windows doesn't give a shit about you.
For your specific notification icon issue, I thought you can just drag the icon from the pop up tray to the main system tray to keep it always visible?
What was absolutely insane was not replicating the functionality into the new control panel setup leading to power users feeling dumb because they can’t find network settings under network settings.
Or, you know, just drag and drop it into the always shown area.
I had a similar feeling when given a new windows laptop in 2020 to work with that was supposedly better spec'ed than my late 2013 macbook 15". The problem has been windows and the lack of finding flow in it's OS. I've been trying to document workflows & apps here for the past year to see if alternatives are emerging: https://docs.google.com/spreadsheets/d/148zTJUwfVv9xfDcpSoH3... . For me it's not so much the development environment but whether I can quickly deal with administrivia tasks (organizing files, copying things from one form to another, etc.). I'm surprised windows 11 still lacks miller columns: https://en.wikipedia.org/wiki/Miller_columns
My concern about the apple platform going forward isn't so much about the technical, but the material - my 2013-era macbook died recently and found the fact that I could remove the ssd and plug it into a similarly old mac to still be a savior , despite having multiple backups. It's driven me to consider installing linux on an intel windows tablet over buying an M1 macbook - I'm getting leary of both the lack of repairability and really wanting a tablet on stand + detached keyboard/trackpad for sake of ergonomics.
That’s the thing with some people and Apple; I generally moan whenever Apple changes their UI substantially (the change to the “flat” iOS comes to mind first), but soon I come to wonder how I ever liked anything else. :)
The biggest change for me was the switch to zsh which ended up in me changing my default shell everywhere else.
This feels like a bit of a false dichotomy, WSL isn't the only alternative.
We are so very far from limited to windows vs mac for desktop today, it's easier than ever to use Linux or even a BSD as a daily driver on a PC laptop. Even the article in 2005 noted hackers switching to intel boxes (not mac intel boxes) for FreeBSD and Linux at the time.
Linux is the standard OS at my work. We use it on servers, so it makes sense to use it on the desktop too for maximum dev familiarity and compatibility, since it now works well there... it's even started to be used by some of the non-devs to reduce windows/mac update fatigue and general performance issues even though they only need office apps... I'm at a small company but I know of other large companies with big IT depts applying the "locked down OS image" approach to Linux for desktop too.
I find the concept of "windows" as the only safe OS image IT depts are willing to use, as fairly antiquated. Much like IE used to be the only browser you were allowed to use in many big old corps and gov agencies for "security" reasons.
Although this is an aside, the original context of the article was only "hackers" machines, and whatever your interpretation of that is, it probably doesn't involve fortune 500s.
I am always surprised by these things. I mean, even trying to use something widely-used (nowadays) as Zoom, basically gives me two options (on a HiDPI screen):
- Use X11, but when I share a window and use drawing tools, whatever I draw is displaced by a seemingly constant offset. It's caused by scaling for HiDPI, because if I disable scaling, things work.
- Use Wayland, but I can only share the whole screen. Drawing works, but the overlay is incredibly flaky and often incorrectly registers clicks.
Besides that on both Wayland and X11, doing video call makes the fans blow at full speed and quickly drains the battery when a laptop is not hooked up (probably no hardware acceleration of video encoding/decoding). Oh, and I probably want to use a wired headphone, because using a BlueTooth headsets regularly dropout.
Zoom is just a single example, but there are just so many paper cuts if you want to work outside a solo developer context.
(Windows has a lot of issues as well, but at least basic workflows generally work.)
For a 2009 MBP it was a nice experience trying out FreeBSD and various linux distros before settling on Debian. The only stumbling block on that machine was the macEFI, which there were eventually plenty of solutions for - I hear the later machines are a bit of a nightmare to run anything other than MacOS though.
They can also both be turned off! Gatekeeper in 30 seconds and SIP in less than five minutes. I legitimately understand why people get worked up about optional features.
There are too many things in macOS which can't be fixed. You can't even change the color of your mouse pointer if you want to.
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/ResourcesI love Linux, and I love the PIs, but it can’t see any reason to stick with the Ubuntu desktop. When a pro level M1 or M2 iMac is released, I will be moving back.
Then don't. Linux has hundreds of alternative desktops that you can install and try out in minutes. KDE, i3, Awesome, bspwm, Openbox and many many more are all at your fingertips.
It’s all frankly half baked and clunky, and the time investment in configuration is insane.
Yes, you can find individual features that are better than MacOS spread across them, but you can’t get good design, aesthetics and features in any single one of them.
You can certainly get by with it, but why would I want to just ‘get by’?
Apple stuff is consistently good. It's not perfect but there's not really anything that kicks you in the balls every day to the point it makes you want to burn all your technology and live in the woods. About 5 minutes with any recently Gnome release on a Linux laptop makes me want to do that.
Linux is always 50% done. That last 30% to get it to Apple's 80% done is boring so they just rewrite everything again or fork some new clothes for the emperor.
The worst experience is windows. There's several layers and each one gets to about 33% done and is replaced with a new one. All the old layers sit there like rings in a tree, occasionally having to be gouged out to fix an obscure issue.
Eventually I used my Linux desktop mostly and later my Linux laptop went away in favor of a Chromebook, which supported their beta Linux environment. It wasn't perfect, but sleep/suspend worked and I could do most "Linux" things I needed to do. I also started using a Macbook Pro at work again after being off of OS X for 5 or 6 years and it was just a reminder to me that a Unix-like desktop that didn't need as much fiddling around existed(of course some of you may point out that the fiddling is more restricted on OS X, which is a fair point as well), but the thermal issues of the later Intel Macbooks kept me from buying one for personal use.
So fast forward to last year. I was moving and some other stuff was in flux and my already long in the tooth desktop needed to be put away for a while and while my Chromebook was useful, I didn't like relying on it as a primary machine. Since I didn't play too many demanding games anymore I thought this would be a good chance to kill two birds with one stone and get a laptop that capable playing the meager game library I had, which meant mostly better integrated graphics rather than discrete, and since it was before Intel Xe came out, a Ryzen 4000 series CPU seemed like the obvious choice with a GPU that was roughly GTX 1050ti class, just enough for me. Sadly it appears that AMD pushed forward with some new kind of "hybrid sleep" or what ever they're calling it and wast supported by Linux very well at all(I'm not sure of the exact state at the time of writing this, there was some talk of support landing in 5.13, but I'm not sure of that happened or if it got pushed out to 5.14). So I did the Windows thing full time for the first time in a very long time with WSL, which I actually grew to like somewhat, but I still wasn't happy with the laptop.
By the end of the end of 2020, Macbooks with the M1 were in the wild and the results seemed very good. And since I was still using a Macbook Pro for work during this time, I still had mostly positive feelings about macOS. It had its peculiarities, but I liked it better than Windows, and required less effort to keep running than Linux, I just didn't like the jet engine that my Macbook turned into when ever I tried to do anything remotely demanding. In fact I've always hated fans, and fan noise was a one of motivating factors in dumping my desktop. My "grail" machine has been a fast laptop with no fans or other moving parts. SSDs have been a thing for a while, but we've not had a rally solid performing fanless machine until the M1 Macbook Air(in the 21st century, I'm not counting the fast for their time fanless machines of the 80s and early 90's). So I felt almost obligated get that machine and that's what I did and haven't regretted it for a second(though ask me again in 4 or 5 years if/when Apple starts dropping support for these first gen ARM devices). It can silently keep up with any work I would do compared to my work 16" Macbook Pro which runs much hotter and louder and so far the M1 Air has been able to do what I've needed it to do.
I have had major issues with trying to replace the battery. Beware of third-party replacements, which idle at 12V. The original battery idles at 2.2V and "wakes up". A voltage spike when waking from battery killed my logic board, and 3 professionals have failed to repair it so far. I've spent over NZ$1900 on 5 replacement batteries to try to get something that works, since September 2020. I just want a laptop that I can use on the bus, with a removable SSD so I won't lose my data when it breaks, and iTunes so I can sync my iPod and iPhone.
4TB Sabrent Rocket M.2 SSDs with adaptors don't come cheap. Getting that much storage soldered onto the logic board is even more expensive.