術數工具

基於 WebAssembly & 原生 iOS,探索星曆之美

Classical Studies · Essay

How to Find Chinese New Year on a Desert Island

No phone, no calendar, no problem—at least calendrically. A stick can locate the winter solstice, and the Moon can lead you from there to Chinese New Year.

#Chinese calendar#Chinese New Year#winter solstice#Moon phases#astronomy
Classical Studies · Essay

Putting the Five-Planet Gathering Back in the Sky: Revisiting 967 CE

The Rizhi Lu records five planets gathering near the Kui lunar mansion in 967. We reconstruct the event in Totenroku and separate the astronomy from its later political meaning.

#Rizhi Lu#planetary conjunction#Chinese astronomy#Totenroku#lunar mansions
Classical Studies · Product Update

Dividing the Day into One Hundred Ke: Classical Timekeeping in Totenroku 2.0

Totenroku 2.0 adopts the classical hundred-ke day. Starting from Gu Yanwu's textual study in the Rizhi Lu, this article explains how twelve double-hours and one hundred ke fit together—and why this older scale belongs in a modern journal of the sky.

#iOS#Totenroku#Classical Culture#Hundred Ke#Time
Classical Studies · Case Study

Bazi Analysis of Lei Jun: From Programmer to Car Maker, How the Indirect Resource Pattern Turns Knowledge into Business?

Using SwiftStemBranch to chart Lei Jun's fixed three pillars of Ji-You, Bing-Zi, and Yi-Chou, this article analyzes his path from programmer to serial entrepreneur through the lens of Indirect Resource, Hurting Officer, and Indirect Wealth.

#Lei Jun#Bazi#Chinese Astrology#Indirect Resource Pattern#SwiftStemBranch
Classical Studies · Case Study

Making Classical Knowledge Questionable: A Preview of the Totenroku 1.9 Cultural Study Assistant

Totenroku 1.9 introduces a preview of its Cultural Study Assistant, an attempt to explain the Heavenly Stems and Earthly Branches (干支), the structure of the I Ching, and Five Elements theory through natural conversation—along with my reflections on AI, privacy, and cultural tools.

#iOS#Totenroku#AI#Apple Intelligence#Classical Culture
Products & Life · Essay

Why Keep Daily Pet Records? Five Long-Term Benefits Hiding in a Simple Care Journal

From diet and weight to medication and everyday moments, consistent record-keeping helps owners spot changes, improves vet visits, and preserves precious memories of a pet's life.

#pets#health records#daily pet care#reign-of-pet
Products & Life · Product Update

Chronicling Your Pet's Imperial Life: 'Reign of Pet' Launches on iOS

Reflections on pet care and the ritual of daily life while building 'Reign of Pet' — not just a pet activity tracker, but a joyful royal court drama for every beloved companion.

#iOS#Reign of Pet#Pets#Swift#Product Launch
Indie Development · Case Study

How I Got My Fortune-Telling App Approved After Four 4.3B (Spam) Rejections

My real experience developing a fortune-telling app, facing four App Store 4.3B rejections, and finally getting approved by rebuilding the app.

#iOS#Indie Development#App Store Review#4.3B#Fortune-Telling App
Products & Life · Product Update

Introducing Reign of Pet: Imperial Pet Chronicle & Tracker

Track your pet's day the imperial way. Crown your furry companion as emperor and turn pet care into a delightful court drama.

#Reign of Pet#App#Pet Tracker#iOS
Classical Studies · Product Update

A Diary Written in the Stars: Douzhuanlu (斗轉錄) Now Available on iOS

Reflections on the stars, time, and observation from my journey developing Douzhuanlu (斗轉錄). More than a celestial tool, it is a personal star diary for everyone.

#iOS#Douzhuanlu (斗轉錄)#Stargazing#Swift#Product Launch
Indie Development · Case Study

Technical Report: Fixing the Bazi (八字) Chart Calculation Feature in Weishu (緯書)

Technical report on fixing a WASM loading failure in the Bazi (八字) chart tool, covering Cloudflare CDN compression conflict investigation and an edge-computing decompression solution.

#WebAssembly#Cloudflare Workers#Brotli#Gzip#Debugging
Indie Development · Tutorial

Deploying a 50MB WASM on Cloudflare Workers: A Troubleshooting Guide

A complete walkthrough of deploying a 50MB BaZi (八字) fortune-calculating WASM to Cloudflare Workers, and how Brotli compression solved the file size limit.

#Cloudflare#WebAssembly#Deployment#Brotli
Classical Studies · Essay

BaZi for Beginners: From Heavenly Stems and Earthly Branches to Five Elements — A Programmer's Mental Model

An attempt to understand the underlying logic of BaZi (Chinese Four Pillars of Destiny) through the lens of a programmer — where the stems and branches are enums, the five elements are a type system, and their generating and controlling cycles are dependency relationships.

#BaZi#Five Elements#Stems and Branches#Destiny Analysis for Beginners
Indie Development · Case Study

Compiling the I Ching with Swift: A Serendipitous Encounter of WebAssembly and Classical Divination

A record of the development journey of compiling the I Ching divination engine to WebAssembly, along with reflections on 'change' along the way.

#WebAssembly#Swift#SwiftWasm#I Ching#Divination Development