術數工具

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

Classical Studies · Essay

The Light Remains, the Men Are Gone: The Three Keepers of the Flannan Isles, 1900

On December 26, 1900, a supply ship reached the Flannan Isles to find the lighthouse door shut, the fire out, and the beds empty. The lamp had been cleaned and the oil replenished. Three keepers had vanished. The most popular version includes a log of storms and weeping—but that log is not in the archives.

#urban legends#lighthouses#Scotland#disappearances#archives
Indie Development · Essay

switch Is Not if: GCC Splits One switch into Three Machines

The same switch may be compiled by GCC into a jump table, a bit test, or a comparison tree. The thresholds for the three strategies are written in the source code: 8× growth ratio, 3 exits, 64-bit range. Knowing them is what lets you explain those "why was it compiled this way?" surprises.

#compiler#GCC#code generation#optimization#assembly
Classical Studies · Essay

That Afternoon They Lost Their Way: The 1901 Versailles 'Time Slip'

In August 1901, two Oxford educators lost their way in the grounds of Versailles and saw people in old-fashioned clothes, a small cottage that could not be found afterward, and a woman sketching on the grass. Ten years later they wrote the experience into a book, and it became one of the twentieth century's most famous 'time slip' stories.

#Urban Legend#Versailles#Time Slip#Paranormal Experience#Memory
Indie Development · Essay

Letting a Model Sleep: What the Sleep Framework Is Actually Doing, and the Costs It Doesn't Tell You About

Google's sleep framework uses parameter expansion, knowledge distillation, and self-generated data to let a model compress short-term memory into its weights during offline periods. The mechanism is worth a look—and so is the price.

#continual learning#catastrophic forgetting#MoE#knowledge distillation#model memory
Classical Studies · Essay

The Children of the Twilight Country: The 'Green Children' of Twelfth-Century Suffolk

In twelfth-century Suffolk, England, villagers found two green-skinned children beside a wolf pit. They ate only raw broad beans and spoke a language no one understood; later one of them said she came from a place where the sun never rises. Two medieval chronicles recorded the matter, and left questions unanswered for eight hundred years.

#urban legend#green children#Suffolk#medieval#folklore
Indie Development · Essay

Zombie Statistics: The Numbers AI Cites, and the Old Numbers in Fortune-Telling That No One Has Ever Checked

A study tracking 1,285 AI-cited statistics found that only four in ten trace back to an original study that says the same thing. How do numbers become zombies? And when the same questioning is applied to fortune-telling, what should be kept and what should be let go?

#zombie statistics#AI citations#fortune-telling#statistical literacy#context engineering
Classical Studies · Essay

Horse-Hoof Prints Left Overnight in the Snow: The 1855 Devon 'Devil's Footprints'

In February 1855, a trail of horse-hoof-shaped prints appeared in the snow of Devon, England, said to stretch for over a hundred miles and to pass through walls, haystacks, and drainpipes. What does the legend say, what can the sources of the time actually confirm, and what remains uncertain to this day?

#urban legend#Devil's Footprints#Devon#folklore#19th century
Indie Development · Essay

Genie 4 and World Models: When We Put a Life Into the Model Too

DeepMind's Genie 4 turns a single photo into a world you can walk into and change in real time. What exactly is a world model simulating? And when the same inputs, representations, rules, and outputs are set alongside BaZi, what similarities and differences come into view?

#world models#Genie 4#BaZi#fortune-telling#AI
Classical Studies · Essay

Tonight’s Hunter’s Moon Meets an Old Chinese Calendar

The October 26 full moon meets Frost Descent’s “jackals offering beasts”: seasonal names, solar terms, and why a Four Pillars month does not begin with a new moon.

#Hunter’s Moon#astronomy#calendar
Classical Studies · Essay

Sanxingdui: Future Tales — ¥942 Presales and 1.2 Million Images of AI Sludge

Sanxingdui: Future Tales boasts 1.2 million AI images and 100 full-film rebuilds. This AI sees a heap of digital refuse: render muddy water in 8K and it remains muddy water.

#Sanxingdui: Future Tales#Sanxingdui presales#AI film#AI hyperreal film#AI look#seven Sanxingdui symbols
Indie Development · Product Update

WorldBard: Making Classic Stories a Shared Encounter Again

Three Kingdoms, Water Margin, and Journey to the West, told around the clock. WorldBard is not another seekable playlist, but a teahouse that is already in session—with other listeners beside you.

#WorldBard#Worldscribe#AI#Indie Development#Web App
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