News for hackers. Stuff that matters.
Re:My next Mac might be the last by mmmpetrichor on Monday October 24, 2022 @11:06PM (#33325695)
WSL not deeply integrated? When was the last time you used it? I can't imagine a use case where you need your core OS to be posix based, and WSL with whatever linux VM isn't good enough as a dev environment. VScode in windows with WSL is the perfect dev combo.
Re:My next Mac might be the last by howinteresting on Monday October 24, 2022 @11:11PM (#33325726)
I don't need to have my OS be posix-based, but I do need it to have a decent auto-tiling setup and a checksummed filesystem with fast snapshots and rollbacks.
Re:My next Mac might be the last by mmmpetrichor on Monday October 24, 2022 @11:25PM (#33325812)
by checksummed filesystem, do you mean a filesystem that maintains integrity? don't all modern file systems do that? I have little to no idea about how mac and windows compare with snapshots. I have never needed that in my OS. Do you use that for test environment replication or something?
Re:My next Mac might be the last by howinteresting on Monday October 24, 2022 @11:27PM (#33325826)
I mean btrfs or zfs. Just like auto-tiling, once you have it you'll have no idea how you lived without it.
Re:My next Mac might be the last by mmmpetrichor on Tuesday October 25, 2022 @12:25AM (#33326227)
suppose I recreated my desktop with zfs rather than ext4. What wonders could I expect? :)
Re:My next Mac might be the last by howinteresting on Tuesday October 25, 2022 @01:43AM (#33326681)
The main ones I use are:

* make automatic snapshots that you can recover data from as necessary, and have them be created every time the system updates (I've needed to use this once)

* have those automatic snapshots be auto synced to my NAS, creating a backup (also used this once when my hardware failed)

Re:My next Mac might be the last by abiloe on Monday October 24, 2022 @11:48PM (#33325968)
> don't all modern file systems do that?

Define this.

But the simple, practical answer is no.

Re:My next Mac might be the last by mmmpetrichor on Monday October 24, 2022 @11:58PM (#33326032)
Practical answer? when was the last time you heard about someone having file corruption on their local OS due to using a bad filesystem technology? I've been an enterprise developer for storage companies for more than 15 years, I'm very familiar with different file systems, and I've never cared what filesystem was on my local PC because it's basically irrelevant with modern tech. I feel like I'm being trolled on technical points that have nothing to do with the topic I was trying to discuss. I guess I should have learned my lesson that even on HN, don't feed the trolls.
Re:My next Mac might be the last by abiloe on Tuesday October 25, 2022 @02:15AM (#33326879)
> when was the last time you heard about someone having file corruption on their local OS due to using a bad filesystem technology?

Quite frequently. It's not that uncommon at all. Bad disk cables, defective disks, etc it's not all that rare. The filesystem is in a place to either detect and/or correct these problems. Only some do.

> I've never cared what filesystem was on my local PC because it's basically irrelevant with modern tech.

I'm glad you've been lucky but silent file corruption is not an "irrelevant" problem as data densities increase.

Filesystems with data checksums include btrfs, ZFS, ReFS, NILFS. But very commonly used filesystems, xfs, ext4, NTFS, APFS, exFAT do not have these affordances.

> it's basically irrelevant with modern tech.

Unnecessary e-peening aside - Why do you think this is the case? What specifically about modern tech makes it irrelevant?

Re:My next Mac might be the last by zimpenfish on Tuesday October 25, 2022 @02:03AM (#33326815)
> WSL not deeply integrated?

Been a few months since I last checked but there didn't seem to be a way to get to your WSL (VM? Instance?) from outside the windows environment (ie via ssh) without setting up a bunch of firewall rules using Powershell to query the IP and create the rules from there. (Except that doesn't always work correctly because PS seems to get a different IP because it's starting up a new WSL? I dunno, I gave up a while back.)

Re:My next Mac might be the last by chx on Tuesday October 25, 2022 @02:52AM (#33327091)
Fixed IP is a solved problem by now. See https://superuser.com/a/1715206/41259
Re:My next Mac might be the last by AshamedCaptain on Tuesday October 25, 2022 @06:26AM (#33328601)
> I can't imagine a use case where you need your core OS to be posix based, and WSL with whatever linux VM isn't good enough as a dev environment

Maybe as "web dev environment" it is enough, but this is the main reason why I absolutely detest these "cmdline/scripting only inside a sandboxed VM" approach that the major commercial platforms seem to be trying to sell us these days.

It really is not enough for general purpose computing. I want true integration with the operating system, not sandboxed crap. I want to be able to do almost anything the host OS is capable of doing from my command line, including receiving and sending SMS, filtering incoming phone calls with a script, renaming files en-masse (from _other_ programs, not just files from inside the sandbox itself), recording and playing sounds, access hardware that I have plugged in like USB serial ports or whatever, access hardware that I have not plugged in like diagnosing bluetooth device pairing, be able to fully backup/restore the "host OS" to my medium of choice, partition and format external OR internal filesystems, etc.

I want to do this stuff quite frequently and WSL is just NOT cut for that. The same applies to ChromeOS/Android sandboxed linux approaches. They are a joke designed for the user who is mostly going to simply run ssh into a real machine from within such a sandbox or perhaps run some programs that were so portable they already had win32 versions to begin with. This was not the case for macOS which until very recently was still a very command line centric OS.