"Premature optimization is the root of all evil" More and more, I'm realizing this applies more broadly than just for code. Abstraction is a form of optimization and shouldn't be done before the space has been properly explored to know what abstractions should be built. Standardization is a form of optimization and shouldn't be proposed until there's a body of evidence to support what's being standardized. Failure to…
> Build infrastructure without understanding the use case? Premature optimization. Hence my issues with micro services and Kubernetes/containerisation (by default.) I've always hated the fact people simply jump onto these technologies and methodologies as if they're automatically the right solution because everyone is talking about them. What they don't understand is that they're optimisations. You build a monolith a…
Ask HN: Name one idea that changed your life
351–360 of 839 posts
Re: Ask HN: Name one idea that changed your life
#352Intermittent fasting. These days I only have one meal a day
How has it affected you? Are you doing it for weight loss, or for other reasons? I had a month off work recently (unrelated to the pandemic), which I spent learning programming. During this time I never ate lunch, only a small breakfast and a normal supper. But now that I'm back at work and I'm on my feet all day, I have to eat, otherwise I get super hungry, lightheaded and generally lethargic. But I've discovered th…
An important caveat to bear in mind is that not all fasting diets entail calorie restriction (though many often do); it is calorie restriction that is linked to reduced inflammation and possible benefits to lifespan.
Re: Ask HN: Name one idea that changed your life
#353Re: Ask HN: Name one idea that changed your life
#354I am going to cheat a bit and give you three things that have had a lasting impact on me: First is this quote from Lincoln, "I hate that man. I must get to know him better". This has helped me shed biases and prejudices that stop me from liking someone on the first few interactions. Instead of shunning them, I seek to know them better, in the hope that I see past the veil and reach out to the actual human on the othe…
Re: Ask HN: Name one idea that changed your life
#355Re: Ask HN: Name one idea that changed your life
#356This is a central tenet in a variety of approaches and philosophies, from religions (it's one of the Marks of Existence in Buddhism) to cognitive behavioral therapy — but few ideas have changed my thinking, resilience, self-control, and happiness as much as this one.
Re: Ask HN: Name one idea that changed your life
#357The act of simply putting a thought into words makes it immediately obvious to you if you really understand it or not, and if not, where your blind spots are.
If the thing you’re concerned with is an unresolved problem or a question, simply articulating the problem or the question can make the solution or the answer obvious. Just going through the process of putting it into words, one way or another, and being sure you’ve settled on the most concise and accurate description of it you can muster, will often make so many things that were hazy obvious, and can reveal to you areas of haziness in your own thinking that you may not have been aware of.
Rubber duck debugging is one result of this. Rubber duck debugging is based on the observation that by the time you’ve explained your bug to someone, often times you figure out your next steps before they even respond. Just articulating your problem in the form of a question asked to someone else will sometimes reveal the answer to you.
Re: Ask HN: Name one idea that changed your life
#358Earlier quoted context omitted.
This reminds me of Sam Harris's guided meditation app. One of the common questions raised in the guided meditations is whether or not you can observe the part of your mind that is generating your thoughts. His suggestion is that you can't--the thoughts come into consciousness on their own; you can observe the thoughts as they come and go, but you can't observe where thoughts come from. Like the sensation of breathing…
Its like we don't have access to all the conscious regions of our brains. Who knows, what evolutionary pressure might have locked us out of there, who know
Re: Ask HN: Name one idea that changed your life
#359“Be careful the stories you tell yourself because they will eventually become true”
It hit me that I really was telling these stories of how the company was or where the business was going in a negative light and things were simply becoming more and more negative because of me. So be careful!