magusd | 1 year ago | on: Show HN: I wrote a book about self-hosting for a small group of friends/family
magusd's comments
magusd | 2 years ago | on: Ask HN: How to move from dev role to management/team lead role?
There's no structure, there are no guidelines and that's because it's mostly dealing with people and people are almost always completely different from each other.
If you want to learn how to be a good/better management, focus on being a better person and helping the people around you get better.
magusd | 2 years ago | on: Ask HN: How do you not take criticism of your work personally?
I always second guess and ask for more details, because the person might just be misunderstanding me and I don't want to act on a false negative feedback.
I also make sure to tell them that's like pair programming for life, that the person making the critic is helping me, that I like it and I also tell a funny story to make them comfortable.
I tell the person that when I was in the army I had big angry men with guns screaming insults at me, there's nothing they can say to me that I might take offense.
Give me feedback please.
magusd | 3 years ago | on: Ask HN: Why did medium.com "fail"?
magusd | 3 years ago | on: Ask HN: How did you stop drinking?
Earlier this year I was reading 'The Gracie Diet' which is a book about nutrition written by the Gracie family, a the people who pretty much made brazillian jiu jitsu and the key take-away to avoid bad food is to think of it like a fight with a nemesis.
There's someone that is trying to kill you, he will try to use any means, what if he would try to poison you? How easy would that be? What if this enemy were to add poison to your ice cream? How easy would that be for you notice that? News flash, icecream is already poison and the enemy is yourself.
Replicate the same thinking to alcohol, it is poisoned because someone is trying to kill you.
Can't have tilted paintings. Ice-cream is poisonous. Alcohol is poisonous. The floor is lava.
Make it a game or leverage your existing OCD for good things.
magusd | 3 years ago | on: Ask HN: Food Addiction
magusd | 3 years ago | on: Ask HN: Why is Google Premium not a thing?
magusd | 3 years ago | on: Ask HN: When did tech stop being cool?
magusd | 4 years ago | on: Ask HN: What concepts have you never truly understood?
magusd | 4 years ago | on: Ask HN: Any weird tips for weight loss?
I've read a comment about gut bacteria, and I've also read a study about it and I was able to lose weight. If you think about types of gut bacteria that are helping you digest your food like little populations, you need to stop eating bad food like pizza, fast food, etc so that you can starve the population that's constantly secreting hormones that make you hungry for that kind of food. Then the craving goes away.
Declare war on those bacteria. No, it's no easy, it's pain and suffering. The first two weeks are hell. Then it gets easier and easier.
What I did was: - Sunday I cook meals for the week, two small portions every day. - Two options of tasty but healthy food. - Like mashed potatoes and grind meat or chicken and rice. - One small cake that should last the entire week as an emergency craving snack. - A ton of fruits. - A cheat meal on Saturday.
Do your best to stick to it, if you feel hungry you can try to eat one more portion, or fruits and in the worst case, a piece of cake.
The cake should also be very 'fit' like carrot cake with no fillings or frostings.
I have no weird tips or hacks, I've tried and fooled myself too many times.
There are no cheats, there are no tricks.
magusd | 4 years ago | on: Ask HN: Do you pull and run code as part of code review?
magusd | 4 years ago | on: Ask HN: Should we own the free stuff we pay for?
magusd | 4 years ago | on: Ask HN: Should we own the free stuff we pay for?
magusd | 4 years ago | on: Ask HN: What is your system for backing up family photos and video?
magusd | 5 years ago | on: Ask HN: How many hours per day do you work?
TLDR: coding != learning, coding for 4h = easy, learning for 4h = hard, take care of your body, delegate what you can, automate the rest, save your attention
By coding I mean: reading errors logs, stack overflow, and the actual code/test/debug loop.
I've got two jobs and a small side project, so here are my directives: - minimize meetings and do quick syncs once a day, ask for priorities and responsibilities, make your own tasks, ignore the rest (all hands, HR bullshit, random groups, etc) - get down to business, keep your main goals in mind, think of a solution, research the docs/snippets/common solutions and then jump to the code. - have more then one context, I'm a sr devops, a sr data engineer and got a side project. Sometimes one job gets boring, and I'm excited about the other. I rarely get bored at both jobs at the same time. So I'm always motivated and never afraid of getting fired. - This is the most important: stay healthy, walk, drink water, eat well. This will give you energy, repair some of your posture flaws and prevent your body from breaking down from such heavy workload. - delegate mundane tasks: 2 incomes means, I don't cook, wash, clean, nothing. - automate everything, make filters for your inbox, use a calendar to remind you of stuff, - Attention+focus = gold, don't spend it on shit. silence notifications, uninstall social media, put you phone on do not disturb, silence all channels on slack, create alerts for keywords in slack for stuff you actually need to know. e.g: jenkins, your_name, project names
My time is spent as:
Mon-Fri - exercise: 1hour - job1: 4-6hours - job2: 4-6hours - sleep: 5-7hours - food, drink, hygiene, general body maintenance: 2h Sat-Sun: - exercise: 1hour - sleep: 8-10hours - pick up some slack from the week, study something I need for work, work on one of my sideprojects: 2-3hours - relax, fun, games: whatever is left
job1-job2: I start at 9:00 and I usually work until 22:00. That means I'm always on slack/teams and I do overlap the two jobs.
I make regular 10min breaks every 50-100min, and I stop for lunch (eat, power nap, back at it).
exercise: walking is fine, go to a gym if you can, don't overdo it so you can do it tomorrow.
sleep: I don't get sleep deprived but I do get tired by Friday, which makes the weekend so much more enjoyable
You can be productive all day, just like you can be a long distance runner, start small and keep progressing. In you first days of running/programming/* you are mostly learning a bunch os stuff and figuring out the profession, yourself and your strengths and weaknesses. So it takes more energy because most of it is spent on learning about your trade and about you.
Know thyself. I like programming, I like math, I like learning, I like hard stuff. I'm not a design guy, I don't do UI, and I won't be a project manager. So I place myself in jobs/tasks/places I can maximize my output with minimal effort.
Doing a full day of devops is easy to me, but I'd cry after 2h coding a react app. Devops I know, so it's more time outputting solutions and less time inputting knowledge. React, I've got to basically learn every step of the way, so it's 10 times more exhausting.
So, True, you can't be productive all day. But you can 100% go way above 4hours coding.
that's inspiring