mckinley

twtxt.net

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

Recent twts from mckinley
In-reply-to » @lyse Lack of comments are definitely a shortcoming of JSON. I don't like TOML because it lets you have nested categories ([foo] [foo.bar] [foo.baz]) and it just feels confusing to me, even with indentation. Simple INI files are okay.

I spent hours creating a perfect Prosody config for my most recent XMPP server attempt (about 2-3 years ago now) and I lost that file because I deleted the VPS. That was the only important file on there and I just didn’t think of it when I deleted it. I didn’t have a single backup, not even an old copy I scped back to my PC for editing.

I hope I won’t make that mistake again but I wouldn’t be surprised if I did.

⤋ Read More
In-reply-to » Question of the day: What configuration file formats do you all like and use?

@lyse@lyse.isobeef.org Lack of comments are definitely a shortcoming of JSON. I don’t like TOML because it lets you have nested categories ([foo] [foo.bar] [foo.baz]) and it just feels confusing to me, even with indentation. Simple INI files are okay.

The Prosody XMPP server’s configuration file is just a Lua script because Prosody is written in Lua, and that’s excellent.

⤋ Read More
In-reply-to » @mckinley absolute rubbish.

  • (3) Does Nostr require clients to download much more data than, say, Twitter? I can see it being a little more because of signatures, etc. However, text compresses well and clients should cache previous posts, anyway.

  • (4) NIP-96 does HTTP file upload, XMPP style. There are some other advanced features like tipping on posts, custom emojis, and at least three conventions for selling goods and services.

Of course, not everything is available with every client and some of the specs are still being worked out. It looks promising to me, though. I like its distributed model with dumb servers and smart clients. The software will get better over time.

⤋ Read More
In-reply-to » @mckinley absolute rubbish.

All three of your points on usability are definitely true, especially #3. I haven’t been able to find a good TUI client.

Regarding the technical points, it seems like there are mechanisms to address each of them. Please tell me if I’m wrong on any one of these. I have only been learning about Nostr for a short time.

  1. Relays aren’t a single point of failure because a user can (and should) post to many of them. The attacker in a censorship or sabotage scenario would have to take down every one of your relays at once. If they were taken down gradually, you could replace the bad relay with a new one and advertise that one on all the other relays your followers already use. It’s much more resilient compared to twtxt.

  2. Every event contains a signature from your private key, so it’s hard to spoof. NIP-10 provides a method for marking a note as a reply to another note.

⤋ Read More
In-reply-to » QOTD: What are your thoughts on nostr?

Something I’ve noticed about the Nostr people is that they aren’t the same as the software minimalism people. It seems like it’s all JavaScript, Go, and Rust with dependency counts in the hundreds.

⤋ Read More
In-reply-to » QOTD: What are your thoughts on nostr?

@lyse@lyse.isobeef.org

I fear it’s a rather complicated protocol.

The core protocol looks very simple but I’m sure you can get in the weeds with extensions.

you can’t really change your keys without losing your identity

I think you’re right but that seems reasonable to me. Your public key is your identity, similar to certain cryptocurrencies or Tor hidden services. Why would you want to change your key without changing your identity?

⤋ Read More

PSA: If you’re on Arch Linux and you want to use some of your own scripts on multiple machines, it is incredibly easy to write a PKGBUILD. Then, you can scp the built package around and install it with pacman -U. Let Pacman handle your dependencies so they can easily be removed later and only when they’re no longer required.

⤋ Read More

@movq@www.uninformativ.de Yeah, it seems like that should never happen under any circumstances but that’s the best explanation I can come up with for what happened and once I fixed the space issue the other problems went away. That particular filesystem is on a LUKS device on a disk image served with NBD. The machine in question and the NBD server are both on Arch Linux so it has potentially unstable versions of all the software involved.

It’s a real house of cards and I’m not surprised something like this happened. I’m keeping lots of backups. My setup is pretty unique but I stand by my original post. Running out of space on Btrfs isn’t fun, even when it’s functioning properly.

⤋ Read More

@movq@www.uninformativ.de Pretty much. In my situation I was able to delete some files and snapshots and run a couple of different btrfs balance commands to move some allocations around. It looked like writes weren’t all committed properly to the disk but nothing told me that explicitly.

I did a system update in this state and I think I remember mkinitcpio throwing more warnings than usual but I was doing something else and I didn’t pay close attention to them. This coincided with a power outage and there was a lot of inconsistency, making me think it was hardware related. It was just btrfs, as far as I can tell, and I fixed it by reinstalling all the packages on the system once there was enough room. Luckily, I hadn’t done anything important with that computer after the system update.

⤋ Read More
In-reply-to » Can anyone recommend a website builder for dummies? Something my wife could use or anyone not in IT? Something that you can easily export and publish as a static site anywhere? 🤔 I guess it has to be easy to use, WYSIWIG in nature and having some 3rd-party integrations might be nice like Squire for taking payments, etc.

@prologic@twtxt.net That looks pretty nice. It seems like the pricing model is reasonable as well. They don’t try to nickel-and-dime you with features most people would probably need like others I’ve seen. Good luck with it.

⤋ Read More
In-reply-to » Can anyone recommend a website builder for dummies? Something my wife could use or anyone not in IT? Something that you can easily export and publish as a static site anywhere? 🤔 I guess it has to be easy to use, WYSIWIG in nature and having some 3rd-party integrations might be nice like Squire for taking payments, etc.

@prologic@twtxt.net It’s true that the major players in the WYSIWYG-website-for-dummies industry not only function poorly but are also proprietary SaaS garbage. However, I don’t know if it’s really possible to make them function any better. HTML and CSS just aren’t made for that.

⤋ Read More
In-reply-to » Can anyone recommend a website builder for dummies? Something my wife could use or anyone not in IT? Something that you can easily export and publish as a static site anywhere? 🤔 I guess it has to be easy to use, WYSIWIG in nature and having some 3rd-party integrations might be nice like Squire for taking payments, etc.

@prologic@twtxt.net Probably not the most helpful reply, but I posted my thoughts in a note. Websites are really complicated and there’s a lot that goes into making one. When you put too many layers of abstraction on it, you have to cut corners somewhere.

⤋ Read More
In-reply-to » (#ressqqa) I think is part of the code by @eapl.me that I have based my project on. So try to ask him.

@eapl.me@eapl.me There is HTTPS but it doesn’t seem to be enforced. My browser always connects with TLS if it’s available and the message is present with or without TLS or extensions, even when using cURL. I would notice if my VPN service injected things like this because I disable JavaScript and cookies by default. I think it’s unlikely I’m being MiTMed because the certificate is definitely from Let’s Encrypt. Also, I don’t see the point in MiTMing me just to put a JavaScript challenge on someone’s personal website.

I still think it’s a hosting provider thing. It doesn’t really matter to me, I’m just curious.

⤋ Read More
In-reply-to » @eapl.me are ISPs still injecting code into HTTP in this the year 2023? I remember getting notices that my comcast modem is out of date pushed into websites back a decade ago.

@xuu I caught AT&T doing this last year. They were also hijacking DNS queries if I remember correctly.

⤋ Read More

@sorenpeter@darch.dk If I go to your website, it makes my browser complete a JavaScript challenge and send the result to a special location on your domain using a form called “wsidchk”. After I complete that I get a cookie and I can browse your website freely. It isn’t Cloudflare. I imagine it’s because I’m using a VPN service with somewhat disreputable IP addresses. Is this something your hosting provider does automatically?

⤋ Read More
In-reply-to » Does anyone have any personal experience with Spiral Linux? It is just preconfigured Debian + your choice of DE installed with Calamares. After the installation is completed, you aren't dependent on anything except the existing Debian infrastructure which is, of course, rock-solid.

@lyse@lyse.isobeef.org Ubuntu was the first distribution I used. I didn’t know what I was doing and broke the bootloader trying to do something related to dual booting and I couldn’t figure out how to fix it. I went back to Windows after that.

Many still recommend it as a first distribution. While I’m sure it’s still well polished and easy to use, I don’t like Ubuntu because of Canonical’s shady practices in the past and their move toward Snaps instead of Debian-style packages.

SpiralLinux seems like the best of both worlds. I’m really very impressed. If you are looking for a distribution for some one who isn’t so technical, but also something easy to fix when it breaks, consider looking into it. Use a different password for root, restrict sudo, mount /home with noexec, configure unattended upgrades, and I think it’d be very solid. It is just Debian Stable after all.

⤋ Read More

Does anyone have any personal experience with Spiral Linux? It is just preconfigured Debian + your choice of DE installed with Calamares. After the installation is completed, you aren’t dependent on anything except the existing Debian infrastructure which is, of course, rock-solid.

⤋ Read More

I just caught a bit flip in a tmpfs. The 42 MiB file only existed for about 3 minutes before the error was first detected by the FLAC decoder. Very unlikely.

$ xxd -b ../08.\ New\ World\ Rising.flac >old
$ xxd -b 08.\ New\ World\ Rising.flac >new
$ diff old new
2959577c2959577
< 010ef510: 11110011 01001010 11111010 10011111 11110011 00111011  .J...;
---
> 010ef510: 11110011 11001010 11111010 10011111 11110011 00111011  .....;

⤋ Read More
In-reply-to » Oh okay, so Youtube is cracking down on "Ad Blockers". Media Rightio. 🤔 And paying for Youtube Premium costs $14/month?! 🤯 Media Get fucked 🤣 I guess I won't be using Youtube anymore. #Youtube #Ads #Premium #Suck

@prologic@twtxt.net They can’t win unless they do it cryptographically, i.e. with real DRM. Even then, I think it’s still easy enough to extract a Widevine L3 key from an Android phone.

⤋ Read More

An update on the NTFS situation: I got a reproducible ntfs3-related kernel panic on my server just by reading every file with md5sum on the NTFS I actually want to back up with ntfsclone. It very well could have been related to mounting it partition read-only or using a USB to SATA adapter. I’ll try it again another time, probably on a machine that isn’t doing anything else important. I don’t know if I finally encountered the instability they talk about on Arch or if the ntfs3 driver just isn’t there yet. ntfs-3g has been okay for reads in my experience, but I’ve had issues writing.

⤋ Read More

@xuu As it turns out, btrfs is very cool. I’ve always used one big root partition, but getting the advantages of root+home partitions with no downside is just one reason why I’ll probably use btrfs on my next OS install. It could be a while, I’m a little sentimental about this one on ext4.

$ head -n 1 /var/log/pacman.log 
[2021-08-15T21:36:08+0000] [PACMAN] Running 'pacman -r /mnt -Sy --cachedir=/mnt/var/cache/pacman/pkg --noconfirm base linux linux-firmware networkmanager nm-applet i3wm base-devel vim'

⤋ Read More