發現開始有太多article save低左冇時間睇。有D文就算仔細睇,都係得着唔多。
嘗試用limited time速睇,就算睇未曬或睇唔明都要process左先,好過積住係度。
一至千萬的藝術(二)– 從零蓋起雲端儲存的巨量倉庫
「一致性雜湊環〈Consistent hash ring〉可以令re-shard果時唔洗成個database D record都要搬,更加易scale。DynamoDB 好似係用E個technique。
RxJS - 封裝程式的藝術
My feeling after first time learn about rxjs
- Normalize all async event
- Have ultility to process events
- Still don’t know how to branch and merge events
- If the operator need to depends on variable outside the chain, what to do?
- Test async code by drawing marble diagram sounds cool
Conclave
Talk about how to implement a real-time collaborative text editor
- CRDT as data structure
- A tree structure which solve the insert/delete position problem
- Peering with webrtc
- Resolve network latency problem
- The article also mention some optimization technique, but they are too difficult for me to understand
高级程序员应具有的素质
- 理解requirement
- 要從user冇technical background嘅feature request歸納出背後需要,預先計劃
- 掌握項目設計和流程處理方法
- 最好有兩到三種solution去做compare
- Design pattern and API design
- 評估整體項目
- 文中提到帶領團隊嘅四五十歲嘅programmer,佢地係build product嘅經驗,只可以係實戰累積出黎
- 組織管理團隊
- 量化工作
- 協作模式嘅tuning
- 由於E個原因,Coding skill勁唔一定可以做到lead
14 Jan 2019
Does the points work with Agile development?
Learning DDD as a Team
This article talk about how their team run DDD and their restrospect:
- Activities when running DDD
- Lesson learned
- DDD values to business
- DDD values to development team
Can re-read after study DDD
Please Stop Using Local Storage
This article talk about the drawback of local storage
- Drawback of local storage
- Only store string
- It is synchronous
- Cannot be used by web workers
- Have limited storage
- Not secure, as all js can access it (XSS)
- Important point
- Never save JWT in session storage
Where to save sensitive information
- Use cookies
- Set cookies to http only
- Set SameSite=strict and secure=true (SSL)
- Use session with cookies
Non string data - Use IndexedDB
- Can use with Cache API to handle offline case
Scaling Scrum:Why Scrum Masters SHOULD NOT be coordinating between Development Teams
文中嘅問題係team嘅responsibility拆得唔岩,並解釋咁拆會有咩問題。
每條team應該係獨立build一個customer facing嘅feature。
14 Jan 2019
Re-read after I have more solid understanding in scrum.
About “Difficult Conversations” (book recommended by Phil Haack)
Decipher the underlying structure of every difficult conversation
Start a conversation without defensiveness
Listen for the meaning of what is not said
Stay balanced in the face of attacks and accusations
Move from emotion to productive problem solving
以下無需重讀
如何时刻保持在目标的正确轨道上
養成習慣係堅持目標上面有好大幫助。
- Set due date
- 保持身體在最佳狀態
- 計劃其中一個作用係俾自己一個反思嘅機會
- 了解到平時有D工作係自己忽略左
- 了解到現實有好多意外,要隨時修正
- 係固定嘅時間做固定嘅野
- 身體一但習慣,就會事先準備好,咁就可以更有productivity
Solve it once
- 有問題唔解決會阻住自己
- weak skills is a unsolved problem
- 停低,學識,好過亂咁做
- 問題可分做三類
- Problem encountered 0 times
- 過慮,唔洗理
- Problem encountered 1 time
- Fix 到就得,唔洗花太多effort
- Problem encountered 2 times
- 好可能會再發生,要認真處理
- 俾我就會set個thresold做3次
- Problem encountered 0 times
- Sum up
- if it happens twice, solve it once
- Solve it good, solve it once
14 Jan 2019
The summary is good enough