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

Programmer Humor

32549 readers
487 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
[–] Pxtl@lemmy.ca 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.

[–] flying_wotsit@feddit.uk 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

[–] Pxtl@lemmy.ca -1 points 1 year ago (2 children)
[–] meekah@lemmy.world 6 points 1 year ago

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

[–] UnverifiedAPK@lemmy.ml 19 points 1 year ago (2 children)

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

[–] el_bhm@lemm.ee 11 points 1 year ago* (last edited 1 year ago)

Harry1

Harry2

Harry3

![meme](i_can_do_this_all_day)

[–] datelmd5sum@lemmy.world 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.

[–] JuxtaposedJaguar@lemmy.ml 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.

[–] lauha@lemmy.one 16 points 1 year ago* (last edited 1 year ago) (2 children)

Pros use computer names like

Server
newerserver
newnewerserver
latestserver
Newlatestserver

[–] Evil_Shrubbery@lemm.ee 3 points 1 year ago (1 children)

My home lab took that personally, how dare

[–] LifeInMultipleChoice@lemmy.ml 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. 🤷‍♂️

[–] Evil_Shrubbery@lemm.ee 2 points 1 year ago (1 children)
  • Totally
  • Everlasting
  • SSID
  • Title
  • net
  • the 5th
[–] meekah@lemmy.world 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

[–] Evil_Shrubbery@lemm.ee 2 points 1 year ago

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

[–] Dirk@lemmy.ml 2 points 1 year ago (1 children)

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

[–] lauha@lemmy.one 2 points 1 year ago (2 children)

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

[–] meekah@lemmy.world 1 points 1 year ago

but easy to mix up

[–] Dirk@lemmy.ml 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*.

[–] books@lemmy.world 6 points 1 year ago

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