Skip to main content

Blog

Page 3812 articles
  1. 445
    Aug 6, 20181 min
    web

    Debounce, Throttle and RequestAnimationFrame

    Debounce groups a sudden burst of events into a single one; throttle guarantees a constant flow of executions every X milliseconds; requestAnimationFrame is a throttle alternative. They are web techniques to optimize UI events handling and make transitions smoother.

    Read more  →
  2. 446
    Aug 5, 20182 min
    strategy

    Why It Is So Hard to Make a Good Decision

    The spotlight effect: People only see what they see and want to see, making it hard to step outside of their own perspective. Therefore, it's important to frequently ask oneself, "Why do I think this way?" There are four major challenges in the decision-making process, along with the following solutions: broaden options; test assumptions with facts; view decisions from a distance; prepare for mistakes.

    Read more  →
  3. 447
    Aug 1, 20183 min
    strategy

    How to Predict Trends?

    To make predictions, one needs to deeply understand the past and present, see beyond the surface to grasp the essence, and thus be able to extrapolate into the future. Unfortunately, most people can only see the present. There are two ways to gain a strategic high ground that is easy to defend and hard to attack: independent innovation and riding the wave of change. Common trends include skyrocketing fixed costs, deregulation, prediction biases, incumbent effects, and attractor states.

    Read more  →
  4. 448
    Aug 1, 20181 min
    ideas

    How to Quickly Build Reputation?

    How to quickly build reputation? Solve the big problems that everyone wants to solve but cannot. In

    Read more  →
  5. 449
    Aug 1, 20182 min
    web

    PWA for Mobile Web

    A progress web can be put to the home screen by Chrome and Safari, work offline with service workers, increase engagement with push notification and improve the conversation rate for new users across all browsers. That’s why more and more websites start to implement PWA.

    Read more  →
  6. 450
    Jul 26, 20181 min
    system_design_and_architecturestory

    Will Larson's Lessons from Digg v4 catastrophic launch

    Launching v4 was the chance for Digg to return to their rightful place. They implemented write-through-cache Memcached through Cassandra bottleneck. However, MyNews page was still broken every 4 hours. To keep the site running, rewriting is needed.

    Read more  →
  7. 451
    Jul 19, 20181 min
    strategy

    Where Does the Energy of a Good Strategy Come From?

    The key to an effective strategy lies in channeling limited energy into the points that can generate the most impact. Common sources include: leverage; proximate objectives; chain-link systems; design; focus strategy; growth; advantage; external change; inertia.

    Read more  →
  8. 452
    Jul 18, 20181 min
    strategy

    The Core of a Good Strategy: Coherent Actions

    Coherent and complementary actions refer to actions that directly support each other to create synergy; strategic collaboration can be designed and is centrally imposed on the system; centralization has its pros and cons, as the interests of various sub-organizations differ; organizational collaboration is time-consuming and labor-intensive, aiming for maximum efficiency and just the right coordination as the outcome.

    Read more  →
  9. 453
    Jul 17, 20181 min
    strategy

    The Core of a Good Strategy

    The three fundamental elements of a good strategy: Diagnosis - simplifying the problem and identifying challenges; Guiding Policies - how to respond to challenges; Coherent Actions - a series of actions that mutually reinforce each other under the guidance of principles.

    Read more  →
  10. 454
    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  →
  11. 455
    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  →
  12. 456
    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  →