All Posts Page 3

2025

Frontend

Let’s Write Colors with CSS HSL! (And a Better Way)

In web development, the traditional HEX and RGB color notations are widely used, but they are not very readable or intuitive, and their capabilities are limited in wider color spaces such as P3. HSL (Hue, Saturation, Lightness) provides a more intuitive way to define colors, making it easier for developers to understand and adjust them. By describing colors through the three dimensions of hue, saturation, and lightness, HSL makes color adjustment more human-friendly. In design systems in particular, HSL can better represent lightness variations in a color palette.

Career Retrospect

13. Embracing Uncertainty

Nassim, the author of *The Black Swan Effect*, once proposed a concept: things that seem completely impossible can happen at unexpected moments, and most of the time we cannot predict them, yet they can have an enormous impact. The best example is COVID-19 in 2020. Under the influence of the pandemic, people’s lives and work patterns were completely changed, and many shops shut down or went bankrupt because they could not hold on; it was not until 2023 that things began to improve.

2024

Career Retrospect

8. Increasing Luck Surface Area (Luck surface area)

However, seeing someone else live a harder, more miserable life does not seem to make things better for yourself. Many people stop at this stage of perception: when they see someone doing better than them or being more successful, they start blaming their own background and bad luck, give up early, and then blame the government and the environment for all their misfortunes. My experience over the past few years has taught me that although luck cannot be controlled, there are things we can do to increase the chances of good luck happening.

Random Talk

The Next Step in Your Career — Quick and Dirty

This article reflects on my journey in front-end development, covering everything from my initial technology choices to my career progression. It discusses the challenges faced by front-end engineers and their future positioning in the industry. Additionally, it emphasizes the importance of continuously learning knowledge from other fields and creating an ecosystem to overcome professional bottlenecks. Finally, it contemplates career goals and the meaning of life, prompting a reevaluation of my position in the workplace and future development direction.