this post was submitted on 07 Mar 2025
215 points (97.8% liked)

Selfhosted

43793 readers
483 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi fellow selfhosters!

What hostnames do you use for your systems and services?
And maybe why if it's an interesting story.

I'll start:
Steam Deck: krax
Smartphone: krix (once I get LineageOS installed again)
MiniPC: krux
Reserved for future use: krex & krox

Creative, I know. 😅 The names have no deeper meaning. The x comes from Linux. That's it.

I know some of you use god names of certain pantheons, such as Thor. But I find that boring as a lot of people are doing that.  
 
 

Now let your pants down and tell me all about

your embarrassing host names!

you are viewing a single comment's thread
view the rest of the comments

Use Lua, it uses one-based arrays. This is nice for a few reasons:

  • last element is array[length]
  • zero can be reserved for the type (especially nice for representing XML: 0 = node name, 1-N = children, named table entries = attributes)
  • very rarely see + 1 and - 1 in my code

It feels wrong coming from C, but it's actually really nice, especially since the reasons C does it don't apply (i.e. index is just a memory offset).