• 4 Posts
  • 83 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle
  • There are really two reasons ECC is a “must-have” for me.

    • I’ve had some variant of a “homelab” for probably 15 years, maybe more. For a long time, I was plagued with crashes, random errors, etc. Once I stopped using consumer-grade parts and switched over to actual server hardware, these problems went away completely. I can actually use my homelab as the core of my home network instead of just something fun to play with. Some of this improvement is probably due to better power supplies, storage, server CPUs, etc, but ECC memory could very well play a part. This is just anecdotal, though.
    • ECC memory has saved me before. One of the memory modules in my NAS went bad; ECC detected the error, corrected it, and TrueNAS sent me an alert. Since most of the RAM in my NAS is used for a ZFS cache, this likely would have caused data loss had I been using non-error-corrected memory. Because I had ECC, I was able to shut down the server, pull the bad module, and start it back up with maybe 10 minutes of downtime as the worst result of the failed module.

    I don’t care about ECC in my desktop PCs, but for anything “mission-critical,” which is basically everything in my server rack, I don’t feel safe without it. Pfsense is probably the most critical service, so whatever machine is running it had better have ECC.

    I switched from bare-metal to a VM for largely the same reason you did. I was running Pfsense on an old-ish Supermicro server, and it was pushing my UPS too close to its power limit. It’s crazy to me that yours only pulled 40 watts, though; I think I saved about 150-175W by switching it to a VM. My entire rack contains a NAS, a Proxmox server, a few switches, and a couple of other miscellaneous things. Total power draw is about 600-650W, and jumps over 700W under a heavy load (file transfers, video encoding, etc). I still don’t like the idea of having Pfsense on a VM, though; I’d really like to be able to make changes to my Proxmox server without dropping connectivity to the entire property. My UPS tops out at 800W, though, so if I do switch back to bare-metal, I only have realistically 50-75W to spare.


  • corroded@lemmy.worldtoSelfhosted@lemmy.worldLow Cost Mini PCs
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    3 days ago

    I have a few services running on Proxmox that I’d like to switch over to bare metal. Pfsense for one. No need for an entire 1U server, but running on a dedicated machine would be great.

    Every mini PC I find is always lacking in some regard. ECC memory is non-negotiable, as is an SFP+ port or the ability to add a low-profile PCIe NIC, and I’m done buying off-brand Chinese crop on Amazon.

    If someone with a good reputation makes a reasonably-priced mini PC with ECC memory and at least some way to accept a 10Gb DAC, I’ll probably buy two.



  • I’m okay with the “human-readability,” but I’ve never been happy with the “machine-readibility” of XML. Usually I just want to pull a few values from an API return, yet every XML library assumes I want the entire file in a data structure that I can iterate through. It’s a waste of resources and a pain in the ass.

    Even though it’s not the “right” way, most of the time I just use regex to grab whatever exists between an opening and closing tag. If I’m saving/loading data from my own software, I just use a serialization library.



  • The problem isn’t that Harris is being held to a higher standard. The problem is that Americans think of elections the same way they think of a sporting match. It’s “my team is going to win!” not “I’m going to vote for the candidate that is best aligned with my beliefs.” A huge number of the people who are voting Republican are doing so because the Republican party is their “team,” and damn it, their team is going to win even if it kills them.

    Many years ago, I was discussing politics with a coworker (always a bad idea, but whatever). It went something like this:

    “So, you don’t think the less-fortunate should be able to afford medical care?” “No, of course not, everyone should be able to see a doctor.”

    “You don’t think gay people should be allowed to marry?” “I’m not gay, but they can do whatever makes them happy.”

    “You support the war in Iraq, then?” “I support our troops, but the war is kind of a waste.”

    “We definitely should legalize weed, right?” “Um, I’d smoke it if I didn’t get drug tested.”

    “So why are you voting Republican, then?” “My family is Republican; we always do.”


  • I can’t speak to the AI voice generation part of this, but you might be interested in the Domesday Duplicator for digitizing your audio, especially if some or it is slightly degraded.

    https://github.com/harrypm/DomesdayDuplicator

    The project was originally designed for laserdisc, but it’s been expanded to support VHS and cassette tape. Traditionally, you would play your tape on a cassette player, then the built in analog circuitry would convert the magnetic signals into audio, amplify them, and feed them to a sound card on your PC, which then converts the analog signal to a digital audio stream.

    With the Domesdsy Duplicator, you record the raw magnetic signal from the read head and directly digitize it into a bitstream that you can then process as needed. For DIY archiving from an analog source, it’s one of the best options for signal fidelity, and it will give you the truest representation of what’s actually on the tape.



  • Like several people here, I’ve also been interested in setting up an SSO solution for my home network, but I’m struggling to understand how it would actually work.

    Lets say I set up an LDAP server. I log into my PC, and now my PC “knows” my identity from the LDAP server. Then I navigate to the web UI for one of my network switches. How does SSO work in this case? The way I see it, there are two possible solutions.

    • The switch has some built-in authentication mechanism that can authenticate with the LDAP server or something like Keycloak. I don’t see how this would work as it relies upon every single device on the network supporting a particular authentication mechanism.
    • I log into and authenticate with an HTTP forwarding server that then supplies the username/password to the switch. This seems clunky but could be reasonably secure as long as the username/password is sufficiently complex.

    I generally understand how SSO works within a curated ecosystem like a Windows-based corporate network that uses primarily Microsoft software for everything. I have various Linux systems, Windows, a bunch of random software that needs authentication, and probably 10 different brands of networking equipment. What’s the solution here?




  • I don’t necessarily feel like people are scared of criticism, but more so scared of being attacked. In my experience, a large number of people don’t know how to give constructive criticism in a way that’s actually helpful.

    Lets say you’re training somebody at work and your trainee makes a mistake. I’ve seen trainers respond to this in two different ways:

    • (Laughing) “Really?! No, why would you do that. This is the right way to do it.”
    • “That might work in some cases, but that’s not exactly right. A more efficient way is like this.”

    Humans are emotional creatures, some more than others, and our emotions influence how we handle criticism. It’s a fact of life. Most people want to learn from their mistakes, not be put in a position where they feel like they need to defend themselves. It feels a lot better to think “Okay, I’m making a mistake, but I know how to keep myself from doing it again” instead of “Wow, this person thinks I’m a piece of shit.”