@pimeys@lemmy.nauk.io avatar

pimeys

@pimeys@lemmy.nauk.io

This profile is from a federated server and may be incomplete. View on remote instance

pimeys ,
@pimeys@lemmy.nauk.io avatar

Plex and plexamp are quite good. Jellyfin and finamp too.

pimeys ,
@pimeys@lemmy.nauk.io avatar

ZFS is still the de-facto standard of a reliable filesystem. It's super stable, and annoyingly strict on what you can do with it. Their Raid5 and Raid6 support are the only available software raids in those levels that are guaranteed to not eat your data. I've run a TrueNAS server with Raid6 for years now, with absolutely no issues and tens of terabytes of data.

But, these copy on write filesystems such as ZFS or btrfs are not great for all purposes. For example running a Postgres server on any CoW filesystem will require a lot of tweaking to get reasonable speeds with the database. It's doable, but it's a lot of settings to change.

About the code quality of Linux filesystems, Kent Overstreet, the author of the next new CoW filesystem bcachefs, has a good write-up of the ups and downs:

  • ext4, which works - mostly - but is showing its age. The codebase terrifies most filesystem developers who have had to work on it, and heavy users still run into terrifying performance and data corruption bugs with frightening regularity. The general opinion of filesystem developers is that it's a miracle it works as well as it does, and ext4's best feature is its fsck (which does indeed work miracles).
  • xfs, which is reliable and robust but still fundamentally a classical design - it's designed around update in place, not copy on write (COW). As someone who's both read and written quite a bit of filesystem code, the xfs developers (and Dave Chinner in particular) routinely impress me with just how rigorous their code is - the quality of the xfs code is genuinely head and shoulders above any other upstream filesystem. Unfortunately, there is a long list of very desirable features that are not really possible in a non COW filesystem, and it is generally recognized that xfs will not be the vehicle for those features.
  • btrfs, which was supposed to be Linux's next generation COW filesystem - Linux's answer to zfs. Unfortunately, too much code was written too quickly without focusing on getting the core design correct first, and now it has too many design mistakes baked into the on disk format and an enormous, messy codebase - bigger that xfs. It's taken far too long to stabilize as well - poisoning the well for future filesystems because too many people were burned on btrfs, repeatedly (e.g. Fedora's tried to switch to btrfs multiple times and had to switch at the last minute, and server vendors who years ago hoped to one day roll out btrfs are now quietly migrating to xfs instead).
  • zfs, to which we all owe a debt for showing us what could be done in a COW filesystem, but is never going to be a first class citizen on Linux. Also, they made certain design compromises that I can't fault them for - but it's possible to better. (Primarily, zfs is block based, not extent based, whereas all other modern filesystems have been extent based for years: the reason they did this is that extents plus snapshots are really hard).

I started evaluating bcachefs in my main workstation when it arrived to the stable kernels. It can do pretty good raid-1 with encryption and compression. This combination is not really available integrated to the filesystem in anywhere else but zfs. And zfs doesn't work with all the kernels, which prevents updating to the latest and greatest. It is already a pretty usable system, and in a few years will probably take the crown as the default filesystem in mainstream distros.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Yeah. I would not for example install ZFS to a laptop. It's just not great there, and it doesn't like things such as sudden power failure, and it uses kind of a lot of memory...

pimeys ,
@pimeys@lemmy.nauk.io avatar

For sure. I would say if you run a distro like Arch, using it without cow filesystem and snapshots is not a good idea... You can even integrate snapshots with pacman and bootloader.

I've been running nixos for so long, that I don't really need snapshots. You can always boot to the previous state if needed.

If you write software and run tests against a database, I'd avoid having the docker volumes on btrfs pool. The performance is not great.

pimeys ,
@pimeys@lemmy.nauk.io avatar

I run Piped from my homelab, from our home IP. I wonder if they will limit our home too...

pimeys ,
@pimeys@lemmy.nauk.io avatar

About five years with Wayland now. Started with sway and now running KDE Plasma 6. It is snappy, simple and definitely so good I will not miss X11.

(I also think systemd is cool, you can crucify me now)

pimeys ,
@pimeys@lemmy.nauk.io avatar

It was great to watch all these runs on twitch. Now if Nintendo would just release an open source version of the server and all the content people have created...

pimeys ,
@pimeys@lemmy.nauk.io avatar

Did they get all the MM1 levels somewhere? There are some true classics that would be really sad to lose...

pimeys ,
@pimeys@lemmy.nauk.io avatar

You can also very easily run the bridges yourself if you don't trust them. I do so in my homelab, it was 10 minutes of work setting it all up. Super stable, and e2e from my side.

For me their value proposition is their new beta android app which is the best Android matrix client, and their quite fast matrix server. That might change in the future when conduit is fast enough...

pimeys ,
@pimeys@lemmy.nauk.io avatar

thab's been trying to beat "The Last Dance" for a few days already, it's really fascinating to watch. And even barb finished one level, then said "fuck this garbage" and spent the next days finishing Paper Mario and complaining how boring it is...

It's been a few good weeks on Twitch...

pimeys ,
@pimeys@lemmy.nauk.io avatar

They finally accepted the web as the platform after all these years...

pimeys ,
@pimeys@lemmy.nauk.io avatar

The mandatory comment to any printer discussion. Buy a brother laser. Nothing else. Preferably used.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Yes. We've had one Brother for ten years now. Still prints and scans just fine :D

pimeys ,
@pimeys@lemmy.nauk.io avatar

This is my nix config for our brother scanner. Just run any Linux scanner utility and it just works:

https://git.sr.ht/~pimeys/nixos/tree/main/item/core/home-services.nix#L10

pimeys ,
@pimeys@lemmy.nauk.io avatar

What about us who will never want to see any ads ever in our life? Can these companies force fed them to us and we kind of just accept that?

pimeys ,
@pimeys@lemmy.nauk.io avatar

For example the Hetzner servers are cheap and have been serving me well for many years. The big clouds are for companies with enough funding. If you need personal servers, the VPS providers give good value for money.

Service for letter/PDF archival

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...

pimeys OP ,
@pimeys@lemmy.nauk.io avatar

Of course. My setup now is a Proxmox server + a NAS. What I’m planning to do is to install a service for this to Proxmox, then have the files synced over NFS to the NAS, which then backs them up every night to Backblaze. And of course I need to have the paper copies too, but to be able to search, tag and archive the documents is great when you need to remember a thing X that was mentioned in a paper I got back in 2014.

pimeys OP ,
@pimeys@lemmy.nauk.io avatar

This was it for me now, installed paperless-xng, set it up to scan my email folders, copied all random PDFs from my "organized" tax folder and scanned the rest.

Too bad I just happen to have that Brother printer/scanner without SMB or FTP support. So I need to go through the process of scanning on my computer first, then uploading.

pimeys OP ,
@pimeys@lemmy.nauk.io avatar

I've been digging into the settings of this printer and, sadly the only send it can do is as a fax... It's the entry model, been serving us for years very nicely. It even connects to the internet, but misses features such as email, smb or ftp. For me this looks like something an open source firmware could fix. It has enough processing power to possibly run a lightweight Linux distribution, so installing one that would enable modern communication protocols doesn't seem impossible.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Installed it because of this thread to my homelab today. I never really managed my phone images in any way, never uploaded them anywhere. This was the first time. About 5 gigabytes of images and videos were synced to my NAS in a few minutes, now I can search them and all that. It’s a pretty cool setup, although the installation is a bit tricky if you don’t go to the path they give you. I run a Postgres server in Proxmox, and you have to install just the right version of pgvecto.rs for the system to work.

Browsing the issues I was able to figure out what went wrong, and after downgrading, no issues.

pimeys ,
@pimeys@lemmy.nauk.io avatar

It just doesn’t feel right to have multiple postgres databases running, if every other service uses the one in the network. Having already monitoring, disk space and backups set…

pimeys ,
@pimeys@lemmy.nauk.io avatar

Cloudflare R2 is the cheapest here, it’s free for some gigabytes and egress is free too.

To be honest, I’d just disable image uploads…

pimeys ,
@pimeys@lemmy.nauk.io avatar

As said in the thread, you need some kind of tunnel that stays up and doesn’t need to be fixed if the internet goes down.

Wireguard, or if wanting super easy setup, Tailscale version of Wireguard is great for this. Now you have a private IP address in your VPN network to your home server, that stays up and answers to HTTP. Next thing you need is a cheap VPS somewhere with a public IP address. When that is running, and is in the Wireguard network so you can access your home server from the VPS, you need a Nginx proxy in the public server. Either do it by hand, or use a service such as the Nginx Proxy Manager to handle the proxy setup.

How it basically works is you register a domain name (A, CNAME) to the public VPS service, then with Nginx you setup that anything coming in to the domain X should be proxied to the VPN IP address Y and port Z. Now you can add HTTPS to this domain and get a Let’s Encrypt certificate for it. You can, again, do this manually with Nginx, or let Nginx Proxy Manager handle it for you.

Finally. Stay safe. If you really open services to public internet from your home, be very sure to have all the latest updates and use strong passwords in all of them. Additionally, you can use the home services directly from the Wireguard/Tailscale network by accessing them using the private IP addresses. Your computer should just be in the same network with them.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Or AMD 6000 series if power draw and quietness are important. Add Proxmox with ZFS to run all your apps in containers or VMs.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Yep. I switched from xorg/i3 years ago, and it was already super snappy back then compared to the previous setup. Today everything works with Wayland, and I don’t really need to think about it anymore.

But, ymmv. I avoid Nvidia’s products, which helps a lot for the stability.

pimeys ,
@pimeys@lemmy.nauk.io avatar

You can script this with nix quite easily without needing a UI. For many this is a big plus.

YouTube once again ahead of uBO on Firefox; fiddling with the extension settings not working this time and DDG search is useless ... anyone got ideas?

Pretty much the subject line. uBO has successfully blocked the nag screen enough times that I can’t play anything at this point. No preview loads, and the play button serves no function. I’d really prefer not to have to find content on YT, copy the URL and use Piped/Invidious, but this ongoing escalation is steeling my...

pimeys ,
@pimeys@lemmy.nauk.io avatar

So… They’ve been A/B testing this the whole time and will continue to do so. Do you think OP is lying or could it be that you’re having the B variant until it flips for you too?

pimeys ,
@pimeys@lemmy.nauk.io avatar

I selfhost a SearXNG instance in my homelab. It aggregates results from multiple sites, works without JavaScript and filters out all tracking, AMP bullshit and so on.

It is important to run it at home, Google tends to blacklist VPS address ranges, and if you have a public instance, you’ll get rate limited quite fast.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Nice! And they will probably differentiate from the competition by allowing GPL applications and sideloading, and having a total control for your privacy and no tracking, right?

Right?

pimeys ,
@pimeys@lemmy.nauk.io avatar

I use foot together with foot-server. The client opens in less than a millisecond, and I usually have tens of terminal windows open at the same time. Tabbing comes from the window manager.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Yep. Also had a 21" CRT and very wonky window decorations with Enlightenment.

Nowadays I can’t use non-tiling window managers anymore, so I’m stuck with sway.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Not until somebody challenges it in court and wins…

Exposed: Facebook's Corrupt Spyware is Tracking you OFF the platform ( monero.town )

From internal leaks within the company as well as external analysis, the tip of the iceberg behind Facebook’s spyware empire is exposed. Take a look to better protect yourself when you’re not even on the platform: simplifiedprivacy.com/facebooks-corrupt-off-platf…

pimeys ,
@pimeys@lemmy.nauk.io avatar

My mom lives in a different country, is retired and can very easily use Signal to msg me and do video calls. She has no technical education, and is not very good with the devices. But… she could install Signal and use it every day.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Imagine being in the orange forum and thinking everybody’s using Mac…

Is anyone using NixOS as their daily driver?

I’m currently running Arch and it’s great, but I’m noticing I’m not staying on the ball in regards to updates. I’ve been reading a bit about Nix and NixOS and thinking of trying it as my daily driver. I’ve got a Lenovo x1 xtreme laptop, I don’t do much gaming (except OSRS), use firefox, jetbrains stuff, bitwarden,...

pimeys ,
@pimeys@lemmy.nauk.io avatar

I’ve been running NixOS for the past four years in all my computers. It’s really, really the end game of Linux distributions for me. But it’s not for everybody. The Nix language can be a tough thing to learn, if you’re not a programmer and haven’t done anything with lazy functional languages before. It’s a dynamic language, with not super great documentation for practical things and missing a good language server that would let you to jump to definitions when learning how nixpkgs work and how to build things.

Also, what I think is a serious problem, is how flakes are not yet enabled in the default installation. So first you learn with the basic template, and some helpful person comes talking about how great flakes are, and in a few weeks you might have written your own system flake finally and got it working. Flakes are really important to understand as soon as possible, because with them you get the lock file that gives you real reproducibility between computers and full control on which version of packages you get.

But, when you learn all that, and get your company to go full-on with nix, having flakes in all projects, it’s the best programmer’s operating system out there. Here’s my config to steal stuff.

pimeys ,
@pimeys@lemmy.nauk.io avatar

What I did is I bought a cheap small PC with an Intel chip (i5), some RAM and an SSD. You can find these with more than one NIC pretty easily from Amazon, and they are just normal computers: only small and quiet. Then go with a virtualization platform such as Proxmox, and to that, install opnSense as the router distribution and use the rest of the processing power to run everything else in your house in virtual machines: Home Assistant, media server, you name it… Just search Amazon with something like “router pc” and you get a long list of machines below and over 200 euros that are more than enough for your home. Computers like this one.

The great thing about opnSense is how it gets regular updates. And when you use a normal PC as your router, you run the latest FreeBSD kernel and get updates basically as long as opnSense is developed.

You probably also want a Wi-Fi. These boxes usually miss it, and even when they have a Wi-Fi card, opnSense is not really great for setting wireless networks. I just bought a few APs from Ubiquiti. They are a bit on the expensive side, but I just don’t need to touch these things after setting them up and the network never fails on me. There are also much cheaper APs in the market, just get anything that fits to your budget and plug it to the router.

pimeys ,
@pimeys@lemmy.nauk.io avatar

It’s also a good choice. What I like about opnSense is how it’s basically just a distribution you update from the shell, feels more like a real operating system compared to OpenWRT, which is usually flashed to the router.

pimeys ,
@pimeys@lemmy.nauk.io avatar

So… Admob tracking it is… This, or using voyager and having no tracking.

pimeys ,
@pimeys@lemmy.nauk.io avatar

What I heard, their admin is having a summer vacation and is traveling somewhere. It will be back up eventually when they come back.

pimeys ,
@pimeys@lemmy.nauk.io avatar

I think it’s quite hard to find people maintaining sites like this nowadays. There’s always some risks, the tech stack might not be the greatest, the servers might have hacks here and there. It’s a bit of a problem with other sites too, RED was having some trouble last Christmas for example…

pimeys ,
@pimeys@lemmy.nauk.io avatar

This was from RED forums, which has a long thread about PTP.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Not using Arch anymore, but what I remember it specifically doesn’t break all the time and runs much better than many other distros.

Before systemd integration it was kind of bad, but it has been such a solid platform since then. Even the Steam Deck uses it.

I think the criticism is how you need to read a manual to install it. For many, that is part of the fun.

CHROME (google) is planing to implement DRM (kinda) into their browser ( lemmy.dbzer0.com )

looks like rendering adblockers extensions obsolete with manifest-v3 was not enough so now they try to implement DRM into the browser giving the ability to any website to refuse traffic to you if you don’t run a complaint browser ( cough…firefox )...

pimeys ,
@pimeys@lemmy.nauk.io avatar

A good project to support would be the Ladybird.

github.com/SerenityOS/serenity/tree/…/Ladybird

pimeys ,
@pimeys@lemmy.nauk.io avatar

You can support by joining the project and helping them to fix issues. It’s a young project, but they’ve been progressing really fast. Andreas Kling is one of the original developers of Safari, and in the past years he’s been creating his own operating system (Serenity OS) and formed a team who’ve been doing their own JavaScript engine, web browser and a programming language together with the OS. It’s a really fascinating story and I give all the respect for them for doing this. This is the work we have to do if we want to beat Google from taking the internet. It’s us who need to step up and start fixing the internet.

…github.io/Ladybird-a-new-cross-platform-browser-…

serenityos.org

pimeys ,
@pimeys@lemmy.nauk.io avatar

That time is not yet. Give it a few years and if you’re willing, join the project to help. There is movement, it’s just about how can we help.

pimeys ,
@pimeys@lemmy.nauk.io avatar

For a good task manager, btop is really good.

Editor: helix

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines