Earlier quoted context omitted.
Why is macOS garbage now? I am considering buying a Mac, can I reliably use Linux on it without hitting hardware related issues all the time?
You should just buy the mac and find out, then return it if not. They have a good 14-day return window that I use occasionally for a similar purpose. I think Asahi has come a pretty long way but idk quite how far. Why do you feel macOS is garbage?
I stopped buying new laptops (2020)
541–550 of 551 posts
Re: I stopped buying new laptops (2020)
#542I got tired of laptops being: non-upgradable, poorly designed, overheating, having cheap components, cheap materials, so I'm switching to a backpackable mini-ITX build. For a journalist, even a first gen iPad should do the trick, but for quick compilation and development in general with all those heavy apps and daemons even a relatively fresh laptop CPU just doesn't keep up. The only two downsides are: no battery, sp…
There are also dedicated backpack PCs that are designed to run in the backpack, usually for virtual reality. I think those are super expensive though... (search "VR backpack") Also they probably take up the whole backpack instead of being "backpackable". And they might be built like laptops (proprietary form factor, mobile/ultrabook CPU, etc.) depending on the model.
Re: I stopped buying new laptops (2020)
#543Earlier quoted context omitted.
Compute power has never been an issue for me, but I generally try to max out the RAM as much as my budget allows. This is why I still have a 2010 Macbook that is more than fine. Started with 4GB and was barely usable for heavier even when it came out, but dropping 16GB into and it has been smooth sailing for over a decade now. That said my daily runner is now T420 from (2011-ish) that came with 6GB of RAM that is in…
I have a T420s that really struggles with video e.g. Youtube. Watching any h.245 via VLC or mplayer is impossible. Also the battery is in a bad state and I haven't been able to find a good replacement that isn't equally poor or worse right from the start. It actually has two batteries, one being in what used to be the cd tray. Still, usage time is 3 hours tops. It had been my daily driver for years, running Linux, bu…
I do find it odd that it is struggling with video content, it doesn't seem to really push this thing to the limit even at 1080p but it does drive the CPU's a fair bit. It is fun looking at the video state of video decoding on Intel chips during that time period.
2nd gen are still fairly CPU heavy. 3rd gen the load is cut in half. 4th Gen it almost looks like your system is idle running that stuff. I have a Dell Optiplex Mini that runs a 2Ghz 4th Gen i5 and you can barely tell the CPU is doing anything do the media acceleration. Cool to see in action.
Re: I stopped buying new laptops (2020)
#544Earlier quoted context omitted.
Keyboard brightness - you can put the control into control center and then it’s two clicks to get to a slider for it. Not awesome, but for the relatively rare times I want to change it manually, it’s been acceptable.
Yeah I do have that, but I usually find it too slow/annoying to have to use the mouse to turn it on and off. It was so much quicker and easier when there was an F-key to instantly do it. Maybe one day I’ll get around to making an app to map it to an F-key again, which has been on my todo list for a long time…
https://support.apple.com/en-au/guide/mac-help/mchlp2265/mac
Re: I stopped buying new laptops (2020)
#545Earlier quoted context omitted.
I was listening to a Python podcast a few months ago where they were hating on macOS/Macs and it really resonated with me. They were saying it was becoming a common sentiment to move away from Macs, and this is after their throttling issues seen in Intel macs. Anyway they’re just opinions. I can list the reasons macOS makes my life harder, or doesn’t do things it used to do, for example display scaling on 1440p displ…
What do you mean by display scaling on 1440p displays? I'm using a 2560x1600 display atm but it's just running at native resolution. I'm not here to vehemently defend macOS, and ultimately it is just my opinion and personal experience, but I see a lot of "macOS isn't what it used to be" or complaints about some specific gripe. They do happen rarely, but I've used other OSes and don't see how they'd be more compelling…
I find it harder than ever to just do stuff. SIP makes things harder, and I get that it improves security, but software engineers don’t care for stuff like that that just gets in our way. Gatekeeper used to be just a mild inconvenience.
If I want to downgrade a Mac that’s on a beta version of macOS, I have to have another Mac, connect that Mac to it, and run software to “restore” it. I can’t just plug in a flash drive with the macOS version I want.
Night Light doesn’t work on DisplayLink displays. No real reason for that.
It’s 2023 and I still can’t adjust the brightness or volume of external displays (sometimes it works with something like Lunar). This is shit that Windows and Linux have been doing for 15+ years.
Not a lot of people know this but DisplayPort Daisy Chaining doesn’t work on macOS. Not supported. Never will be.
Screen recording doesn’t include audio. I’m sure there’s a way around it but come on.
Re: I stopped buying new laptops (2020)
#546Earlier quoted context omitted.
You should just buy the mac and find out, then return it if not. They have a good 14-day return window that I use occasionally for a similar purpose. I think Asahi has come a pretty long way but idk quite how far. Why do you feel macOS is garbage?
GP said macOS is garbage, not me. I can't believe it is garbage for the average consumer. It's Apple after all.
Re: I stopped buying new laptops (2020)
#547Earlier quoted context omitted.
One other problem is that boot-from-usb is usually not enabled by default so you have to fiddle with bios boot order every time. No, leave the normal boot order as-is. To boot from the USB, just hit the 'boot-menu' key on boot-up. The 'boot-menu' key varies according to brand of computer. In a Lenovo, it's F12, in an ASUS, IIRC, it's ESC. Just select the correct boot-device and away you go. It's the same method as wh…
"The 'boot-menu' key varies according to brand of computer." Right I have a hard time remembering the bios keys, let alone the boot menu ones too, but yes this is better on foreign machines, and if you can't or don't want to permanently set the boot order.
For what it's worth, I often put a tiny sticker on the bottom of the monitor that just gives the two keys for getting into the BIOS menu and the Boot menu. It doesn't need to remain there for long till it soaks in. Then again, some brands of machines will display a prompt at boot time with those keys, if the BIOS setting is enabled (Lenovo, etc).
Re: I stopped buying new laptops (2020)
#548Earlier quoted context omitted.
> If the OS didn't keep the pages around in swap after they were swapped back into RAM Well, why it shouldn't? Don't forget, while the RAM can be prepared (zeroed) fast, the on-disk swap can't be prepared that fast (compared to RAM ofc), and you already under some memory and disk constraints (that's how you got to be using the swap in the first place) so adding another workload for cleaning up the swap is... not a go…
> Well, why it shouldn't? Yeah, maybe it should. I don't know how exactly that's typically implemented, hence the question mark. > Don't forget, while the RAM can be prepared (zeroed) fast, the on-disk swap can't be prepared that fast (compared to RAM ofc), and you already under some memory and disk constraints (that's how you got to be using the swap in the first place) so adding another workload for cleaning up the…
No TRIM - no info about free blocks what could be safely and fully reused - more overall wear for SSD.
> I doubt any of that would typically involve the OS specifically zeroing anything apart from just marking the corresponding parts of the swap space as free
I'm not sure about the swap but memory nowadays is definitely zeroed before being allocated[0], not only it's more safe on security side of this, it's way more stable. Imagine a buffer overrun bug which wouldn't manifest itself if the PC was freshly booted (ie all memory is zeroes) but after a couple of hours it writes 0x10 blocks but reads 0x100 and executes them? With all the garbage what was left there by previous processes...
Obviously[1], zeroing the swap is expensive and questionable practice, if you are swapping from the RAM then you overwrite the corresponding parts anyway...
Guess I was over(under?)-thinking the process.
> Anyway, since it doesn't seem like either of us knows for an actual fact how it works in any particular OS, I doubt speculation will lead to anything better.
Of course, but I do remember how the things worked back in the day (when the memory were constantly at the constraint because 16MBs isn't enough) and you definitely see the process with A and B swapping in and out, without any C, because you just used A and B, occasionally switching between them.
[0] https://stackoverflow.com/questions/18385556/does-windows-cl...
[1] well, now, after a fresh look and at the desktop
Re: I stopped buying new laptops (2020)
#549I got tired of laptops being: non-upgradable, poorly designed, overheating, having cheap components, cheap materials, so I'm switching to a backpackable mini-ITX build. For a journalist, even a first gen iPad should do the trick, but for quick compilation and development in general with all those heavy apps and daemons even a relatively fresh laptop CPU just doesn't keep up. The only two downsides are: no battery, sp…
> the only two downsides are: no battery, space And not being able to use it on the couch, on the toilet, outdoors in your backyard, on a plane, on a train and so on.
Re: I stopped buying new laptops (2020)
#550Earlier quoted context omitted.
> Well, why it shouldn't? Yeah, maybe it should. I don't know how exactly that's typically implemented, hence the question mark. > Don't forget, while the RAM can be prepared (zeroed) fast, the on-disk swap can't be prepared that fast (compared to RAM ofc), and you already under some memory and disk constraints (that's how you got to be using the swap in the first place) so adding another workload for cleaning up the…
> Though I'm not sure if that's what you meant. No TRIM - no info about free blocks what could be safely and fully reused - more overall wear for SSD. > I doubt any of that would typically involve the OS specifically zeroing anything apart from just marking the corresponding parts of the swap space as free I'm not sure about the swap but memory nowadays is definitely zeroed before being allocated[0], not only it's mo…
It's definitely possible to enable TRIM on an encrypted device, at least on LUKS. It requires specific support from the LUKS layer, though, and that requires software versions from the last decade or so and still isn't enabled by default:
https://askubuntu.com/questions/115823/trim-on-an-encrypted-...
https://askubuntu.com/questions/59519/do-you-recommend-luks-...
https://wiki.archlinux.org/title/Dm-crypt/Specialties#Discar...
I originally hadn't remembered about the security implications or that it's not enabled by default, I just remembered it was possible, so "LUKS, therefore no TRIM" didn't seem to make sense. But yeah, it's not enabled by default.
> I'm not sure about the swap but memory nowadays is definitely zeroed before being allocated
Yeah, good point about switching between processes. Not sure it applies to swap, though, and I doubt that's zeroed, exactly because of what you said.
> Of course, but I do remember how the things worked back in the day (when the memory were constantly at the constraint because 16MBs isn't enough) and you definitely see the process with A and B swapping in and out, without any C, because you just used A and B, occasionally switching between them.
Yes, absolutely, that can happen. But if it's just between A and B without any third C, the entire need to move stuff between RAM and swap is initiated by the need to get A's pages into RAM in the first place (because A is trying to access them). Not by needing more space in swap for B's pages.
Having to write B's pages into swap is caused by memory pressure and the need to fit A's pages into constrained RAM rather than A's pages being "evicted" from swap being caused by a need to get B's pages into swap. You're already needing to get A out of the swap and into the RAM -- that's the initiating reason for the whole deal.
Once the OS switches between the processes again and some of B's pages need to be accessed in RAM, the OS may then need to write A's pages into swap again in order to make room for B's pages in RAM. But again it's due to memory pressure.
I don't see how swap size affects the amount of writes required in that scenario.
Unless, of course, the OS actually also keeps A's originally swapped copy of a page still around in swap after reading it back into RAM. In that case having a large enough swap to fully contain all the dirty pages of both A and B might reduce the amount of swap writes. If A, in the original scenario, only reads data from the accessed pages between the switches and doesn't modify them in the meantime, and the OS has kept its a copy of A's pages around in swap even after swapping the pages back into RAM, then of course when B runs again and its pages need to be read from swap back into RAM, the OS might be able to skip physically writing A's unmodified pages into swap again because their copies are already/still there.
If, that scenario, the swap is not large enough to contain both A and B's dirty pages, the OS had to drop the copies of A's pages from the swap to make room for B's, thus causing the need to physically write A's pages into swap again when switching back.
That's exactly what I was speculating about. Maybe that's what you meant by swap evictions?
I don't know if that's how OSes do it, though. It's possible but it would require some additional tracking of pages and their statuses.
If the OS does do that, then the size of the swap may potentially affect the amount of writes required to swap over time. Although it's only beneficial for pages that aren't modified in RAM between the swaps in and out.
If there is no such mechanism of keeping copies of pages around in swap even after reading them back into RAM, then I don't see how the size of the swap affects the amount of reads and writes.