ai
Technical notes on web development, DevOps, and AI integration.
9 articles
- 16:38ai
One SSE Stream, Two AI Answers
A chatbot needs both a quick summary and a full explanation from one LLM generation. The answer: marker-based splitting in the SSE stream, with separate cache storage and mid-stream parsing.
#sse#ai#streaming - 13:16frontend
Chat Left, Results Right: Splitting One Overlay Into Two
The source list and the chat fought over one overlay. Two panels with different z-index plus render-time visibility ended the fight.
#react#css#tailwind - 03:34frontend
Semantic Related, TLDR Boxes, Live Search
Tag-matched related articles kept missing the point. Swap in cosine similarity, add a TLDR box, and make search live, all fail-safe against an old API.
#nextjs#react#tailwind - 09:25frontend
A TOC Spine That Fades Like a Notes-App Timeline
Tired of the stiff left border on my blog TOC, I swapped it for a Tailwind gradient spine that fades downward. Pure CSS utility, plus a note on the bg-gradient-to-* rename in v4.
#tailwind#css - 01:00frontend
My Accent Color Looked Great in Dark Mode, Then Died in Light
Orange looked great in dark mode but washed out in light. A split accent, emerald-600 in light and mint in dark, clears the WCAG contrast bar in both.
#tailwind#css#frontend - 00:48frontend
Flat Gray Tag Chips Never Invited a Click
Flat gray tag chips all carry equal weight. A 10% primary tint plus a hairline inset ring makes them feel alive and clickable again.
#tailwind#css#frontend - 00:38frontend
When I Fixed My Blog Sidebar Headings That Read Like a Whisper
Sidebar headings at 11px uppercase dim gray were the hardest text to read. Switching to 13px bold normal-case plus icons raised contrast and fixed asymmetry.
#tailwind#css#frontend - 22:34frontend
The 1px Sidebar Wobble That Ended My Chip Borders
Swapping a chip border for a background nudged the whole row by 1px. The fix: an inset ring, because box-shadow never affects layout.
#tailwind#css#frontend - 00:59frontend
Embed YouTube, Mermaid & Recharts in Next.js, No Plugins
Complete guide to embedding YouTube, Mermaid, and Recharts in a Next.js blog without plugins. Boost engagement by 52% with consistent styling and dark mode.
#nextjs#youtube#mermaid