highspire

joined 1 year ago
MODERATOR OF
[–] [email protected] 1 points 1 year ago (1 children)

Just noticed Zig with the 2023 StackOverflow survey. Stood out as a language people seemed to be happy with, and paid a lot. I tried elixir for a day and, like you, it wasn't my thing. For what it's worth (less than the cost of the electricity used in the process of posting my comment), I say maybe try Zig

[–] [email protected] 3 points 1 year ago (1 children)

I want to say that I saw a post at some point about one of the popular instances (was it beehaw or lemmy.world?) not requiring users to answer a challenge question during signup. Does it seem like email verification is sufficient to mitigate bots or does a challenge question help too, do you think? Sopuli required both. Unverified users can apparently post?

[–] [email protected] 2 points 1 year ago (1 children)

Cool! Thank you. I appreciate the detail with which you write. I'm going to give this a shot, I think!

[–] [email protected] 1 points 1 year ago (3 children)

Thank you for your extremely thoughtful response. One thing I need to research for myself is how user data, configuration, etc. is handled with a rollback. In MicroOS, the system itself is snapshotted by default (/etc for example) but user data (/home) is not. I would assume that a rollback would not touch the user data, so an upgrade could break that (e.g. database migration performed by a package update).

If you're always able to roll back, is taking the time to build and run a VM really worth it except for very critical maintenance windows? Does the VM just copy the nix config or the data too? Today, I use Vagrant for testing my Salt states. It does what I need.

I don't come from functional programming, but I'm sure I'll figure it out. Would have been nice for it not to have its own language, but I suppose that's most efficient instead of repurposing / abusing another language in a weird way.

[–] [email protected] 2 points 1 year ago

Ah, good to know, thank you. I hadn't really considered that if the whole environment is scripted out like it is, then I wouldn't get as much benefit out of them as I do otherwise. Good tip!

[–] [email protected] 3 points 1 year ago (3 children)

Sweet, thats's a big deal for me as well. Nobody else wants to learn any kind of orchestration or anything, so I've been trying to get Salt to manage the containers I have, and it's a bit of a pain. Having them configured the same way as the server would prevent some headache, I think!

[–] [email protected] 1 points 1 year ago

Thank you! I'm lucky in that nearly all my servers have to run on-prem, so that's not so much of a concern. I'm sure I could convince the powers that be to allow me to use a different cloud provider for the couple special cases if we couldn't continue with what we use (Linode/Akamai).

 

Hey all, I'm wondering about giving NixOS a try. It seems like it's mostly marketed for development environments and CI, but I haven't seen much of anything about it being used on production servers. Right now I manage Alma 8 servers with Salt, and bootstrap Salt with a modified version of the ISO. NixOS seems like it could help streamline how I do things. Does anyone use it and have thoughts one way or another?

 

I wish the 2023 (well, every) Honda Rebel 500 had a tachometer. I understand it's a cruiser and not for racing, but I still want to know where I'm at without finding out the hard way (accidentally bouncing off the rev limiter and damaging something). Is there a cheap aftermarket tach that can be added for this?