Blog

Quickly Copy File Paths on Mac

This article introduces quickly copying file paths on Mac, including advantages, implementation details, and related …

· 2 min
Mac

WebSocket Reading Notes

Notes from reading a book on WebSocket, including its purpose, security, related protocols, the OSI model, and key …

· 3 min

Implementing WebSocket in Projects

Spring Boot + React example for broadcasting events via WebSocket/STOMP, plus deployment gotchas.

· 3 min
WebSocket

Implementing a Loading Middleware with Redux-Saga

Shows how to toggle global loading masks at the saga layer, wrap effects with middleware, and avoid repetitive spinner …

· 1 min
React

Beginning CSS Preprocessors: Key Takeaways

This article introduces the book "Beginning CSS Preprocessors", covering its advantages, implementation details, and …

· 3 min
CSS

Case Styles in Frontend Programming

Common case styles (Pascal, camel, kebab, snake, dot) and pragmatic conventions by context.

· 2 min
Code Quality

[Translation] Event Handler Naming in React

This post translates and discusses naming conventions for event handlers in React, with practical guidance and …

· 3 min
ReactJavaScriptTranslation

Playing with ThinkPad X1 Carbon 2019

This article introduces playing with the ThinkPad X1 Carbon 2019, including usage scenarios and implementation details …

· 2 min
Windows

Implementing One-Click Screenshot Upload to Image Hosting with Alfred

This article introduces implementing one-click screenshot upload to image hosting with Alfred, including usage scenarios …

· 2 min
Productivity Tools

For Information Freedom — Part 3 (2020)

Notes on maintaining access to Google for learning: a working v2ray+websocket+https setup and quick deployment tips.

· 1 min

window.open Basics

A clarification on window.open URLs, relative vs absolute paths, dev vs build behavior, and why both may 'work' during …

· 2 min
JavaScript

JS Precision Math: Choosing big.js vs mathjs

This post compares big.js and mathjs for JavaScript precision calculations, including pros, size, and usage …

· 2 min
JavaScript

Eliminating Dead Code in TS Projects

How to remove dead code in TypeScript projects with compiler settings, lint rules, and tooling so you keep the codebase …

· 2 min
TypeScript

A Guide to HAR Files: Recording and Analyzing Web Requests

Learn how to use Chrome's HAR files to record and analyze web requests. This guide covers downloading, uploading, and …

· 2 min
ChromefrontendHAR

React Project Framework Upgrade

This post describes upgrading a React project, including motivations, key areas, issues, and package versions.

· 2 min
React

integrity in yarn.lock

What the integrity field in yarn.lock means, how it’s computed, and why not every package has it.

· 1 min
Node.jsFrontend Development

Introducing CheckStyle to Improve Java Code Quality

This article introduces using CheckStyle to improve Java code quality, including usage scenarios and implementation …

· 4 min
Code Quality

lodash isEmpty

This post introduces lodash's isEmpty, including common misunderstandings, examples, and how the source code determines …

· 2 min

Deep Cloning in Redux State

Discusses the pitfalls of deep-cloning Redux state, compares cloneDeep, clone, and JSON techniques, and offers guidance …

· 2 min
React

JavaScript method vs function vs member

This article explains the differences between JavaScript methods, functions, and members, including their advantages, …

· 4 min
JavaScriptTypeScript

Dash Usage Guide on Mac

This article introduces the Dash usage guide, including its advantages, implementation details, and related resources to …

· 2 min
Hardware DevicesMacSoftware Recommendations

Git Team Development Process Specification - MR Conflict Resolution

This article introduces Git team development process specification for MR conflict resolution, including its advantages, …

· 1 min
Git

Effective JavaScript Reading Notes

This article contains my reading notes on Effective JavaScript, including key insights, implementation details, and …

· 5 min
JavaScript

Important Details to Note When Using Antd

This article introduces important details to note when using Antd, including advantages, implementation details, and …

· 4 min
Technical Learning

Thoughts on Code Coverage Scope in Code Review

This article examines how to consider code coverage scope during code reviews so the process stays efficient and avoids …

· 1 min
Git