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!

  • DaPorkchop_@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    Y’all are too creative for me… I have:

    • poweredge-r520-0
    • poweredge-t620-0
    • poweredge-t620-1
    • pi4-0
    • pi3b-0
    • pi3b-1
    • pi3b-2
    • pi3b-3
    • vostro-3525-0
    • ideapad-c340-0
    • killabeezio@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      I have to ask, why start with 0? I never understood this with infrastructure. I would do something like 00000 if I did numbers so it would be easy to sort, but I always started with 1. I’m just curious.

      • MonkeMischief@lemmy.today
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 hours ago

        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

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 hours ago

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

    • Toribor@corndog.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      This is basically how I do it too.

      I used to be more creative but then I got in the habit of running more servers and swapping hardware more frequently so it got harder to remember what hardware I was actually connecting to. Now they get hardware based names and everything else is named by service-based Ansible roles.