- React
- [Engineering]
- MDX
- 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,
- [Engineering] TS everyday types
- system-view-of-software-pipeline
- [Engineering]
- 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
- [Mathematics] Interpolation vs Extrapolation
- alt-text
- [How to]
- marcel
- [Engineering]
- Ruby Marcel for mine type
- [Engineering]
- tech-reading
- [Tech News]
- [Ideas]
- Use RSS
- [Interest]
- Know about HN Who is Hiring?
- Cache invalidation solution from Meta
- [Engineering]
- Ruby 2.7 pattern matching
- 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
- [Engineering] Typescript for JS Programmer
- portfolio-ideas and 1x.engineer
- [Portfolio Idea]
- Tried portfolio-ideas repo
- Fork and create PR to add my portfolio
- [Portfolio]
- Revise tri-dang.github.io
- [Engineering]
- What is a 1X Engineer?
- Read through repos and pull request
- [Portfolio Idea]
- 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
- [Algorithm] Binary Tree:
- 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
- [Algorithm] First read of Introduction to Algorithms, 3rd Edition
- 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.
- For Shared platform