293 karma · joined August 16, 2011
Still ... I fully agree!
Eventually we merged that logic in an in-house app we built back in the days when the containers orchestration tools were still "rare", if i recall https://github.com/toscanini/maestro had just launched but wasn't really usable yet...
Thanks for the --dns tip!
Always wondering of the extra round-trip on DNS request when we could have a hardcoded value in the host. We're talking local network so the latency ain't much of an issue but still. Then there is the possibility of a dnsmasq restart when a request occur, caching ala nscd could work, but then we're in for a lot more trouble when it comes to expire that cache !
http://fridge.ubuntu.com/2013/03/19/changes-in-ubuntu-releas...
While I admire the dedication and focus it takes to stay up to such routine, I am certainly concerned by the quality of life and the narrow mindedness of enforcing upon oneself to code on a daily basis. What about days off? Going out friends / family for a weekend or holidays? One would suggest to bring your laptop so you can stick to it? This is madness to me...
I love to code, contribute to OS projects, do code for a leaving and for myself - but for nothing in the world I'd even attempt such thing.
Setting yourself with goals is great and required to some extend but on a proper schedule. Going to the gym 3 times a week can be achieved without being complexed by the fact you didn't go there every single day - and yet you can substantially improve yourself. I don't envy those buffy dudes that stick to it.
I'll stick to enjoying evenings with my wife, do code maybe 1 or 2 times during the week days, spend an extra day on more complex issues on the week end, and rest for the last day. Just saying.
Manners aren't universally agreed either, they are very much tied to the culture people are evolving in. Burping in the middle-east is appropriate and a courtesy to your host, I doubt it'd be very much enjoyed in a White House dinner. Taking some (good?) wine as bottom's up is respectful to your boss/partners in China, yet I believe some of your guests in France would find this offensive ;)
Interesting read nevertheless.
As for the lightbox part, there's indeed a bit more work in representing the content of the issues.
At the same time all init script are not suitable upstream; keeping the balance between simplicity and features is a hard one. Not every use would require a 10 foot long scripts that cover some awkward features that is seen in 1% of the cases - yet having a repository of capable init scripts seems a good way to mitigate the issue.
Same idea for services restart; don't do it unless absolutely needed. While it may be doing the trick in some cases it can also generate its own set of new false symptoms.
Take the example of :
- mysql is "slow"
- let's restart ! ...
- mysql init script has been puking dots (.) for the last 30 minutes on shutdown
- let's kill -9 it ! ...
- mysql db is corrupted ! Hurray!
I'm pretty sure there is also a whole bunch of other (less famous) commands that would and should be added.