Several notes coming from 2020
25/07/2020
- There are 3 relations among use cases:
- Extending relation
- Using (including) relation
- Packaging relation
- “…without talent, you’re nothing; without attitude, you will stay a talent forever.” - Jürgen Klopp
26/07/2020
- LLVM stands for “low-level virtual machine”
27/07/2020
- Using JUnit5 for Testing Framework, MockK for Mocking, and AssertJ for Assertion: https://www.youtube.com/watch?v=RX_g65J14H0
30/07/2020
- To enable Chrome dark mode, visit: chrome://flags/#enable-force-dark
- Think of a slug like a zip file of your app pushed to Heroku. Heroku zips everything up into what it calls a slug. The size of the zip file is the slug size.
02/08/2020
Ctrl + Alt + T
to open Terminal quickly
10/08/2020
- Optimizing performance is better than hard working.
22/08/2020
- You should design your own general-purpose Kotlin APIs in the same way: use exceptions for logic errors, type-safe results for everything else. Don’t use exceptions as a work-around to sneak a result value out of a function.
30/08/2020
- “Sometimes the layers are arranged so that the domain layer completely hides the data source from the presentation. More often, however, the presentation accesses the data store directly. While this is less pure, it tends to work better in practice.” - Fowler 2002, Patterns of Enterprise Application Architecture
- https://edwardthienhoang.wordpress.com/2013/12/13/strategy-pattern-chien-luoc-voi-nhung-thay-doi/
20/09/2020
- https://medium.com/androiddevelopers/adapt-your-app-for-the-latest-privacy-best-practices-d7469a547314
- To start Postman more quickly, add
export POSTMAN_DISABLE_GPU=true
into end of ~/.bashrc file, then runsource ~/.bashrc
.
03/11/2020
Start learning iOS development here:
04/11/2020
- This size allow us to compress images https://shortpixel.com/
11/11/2020
Run below command to use git completion on MacOS:
echo 'autoload -Uz compinit && compinit' >> ~/.zshrc
source ~/.zshrc
To show the current date on MacOS:
`date +%Y-%m-%d `
25/11/2020
- Nếu anh yêu một con chim, anh sẽ muốn nó được tự do bay lượn thay vì nhốt nó ở trong lồng.
04/12/2020
06/12/2020
- Using Kotlin in a Serverless Architecture with AWS Lambda
- ĐỊNH LUẬT WIRTH “Software gets slower faster than hardware gets faster” – “Tốc độ tiến hóa của phần cứng không bằng tốc độ thoái hóa của phần mềm.”
- Thói quen thứ 8 của Stephen R.Covey
- Another great blog: https://dammayxanh.wordpress.com/
09/12/2020
- Brands’ colors: https://brandpalettes.com/all-brands/
16/12/2020
- Classes should be immutable unless there’s a very good reason to make them mutable….If a class cannot be made immutable, limit its mutability as much as possible. - Joshua Bloch, Effective Java
17/12/2020
18/12/2020
- https://tienganhmoingay.com/meo-thi-toeic/