Reading Notes Posts

17 posts in this category

Control Flow Graph and Infinite Recursive Detection
go-staticcheck is a static code analysis tool for Go. It has an interesting ability to detect infinite recursive calls. For example, infinite calls like this would be detected early before the program…
Reading Notes
Monotonic Clock
In a computer system, there are 2 types of clocks: Wall Clock (or Real-Time Clock): is the clock that is synchronized with NTP (Network Time Protocol), which is subjected to jump (moving forward or…
Reading Notes
Dry Run
OK, this one is embarrassing, I still remember the first time I was taught to dry run the code. It was many years ago when I started learning how to program. But I’ve never actually tried it properly…
Reading Notes
Collector Fallacy
Collector’s Fallacy is the urge to collect something that you never use or need, but the act of collecting gives you a good feeling (cognitive reward). For example: Save every article on the internet…
Reading Notes
Contributing to complex projects
As a developer, our main job is contributing to code projects, it can be a work project or an open-source project. With work projects, we might have access to more resources (other developers to learn…
Reading Notes
How to Edit Your Own Writing
Article: https://www.nytimes.com/2020/04/07/smarter-living/how-to-edit-your-own-writing.html Writing is like thinking. You will not know precisely what you are going to say before you say it. And many…
Reading Notes
Diffuse vs Focused mode
The Learning How to Learn course proposed an idea that there are two modes of thinking: Focused and Diffuse. You are either in one of the two modes but never be in two modes at the same time. Focused…
Reading Notes
The Curse of Knowledge
The curse of knowledge is a cognitive bias of assuming that others have the same background knowledge to understand what you are talking. It is also known as the False-Consensus Effect. This bias…
Reading Notes
Browser Rendering Painting Compositing
Painting and Compositing are the last two steps to generate a frame in the browser’s pixel pipeline. Painting is the process of creating a single or multiple layers (a.k.a compositor layers) for each…
Reading Notes
Layout Thrashing
When a DOM node is written (change of style, attribute, or inner content), and the action triggers a layout change, the browser must do a layout recalculation (reflow). The browser usually waits for…
Reading Notes
Two types of Knowledge
Article: https://fs.blog/feynman-learning-technique/ There are 2 types of knowledge: Knowing the name of something Understand something With a full understanding of something, you will be able to use…
Reading Notes
Browser Rendering Process
Most devices refresh their screen 60 times a second. On each refresh, the graphics driver generates the pixel data from the frame provided by the application and sends it to the monitor to display. To…
Reading Notes
Zeigarnik Effect
The Zeigarnik Effect means: If you are working on a task and being interrupted, the task remains longer in your mind, making it easier to remember the task’s details. A more detailed explanation for…
Reading Notes
Tetris Effect
Article: https://en.m.wikipedia.org/wiki/Tetris_effect Tetris Effect is an effect that happens when you devote a large amount of time and mental effort to do something, it will shape the way you…
Reading Notes
Suffering Oriented Programming
Article: http://nathanmarz.com/blog/suffering-oriented-programming.html OK, so I came across this very interesting article about product building. The author talks about a style of programming that he…
Reading Notes
Rediscovering the Benefits of Drawing
Article: https://blogs.scientificamerican.com/symbiartic/rediscovering-the-forgotten-benefits-of-drawing/ In the old times, scientist are required to have drawing skill, because they have to recreate…
Reading Notes
The Art of Close Reading
Reference Link: https://eric.ed.gov/?id=EJ718563 Full text: https://files.eric.ed.gov/fulltext/EJ718563.pdf In this article, the author make the point about what is the worst way to read (passively…
Reading Notes