I read quite some RSS and articles daily, plus the ones that colleages and friends send or recommend me. Right now the ones I find most relevant/interesting I just tweet them (and they get lost after a while). As I've seen at other blogs (and used to do at a defuct website), I've been thinking about gathering those articles and posting the list among with small comments from me. So, here it comes the first batch, let's see if I keep it up:
My father died age 49 of cancer (almost 10 years ago). He worked a lot, partied a lot (newspaper editor, specialized in films and culture, meant frequent night events and the corresponding drinks), travelled a lot, and sometimes also spent a lot on unneeded extras. He was always saying that "money is to be spent". He came from a poor childhood (3 generations of the family living on an attic), with time I've perfectly understood why he valued money just as a means of inmediate happiness.
My mother, nearing 65 now, is going to finally retire in less than a month. Her wishes were to move out of the city, enjoying her dog and maybe going back to the university to study another degree (she has two already). Around one year and a half ago, the dog passed away. And since last year, she hasn't been able to work because she's suffering severe bone and muscle pains at the legs, shoulders, arms... limiting her mobility and making her morning wakes slow and painful despite the medicines. She needs frequent visits to the doctors for the time being, so not only studying is not an option but also leaving Madrid for now is out of question. She's one of the kindest persons I've ever seen, she's worked dead hard, and life is paying her back so unfairly and precisely now that she was going to enjoy a well earned retirement.
Life is sometimes a bitch no matter you're good or bad, and you can never know if you'll be able to fullfil all those dreams you have. It's better to not waste time doing the things you don't like or working a way you don't feel suits you. Friends & family are one of the most valuable treasures we have, not stock options or working at a nice well-known company. I love development and work constantly to improve at it, but I work to live, not live to work.
Don't be a fool and choose wisely what you do with your time, because each second that passes is never going to come back, and you never know when the clock will stop ticking. So carpe diem, seize the day.
(Having some rough days because of family issues so thought writing could be of help and also for my future self to remember)
 I was actually going to say Carpe diem and fuck bullshit, but some level of BS is unavoidable and tolerable (and easiest way to cope with it is ignoring).
Second, and for now last, book regarding people/team management that I've finished recently. The perfect companion to read alongside Peopleware, full of interesting advices, at least for noobs in management like me. Now, for other topics as the best way to improve is to practice.
Author: Michael Lopp
Managing Humans talks about a 20 years of experience manager and his advices, lessons, tips, experiences lived, mistakes done... But written full of humour, jokes and funny scenarios and comments, up to the point that even the glossary at the end is really and worth reading for some geeky jokes. It touches many topics, from pure people management to handling meetings, stressful scenarios, problematic employees, inter-team communications, recruiting, avoiding churn/burnouts, productivity...
I won't get too deep because it covers a specific area, but there it nails it (from my humble opinion), so if you want to improve your team lead skills I think can be really useful. also, you can check my notes below to see some fragments of the content.
A manager's job is to take what skills his people have, the ones that got them promoted/hired, and figure out how to make them scale.
Manager must haves:
Today I had to build a new microservice which uses PostgreSQL for data storage. Following the containers principle of disposability instead of reuse, I need to provide some bootstrap logic that setups everything needed for this piece to work independantly and assume that each run might be the first run. Also, following the Twelve-Factor App config guidelines I shouldn't store any relevant configuration value in files, but use environment variables instead.
What looks simple in theory is indeed simple when you find a solution, but might not be obvious, so here's my approach. I use Linux createdb command, but as it doesn't allows you to specify the database connection password as a parameter, I use a .pgpass file with the proper permissions to make it work, with the added bonus of only using bash scripting to achieve it.
echo "*:*:*:$DB_USER:$DB_PASSWORD" > ~/.pgpass chmod 0600 ~/.pgpass createdb $DB_NAME -h $DB_HOST -p $DB_PORT -U $DB_USER -O $DB_USER -w || true rm ~/.pgpass
There might be better solutions (I'd love to hear them) but this does the job and is easy to understand.