I know all that and none of it contradicts what I said.
You remember when you could get a "free" phone with a subscription to a telecommunication service? It's kind of like that. The phone is not really free. It is marketing bs. The price (and profit) is payed by you through the subscription.
I guess you could go full mr robot and install a rpi in the wall where there is free wifi and hope maintenance never finds it. But that would be super illegal.
At the beginning there was the metaphor of being a landlord. Depending on your location in the world, you can buy land, pay nothing monthly and own and use it for ever.
There is basically no way to do that with a server. But while yall were being obtuse about my point that one needs to "pay rent" for an internet connection. I actually found something interesting that might be a way:
SIMO Solis Lite Mobile WLAN Router - 100$ one time purchase price. And they claim:
Includes 1GB of free global data volume per month, for the lifetime of the device
Of course that only works as long as the company exists and is profitable or whatever they mean by "lifetime of the device" - they could literally build in a fuse that pops after 5 years.
By "renting an IP" I mean paying a monthly subscription so that your internet service provider gives your home (which has your server) an IP so it is accessible through the intetnet.
It doesn't matter whether that IP is static or dynamic, as you said there are free dynamic dns services.
A VPS has an IP and electricity included in the renting price, which is pretty good for starting small tbh. You can do surprisingly much with a 2$/month VPS.
Besides the huge upfront cost, your own server would cost you in your own time maintaining it, electricity, replacing broken hardware and a subscription to the internet.
But generally I agree with you, the term landlord is completely unfitting for this setup.
On a related note:
Is there any way to not rent anything at all?
I have my own physical server, renting a domain is optional, but renting an IP is mandatory afaik, or are there some ways (legal ones, availabe to a normal person at a reasonable price) to get the server on the internet for free or by paying only once?
I have SFTPgo in a docker container with attached storage. Can access it through many protocols, but on linux I mount it via WebDav.
Whats neat is that I can also share files/folders with either other registered users or with a password or download only link and it has a web gui for that.
Cause people online kept saying that one should use it in their homelab. It's mentioned in basically every such post and there are a lot of videos about rpi clusters with k3s. So I assumed it's the way to go.
I basically do the same as you but with Dokploy cause the web ui makes it easier to manage than juggling ssh terminals and remote editing textfiles in an editor from the 19th century.
I'm a bit of a nerd but kubernetes was way too much for me. Currently I use dokploy on a raspberry pi which has a growing list of "recipes" in a "store". It does a lot of the heavy lifting in the background and has a pretty selfexplanatory web gui.
It really helped me to starting my selfhosting journey by slowly dipping my toes and going a bit deeper each time. Might be worth checking it out. Sorry if this reads like an ad, I just really like it ...
It basically takes the global minimum over all edge pairs (and their zero-curves) and return the orientation and extents with the smallest encountered volume. Which is basically like trying every possible position along the edges of the convex hull around your obect.
But I edited my comment to remove that part, because that bit is honestly irrelevant for OPs question.
You won't believe it but thats actually a very hard problem to solve algorithmically.
If you want to search further, it is called the “containment under free rotation” problem.
Edit:
There is a tool called trimesh that lets you load in meshes, compute convex hulls, and compute oriented minimum bounding boxes. https://trimesh.org/quick_start.html search for "bounding box" on that page.
Yes and yes