There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

klay ,

That doesn’t answer the question, they asked if it’s open source. I agree, I don’t want to replace one sketchy data-harvesting service with another, I’d be a lot more comfortable giving shutup10 control of my system if it was on github or gitlab.

klay , (edited )

Ah! This is a shell pipe! It’s composing several smaller commands together, cool stuff.

  • ls -1 is the grep-friendly version of ls, it prints one entry per line, like a shopping list.
  • head takes a set number of entries from the head of a list, in this case 2 items. negative two, meaning “all but the last two.”
  • xargs takes the incoming pipe and converts it into extra arguments, in this case applying those arguments to rm.

So, combined, this says “list all the .dump files, pick the first two, all but the last two, and delete them.” Presumably the first are the oldest ones and the last are the newest, if the .dump files are named chronologically.

klay ,

I just looked up the man page, and actually head -n -2 means “everything up to but not including the last two lines”, so this should always leave two files remaining.

klay ,

Won’t this delete the two newest files, as opposed to everything except the two newest files?

klay ,

I agree with you but your tone is way too violent, we should be helping people learn from their mistakes, not infantilizing them.

klay ,

I think part of the problem is just that there are a lot more good games that people know about! Unfortunately one of the tradeoffs for all the riches of heaven is that it’s a lot harder to cover them all.

klay ,

Like many open source games, it has that distinctly ‘alpha’ feel to it right now, but I do enjoy NodeCore on occasion. It’s a zen minimalist block game with a unique diagetic crafting system. Instead of a traditional “recipe book” or “crafting grid”, you produce new materials through in-world transformations. For instance, to make glass, you have to surround sand with fire, and to control fire, you basically want to build a deliberately-shaped dirt or stone pit… the whole thing feels a little like minecraft and a little like a sand physics sim or cellular automata.

klay ,

I hope it gets a PC port. I’m done with Switch exclusives.

klay ,

this is my current solution; I use Obsidian to manage my notes and I sync the folder with Syncthing. I still use Google Keep though for its whiteboard tool; is there a better app for that?

klay ,

Basically, repeat the experiment under a wide range of conditions, and show that the conditions for success, if any, are far beyond the original claim. I always loved the ‘mythbusters’ approach: if one bible can’t stop a bullet, how about two bibles? ten? where is the cutoff between true and false?

klay ,

where do you find good sources to follow, then?

klay’s simple cookbook for Linux, v0.9.2 (klay.gay)

Updated my self-hosting tutorial based on suggestions from last time. The biggest change is the new chapter on network security. If anyone out there is a security nerd I’d love your feedback! I tried to strike a balance between playing it safe and getting something into production.

klay OP ,

ah, well spotted! I’ll fix that, whoops

klay OP ,

Very high praise! Let me know what they find helpful or frustrating!

klay ,

Hear hear! I thought I didn’t like the fediverse because Mastodon did such an awful job selling it to me. “Oh, I can’t view other instances’ local timelines without making accounts on them? What’s even the point of federation then?” But on Lemmy you can easily browse communities outside your own instance. So it’s not the fediverse’s fault, Mastodon just doesn’t have a clear audience.

And yeah, I can see how a lot of Mastodon’s features are “privacy-focused”, but I think it does TOO good a job, it’s so private that you can’t find anything!

klay ,

in a word, intersectionality. you’re getting people who were already looking for an excuse to ditch reddit and twitter, and of that group, you’re selecting the ones with the most tech literacy. That tends to overlap people with progressive politics.

klay's cookbook for web server admins, v0.5.2 (klay.gay)

I’m writing my own novice guide to setting up a home server, the stuff I wish I’d been told when I started. Would love feedback from beginners on how useful this is, as well as feedback from veteran self-hosters on how accurate this is, and I welcome suggestions from anyone about what I should add next....

klay OP ,

I wish I had a better guide on that myself! I’ve been using this guide for the time being, it covers the basics of how to set up a firewall: www.raspberrypi.com/…/configuration.html#securing…

klay OP , (edited )

actually, could you tell me more? not only are those new solutions to me, those are new problems. I don’t even know how to tell if uPnP is turned on.

edit: oh! I have actually dealt with NAT reflection before, the guide I used called it Hairpin NAT. help.mikrotik.com/docs/display/ROS/NAT#NAT-Hairpi…

klay OP ,

ah, thank you! it’s actually been long enough that I created a new post here: lemmy.world/post/2444639

klay OP ,

updated post here, includes section on networking! let me know if this looks good? lemmy.world/post/2444639

How is Everyone Managing secrets in a Compose File Repo

I’ve migrated off of Portainer to standard docker compose recently so that I can script some major tasks like updating all the containers or restarting all of them. I also liked the idea of being able to put the compose files into a git repo and push it up so that they are automatically backed up. I hope to be able to turn...

klay ,

I add .env to my .gitignore, then I can safely put secrets in my .env. If you have a big .env file, make a sample.env with the secrets removed.

What is your machine naming scheme?

I’ve ended up with a number of machines on my network, and a need to name them all in a somewhat logical way. For several years I had them named after the planets, which worked well until the PCs for myself, my girlfriend, servers and Raspberry Pi’s quickly summed up to more than the eight planets. I’ve broadened it...

klay ,

I’ve changed my naming scheme so many times that its practically a set-of-sets at this point. But, “board games” is a good long one if you have a lot of machines.

klay ,

I agree in theory, but in practice, when Google dropped RSS and XMPP support it took most of my friends with it, which is what started this mess in the first place. I’m actually not a fan of mastodon; feels too ambitious to start a new protocol without a killer app. RSS and XMPP are extensible protocols and I really just want modern support for those.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines