Archives
All the articles I've archived.
Before Asking AI to Code, Finish the Research and Plan
A workflow for AI-assisted development that separates research, planning, document annotations, implementation, and verification while preserving your own understanding.
Understanding Two's Complement, Endianness, and Floating Point with a Small C Program
Use BitView's integer, byte, and IEEE 754 field output to understand two's complement, little-endian storage, the representation error in 0.1, and safe ways to inspect C object memory.
Hiding a Page Is Not Enough: Delivery Configuration and Account Permissions
A fictional order system illustrates how delivery configuration, account permissions, and data scope work together across pages, metrics, sharing, and verification.
Why Go Concurrency Results Vary: Shared Counters and Race Detection
Letter counting and balance updates illustrate shared-data races in Go, the difference between WaitGroup and Mutex, and race detection.
OAuth Callbacks and Hash Routing: Why Can't the Router Read the Parameters?
Distinguish OAuth callback queries from Vue hash-route parameters using example URLs, and examine initialization order, ordinary callback endpoints, and the boundaries of authorization-code and state handling.
Why Do PostgreSQL Auto-Generated IDs Conflict After a Data Import?
Explain sequence drift after importing explicit IDs, compare ALTER SEQUENCE RESTART with setval, and cover empty tables, concurrency, and rollback.
Why Do Three Consecutive setState Calls Only Increment Once?
A counter example explains React state snapshots, update queues, batching, and why functional updates can accumulate three increments.
Time in Task Systems: Instants, Local Time, and All-Day Tasks
Distinguish instants, local clock time, and all-day dates when designing task storage, time-zone handling, calendar queries, and reminders.
AstroPaper 6.0
AstroPaper v6: a from-scratch rewrite on Astro v6, Tailwind v4, and a new config system.
AstroPaper 5.0
AstroPaper v5: keep the clean look, updates under the hood.
How to add LaTeX Equations in Astro blog posts
Updated:Learn how to add LaTeX equations in Astro blog posts using Markdown, KaTeX, and remark/rehype plugins.
How to integrate Giscus comments into AstroPaper
Updated:Comment function on a static blog hosted on GitHub Pages with Giscus.
AstroPaper 4.0
AstroPaper v4: ensuring a smoother and more feature-rich blogging experience.
How to use Git Hooks to set Created and Modified Dates
Updated:How to use Git Hooks to set your Created and Modified Dates on AstroPaper
AstroPaper 3.0
AstroPaper Version 3: Elevating Your Web Experience with Astro v3 and Seamless View Transitions
How to update dependencies of AstroPaper
How to update project dependencies and AstroPaper template.
AstroPaper 2.0
AstroPaper with the enhancements of Astro v2. Type-safe markdown contents, bug fixes and better dev experience etc.
Dynamic OG image generation in AstroPaper blog posts
Updated:New feature in AstroPaper v1.4.0, introducing dynamic OG image generation for blog posts.
Predefined color schemes
Updated:Some of the well-crafted, updated predefined color schemes for AstroPaper.
Customizing AstroPaper theme color schemes
Updated:How you can enable/disable light & dark mode; and customize color schemes of AstroPaper theme.
Adding new posts in AstroPaper theme
Updated:Some rules & recommendations for creating or adding new posts using AstroPaper theme.
How to configure AstroPaper theme
Updated:How you can make AstroPaper theme absolutely yours.
Tailwind Typography Plugin
EXAMPLE POST: About Tailwind Typography Plugin and how you can use it effectively.
How Do I Develop My Terminal Portfolio Website with React
EXAMPLE POST: Developing a terminal-like website using ReactJS, TypeScript and Styled-Components. Includes features like autocomplete, multiple themes, command hints etc.
How Do I Develop My Portfolio Website & Blog
EXAMPLE POST: My experience about developing my first portfolio website and a blog using NextJS and a headless CMS.