• React

  • MDX
    • [Engineering]
      • MDX: using React in Markdown
      • MJML:better at creating email templates

  • ts-everyday-types
    • [Engineering] TS everyday types
      • Primitive types
      • Object types
      • Union types
      • Interface
      • Type Assertions
      • Literal types
      • Keywords: narrowing, contextual typing, infer typing, literal inference, alias just alias - point into the same type,

  • system-view-of-software-pipeline

  • interpolation-extrapolation
    • [Mathematics] Interpolation vs Extrapolation
      • Interpolation for find past unknown values, where extrapolation for future forecast.
      • Interpolation methods: linear, polynomial, spline.
      • Extrapolation methods: linear, polynomial, conic

  • alt-text

  • marcel

  • tech-reading

  • typescript-for-js-programmer
    • [Engineering] Typescript for JS Programmer
      • Type by Inference: TS will define type of a variable by assigned value
      • Interfaces vs Types: using interface to define type
      • Unions: a variable can have multiple types
          function getLength(obj: string | string[])
        
      • Generics: can use Type as generic Type and assign a specific type to Type in declare
          interface Container<Type> {
            push: (obj: Type) => void;
            pop: () => Type;
          }
        
          declare const stringContainer: Container<string>;
          stringContainer.push("abc");
        
      • Duck Typing = Structural Typing = shape-matching:
          interface Point {
            x: number;
            y: number;
          }
        
          const point = { x: 1, y: 2 }; // auto match to Point type
          const rect = { x: 1, y: 2, width: 10, height: 30 }; // auto match to Point type (kind of casting to Point)
          const color = { hex: "#FFFFFF" }; // failed-matched to Point type
        

  • portfolio-ideas and 1x.engineer

  • 2019-10-29
    • [Algorithm] Binary Tree:
      • Definition
      • Inorder, preorder, postorder travesal a tree
      • Level order travesal: breath first search
      • Solve some problems: maximum depth, symmetric tree, path sum
      • Build a tree from inorder, preorder and inorder, postorder

  • 2019-10-14
    • [Algorithm] First read of Introduction to Algorithms, 3rd Edition
      • A algorithm = procedure by getting input and give out output
      • Terminologies: algorithm, data stucture, problem, instances of problem, …
      • A algorithm running must be terminated and giving out correct outputs ontime
      • Algorithms’ applications in real world and its need for engineering
      • Efficiency: computing time + space. Compare with a faster computer, a much slower computer can give faster output with a better algorithm that have smaller complexity
      • NP-complete problem and approximate algorithm approach

  • 2021-02-23

    [Engineering] How to schedule bug fixing?

    The workflow: notice => first inspection => schedule the fix => Fix => Report

    • For Shared platform
      • (Re-)Raise the awareness of the important of sentry priority
      • We need a sentry coordinator.
    • Microservice
      • Each team should setup the slack channel to filter the team related bugs
    • General
      • We need a clear commitment from PO & Squad team.