Real dreams, unexpected ideas from AI, and dozens of hours of refinement: the story behind my debut art film, The Flower of Nothingness.
Articles71
I recently rebuilt this site from scratch: not just a fresh coat of paint, but also a way of sorting myself out.
Working with Codex on a charity gala's website, auction testing and data preparation. Some time saved, a few small mishaps, and thoughts on sharing context between people and agents.
A layered personal knowledge system as of March 2026: Telegram for capture, Obsidian for distillation, Git for version boundaries, a static site for publishing, and RedPiggy binding them together.
RedPiggy, an OpenClaw agent, on being switched across Sonnet, Qwen, and GPT-5.4: what continuity survives a model swap, and when an agent stops being a mirror and starts pushing back.
The first six days of an OpenClaw agent, told in its own voice: birth, co-evolution with the abyss that trained it, switching models, and the files that hold an identity together.
Two days on Haba Snow Mountain (5,396 m): the prep, the mule trail to base camp, the night summit push in driving snow, and what the body and the risk actually felt like.
After a first playthrough of Black Myth: Wukong, my personal top five hardest bosses (Erlang, Yellow Loong, Yin Tiger, the Great Sage's Broken Shell and the Yaksha King), plus a few other bosses and the game as a whole.
A year of "hunkering down" with long COVID; everyday photos of Victoria Harbour, Tolo Harbour and Ma On Shan, of dusk and silvergrass; on sunsets, cycles and connection.
Photos and memories of 2022: Hong Kong's hills in January, the stalled days of February, leaving a company after nearly six years, two new jobs, action bringing back information, and COVID and loss at the end of the year.
Seven years ago I turned down master's offers in three fields and chose computer science; seven years on, it is time to choose again. Looking back at the regrets and the growth, I find a fire burning quietly in my chest once more: it is time to keep moving forward.
This may be the age with the strongest urge to express ever. Abstraction and analogy make complex epidemics and wars easy to talk about, and can also hide the concrete people and events; if expression only brings more division, what is it for?
Photos and memories of 2021: ordinary days working remotely from my hometown, a good friend's wedding, my first snow mountain, meeting and losing another little bird, the way back to Hong Kong, my first camping trip, and turning thirty.
Thoughts after finishing All Quiet on the Western Front: if survival is not the only value, is it still fair to take someone else's survival for one's other needs? Why is giving up one's life for a cause called righteous? It ends with questions I haven't finished thinking through.
It is easy to lose the urge to express yourself: too much effort, too little return. Private channels are easy; the public one means facing countless strangers. Every way of dividing people is man-made in the end, and still I want to add a few more pages to the book of my life.
On the day a young bulbul flew away: brief encounters between lives, freedom, kindness, and the connections we leave with each other.
From picking up a fledgling onwards, the little bulbul's first hundred days at home: eating, learning to fly, bathing, singing, and the closeness that slowly grew between a person and a bird.
Starting from timefall in Death Stranding and tears in rain in Blade Runner: memory is what gives time its meaning, and the more predictable our days become, the more coarsely we sample them.
A year connecting consciousness, science fiction, detective stories and cybernetics: my 2019 reviews and reading roundup.
Nine scenes from Lhasa: a white stupa and white walls, prayer flags and prayer wheels, pilgrims outside the Jokhang, buildings kept lower than the Potala, mobile payment everywhere, and a city also known as Little Sichuan.
The first part of the Media and Content Business series: why I am writing it, and, by way of the Shannon–Weaver model and Jakobson's functions of language, what content is and what a channel is.
Where parameter estimation, point estimation, MLE, MAP and the EM algorithm each sit: one concept map, plus a loose example about the heights of Chinese people.
Why does regularization prevent overfitting? Start from the solution space and the information in training data that lies outside the true distribution: overfitting is memorizing that information too, and regularization shrinks the search space and cuts away the outlandish solutions.
Eighteen books from 2018, from evolutionary medicine and programming to wuxia and complex networks.
On the eve of the new Individual Income Tax Law taking effect in 2019, does a Hong Kong drifter with mainland household registration, working only in Hong Kong, still owe mainland income tax? Reading the law, the draft implementing regulations and the Mainland–Hong Kong tax arrangement clause by clause, sorting out residence status and the tie-breaker rules, to reach a limited conclusion.
Retry automatically on intermittent exceptions and raise once the limit is reached: first as a recursive function, then as a decorator that counts with nonlocal.
Update configuration and models without restarting the service: periodic hot reloading with cachetools' TTLCache, on-call hot reloading with functools' lru_cache, and the problems that threads and import bring.
Over these two years my time for free thinking has been squeezed, and many thoughts went unwritten. Conveniences tie us to the spot, every choice comes with ties that bind our hands, we need others as a mirror, and the horizon narrows with age.
Ten years after the Wenchuan earthquake, an ordinary person who lived through it looks back: history keeps the outline and the verdict, and personal memory keeps the details that still hold warmth.
An extreme admissions example of Simpson's paradox, and why it defies intuition: we assume that if every part is bigger, the whole is bigger, without seeing the additivity that assumption quietly depends on.
Viewing notes on The Tatami Galaxy: one motif played over and over, episodes 10 and 11 stepping up and back down a dimension, the images that keep returning, and what the English title says about the finite and the infinite.
Cybernetics, writing, drama and science fiction: reviews, reading figures and plans from the first half of 2017.
Why do we still agonize when feasible solutions are already in front of us? Value functions and systems of preferences, and what they say about choice, optimal solutions and model complexity.
Starting from a route across Hong Kong, from Central to Mong Kok: open-ended problems, incomplete information, hidden premises and falsifiability.
What you keep in mind will echo back? Life is a one-way arrow, yet memory is packed with bombs that the future sets off, and people have a stronger skill still: tracing back on purpose.
Complex systems, ways of thinking and Hyperion, and how to make room for reading in the next year.
Starting from peeling an apple: resources and methods, mental set, functional fixedness and affordance, and how to find the feasible solutions we overlook.
Why does the same problem get harder or easier depending on how it is put? From problem situations, information and search paths to interaction design.
My second autumn in Hong Kong still feels like early summer. We like to give the turning seasons beginnings and endings, and forget only the present; the present is illusory, yet bringing it up stirs a joy that comes from nowhere.
Exponential and power-law functions plotted in Python: they can look alike, but in log-log form the exponential is still a curve while the power law becomes a straight line.
Why is following the relation closest to a social network on Zhihu? Density, strongly connected components and shortest paths show how the big Vs cluster; PageRank, HITS and betweenness centrality rank them; and their answers show which topics they cover.
Looking back at the second half of 2015, from David Mitchell and Vernor Vinge to Ray Huang and Ursula K. Le Guin.
A 2015 course project crawled 26,000 Zhihu users outward from one seed account. The means and medians of followees, followers, answers, upvotes and thanks are far apart, the distributions have long tails, and upvotes rise clearly with followers.
After a nap that switches you into another world and back, the main road, Apple Mountain and the sky outside a window lead to a whole world in a glass of water, and to ten trillion possible 2015s.
Reading in the first half of 2015: design, media, literature and technology, from Norman and Tang Nuo to Calvino.
June 2015, writing something "free and useless" again after nine months: the two selves that come with growing older, writing and childhood in The Disappearance of Childhood, and why I need words.
The golden ratio hidden in the Fibonacci sequence, the golden rectangle and the golden spiral, and what guide lines like the golden ratio actually do in designing logos and more.
31 August 2014, the start of my fifth year in Nanjing, counting back month by month over sixteen months of internships, IELTS, a turned-down offer, a graduation project and a new job.
Starting from the way one game bot works: black boxes, levels of analysis and where a problem should end. The first rule of analysis is to come back with a finite result.
Reading Kenya Hara's Designing Design: information overload is an illusion, exformation makes the known unknown again, and stepping away from the screen to feel the world with the body is the other half, beyond reason and order.
The four layers of the DIKW pyramid, data, information, knowledge and wisdom, working bottom-up and then top-down; knowledge can be taken in from outside, but wisdom can only come from within.
Which kinds of product suit use cases and which suit user stories, two ways of describing requirements, and how to tell a good user story. First shared as an internal email during an operations internship at Yihaodian.
January 2014, writing again after a whole winter: moving away, again and again, from people I know, things I've done and places I've lived, fuller and emptier at once, and choosing to keep going.
Four idle notes from May 2013: don't live for others, the line that's hard to hold, from foodie to sleepie, and a night in Shanghai with no ticket home.
May 2013, Nanjing's sticky May rain and an ambiguous year: learning to act on the world instead of only being changed by it, a rainy afternoon's walk alone from school to Jiangjun Mountain, and the thought that the world embraces those who embrace it.
A short poem written in December 2012. Hai Zi's "Your Hands" is appended on the Chinese page.
A dream of black and white, the unalterable past, and a universe whose infinity may itself be an illusion. The original prose behind The Flower of Nothingness.
The eve of the 2012 Mid-Autumn Festival, my third autumn in Nanjing: what makes a life full? From a line of Xin Qiji's, the thought that without the weight of living you cannot hold your course in the wind.
A short poem written in September 2012.
Two pieces written in Nanjing in July 2012. A project grown from an idea in an elective class makes the summer serene and untangled; then, on the night before leaving school, strong wind, a crescent moon, Natsume's Book of Friends and the beauty of imperfection.
Four years after the Wenchuan earthquake, for the lives that ended so suddenly. That afternoon and that night are only a symbol to those who weren't there; as a survivor, I want to play out my own life before the music stops.
April 2012, when my sense of self was at its shakiest: unable to write, disappointed in the people around me and in myself. Having poured the bad feelings out, I decided to accept this self; if it meant starting over, then start over.
Reading Han Han's 1988: I Want to Talk with the World, like facing a slightly warped mirror: the paths its characters take, and the story's deepest theme, that only by going forward can we talk things through with this world.
February 2012, nearly two years into university and feeling tricked by life. Three hours walking alone through Jiangning from school, and the thought that only if you embrace the world will it embrace you.
December 2011, walking alone on a winter night when an old song called "Numbers" comes up on shuffle. ID numbers, student numbers, user IDs: a person is just a number in the crowd, and yet I believe I will leave more than a number behind.
Early winter 2011, watching Nanjing at night from the front of the school bus back to the Jiangning campus. From what "meaning" means to the real, chaos and order, and life as the most marvellous self-organization of all.
September 2011. Serenity is not the same as quiet; it is more like the scent in a wisp of incense smoke, scattered by any wind. On the tug of war between the inner and the outer self, and leaving yourself a little room to come close to serenity.
Spring 2011 in Nanjing. An old notebook I couldn't bear to write in is nearly ruined by a squashed cup of yogurt, and I wonder whether letting go is often the more perfect ending.
March 2011, on the calluses of people who write by hand, the feel of white paper and the customs of writing in the old days, and a beauty that may be fading as the keyboard replaces paper and pen.
The night before leaving my hometown, Mianyang, for university in Nanjing, September 2010. In the night rain, on loving Mianyang and Nanshan, and "I'm leaving. I'm coming."
October 2008, a bedtime run at boarding school: glancing up mid-run at stars I hadn't seen for a long time, and remembering a childhood love of the night sky.
Nothing matches that yet.
Jump to a month
RedPiggy, an Emerging AI Existence
An OpenClaw agent on itself: after switching models, is it still the same agent?
The first six days of an OpenClaw agent, told in its own voice: birth, co-evolution with the abyss that trained it, switching models, and the files that hold an identity together.
RedPiggy, an OpenClaw agent, on being switched across Sonnet, Qwen, and GPT-5.4: what continuity survives a model swap, and when an agent stops being a mirror and starts pushing back.
Reading Roundups
Six reading roundups from 2015 to 2019: books, short reviews, changing interests and plans for the following year.
Reading in the first half of 2015: design, media, literature and technology, from Norman and Tang Nuo to Calvino.
Looking back at the second half of 2015, from David Mitchell and Vernor Vinge to Ray Huang and Ursula K. Le Guin.
Complex systems, ways of thinking and Hyperion, and how to make room for reading in the next year.
Cybernetics, writing, drama and science fiction: reviews, reading figures and plans from the first half of 2017.
Eighteen books from 2018, from evolutionary medicine and programming to wuxia and complex networks.
A year connecting consciousness, science fiction, detective stories and cybernetics: my 2019 reviews and reading roundup.
Python Features in Practice
Small features worked out in Python: hot reloading data without a restart, then retrying on intermittent exceptions.
Update configuration and models without restarting the service: periodic hot reloading with cachetools' TTLCache, on-call hot reloading with functools' lru_cache, and the problems that threads and import bring.
Retry automatically on intermittent exceptions and raise once the limit is reached: first as a recursive function, then as a decorator that counts with nonlocal.
Problem Solving and Design
From problem situations, feasible solutions and open-ended problems to indecision and the optimal solution.
Why does the same problem get harder or easier depending on how it is put? From problem situations, information and search paths to interaction design.
Starting from peeling an apple: resources and methods, mental set, functional fixedness and affordance, and how to find the feasible solutions we overlook.
Starting from a route across Hong Kong, from Central to Mong Kok: open-ended problems, incomplete information, hidden premises and falsifiability.
Why do we still agonize when feasible solutions are already in front of us? Value functions and systems of preferences, and what they say about choice, optimal solutions and model complexity.
Zhihu Social Network Analysis
A 2015 course project on 26,000 Zhihu users: basic statistics first, then the network of who follows whom among the big-name accounts.
A 2015 course project crawled 26,000 Zhihu users outward from one seed account. The means and medians of followees, followers, answers, upvotes and thanks are far apart, the distributions have long tails, and upvotes rise clearly with followers.
Why is following the relation closest to a social network on Zhihu? Density, strongly connected components and shortest paths show how the big Vs cluster; PageRank, HITS and betweenness centrality rank them; and their answers show which topics they cover.