• 1 Post
  • 228 Comments
Joined 2 years ago
cake
Cake day: July 29th, 2023

help-circle
  • mlg@lemmy.worldtoSelfhosted@lemmy.worldProxmox or Docker?
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 days ago

    Proxmox or even just lazy old KVM GUI for anything that needs to be deployed manually in a VM (Home Assistant, WIndows VM, etc.). Otherwise you can even just spin up whatever manual service you want to run on an LXC container or bare metal host with the correct security settings with systemd and selinux if you want to be extra careful.

    Docker/Podman (the superior one lol) is just an automated deployment system in container form (like Ansible). It great for automated deployment without having to manually configure the installation process and worry about upgrades, changes, etc. You can even easily create your own images on the fly just for the purpose of having it run a single service inside a container.

    Proxmox equivalent would be like using Terraform/OpenTofu to deploy VMs to do the same thing. Its possible, but just not that common because of the reduced overhead with containers, and well supported deployment images with docker/podman specifically.

    Generally speaking, I’ve seen proxmox used more in lab environments were you want to emulate something like a complete network of machines whereas docker/podman has become the defacto server deployment platform.

    You’re just much more likely to find software with a published docker container and default docker compose script than the same thing in Terraform or even K8s/K3s.






  • Pentagon wasted tax money on facebook bots to convince people in East Asia that the chinese covid vaccine was poison, so no one is really buying the “China human rights abuses are what allow China to succeed” idea anymore.

    Especially since you can just as easily point to Japan’s infrastructure projects which achieved the same thing under US supervision post WWII, meaning said human rights violations aren’t even a supposed cost if there’s less evidence of it that of UAE literally pirating in immigrants to build their lavish towers and stadiums.

    Of which the US fully supports, so this just goes back to the blame game of who is worse.

    Yes, China has some shady ideas of what is considered acceptable behavior and work output from citizens, but the point is that they are using it to rapidly grow their infrastructure, unlike NA which take a decade for a single transit system to get approved all while car OEMs are pumping out dumpsterfire vehicles of whose parts are overwhelmingly made in China.



  • I honestly think Iran is too defanged to make a difference with escalation. Israel flexed their capability heavily and eliminated part of Iran’s C&C and a lot of their military and nuclear assets in one go, and they’re still continuing with strikes for any mop up.

    It’s a win-win situation for them because they’ve got the US to defend them and they can go almost full force on whatever they deem a threat.

    It might technically backfire for Netanyahu if Iran fails to mount any serious counteroffensive, at which point he won’t have any escalation path to stay in power, but it’s still a big win for Israel’s interests.

    Also not related to the question, but this proves HTS in Syria is just another CIA project that will follow Washington’s demands no questions asked since they clearly allowed Israel to operate within their airspace.









  • Dedicated magic government doesn’t have a standing army or even an official police force branch to ensure public safety, and relies on essentially a band of mercenaries to take down Voldemort.

    Twice

    Also:

    For me it’s always the unexplained power nerfing that authors do just to advance the plot.

    Harry Potter in the first 3 books was fearless, he literally took on voldemort with his bare hands.

    Then when the dumbass plan with the port key cup happens, he just stands there like an idiot as the rat dude kills Cedric and revives Voldemort as if both he and Cedric don’t have wands that allow them to cast spells.

    I mean they could have maybe had like 20 wizards camping the graveyard to make escaping impossible, but nah they really tried to make the coward rat guy seem like he was now somehow more capable than all of voldemort’s previously defeated plans combined.


  • I have run photoprism straight from mdadm RAID5 on some ye olde SAS drives with only a reduction in the indexing speed (About 30K photos which took ~2 hours to index with GPU tensorflow).

    That being said I’m in a similar boat doing an upgrade and I have some warnings that I have found are helpful:

    1. Consumer grade NVMEs are not designed for tons of write ops, so they should optimally only be used in RAID 0/1/10. RAID 5/6 will literally start with a massive parity rip on the drives, and the default timer for RAID checks on Linux is 1 week. Same goes for ZFS and mdadm caching, just proceed with caution (ie 321 backups) if you go that route. Even if you end up doing RAID 5/6, make sure you get quality hardware with decent TBW, as sever grade NVMEs are often triple in TBW rating.
    2. ZFS is a load of pain if you’re running anything related to Fedora or Redhat, and the performance implications from lots and lots of testing is still arguably inconclusive on a NAS/Home lab setup. Unless you rely on the specific feature set or are making an actual hefty storage node, stock mdadm and LVM will probably fulfill your needs.
    3. Btrfs has all the features you need but is a load of trash in performance, highly recommend XFS for file integrity features + built in data dedup, and mdadm/lvm for the rest.

    I’m personally going with the NVME scheduled backups to RAID because the caching just doesn’t seem worth it when I’m gonna be slamming huge media files around all day along with running VMs and other crap. For context, the 2TB NVME brand I have is only rated for 1200 TBW. That’s probably more then enough for a file server, but for my homelab server it would just be caching constantly with whatever workload I’m throwing at it. Would still probably last a few years no issues, but SSD pricing has just been awful these past few years.

    On a related note, Photoprism needs to upgrade to Tensorflow 2 so I don’t have to compile an antiquated binary for CUDA support.


  • Whenever the new standard hits the almost impossible golden triangle of “cheap, reliable, and fast”.

    It’s gotta be cheaper than the alternatives, better and more reliable than the alternatives, and faster/easier to adopt than the alternatives.

    Early computers for example had various ways to chug math, such as mechanical setups, relays, vacuum tube’s, etc.

    When Bell invented their MOSFET transistor and figured out how to scale production, all those previous methods became obsolete for computers because transistors were now cheaper, more reliable, and faster to adopt than their predecessors.

    Tbf though transistors are more of a hardware thing. A better example of a standard would be RIP being superceded by BGP on the internet.


  • Not Eurpoe specifically but I shared a rather basic comment on YouTube joking about Great Britain causing famines in India but its okay because they brought trains and the result is a mile long thread of pissed off UK suckers telling me I’m wrong, that there was no fammine, the Wikipedia article and its 300 sources are fake, and that the British empire totally went around modernizing civilization for the benefit of humanity. (Was a post about Irish complaining about a very crappy Irish History book made by a British author)

    So I guess for any of those people, no GB was just a colonist empire racing to exploit the hell out of resources faster than France, Spain, and Portugal. The technology they brought was used almost exclusively in their conquest operations (Trains used to transport goods and resources) and they actively supported and supplied opposition groups to destabilize and overthrow governments similar to what the USA does today.

    I mean seriously, they held immense power over China via opium and are responsible for practically every shill state in the middle east because they provided weapons to overthrow the Ottaman empire.

    The iconic pan arab flag is actually a British designed flag given to all the opposition groups they funded to break up Ottaman power.

    They fell apart after exhausting their power in WWII and the USA came in to save them so now they gleefully cheer about how they carried in WWII with intelligence services as if Germany couldn’t have easily invaded the entire nation overnight had Hitler not been an incompetent moron.

    Thankfully, after exploiting half the world, they totally didn’t spend the last of their power screwing over every former colony into some long term problem that they could exploit without the need for military power.