• 1 Post
  • 47 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle

  • Limonene@lemmy.worldtoSelfhosted@lemmy.worldHow to selfhost with a VPN
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    2
    ·
    18 days ago

    Not sure how much you’re paying for your VPN, but a virtual private server can be had for about $5 per month. You’ll get a real IPv4 address just for you, so you won’t have to use non-standard port numbers. (You can also use the VPS as a self-hosted VPN or proxy.)

    $5 per month doesn’t get you much processing power, but it gets you plenty of bandwidth. You could self-host your server on your home computer, and reverse-proxy through your NAT using the VPS.


  • a slide out menu needs JavaScript

    A slide out menu can be done in pure CSS and HTML. Imho, it would look bad regardless.

    When if you said just send the parts of the page that changed, that dynamic content loading would still be JavaScript

    OP is trying to access a restaurant website that has no interactivity. It has a bunch of static information, a few download links for menu PDFs, a link to a different domain to place an order online, and an iframe (to a different domain) for making a table reservation.

    The web dev using javascript on that page is lazy, yet also creating way more work for themself.




  • The point of the blockchain is to achieve distributed consensus of what’s in the database. That way, one entity can’t unilaterally change what the database says.

    If you have a public non-profit institution maintaining the database, obligated to serve all legal customers, with serious consequences for tampering with it, you can get pretty much everything blockchain can do, for a billionth of the computing power.

    But with that system, you would lose these features:

    • partially-anonymous participants
    • service of all customers, even illegal ones
    • immunity to court orders




  • This is actually a serious problem in parts of China (Shenzhen, at least). You can never predict what kind of wall outlets will be in a building. Either the UK style (popular in nearby Hong Kong), American style (NEMA 5-15), or Europlug, and sometimes multiple types in one building. At the company I was mostly visiting, each conference room had universal power strips, which accepted all three styles of plugs as well as pinky fingers. I never figured out what the voltage/frequency was, and made sure to plug in only devices that could handle 120-240V.










  • If you’re trans: Start making plans to flee. You don’t have to carry them out right now. But do get a passport, even if it has to have your deadname. Canada or Mexico probably wouldn’t accept a US refugee just for being trans right now, but that will change in the future.

    If you’re an immigrant, or even a permanent resident: It’s unsafe in the US right now. I wouldn’t fault you if you left today. However, everyone’s circumstances are different. Maybe you want to stay and support your spouse and kids who are citizens, and you’re willing to risk your life to do it. It depends on the circumstances.

    Anyone else: Stay and fight.