• 0 Posts
  • 6 Comments
Joined 3 months ago
cake
Cake day: September 5th, 2024

help-circle

  • redxef@feddit.orgtoich_iel@feddit.orgIch🐮🐍🖥️iel
    link
    fedilink
    English
    arrow-up
    12
    ·
    7 days ago

    Lustiger Fakt: Python ist stark typisiert (aber dynamisch), aber booleans sind trotzdem integer:

    assert isinstance(True, int)
    

    War die einzige Falle in die ich bis jetzt rein gelaufen bin, die wirklich gemein ist.

    Und typehints im Zusammenhang mit cython. Und cython eigenheiten generell.





  • There are minecraft reverse proxies, so, yes, a http proxy will not work, but the general idea is still viable and doable with very little effort.

    Set up a few domains all resolving to one IP. Run itzg/minecraft-router and use that to proxy the traffic to different servers based on the domain.

    Also, they don’t even need a reverse proxy, but just resolve the domain name to the IP (in the simple case of one domain name per I0). That can be accomplished by hosting their own dns server, editing the hosts file or just pointing a public dns record at the private ip address, which will only work in their network,l.