E本係怪咖心理學嘅第三集,雖然有D theory己經係第一集講過,但依然相當有趣。
今次主要係講科學嘅角度講超自然現象。比較surprise嘅係,原來某D「科學」嘅解釋都唔係正確嘅解答。
像外行一樣思考 像專家一樣實踐
E本書共有四章,主要講作者嘅一D唔同嘅想法。書名「像外行一樣思考,像專家一樣實踐」只係第一章嘅內容。本書得四份一個內容係我嘅expectation之內,餘下嘅三章,其中兩章相當精楚,值得一讀。
由於作者係一個居美日籍computer science嘅教授,有D想法同例子令我覺得特別親切,亦都係我鐘意E本書嘅原因。
文中提到「類比電腦」,係利用自然法則去計覺問題嘅答案,係一種幾有趣嘅解決問題嘅方法
Design pattern
Put down my questions and researches on design pattern here
Bug caused by duck typing
之前寫Javascript,無意中發現左一個唔小心用左duck typing 而做成嘅bug。
簡評二十五
An Overview of Caching Methods
- Two main caching categories
- time base
- content base
14 Jan 2019
- Caching challenges
- Expire by time
- Expire by update
- Common cache methods
- Browser caching
- It talks about HTTP cache header, re-read when needed
- Application-level cache
- In memory cache for slow functions
- Key-value data caching
- Centralized cache like Redis
- Browser caching
簡評二十六
What are the main uses of Command design pattern?
Command pattern 有時好似有D dummy,無端端要decouple generate request 同 execute request 嘅object。但係現實中有以下場境:
- GUI
- 因為UI(request generate object),成日要轉,所以最好拆開,亦姐係MVC pattern
- Marco recording
- 因為要record同replay行過嘅步驟,decouple左之後,只需要儲低個request object就做到
- Multi-step undo
- Similar to Marco recording
- Networking
- Remote execute嘅情況,request generate object 同 execute object唔係同一部機上邊,焗住要decouple
- Progress bar
- Decouple左個execution做一個個step之後,我地track住個request object,就可以知道個progress
- Transaction
- Similar to multi-step undo
怪咖心理學(2):59秒啟動正能量
文中提供一D好簡單就做到嘅心理學技巧去改變自己。本書係幾得意同幾有用。
簡評二十四
Why vendors perform code diagnostics before taking over an app developed by a third party
2 steps before taking over the code base
- Codebase review
- is it complete (and matches the deployed version)
- does it have clear commit messages
- is it easy to setup the environment
- Exploratory test
- find out bugs in the existing product
- understand what needs to be fixed, or what bugs existed prior to any new development work
14 Jan 2019
Good to know how vendor take over an unknown code base.
Meeting technique
After reading this, you should be able to reduce time spending on meetings and make the meeting more efficient.