Dev
Astro for Documentation and a Professional Site
- Jiyu Yan
- Engineering
- 31 Oct, 2025
I use Astro because this site is mostly writing. I do not need a heavy app framework for pages that should load fast and be easy to edit. That sounds simple, but it is the mai
read moreDense Operational UI with Tables and Editors
- Jiyu Yan
- Engineering
- 26 Sep, 2025
Sometimes a simple form is the wrong UI. If the user needs to compare many values and make careful edits, a table can be kinder than a long page of inputs. Dense UI has a bad reputation when it is us
read moreVercel AI SDK with Explicit Tool Boundaries
- Jiyu Yan
- Engineering
- 22 Aug, 2025
The risky part of an AI feature is not the chat UI. The risky part is what the chat is allowed to do. It is easy to make an assistant feel powerful by giving it tools. With something like the [Vercel
read moreTesting Product Workflows with Vitest and Playwright
- Jiyu Yan
- Engineering
- 18 Jul, 2025
I do not want a test suite that only proves functions work. I want it to protect the workflows that would hurt if they broke. That does not mean every rule needs a browser test. Browser tests are val
read moreZod, OpenAPI, and Swagger for API Contracts
- Jiyu Yan
- Engineering
- 13 Jun, 2025
A public API is not just backend code. It is a product surface for another developer. That means the contract has to be readable. It also has to be enforced at runtime. Types in the app are useful, b
read morepg-boss for Durable Background Jobs
- Jiyu Yan
- Engineering
- 09 May, 2025
The customer problem was not "we need a queue". The problem was that a slow operation made the user wait with no clear answer. That distinction matters. A queue is an implementation detail. The produ
read moreCategories
Tags
- Astro
- Documentation
- Writing
- Codex
- Tmux
- Ssh
- Tailscale
- Termius
- Java
- Design patterns
- Python
- Array
- Leetcode summary
- Backtracking
- Dfs
- Bfs
- Binary search
- Bit
- Dp
- Graph
- Linked list
- Hash table
- String
- Trie
- Localization
- Product engineering
- Ux
- Ai
- Mcp
- Product safety
- Api
- Openapi
- Zod
- Postgresql
- Background jobs
- Ui
- Drag and drop
- Prisma
- Data modeling
- React router
- Full stack
- Design system
- Tables
- Linux
- Input methods
- Rime
- Trackball
- Xorg
- Koreader
- Self hosting
- Vercel ai sdk
- Architecture
- Dependency cruiser
- Testing
- Vitest
- Playwright
- Warwick
- Hpc
- Data mining
- Data analysis
- Sensor networks
- Nlp
- Typescript