3 ms·
> Your wrapper version with the fancy colors isn't better. makes me look over my shoulder. > 3 Inherit the environment in the process forks. Don't make me man
by w0m 5y ago
> Your wrapper version with the fancy colors isn't better.
makes me look over my shoulder.
> 3 Inherit the environment in the process forks. Don't make me manually go in and pass things down.
I do think this one has saved me a number of times though; being explicit. I find people polluting the namespace somewhat often; and it's more of an "don't do that" not "shit everything's broken"
- kristopolous 5y agoI'm thinking of some project I'm working on where you pass in parameters and environment variables and it completely utterly ignores it. It took me a while to figure it out. To start up the web server it calls some thread "provider" which calls a thread managing library manager, which calls yet another thread managing library which then forks some threads. Of course documentation is non-existent on most of it. Within this garbled mess their was literally no way to say "I want to debug this as well" by passing down an environment variable. I had to fork the various dependencies to pass down that. It's not a matter of well documented thoughtful code, that's not the issue. It's spaghetti dreams of teenage imaginations; an infrastructure of sandcastles ravaged by the oceans of time.