Skip to main content

BLOG / ALL

Coding and living in Finland.

Writing about engineering, life, and things I'm slowly figuring out.

45–55 of 192 articles

Understanding Python's __init__.py
Tech
Jan 21, 2021

Understanding Python's __init__.py

__init__.py files are more than just placeholders—they define packages, control imports, and can even initialize modules in Python projects.

Reads3.4kComments0
Read the full story
Understanding JavaScript Microtasks vs Macrotasks
Tech
Jan 14, 2021

Understanding JavaScript Microtasks vs Macrotasks

Master JavaScript's event loop with a deep dive into the execution order of async/await, Promises, and setTimeout.

Reads7.3kComments1
Read the full story
Set Up a Global .gitignore File
Tech
Jan 4, 2021

Set Up a Global .gitignore File

Keep your project .gitignore clean by configuring a global ignore file for system and editor-specific clutter.

Reads7.2kComments0
Read the full story
Build a Time Control UI with Canvas
Tech
Mar 22, 2020

Build a Time Control UI with Canvas

From high-DPI canvas scaling to hover/click interaction, this post explains how to implement a timeline UI using HTML5 Canvas.

Reads5.6kComments2
Read the full story
Visualizing the Pandemic with Maps
Tech
Feb 23, 2020

Visualizing the Pandemic with Maps

Behind the scenes of an interactive coronavirus map — from heatmaps to categorized visuals, a story of data visualization and design evolution.

Reads10kComments6
Read the full story
Building a Dot Map from Scratch
Tech
Aug 30, 2019

Building a Dot Map from Scratch

A full walkthrough on creating a custom dot map using QGIS, Canvas, and JavaScript — from data extraction to pixel rendering.

Reads13kComments4
Read the full story
How to Load Stunning Mapbox Maps in WeChat Mini Programs
Tech
Jun 6, 2019

How to Load Stunning Mapbox Maps in WeChat Mini Programs

Use web-view to embed Mapbox GL JS and unlock rich visual features like 3D, heatmaps, and clustering within your WeChat Mini Program.

Reads8.6kComments0
Read the full story
Greetings from the World
Life
Jan 22, 2019

Greetings from the World

An engineer’s story of building a postcard exchange platform—connecting strangers around the world through stories, creativity, and serendipitous messages.

Reads2.4kComments0
Read the full story
Using Mapbox Maps in WeChat Mini Programs
Tech
Jan 22, 2019

Using Mapbox Maps in WeChat Mini Programs

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.

Reads2.8kComments0
Read the full story
JavaScript Padding Numbers with Leading Zeros
Tech
Jan 10, 2019

JavaScript Padding Numbers with Leading Zeros

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.

Reads6.5kComments6
Read the full story
Automatic SSH Deployment with Travis CI
Tech
Dec 27, 2018

Automatic SSH Deployment with Travis CI

From manual deployment to full automation, this post walks through configuring Travis CI to run builds and deploy code to remote servers over SSH.

Reads11kComments0
Read the full story

Coding, and living with intention.

Subscribe
© 2012–2026 Mofei·Privacy·Terms
Life compiled in code