Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is probably out of left field, but what is the benefit of having a naming scheme for nodes without any delimiters? Reading at a glance and not knowing the region name convention of a given provider (i.e. Hetzner), I'm at a loss to quickly decipher the "<region><zone><environment><role><number>" to "euc1pmgr1". I feel like I'm missing something because having delimiters would make all sorts of automated parsing much easier.


Quicker to type and scan! Though I admit this is preference, delimiters would work fine too.

Parsing works the same but is based on a simple regex rather than splitting on a hyphen.

euc=eu central; 1=zone/dc; p=production; wkr=worker; 1=node id


Thanks for getting back to me! Now that you've written it out, it's plainly obvious, but for me the readability and flexibility of delimiters beats the speed of typing and scanning. Many a times I've been grateful that I added delimiters because then I was no longer be hamstrung by any potential changes to the length of any particular segment within the name.


You can more easily double-click-select the full hostname when there are no delimiters.


Yea, not putting in delimiter and then us having to change our format has bitten me so many times. Delimiter or bust.


You can treat the numeric parts as self-delimiting ... that leaves only the assumption that "environment" is a single letter.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: