PinnedPublished inStackademicRecursion is the architect, and iteration is just a babyI signed the book contract with my book publisher recently, so I’m actively in writing my second book Think in Recursion for programmers…Feb 25, 20242Feb 25, 20242
PinnedPublished inJavaScript in Plain EnglishConditional React Context: Treating Each Consumer DifferentlyIf you use a React context often, soon you will realize it’s a heavy operation when it’s updated. Therefore people tend to add a…Sep 2, 2021Sep 2, 2021
PinnedTake webcam video with blurred background in MacIf you take Zoom or Teams conference call, you might have made your background either removed or blurred in the past. This feature is so…Apr 24, 20231Apr 24, 20231
PinnedPublished inJavaScript in Plain EnglishFind the Parent Element with CSSThe CSS ':has' adds a custom logic to find elements based on other selectors (instead of its own selector).Sep 16, 20221Sep 16, 20221
Pinned“Keep” array index after filter in JavascriptES6 adds quite a bit functionalities to array with map, filter etc. They are extremely handy, but I start to have trouble keeping track of…Dec 26, 2020Dec 26, 2020
What’s worth through twenty years of spending on gadgetsI never thought I would write an blog for my shopping habits, especially for the last twenty years. Part of reason that I can do this is…Dec 21, 2024Dec 21, 2024
Speed and echo, key elements of vocal singingIn the past blog, I have explained that strength isn’t the key element in singing. After more experiment, I started to realize in music…Nov 24, 2024Nov 24, 2024
Stay away from the mainstream or not? A designer’s noteThe answer to my question is no. We don’t want to stay away, unless you really don’t like the mainstream. Mainstream has been tested by the…Nov 22, 2024Nov 22, 2024
Ask approval from others, old habit never diesI thought I have ditched the model of asking approval from others, however subconsciously I think I’m still doing this more or less. So I…Nov 8, 2024Nov 8, 2024
Strength vs EffectThere’s a Chinese saying 四两拨千金. What it describes is a pro who can do difficult things with less effort. I always thought this is to…Nov 5, 2024Nov 5, 2024