• 2 Posts
  • 332 Comments
Joined 3 years ago
cake
Cake day: January 16th, 2024

help-circle
  • This is one of the right answers, and probably the easiest.

    But…who is your domain registered with? A lot of the big registrars (I.e. CF) can easily integrate into several opnsense plugins…namely ACME/HAProxy, and Dynamic DNS.

    Dynamic DNS would make sure that “pubip.mydomain.com”, from the outside, always pointed to your Internet connection, even if your IP changes.

    Then just register CNAMEs for your external services to point to your pubip.mydomain.com.

    HAProxy reads the CNAME and directs it to the right service.

    You can either use split DNS and have HAProxy listen on both the internal and external, and map DNS around that way…or you can just listen on your external interface and connect that way and only update one end.

    Imo this is the more comprehensive solution, because this also easily solves certificates (via ACME). The last leg (from HAProxy to backend) and be unencrypted or just use long-life self-signed certs if you really care…but I wouldn’t worry about encryptipn on the inside of a homelab.


  • I’ve done that, and thensome…

    It was literally my first foray into Linux, circa 1997, I think…I was definitely in middle school, maybe 7th grade.

    I’d just gotten my RedHat CD in the mail from some website I had found that accepted COD and charged scantly more than the cost of time & materials to produce.

    I installed it on my PC alongside windows and learned how to use fstab to mount my Windows Partition automatically when I boot into it! Sweet! Next I wanted to figure out how to start X-Windows and couldn’t find instructions in the Linux book I’d gotten from the library.

    Naturally I booted into Windows, hopped on EFnet #Linux, and asked in there. One guy answered me and I wrote it down so I could boot into Linux and try it out.

    I should also add that at this point in time, I had not yet learned about the value of not using root for everything.

    Once in Linux, I typed it out…rm -rf /. Logged in as root. Windows partition automatically mounted. Seems to be taking a lot longer than I thought it would…maybe I can see what the rm command says in the book?

    Oh…Oh no…

    (The correct answer was startx. startx.)

    I will say that I’ve distrohopped quite a bit and it was just this past week that I decided to try out CachyOS (and Hyprland), after being very well settled into Fedora…and the installation was probably the most difficult of any I’d done recently, but that was almost entirely on me…I’ve used Arch-based distros before, I’ve used calamares before…this was different. It was because I wanted to preserve my old /var partition, or at least my /var/lib/libvirt…and the installer kept freaking out about it. Ultimately I ended up just deleting everything except /var/lib/libvirt out of the partition before running the installer and it went fine. The time prior to that, I thought I’d try Cachy in a VM, and it refused to install several times. I think that actually might’ve just been my computer’s first signs that I had a failing stick of RAM, because it wasn’t long after that that the whole system started to decline…


  • Windows “just works” the way Microsoft wants you to just work it.

    macOS is the same way, but they also haven’t made stupid sweeping changes that break decades of muscle memory, solely for aesthetic purposes…Like whatever the fuck they call paintbrush now, taking away the Alt+F and Ctrl+S keyboard shortcuts. Ugh.

    That’s why I like Linux, really. It feels kinda…idk…hostile(?)…using Windows lately. Like there’s a tension in the air between me and my computer. As in, Linux behaves the way I tell it to behave. It knows the rules and so do I. The computer is subservient to me. Windows (and macOS…but to a lesser extent, because I’m not nearly as strong in it as I am the other two) act like they are in charge.

    And even if I don’t want to customize it, there’s a thousand different OOBE’s out there for Linux, surely one will work the way that I want it to.

    Gnome is a great example. The Meta+LeftClick+Drag operation for moving windows, and Meta+MiddleClick+Drag for resizing? Chef’s kiss. Lot’s of DE’s incorporate some variant of that now. Workspace view (or whatever it is called you get when you press Meta in Gnome) is another feature sorely missing from Windows.

    Get used to using that and then go back to Windows.

    Hell even Tiling WM’s. How long did it take Windows to get (modern) tiling, and how ass-poor is it? Seriously, Hyprland (at least on CachyOS) has got to be the absolute slickest out-of-the-box-experience I’ve had with a DE. Tiling in Windows feels like it hasn’t seen an improvement since probably Windows 3.1…and even in 11, it’s only halfway decent if you install PowerToys.

    It blows my mind that Windows is the default OS for general business/productivity tasks. Absolutely the worst of the (major) three in every aspect of productivity.


  • Well now Idk about that…it’s assumedly trained on the entire Microsoft archive of code. Probably also trained on everything in GitHub, too.

    I wouldn’t doubt an LLM’s ability to churn out lots of lines of code and add-on half the original LOC’s in random Windows Crap.

    Also, have you seen Windows 11? Damn near unrecognizable from Windows 10 20H2, let alone 1507. And a lot of that is absolute crap updates like hiding the original legacy tools and putting in worthless apps that look nice but can’t do half the crap that they could before (looking at you, ncpa.cpl)…but at least the original tools are just “hidden”, not removed. Yet.

    I will say, I do like PowerShell lately. Probably more than bash (as in, all other things equal, I can either turn on a Windows PC to write a shell script, or a Linux PC to write a shell script, to do the same thing…the only reason I’d prefer bash would be because I wouldn’t have to use Windows…). Not as much as Python, but that’s kinda apples/oranges.














  • but instead decided to make other calls to it directly.

    Like with command line tools? But that’d be hacking! Egads!

    Is it a B&E if the door is wide open…or would that just be an ‘E’?

    If you let your neighbor walk in to your house as he pleases…can you get mad at him if he walks in like Cosmo Kramer while you’re shagging your wife? Assuming you’re not into that, of course.

    What if he had noble intents…like he heard the moans and thought you were at work and he was about to break up an affair or stop a rape or have some leftovers?