Three reasons for bad strategies: making choices is painful; people dislike thinking and prefer templates; people often believe that human will can overcome all, thinking that attitude determines everything.
Read more →Very Large JS App = a lot of developers + large codebase. How to deal with a lot of developers? Empathy and good programming model. How to deal with a large codebase? Code Removability/Delete-ability. Be careful with abstractions.
Read more →A bad strategy is formalism, characterized by four fundamental traits: empty rhetoric, obfuscation, strategy should not be a mere accumulation of grandiose terms; failure to confront challenges, mistaking goals for strategy; sub-goals that are irrelevant or unrealistic.
Read more →CORS allows a site (data provider) to give permission to another site to read the data using the visitor’s browser and credentials. CSP allows a site to prevent itself (data consumer) from loading content from unexpected sources as a defense against XSS.
Read more →Things themselves are neither good nor bad; it all depends on people's thoughts. Just like the legend of David and Goliath, the story of Walmart defeating Kmart, and Andy Marshall's strategy against the Soviet Union during the Cold War arms race, advantages and disadvantages can be transformed. When we discover our shortcomings, instead of feeling frustrated, we should change our perspective and approach.
Read more →A good strategy is both surprising and reasonable. For example, in 1997, Steve Jobs' turnaround strategy upon returning to Apple involved drastically reducing the product line and focusing on a few profitable products. Trying to do everything and believing everything is important is equivalent to believing that nothing is important. Good leaders need to know not only what to do but also what not to do.
Read more →In 1997, Eberhard asked Amazon’s investment for an eBook prototype. Amazon learned from iTunes and iPad and created Kindle. The reason why amazon succeeds lies in huge negotiating leverage, user acquisition channel and great user experiences.
Read more →Guiding principles for developing Go libraries: code quality, documentation, testing, API design, and what it takes to build high-quality open-source packages.
Read more →Stress and rest equal growth; a reasonable allocation of stress and rest can lead to efficient and sustained growth. The rest of knowledge workers is used to restore willpower and attention. Short-term rest methods: timely outdoor walks; returning to nature; gathering with friends; taking short naps. Long-term rest: learning to meditate; ensuring sufficient sleep. Eliminate distractions that consume attention.
Read more →