A complete guide by Mofei on how to debug native Node.js C++ addons in VS Code using launch.json, breakpoints, and preLaunchTask settings.
Mofei reflects on his onboarding trip to Mapbox's US offices, highlighting open communication, inclusive culture, and quirky workplace details like gender-neutral bathrooms and office meme wars.
A retrospective of Mofei’s major 2017 projects—from data bus Marine to scaffolding tool Keeler and visualization system Visual—highlighting innovations in front-end architecture, developer experience, and urban IoT visualization.
mapv-Editor is a web-based geographic data editor built on the MapV engine, supporting multi-format data import, customizable base maps, and intuitive layer configuration with a near-native user experience.
This post explores the process of simulating a crossroad with zebra crossings using JavaScript Canvas, covering normalized coordinate processing, road sorting, intersection computation, and canvas transformation techniques.
This post explains how to generate CSV files on the frontend using JavaScript, addressing common issues like Chinese encoding, comma escaping, and custom file names via BOM, data URIs, and the download attribute.
Effortlessly format numbers with commas using a concise regex while exploring the mechanics of non-capturing matches.
Discover how Web Workers run heavy computations in background threads to prevent UI freezing and enhance user experience.
From project setup to automation tool choices, discover practical tips to avoid pitfalls in building complex single-page applications.
Master responsive font sizes and heights with just a few CSS lines by harnessing the power of viewport units.
Discover how to easily create random alphanumeric codes and sequences using clever tricks with toString.
A five-day spontaneous journey through Huangshan City and the mountain itself, capturing breathtaking views, serendipitous encounters, and the rediscovered joy of travel where both body and soul are truly on the road.