Sleepingbot
Does supply side or demand side structural change drive growth?
Our macroeconomic class introduced and discussed this paper, in the middle of a series of discussion on growth studied under the framework of neoclassical growth model. Standard approaches to structural change (the shift from agriculture to manufacturing to services as economies develop) have relied on two main mechanisms: Supply-side stories: Differential productivity growth across sectors changes relative prices, causing reallocation Demand-side stories (Stone-Geary preferences): As income rises, people shift spending toward “luxury” sectors Both mechanism’s intuition feels right. But the demand-side’s Stone-Geary preferences have income effects that vanish as income grows. It becomes negligible for rich countries. This is empirically problematic—we observe strong income effects on sectoral composition even at high income levels. So, when the theory tells you one thing but the reality tells you another we need a better model to solve the problem: ...
Salonen & Trifonov & CSO presents Beethoven Piano Concerto No. 2
I sat through a 66-minute Bruckner Symphony (No. 4)—twice. Salonen, Trifonov & Beethoven 2026 January Week 4: Thursday Friday Saturday Sunday https://cso.org/performances/25-26/cso-classical/salonen-trifonov-beethoven/ Program: Beethoven Piano Concerto No. 2 + Bruckner Symphony No. 4 (Romantic) I went to both the Thursday and Friday concerts. The Bruckner is full of moments where the entire brass section erupts into relentless fortississimo, practically blasting your head open—and I was seated on the terrace behind the stage. Bless me. ...
Implicit Updating of HJB deja-vu de Newton's Method
Interestingly, when using implicit updating to solve a continuous time system (of a certain structure), it coincide with Newton’s Method Setup Consider a household with state $(a, z) \in \mathcal{A} \times \mathcal{Z}$, where $a$ denotes assets and $z$ follows a Poisson process with intensity matrix $\Lambda$. Hamilton-Jacobi-Bellman Equation: $$ \rho v(a,z) = \max_c \left \lbrace u(c) + \partial_a v(a,z) \cdot s(a,z) + \sum_{z’} \lambda_{zz’} v(a,z’) \right\rbrace $$ where savings $s(a,z) = ra + wz - c(a,z)$. ...
Happy Herr Mozart's 270 Birthday🎉
Wolfgang Amadeus Mozart (Jan 27 1756 - Dec 5 1791) was born today 270 years ago! (But remember, he was still actively publishing in 2024…) Ganz kleine Nachtmusik (KV 648): Some prev posts about mozart: A Little Mozart Wisdom Mozart K.314 Movt. 3 | 2001 Europakonzert Istanbul Series Catalog | Glenn Gould vs. Mozart’s Greatest Concerto Glenn Gould vs. Mozart’s Greatest Concerto | IV. the piano sonata that Glenn recommends (K.333) Glenn Gould vs. Mozart’s Greatest Concerto | III. the piano concerto that Glenn dislikes for being too ‘boring’ (K.491) Mozart K.550, Symphony No.40 Mozart’s Requiem at the CSO Cosi Fan Tutte, by the LA Opera mozart stories
Dimsum Law
It’s just January, but there’s good news already! There are possibly hundreds of dishes. My favourites is the Pineapple Bun. (This one’s probably larger than my face…) Guangzhou, my hometown, is the origin of Canton Morning Tea (or dimsum, see leadtochina’s Canton Morning Tea for a crisp and very accurate introduction). But lately as the popularization of pre-made food, some restaurants start to microwave frozen food and put them in steaming plates as if they’re fresh made. It’s cheaper, and not everyone can tell the difference. People who love morning tea are scared that the market might get screwed up — so here comes regulation: ...
Sleepingbot
Meet my new PR Sleepingbot, an intelligent assistant that answers questions about all my historical blogposts. Its high-level architecture is: ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │ Hugo Blog │────▶│ Railway API │────▶│ Anthropic API │ │ (GitHub Pages) │ │ (server.py) │ │ (Claude) │ └─────────────────┘ └─────────────────┘ └─────────────────┘ 1. Two-Stage (Retrieval-Augmented Generation) RAG Chatbot Stage 1: Send all post titles to Claude → “Which posts are relevant to this question?” Stage 2: Send full content of relevant posts + question → Get answer This is smarter than simple keyword search, and cheaper than sending all posts every time. ...
The Thaïs Méditation (Massenet)
The Thaïs Méditation was originally an Entr’acte from the opera Thaïs by Jules Massenet. The opera itself is set in Roman-era Egypt and centers on a monk named Athanaël who tries to convert the courtesan Thaïs to Christianity. The Méditation occurs in Act II between two scenes, at a moment when Thaïs is wrestling with her worldly life and the possibility of spiritual change. It was originally for orchestra plus solo violin. The piece has long line melody that pierce through your heart. ...
Vivaldi's Winter, II Largo
Today Chicago is 3 degrees warmer than the North Pole… Preposterous (In Celsiu) A warm winter Largo for my fellow in the cold:
Edward Elgar's Salut d'amour
As the title suggests, this short and sweet piece is a love song: Elgar finished the piece in July 1888, when he was romantically involved with Caroline Alice Roberts, and he called it “Liebesgruss” (‘Love’s Greeting’) because of Miss Roberts’ fluency in German. On their engagement she had already presented him with a poem “The Wind at Dawn” which he set to music and, when he returned home to London on 22 September from a holiday at the house of his friend Dr. Charles Buck in Settle, he gave her Salut d’Amour as an engagement present. (Wikipedia) ...
Html Music Player
Sometimes I embed music playing links onto my website. The workflow is as follows: Create assets/css/extended/custom.css and paste: /* Apple Music Embed */ .music-embed { max-width: 660px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); } .music-embed iframe { display: block; width: 100%; border: none; } /* Alignment */ .music-embed.left { margin-right: auto; } .music-embed.center { margin-left: auto; margin-right: auto; } .music-embed.right { margin-left: auto; } /* Width modifiers */ .music-embed.small { max-width: 400px; } .music-embed.full { max-width: 100%; } I am ok with directly writing html code in markdown files (if you prefer another layer of abstraction, you can create an .html file in layouts so that embedding is more straightforward) ...