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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…