Blog
__init__.py files are more than just placeholders—they define packages, control imports, and can even initialize modules in Python projects.
Jan 14, 2021
Master JavaScript's event loop with a deep dive into the execution order of async/await, Promises, and setTimeout.
Jan 4, 2021
Keep your project .gitignore clean by configuring a global ignore file for system and editor-specific clutter.
Mar 22, 2020
From high-DPI canvas scaling to hover/click interaction, this post explains how to implement a timeline UI using HTML5 Canvas.
Feb 23, 2020
Behind the scenes of an interactive coronavirus map — from heatmaps to categorized visuals, a story of data visualization and design evolution.
Aug 30, 2019
A full walkthrough on creating a custom dot map using QGIS, Canvas, and JavaScript — from data extraction to pixel rendering.
Jun 6, 2019
Use web-view to embed Mapbox GL JS and unlock rich visual features like 3D, heatmaps, and clustering within your WeChat Mini Program.
Jan 21, 2021
__init__.py files are more than just placeholders—they define packages, control imports, and can even initialize modules in Python projects.
Jan 14, 2021
Master JavaScript's event loop with a deep dive into the execution order of async/await, Promises, and setTimeout.
Jan 4, 2021
Keep your project .gitignore clean by configuring a global ignore file for system and editor-specific clutter.
Mar 22, 2020
From high-DPI canvas scaling to hover/click interaction, this post explains how to implement a timeline UI using HTML5 Canvas.
Feb 23, 2020
Behind the scenes of an interactive coronavirus map — from heatmaps to categorized visuals, a story of data visualization and design evolution.
Aug 30, 2019
A full walkthrough on creating a custom dot map using QGIS, Canvas, and JavaScript — from data extraction to pixel rendering.
Jun 6, 2019
Use web-view to embed Mapbox GL JS and unlock rich visual features like 3D, heatmaps, and clustering within your WeChat Mini Program.
__init__.py files are more than just placeholders—they define packages, control imports, and can even initialize modules in Python projects.
Jan 14, 2021
Master JavaScript's event loop with a deep dive into the execution order of async/await, Promises, and setTimeout.
Jan 4, 2021
Keep your project .gitignore clean by configuring a global ignore file for system and editor-specific clutter.
Mar 22, 2020
From high-DPI canvas scaling to hover/click interaction, this post explains how to implement a timeline UI using HTML5 Canvas.
Feb 23, 2020
Behind the scenes of an interactive coronavirus map — from heatmaps to categorized visuals, a story of data visualization and design evolution.
Aug 30, 2019
A full walkthrough on creating a custom dot map using QGIS, Canvas, and JavaScript — from data extraction to pixel rendering.
Jun 6, 2019
Use web-view to embed Mapbox GL JS and unlock rich visual features like 3D, heatmaps, and clustering within your WeChat Mini Program.
Jan 22, 2019
WeChat Mini Programs don't officially support third-party maps, but with a clever web-view workaround, this post demonstrates how to embed interactive Mapbox maps—covering enterprise requirements, domain verification, and postMessage communication.
Jan 10, 2019
Learn how to pad numbers with leading zeros using a simple one-liner in JavaScript, and watch out for edge cases with overly long numbers.
Dec 27, 2018
From manual deployment to full automation, this post walks through configuring Travis CI to run builds and deploy code to remote servers over SSH.
Nov 13, 2018
A hands-on guide by Mofei on maintaining high code quality using Travis CI, Tape, nyc, and codecov.io, complete with real-world Node.js examples.
Nov 6, 2018
A complete guide by Mofei on how to debug native Node.js C++ addons in VS Code using launch.json, breakpoints, and preLaunchTask settings.
Jul 13, 2018
A complete guide by Mofei on how to debug native Node.js C++ addons in VS Code using launch.json, breakpoints, and preLaunchTask settings.
Nov 29, 2017
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.
Nov 6, 2017
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.
Aug 22, 2017
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.
Jun 7, 2017
Effortlessly format numbers with commas using a concise regex while exploring the mechanics of non-capturing matches.
May 7, 2017
Discover how Web Workers run heavy computations in background threads to prevent UI freezing and enhance user experience.
Oct 20, 2016
From project setup to automation tool choices, discover practical tips to avoid pitfalls in building complex single-page applications.