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

Who said it’s a different instance?! Renaming a directory structure doesn’t have side effects like this in pretty much any other infra stuff. It’s like nc or curl deciding what Server to connect to based on the current directory name. Whacky.


It's a great convention over configuration decision (that you can overwrite with -p) that trivially gives solution to multi-tenancy problem, similarly you'll run into problems when renaming $HOME to something else; for curl it's more like being surprised that it uses different source ip address and gives different result when called from host in China than in Europe.


Precisely my point. It's surprising behavior that breaks the mental model of more than a few people I've mentioned it to.


That is specifically how it's designed. If you want to create a bunch of identical but differently-named projects, put them in separate directories.

Why on earth would you want to have lots of different directories that all point to the same instance? That's simply idiotic.




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

Search: