• 0 Posts
  • 66 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle

  • Have you considered just beige boxing a server yourself? My home server is a mini-ITX board from Asus running a Core i5, 32GB of RAM and a stack of SATA HDDs all stuffed in a smaller case. Nothing fancy, just hardware picked to fulfill my needs.

    Limiting yourself to bespoke systems means limiting yourself to what someone else wanted to build. The main downside to building it yourself is ensuring hardware comparability with the OS/software you want to run. If you are willing to take that on, you can tailor your server to just what you want.


  • Short answer: yes, you can self-host on any computer connected to your network.

    Longer answer:
    You can, but this is probably not the best way to go about things. The first thing to consider is what you are actually hosting. If you are talking about a website, this means that you are running some sort of web server software 24x7 on your main PC. This will be eating up resources (CPU cycles, RAM) which you may want to dedicated to other processes (e.g. gaming). Also, anything you do on that PC may have a negative impact on the server software you are hosting. Reboot and your server software is now offline. Install something new and you might have a conflict bringing your server software down. Lastly, if your website ever gets hacked, then your main PC also just got hacked, and your life may really suck. This is why you often see things like Raspberry Pis being used for self-hosting. It moves the server software on to separate hardware which can be updated/maintained outside a PC which is used for other purposes. And it gives any attacker on that box one more step to cross before owning your main PC. Granted, it’s a small step, but the goal there is to slow them down as much as possible.

    That said, the process is generally straight forward. Though, there will be some variations depending on what you are hosting (e.g. webserver, nextcloud, plex, etc.) And, your ISP can throw a massive monkey wrench in the whole thing, if they use CG-NAT. I would also warn you that, once you have a presence on the internet, you will need to consider the security implications to whatever it is you are hosting. With the most important security recommendation being “install your updates”. And not just OS updates, but keeping all software up to date. And, if you host WordPress, you need to stay on top of plugin and theme updates as well. In short, if it’s running on your system, it needs to stay up to date.

    The process generally looks something like:

    • Install your updates.
    • Install the server software.
    • Apply updates to the software (the installer may be an outdated version).
    • Apply security hardening based on guides from the software vendor.
    • Configure your firewall to forward the required ports (and only the required ports) from the WAN side to the server.
    • Figure out your external IP address.
    • Try accessing the service from the outside.

    Optionally, you may want to consider using a Dynamic DNS service (DDNS) (e.g. noip.com) to make reaching your server easier. But, this is technically optional, if you’re willing to just use an IP address and manually update things on the fly.

    Good luck, and in case I didn’t mention it, install your updates.








  • The answer to that will be everyone’s favorite “it depends”. Specifically, it depends on everything you are trying to do. I have a fairly minimal setup, I host a WordPress site for my personal blog and I host a NextCloud instance for syncing my photos/documents/etc. I also have to admit that my backup situation is not good (I don’t have a remote backup). So, my costs are pretty minimal:

    • $12/year - Domain
    • $10/month - Linode/Akamai containers

    The Domain fee is obvious, I pay for my own domain. For the containers, I have 2 containers hosted by the bought up husk of Linode. The first is just a Kali container I use for remote scanning and testing (of my own stuff and for work). So, not a necessary cost, but one I like to have. The other is a Wireguard container connecting back to my home network. This is necessary as my ISP makes use of CG-NAT. The short version of that is, I don’t actually have a public IP address on my home network and so have to work around that limitation. I do this by hosting NGinx on the Wireguard container and routing all traffic over a Wireguard VPN back to my home router. The VPN terminates on the outside interface and then traffic on 443/tcp is NAT’d through the firewall to my “server”. I have an NGinx container listening on 443 and based on host headers traffic goes to either the WordPress or NextCloud container which do their magic respectively. I also have a number of services, running in containers, on that server. But, none of those are hosted on the internet. Things like PiHole and Octoprint.

    I don’t track costs for electricity, but that should be minimal for my server. The rest of the network equipment is a wash, as I would be using that anyway for home internet. So overall, I pay $11/month in fixed costs and then any upgrades/changes to my server have a one-time capital cost. For example, I just upgraded the CPU in it as it was struggling under the Enshrouded server I was running for my Wife and I.


  • Unfortunately, yes. There have been a lot of efforts to shift the energy mix in the EU away from Russian oil and natural gas. But, the effort has been slow and has meant rising costs. Also, by removing Russian production from the supply side, prices will invariably increase. Ukraine does have to balance the damage that can do to foreign support, against their war aims. Personally, I think it’s pretty selfish of the EU and US to ask Ukraine not to strike those resources. It’s essentially the US/EU saying, “more of your people need to die, so we can save money.” It’s a really crappy thing to ask.



  • I mean, the US could do that, but it’s kinda pointless. Ukraine would just be buying them with money that the US Government gave them in the aid package. It would mean the US Treasury moving money from the “aid going to Ukraine” column to the “US DoD budget” column. Sure, some of the aid is structured as loans. However, the President has the power to forgive half of those loans by the end of the year and the next President will have the power to forgive the rest of those loans in 2026. Unless the war suddenly ends and Ukraine suddenly finds a shit-ton of money somewhere, those loans are just going to be forgiven. As there is just no way they will ever be paid back.


  • Handy Infographic from the Congressional Budget Office (CBO):
    .

    • Total Federal outlays: $6.1 Trillion
    • Federal Social Spending
      • Social Security: $1.3T
      • Medicare: $0.839T
      • Medicaid: $0.616T
      • Income Security Programs: $0.448T
      • Total Social Spending: $3.203T

    Math warning:

    (3.203T / $6.1T) * 100% = 52.5%  
    

    So, not quite the previous poster’s 55%, but pretty close. There is also an “Other” column which likely includes other social spending and may have gotten us to that number. But, it’s enough of a mixed bag, and way too much work, to try and pick it all out.

    While the US could certainly adjust it’s spending in a lot of good ways, the idea that the US spends “nothing” on social programs is provably false. These numbers also get weird and much harder to pin down when we look at State level taxes and spending. Many years ago, I dug into education spending in the US. And while Federal Education spending is a drop in the bucket, the actual number is pretty large, because it’s considered a State responsibility and each State spends large amounts of money on it.

    For example, my home State of Virginia budgets $29.9 Billion for “Health and Human Services” this Fiscal Year 2024 and $25.0 Billion for “Education”, those two line items eating up about 62% of the State budget.



  • US Federal Law does NOT require that bills only deal with a single issue. So, a single bill could send aid to Ukraine, outlaw hats and declare Tuesday, “puppy kicking day”. And that would be fully within the US Constitutional method for passing Federal laws. All that matters is that the exact same text is passed in both The House of Representatives and The Senate and is then signed by The President. There’s a whole bunch of other stuff around it (veto process, and filibuster), but the ELI5 version is both houses of Congress pass the same bill and the President signs it and thus it becomes US Federal Law.

    There will, of course, be a whole other process around the law being challenged in the Courts. ByteDance will undoubtedly challenge the TikTok ban in Court. And that will take years to fully wind it’s way through the system. And the courts may issue an injunction, preventing the law from being enforced, until the decision is made. Basically saying, “nope Federal Government, you cannot enforce this until we say so”. Personally, I would expect that in this case. So, don’t expect TikTok to leave the US any time soon. Note that, this can be done to part of a law (again, I would expect this) and not the whole law at once. So, this won’t imperil US aid to Ukraine, Israel or Taiwan. It just means that we’re likely to see the bounds of US Federal Government power tested a bit. Does the US Federal Government have the power to unilaterally kick a company out of the US? I’d bet on “yes”, especially with the ties to national security. But, I could easily lose that bet.