Skip to main content

Blog

Page 429 articles
  1. 493
    Jul 16, 20182 min
    strategy

    Why Are There So Many Bad Strategies?

    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  →
  2. 494
    Jul 14, 20183 min
    webarchitecture

    Designing very large (JavaScript) applications

    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  →
  3. 495
    Jul 13, 20182 min
    strategy

    A Bad Strategy is Superficial

    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  →
  4. 496
    Jul 13, 20181 min
    websecurity

    CORS vs CSP

    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  →
  5. 497
    Jul 12, 20181 min
    strategy

    The Advantages and Disadvantages Change with Perspective

    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  →
  6. 498
    Jul 10, 20181 min
    strategy

    A Good Strategy is Unexpected

    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  →
  7. 499
    Jul 7, 20181 min
    strategy

    Why Amazon made Kindle?

    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  →
  8. 500
    Apr 21, 20183 min
    golang

    Golang Library Development

    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  →
  9. 501
    Apr 15, 20183 min
    psychology

    How Can Knowledge Workers Rest Effectively?

    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  →