pimeys

joined 1 year ago
[–] pimeys@lemmy.nauk.io 5 points 3 weeks ago

Not a sysadmin, but a programmer. My work machines have been:

  • 2003-2008 Windows 7
  • 2008-2011 Ubuntu
  • 2011-2019 Arch
  • 2019-2024 NixOS

Probably going to keep using NixOS. This is a very cool OS.

[–] pimeys@lemmy.nauk.io 1 points 1 month ago

Yeah, the perks of the Android ecosystem. There's also a version for Android TV such as NVIDIA Shield. Again just works and filters out ads and sponsor segments.

https://github.com/yuliskov/SmartTube

[–] pimeys@lemmy.nauk.io 4 points 1 month ago (2 children)

I've been using this one for years, which filters out ads and sponsor segments:

https://newpipe.net/

Only for Android though. If you use iOS, switch to Android and you'll also get a really Firefox browser with ublock origin that blocks all the ads compared to that 30something% what every iOS browser does.

[–] pimeys@lemmy.nauk.io 3 points 2 months ago (1 children)

His job is to not get the maintainers to agree, but his job definitely is to bark a bit if somebody behaves like Ted.

It might even be Rust is not meant for Linux kernel and it will never happen. Or it happens in the driver layers, but stays out from the core. We do not know yet. The concern Ted is raising is definitely valid: if the C APIs change, people who work daily in the C code cannot spent cycles fixing the Rust APIs. These people have their day jobs which pays them to maintain these subsystems, and it is at least not yet clear will these employers fund rewriting anything in Rust. There are tens of filesystems in Linux, with lifetimes passing around that are not documented and might not work in Rust.

Note: I'm a Rust dev for the past 10 years, and I follow this discussion with high interest.

[–] pimeys@lemmy.nauk.io 8 points 2 months ago

Yeah. Isn't it funny that the most popular file system in the world has such a codebase, and it is not even well documented how it works!

I have my reasons to choose XFS or bcachefs with my machines.

[–] pimeys@lemmy.nauk.io 5 points 2 months ago

Yes and no. Linus can yell to people and he does, he can force his say as he has been recently doing by expecting sched_ext to land in 6.12. BUT. Linux is a bazaar, it's so big and there are so many different factions forcing them to do anything is going to take a long time. Lots of different teams are working on Linux, with their own priorities.

[–] pimeys@lemmy.nauk.io 32 points 2 months ago

The borrow checker is exactly what the kernel needs.

[–] pimeys@lemmy.nauk.io 34 points 2 months ago (6 children)

Ted is the maintainer of ext4 and there are not many people in the world who understand this code.

For Rust to succeed, it has to get the subsystem maintainers to agree. It is going to be many years of petting very angry bobcats...

And that is not even the worst I've heard, makes you a bit numb if you follow LKML.

[–] pimeys@lemmy.nauk.io 1 points 2 months ago

Me neither, but the risk is there and well documented.

The point was, ZFS is not great as your normal laptop/workstation filesystem. It kind of requires a certain setup, can be slow in certain kinds of workflows, expects disks of same size and is never available immediately for the latest kernel version. Nowadays you actually can add more disks to a pool, but for a very long time you needed to build a new one. Adding a larger disk to a pool will still not resize it, untill all the disks are replaced.

It shines with steady and stable raid arrays, which are designed to a certain size and never touched after they are built. I would never use it in my workstation, and this is the point where bcachefs gets interesting.

[–] pimeys@lemmy.nauk.io 2 points 2 months ago

At the same time Windows is going down the drain, so if you compare removed to that it definitely has an edge. And that 8GB Air is not that expensive either... And fanboy can tell you it can swap to SSD so fast blah blah...

But if you have the knowledge to use Linux, there are less and less reasons to go even near removed computers...

[–] pimeys@lemmy.nauk.io 1 points 2 months ago (2 children)

But scrub is not fsck. It just goes through the checksums and corrects if needed. That's why you need ECC ram so the checksums are always correct. If you get any other issues with the fs, like a power off when syncing a raidz2, there is a chance of an error that scrub cannot fix. Fsck does many other things to fix a filesystem...

So basically a typical zfs installation is with UPS, and I would avoid using it on my laptop just because it kind of needs ECC ram and you should always unmount it cleanly.

This is the spot where bcachefs comes into place. It will implement whatever we love about zfs, but also be kind of feasible for mobile devices. And its fsck is pretty good already, it even gets online checks in 6.11.

Don't get me wrong, my NAS has and will have zfs because it just works and I don't usually need to touch it. The NAS sits next to UPS...

 

I'm looking for a service I could install to archive a huge pile of letters, preferably in PDF form, to a database. I'm living in a country where paper is still king, and digital services are either non-existent, or loathed (Germany). My current situation is that I have a mailbox with lots of PDFs all over the place, but also many folders of paper sent in 2007 etc. that I have to keep, but I also have to find them every five years or so.

So what I'd like to have is a service to my homelab, where I could scan these and copy these, that would index them, clean them, OCR them and all that good stuff. It should have really good metadata abilities, because my files are usually named in a very random way, so if I could copy these, and quickly categorize them, that would be really awesome.

There is one service called Papermerge, that kind of fits to my use-case. I spent one afternoon with it, and there were a few issues:

  • crashes quite often
  • when sending a large folder of PDFs, uses all the CPU and crashes again
  • categorizing functions are not very good, it takes time to get everything together and clean when organizing files

This might not be very interesting if your country has digital services for everything, but for us needing to suffer this paper madness, a service to do so would be great.

view more: next ›