this post was submitted on 07 Mar 2025
223 points (97.9% liked)

Selfhosted

60114 readers
835 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.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

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

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require your active participation in selfhosting or related communities, or the post will be removed. No more than 10% of your posts or comments may be self-promotional, or your post will be removed. F/LOSS Exception: If your post is about a project that is completely open source & can be self-hosted in full without payment, your post is exempt from this rule as long as you continue to engage in comments.

Resources:

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

Questions? DM the mods!

founded 3 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
[โ€“] MonkeMischief@lemmy.today 1 points 1 year ago* (last edited 1 year ago) (1 children)

One possibility could be because in conventional "computer counting" in (most) coding languages, it starts at zero. Like if I make an array of things

[monke, chimp, peanut]

monke would be [0]

chimp would be[1]

peanut would be [2]

Once I learned about this concept I started naming enumerated things from 0 usually just to keep a kind of consistency. Maybe I think if it's a habit, I won't make those mistakes as often with code. I dunno. :p

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).