mckinley

twtxt.net

A guy on the internet. https://mckinley.cc/

Recent twts from mckinley
In-reply-to » QOTD: How large is your shell history? No history, 500 lines, 10'000, 100'000, something else?

Itā€™s 500. I never changed it, so thatā€™s the default of either Bash or my distro. Itā€™s fine for me.

ā¤‹ Read More
In-reply-to » (#sdorpga) @prologic ZFS is fine but it's out-of-tree and extremely inflexible. If Btrfs RAID5/6 was reliable it would be fantastic. Add and remove drives at will, mix different sizes. I hear it's mostly okay as long as you mirror the metadata (RAID1), scrub frequently, and don't hammer it with too many random reads and writes. However, there are serious performance penalties when running scrubs on the full array and random reads and writes are the entire purpose of a filesystem.

@prologic@twtxt.net Planning it ahead of time is all well and good if you have the money to buy 6 or 8 hard drives at once. I really donā€™t, and I want to mirror the whole thing offsite anyway. Mergerfs will let me do it now, and Iā€™ll buy a drive each for SnapRAID in short order.

ā¤‹ Read More

@prologic@twtxt.net ZFS is fine but itā€™s out-of-tree and extremely inflexible. If Btrfs RAID5/6 was reliable it would be fantastic. Add and remove drives at will, mix different sizes. I hear itā€™s mostly okay as long as you mirror the metadata (RAID1), scrub frequently, and donā€™t hammer it with too many random reads and writes. However, there are serious performance penalties when running scrubs on the full array and random reads and writes are the entire purpose of a filesystem.

Bcachefs has similar features (but not all of them, like sending/receiving) and it doesnā€™t have the giant scary warnings in the documentation. I hear itā€™s kind of slow and it was only merged into the kernel in version 6.7. I wouldnā€™t really trust it with my data.

I bought a couple more hard drives recently and Iā€™m trying to figure out how Iā€™m going to allocate them before badblocks completes. I have a few days to decide. :)

ā¤‹ Read More
In-reply-to » @bender What would make standing up Yarn even easier? I can think of a few things that people might struggle with: a Domain, Pointing the domain at something valid, Maybe a reverse proxy setup. Running yarnd itself is just downloading a binary and configuring it (which could also be easier)

@prologic@twtxt.net I remember running yarnd for testing on a couple of different occasions and both times I found all the required command line options to be annoying. If I remember correctly, running it with missing options would only tell you the first one that was missing and youā€™d have to keep running it and adding that option before it would work.

This was a couple of years ago, so I donā€™t know if anythingā€™s changed since then. Itā€™s really not a big problem, because it would be run with some kind of preset command line (systemd service, container entrypoint) in a production environment.

ā¤‹ Read More
In-reply-to » @bender What would make standing up Yarn even easier? I can think of a few things that people might struggle with: a Domain, Pointing the domain at something valid, Maybe a reverse proxy setup. Running yarnd itself is just downloading a binary and configuring it (which could also be easier)

@bender@twtxt.net I avoid install scripts like the plague. This isnā€™t Windows and theyā€™re usually poorly written. I think itā€™s better to prioritize native packages (or at least AUR, MPR, etc) and container images.

ā¤‹ Read More
In-reply-to » Hah šŸ¤£ @dfaria Your @dfaria.eu feed really does consume about >50% of a "Discover" search with filters "Without replies" and "Hide my posts". šŸ¤£ Media 36/2 = 18 at 25 Twts per page, that's about ~72% of the search/view real estate you're taking up! wow šŸ¤© -- I'd be very interested to hear what ideas you have to improve this? Those search filters were created so you could sift through either your own Timeline or the Discover view easily.

@prologic@twtxt.net I think this would be solved in the short to mid-term by fixing the mute function. Or, maybe, adding a ā€œHide this user from Discoverā€ button.

ā¤‹ Read More
In-reply-to » @bender Standard twtxt is a microblog in its purest form. A blog, but smaller. It's just a list of posts to read, and that's an echochamber in the same way my regular blog is an echochamber. I don't think there's anything wrong with that.

@bender@twtxt.net Makes sense. We definitely need the ability to mute feeds from the Discover feed.

ā¤‹ Read More
In-reply-to » QOTD: How do you back up your files?

@movq@www.uninformativ.de I remember your solution. Itā€™s very simple, I like it.

Yes, my backup target is my home server. I have a hard drive dedicated to Restic repositories. Itā€™s still not a real backup as I donā€™t have anything offsite but itā€™s better than my previous solution. I had two very old hard drives I kept plugged in to my desktop PC and I would (on very rare occasion) plug in another hard drive and copy all the files over to it. Luckily, Iā€™ve never suffered any significant data loss and I would rather not start now. Once I have automated backups on each of my machines, the next project is getting those backups offsite.

ā¤‹ Read More
In-reply-to » @bendwr and I discussing something along the lines of: Media I.e: How to deal with or reduce noise from legacy feeds.

@prologic@twtxt.net I think one-way feeds are okay and we shouldnā€™t discourage them so strongly. On the other hand, I think itā€™s the duty of a poderator to filter out feeds that are just noise from the Discover feed. I definitely consider a truckload of one-way posts mostly in another language to be noise. Did you get rid of Gopher Chat too? Iā€™d call that noise, for sure.

ā¤‹ Read More
In-reply-to » @prologic Your position doesn't make any sense: it's closing down and arbitrarily limiting the use of the Twtxt protocol. One more reason not to use https://twtxt.net/

@bender@twtxt.net Standard twtxt is a microblog in its purest form. A blog, but smaller. Itā€™s just a list of posts to read, and thatā€™s an echochamber in the same way my regular blog is an echochamber. I donā€™t think thereā€™s anything wrong with that.

@prologic@twtxt.net I support the delisting of ciberlandia.pt in the Discover feed due to the sheer volume of posts from there and the fact that most of them are in Portuguese with this being a predominantly English-language pod.

ā¤‹ Read More
In-reply-to » @bendwr and I discussing something along the lines of: Media I.e: How to deal with or reduce noise from legacy feeds.

@prologic@twtxt.net Why do we need to avoid posting to the void? Thatā€™s pretty much what twtxt was made for. I donā€™t like the ā€œLegacy feedā€ terminology, either. I support the delisting of ciberlandia.pt but I think this change is heading in a bad direction.

I like @sorenpeter@darch.dk ā€™s suggestion. It gives the users the information and lets them make their own decision instead of putting a big scary warning in their face. Thatā€™s what Microsoft does, and we shouldnā€™t be Microsoft.

ā¤‹ Read More

QOTD: How do you back up your files?

I asked this one almost a year ago and I started using Restic shortly after that. When I started, I was only backing up my home folder to the repository over NFS. Now, Iā€™m backing up the entire root filesystem to a repository using the REST backend so I can run Restic as root without breaking the permissions.

Iā€™m working on automating it now and Iā€™m trying to come up with something using pinentry but my proof-of-concept is getting pretty obtuse. It will be spread out in a shell script, of course, but still.

systemd-inhibit --what=handle-lid-switch restic --password-command='su -c "printf '"'"'GETPIN\n\'"'"' | WAYLAND_DISPLAY=wayland-1 pinentry-qt5 | grep ^D | sed '"'"'s/^D //'"'"'" mckinley' --repository-file /root/restic-repo backup --exclude-file /root/restic-excludes --exclude-caches --one-file-system /

Iā€™m curious to see how everyoneā€™s backup solutions have changed since last year.

ā¤‹ Read More
In-reply-to » Bitwarden is truly excellent. Highly recommend

I use KeePassXC because I really only use one device. I imagine it would be challenging to rsync the database around if I needed my passwords on more machines. Itā€™s probably fine if youā€™re deliberate enough, but I donā€™t think it would take long before Iā€™d lose a password by editing an outdated version of the repository and overwriting the main copy.

I like the simple architecture of Pass, and it would indeed lend itself well to a Git repository, but I donā€™t like that service names are visible on the filesystem. pass-tomb might mitigate this somewhat but it seems messy and I donā€™t know if it would work with Git without compromising the security of the tomb.

Whatā€™s so good about Bitwarden? Everyone seems to love it. I like that it can be self-hosted. I certainly wouldnā€™t want a third party in control of my password database.

ā¤‹ Read More
In-reply-to » @mckinley That may be true. I tried some "decentralized exchanges" but I have issue with "trust" so this is proving to be quite hard to figure out how to support accepting XMR as a "payment method" šŸ¤”

@prologic@twtxt.net I use LocalMonero (onion) to buy Monero with cash sent by mail. You can sell on there if you want to convert back to fiat. People also like Bisq, which is peer-to-peer software for buying and selling cryptocurrency.

To accept Monero, all you need is a wallet program. I recommend Feather Wallet. Create your wallet in there, then youā€™ll copy the wallet files into monero-wallet-rpc for use with MoneroPay, see docker-compose.yaml.

ā¤‹ Read More

@movq@www.uninformativ.de Itā€™s very useful. I always start my music player in a tmux session so I can SSH in, attach it, and control the music from another computer. Itā€™s also handy for letting long-running tasks on a remote machine continue in the background even if the SSH connection is broken.

ā¤‹ Read More
In-reply-to » @prologic I might have mentioned this already but you might want to look into MoneroPay for payment processing when you get to that point with cas.run. It's a completely self-hosted backend service for receiving and tracking Monero payments and it's written in Go.

@prologic@twtxt.net Monero has stayed a little more stable than Bitcoin but itā€™s still a cryptocurrency and itā€™s still going to fluctuate quite a bit. It also uses proof-of-work algorithm so it still consumes quite a bit of electricity. I think the value of being able to send any amount of money, any time of the day, to anyone on the planet in 20 minutes (appears in 2 minutes, spendable in 20) completely privately with near-zero transaction fees exceeds the drawbacks.

Unfortunately, the characteristics that make it useful as a global currency for day-to-day transactions also make it useful for people doing illicit things. Many exchanges, fearing regulatory action, wonā€™t accept Monero for the same reason they wonā€™t accept Bitcoin from a mixer.

Monero shouldnā€™t be banned just because people use it for bad things. Itā€™s just a tool and it can be used for good or evil. Itā€™s the same reason countries use when they ban or restrict Tor usage.

ā¤‹ Read More
In-reply-to » Does this sound reasonable for running small workloads? šŸ¤”

@prologic@twtxt.net That sounds great. The only other container-level hosting service Iā€™ve heard of is PikaPods which seems much more managed than cas.run would be. It has customizable tier-based pricing and the minimum specs are Ā¼ of a CPU core, 256 MB of memory, and ā€œabout 100 MBā€ of storage for $1/mo which seems awfully steep compared to a low-cost VPS. I donā€™t know if PikaPods offers an IPv4 reverse proxy or not.

ā¤‹ Read More
In-reply-to » @prologic I might have mentioned this already but you might want to look into MoneroPay for payment processing when you get to that point with cas.run. It's a completely self-hosted backend service for receiving and tracking Monero payments and it's written in Go.

Monero uses cryptography to make transactions anonymous and the coins completely fungible. With most cryptocurrencies including Bitcoin, the transactions associated with an address are public and you can trace those coins all the way back to their origin. This means that not all coins are the same. For example, some exchanges wonā€™t accept Bitcoin that comes from a mixer because they assume youā€™re doing something untoward.

With Monero, itā€™s not possible to trace any transactions with just an address. People canā€™t see what youā€™re spending your money on or where your coins came from. Transaction fees using Monero are also very small. Itā€™s less than the equivalent of 1 cent in USD.

Minuscule transaction fees and anonymity make it the best choice in my opinion for buying goods and services online. Monero is much more like ā€œdigital cashā€ than Bitcoin, which I think is better described as ā€œdigital goldā€.

ā¤‹ Read More

@movq@www.uninformativ.de You could always keep it running in a detached tmux session and attach it when you see the spike. Processes that were recently using the netwotk stay in the list for 10 or 15 seconds after theyā€™re finished so you donā€™t have to catch it in the act.

ā¤‹ Read More
In-reply-to » Does this sound reasonable for running small workloads? šŸ¤”

You could get better value for money with a super cheap VPS without IPv4 connectivity but it wouldnā€™t be worth it if you didnā€™t need the extra resources as a VPS wouldnā€™t be practical with such low specs. It would also require significantly more effort on the part of the operator.

I would understand paying a small premium for using the lowest-cost tier, convenience, and especially if you operated a reverse proxy with IPv4 connectivity.

ā¤‹ Read More
In-reply-to » QOTD: How do you listen to your music?

@movq@www.uninformativ.de Interesting. mpd + ncmpcpp seems to be a common setup among our type but I really like cmus. Whipper is my CD ripper of choice and it is excellent. It queries AccurateRip for checksums and MusicBrainz for metadata, and can encode to any format you want. It also creates a nice log file like EAC does (it can even create EAC-compatible logs with a plugin) so you can verify that it was ripped properly.

ā¤‹ Read More