this post was submitted on 09 Sep 2023
1053 points (97.2% liked)

Programmer Humor

32718 readers
334 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 39 points 1 year ago* (last edited 1 year ago) (5 children)

Also, can somebody explain this to sysadmins when it comes to naming computers?

I mean programmers can have some weird naming conventions, but I've never met an adult professional programmer who named all his variables after planets or Harry Potter characters or just called everything stuff like ADMUTIL6 or PBLAB03T1 or PBPCD1602.

[–] [email protected] 19 points 1 year ago (1 children)

Harry Potter characters is a perfectly reasonable server naming scheme. Server names should be easily recognisable but not tied to any particular service/project/function on that machine (as the server may be used for other things later etc)

See RFC 1178: https://www.rfc-editor.org/rfc/rfc1178

[–] [email protected] -1 points 1 year ago (2 children)
[–] [email protected] 6 points 1 year ago

Don't act like the internet isn't built on RFCs that old

[–] [email protected] 19 points 1 year ago (2 children)

Windows backwards compatibility can't handle more than 15 characters in a name.

[–] [email protected] 11 points 1 year ago* (last edited 1 year ago)

Harry1

Harry2

Harry3

![meme](i_can_do_this_all_day)

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

RFC1123 supports 63 chars, but even that gets problematic when you have things like $cluster-$datacenter-$node-additional-seed-service in k8s.

[–] [email protected] 16 points 1 year ago* (last edited 1 year ago) (2 children)

Pros use computer names like

Server
newerserver
newnewerserver
latestserver
Newlatestserver

[–] [email protected] 3 points 1 year ago (1 children)

My home lab took that personally, how dare

[–] [email protected] 4 points 1 year ago (1 children)

My SSID's are still listed as Testnet and Testnet5 after years. Had to test something at one point, it worked and never cared to go back and update things. 🤷‍♂️

[–] [email protected] 2 points 1 year ago (1 children)
  • Totally
  • Everlasting
  • SSID
  • Title
  • net
  • the 5th
[–] [email protected] 1 points 1 year ago (1 children)
  • Totally
  • Everlasting
  • SSID
  • Title
  • never
  • ever
  • transformed
  • the 5th

fixed it for you :) acronyms with full words in the middle of them are not acronyms

[–] [email protected] 2 points 1 year ago

You are correct, however 5 is actually short for 5725 ...

[–] [email protected] 2 points 1 year ago (1 children)

I once worked in a company that named theirs servers server1, server2, server3, etc.

[–] [email protected] 2 points 1 year ago (2 children)

That atleast makes them (hopefully) chronological and easy to refer to.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Unfortunately no. The servers were set up when needed for whatever was needed. server2 was the AD, server1 had a business application running, server3 had backup and time tracking … it was a whole mess.

Edit: the the memories come back. Nothing was virtualized. server2 was an old Dell tower computer running Windows 2000 on the bare metal and server1 was manually installed Debian with kernel 2.6.*something*.

[–] [email protected] 1 points 1 year ago

but easy to mix up

[–] [email protected] 16 points 1 year ago

There was a thread about that on c/selfhosted a few weeks ago. Created by a particular wild-cat-inspired sysadmin, I might add.

But on a more serious note, the interactions between a sysadmin and their servers (that they have enough responsibility for to be able to name) are much more intimate than the interactions between a dev and their variables. The server names also exist in a much larger namespace, so they need to be more unique.

[–] [email protected] 6 points 1 year ago

Every place I've ever worked has had a bobafet.