嘿, 我是Mofei!

I
Write
Love & Life

MOFEI

Debugging Node.js C++ Addons with VS Code

A complete guide by Mofei on how to debug native Node.js C++ addons in VS Code using launch.json, breakpoints, and preLaunchTask settings.

TechFri, Jul 13, 2018
MOFEI

What's It Like to Work at Mapbox?

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.

LifeFri, Jul 6, 2018
MOFEI

Mofei Projects in 2017: Everything Is a Miracle

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.

LifeMon, Jan 15, 2018
MOFEI

Introducing mapv-Editor Beta

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.

TechWed, Nov 29, 2017
MOFEI

Simulating a Crossroad with Zebra Crossings Using JavaScript Canvas

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.

TechMon, Nov 6, 2017
MOFEI

Generating CSV with JavaScript and Fixing Chinese Encoding Issues

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.

TechTue, Aug 22, 2017
MOFEI

JavaScript Currency Formatting with Regex: A Deep Dive into Non-Capturing Matches

Effortlessly format numbers with commas using a concise regex while exploring the mechanics of non-capturing matches.

TechWed, Jun 7, 2017
MOFEI

JavaScript Multithreading: Worker and SharedWorker Explained

Discover how Web Workers run heavy computations in background threads to prevent UI freezing and enhance user experience.

TechSun, May 7, 2017
MOFEI

Developing Complex Single-Page Applications with Gulp, Webpack, ES6, Sass, and React

From project setup to automation tool choices, discover practical tips to avoid pitfalls in building complex single-page applications.

TechThu, Oct 20, 2016
MOFEI

Understanding Viewport Units: vw, vh, vmin, vmax

Master responsive font sizes and heights with just a few CSS lines by harnessing the power of viewport units.

TechMon, Apr 11, 2016
MOFEI

Generating Verification Codes and Letter Sequences Using ToString

Discover how to easily create random alphanumeric codes and sequences using clever tricks with toString.

TechMon, Nov 2, 2015
MOFEI

The Yellow of Huangshan, the Mountain of Huangshan

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.

LifeWed, Oct 7, 2015
4/8

HI. I AM MOFEI!

NICE TO MEET YOU!