Why an API Outage Replaced the Home Page With an Empty List: catch { return [] }
Returning an empty list on API failure overwrote healthy cached pages. A reproduction exposed what happened during revalidation.
FORGE FATE · TECH NOTES
Ideas and lessons from AI, software development, and data analysis.
Choose a topic to get started. Each title opens a starting article.
For readers exploring how AI fits into quantitative research
Helpful background: Basic ideas of investment returns and losses. Some Python helps when following the code examples.
For readers ready to design a small ETF study with basic Python
Helpful background: Basic Python, tabular data, ETFs, and returns. Synthetic examples test timing, accounting, and records. The baseline article in the concepts path separately compares historical ETF performance.
For readers moving from Java basics to Spring service development
Helpful background: Basic Java syntax. Start with the roadmap; move to Compose integration after building a simple API and running containers.
For developers deciding what to delegate to coding agents and how to review it
Helpful background: Some experience with small code changes, tests, and reviews. Within the article, follow tool roles → task breakdown → verification, approval, and recovery.
Returning an empty list on API failure overwrote healthy cached pages. A reproduction exposed what happened during revalidation.
A deleted category page stayed up. I added an endpoint that publishing tools could call to invalidate the cache.
Pages loaded with the API stopped after I enabled ISR. What was cached, and what did that check actually establish?
Flyway never ran, npm failed inside Docker, and cache writes failed on permissions. Local tests missed each problem.
A category change left the app running without a required column. I rebuilt the early database, then moved schema changes to Flyway.
The connector, container address, DNS, and certificate checks needed to get one hello line onto a public URL.
7 articles published
Notes from building and running a Spring Boot and Next.js blog on one Mac at home. Five parts cover the initial setup, caching, bilingual pages and search indexing, the admin app, and outages and backups, with the problems encountered and the changes made along the way.
5 articles published
A five-part series on learning and working with Codex: choosing what to study, understanding agent behavior, deciding what to delegate, reviewing generated code, and improving your tools and workflow. Practical examples focus on clear requirements, evidence from execution, and checks you can review.
8 articles published
Eight parts on research questions, acquisition criteria, and timing, with synthetic accounting and record checks. Parts 7–8 include a runnable public example. Historical ETF baseline performance is covered separately in the earlier series; this is not a completed ML or live-trading system.