• 0 Posts
  • 31 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle
  • If you’re running Wine on a case-sensitive file system, and you it tries to open a file, it would first try to open a file whose case matches exactly. But if it doesn’t find one, it would then need to list all the files in the directory, normalize their case, and go through them all to see if there is a file with the given name but in a different case. That can take some time if there is a lot of files in the directory.

    But if you’re on a case-insensitive filesystem, the FS can keep case-normalized names of all files on disk, so you can do a case-insensitive open just as fast as you can do a case-sensitive open.

    BTW, another application that can benefit from this is Samba, since SMB is case-insensitive.




  • Kobo store, Google Play Books, and various other places (here in Sweden for example we have Bokus and Adlibris) have Epub downloads. Usually with Adobe Digital Editions DRM (which you can get rid of pretty easily with DeDRM, or alternatively Kobo tablets support Digital Editions), but some books are sold DRM free, or with LCP DRM which I don’t have experience with. Something I’ve noticed at least on Bokus is that many books in Swedish are sold as DRM free Epubs with watermarks, even if they’re translated from an English version which is sold with DRM on the same store, though that’s probably not relevant for people in other regions.





  • A normal copy consists of a program reading from one file and writing to another. There is no way for the filesystem to do a reflink in that case, it just sees that the program is reading and writing stuff. In order to do a reflink, the program must tell the filesystem what data should be “copied” to where using FICLONE or FICLONERANGE. Though some programs will do that by default if possible nowadays when copying files or when moving files between different subvolumes on the same partition, including the Coreutils cp, mv and install commands and some GUI file managers.






  • It’s better in one way, in that updates are applied on reboot rather than pulling the rug put from under running applications. But I agree that it doesn’t go all the way, as it doesn’t provide a verifiable base system with clearly separated modifications. OSTree would be great.

    Another possibility would be to distribute a base image as a btrfs send stream (possibly differential against previous versions) containing a compose-fs image and associated files. And then OS extensions could be installed with systemd-sysext.



  • I used to use it, but then I switched to MPV, as it works a lot better with hardware acceleration. MPV supports more methods for hardware decoding (e.g. nvdec), and also MPV will keep the frames in VRAM when doing hardware decoding, and do additional processing and presentation using the GPU, while VLC copies everything back to system RAM and processes the frame on the CPU.

    At the time I switched hardware decoding with copy-back would actually result in twice the CPU usage compared to software decoding, but that was a long time ago. Also, I would get tearing in VLC and not in MPV.