3 Jul 2025 |
emily | remember how \r\rIcon is a filename macOS will create | 00:15:54 |
emily | with actual carriage returns in it | 00:16:02 |
emily | sorry I mean Icon\r\r | 00:16:25 |
emily |  Download image.png | 00:16:55 |
emily | (it's for folder icons and I think the icon data is in a resource fork or something) | 00:17:23 |
Zhaofeng Li | well, sometimes it feels like that Apple filesystems are just too featureful 😅 | 00:21:54 |
Zhaofeng Li | (on the other hand, filesystems elsewhere are just a bit too boring) | 00:24:16 |
Randy Eckenrode | Linux still doesn’t have a stable equivalent in the kernel, does it? | 00:25:41 |
Randy Eckenrode | ZFS is out of tree. btrfs can still cause corruption. bcachefs is probably getting kicked back out. | 00:26:07 |
Randy Eckenrode | It is impressive that Apple managed to create a new filesystem and actually land it. | 00:26:53 |
Zhaofeng Li | Well, I'm not even looking for things like zfs. I download a file, and I want to be able to see the progress right in nautilus/dolphin/windows explorer/etc | 00:28:15 |
Zhaofeng Li | and also changing the icons of apps/folders - all those little things that you don't really need but are nice to have | 00:30:25 |
Katalin 🔪 | In reply to @zhaofeng:zhaofeng.li Well, I'm not even looking for things like zfs. I download a file, and I want to be able to see the progress right in nautilus/dolphin/windows explorer/etc this is actually a purely UI implementation from what I can tell | 00:38:52 |
Katalin 🔪 | the downloading file is a bundle with extra info in it | 00:39:00 |
Katalin 🔪 | but yeah, I want that too | 00:39:27 |
Zhaofeng Li | no, it's an xattr | 00:39:30 |
Zhaofeng Li | and you still can't rely on it being available on linux, and even if so, no one uses it | 00:39:47 |
Katalin 🔪 | oh really? what does the xattr do? | 00:40:20 |
Katalin 🔪 | In reply to @zhaofeng:zhaofeng.li and you still can't rely on it being available on linux, and even if so, no one uses it (I haven’t seen any third party software use it on macOS either fwiw) | 00:40:54 |
Katalin 🔪 | are we talking about two different things maybe? safari creates a .download bundle for partially downloaded files | 00:41:32 |
Zhaofeng Li | it conveys the "progress" happening on this file (download, copying, video export, etc.). quickly tried and this seems to work
touch -d 1984-01-24T08:00:00Z ./meow.txt
xattr -w com.apple.progress.fractionCompleted 0.7 meow.txt
| 00:45:46 |
Zhaofeng Li | (taken from https://github.com/brave/browser-laptop/issues/13086) | 00:46:07 |
Katalin 🔪 | oh huh | 00:46:22 |
Katalin 🔪 | I’ll have to look at what the bundle does again then | 00:46:35 |
Katalin 🔪 | maybe it’s just to prevent the partial file from being used | 00:47:03 |
Katalin 🔪 | however, this could be a purely UI implementation | 00:48:21 |
Zhaofeng Li | it could be done with hidden files and such, but being able to attach such information to the file/directory itself makes sense I think | 00:50:03 |
Katalin 🔪 | well, or with a bundle like I thought it was done :P | 00:50:36 |
Zhaofeng Li | apps can just watch the file and not other events happening in the containing directory | 00:50:37 |
Katalin 🔪 | but yes, this way seems like a less complicated implementation (although it does need FS features) | 00:52:41 |