Posts
All the articles I've posted.
Collapsing Multi-Gateway Payment if-else with the Strategy Pattern
Posted on:June 2, 2026Wiring up several payment gateways with if-else gets longer and harder to maintain over time — notes on collapsing it with the Strategy Pattern plus a registry, leaving before/after hooks for each gateway to customize.
What to Know Before Upgrading to Node.js 26
Posted on:May 27, 2026Node.js 26 shipped on 2026/05/05. A few changes I found worth noting after reading the release notes, kept here as a reference for a future upgrade.
走一遭『寫程式』以外的軟體開發 - 大型軟體公司的工作日誌 | HWDC 紀錄
Posted on:September 17, 2024HWDC 一場講題的心得:寫程式以外,大型軟體公司的軟體開發樣貌。
Migrate to Astro
Posted on:January 2, 2024從 Medium 搬家到自架 Astro blog 的過程與心得。
使用 Vitest 測試 Nuxt3 的程式
Posted on:October 22, 2023紀錄如何在 Nuxt3 專案設定 Vitest 寫單元測試,以及過程踩到的問題與解法。
淺談 HTTPS 的 TLS 四次握手
Posted on:August 22, 2023紀錄 HTTPS 中 TLS 的握手流程。
淺談 HTTP/1、HTTP/1.1、HTTP/2、HTTP/3 協議
Posted on:February 13, 2022整理 HTTP/1、HTTP/1.1、HTTP/2、HTTP/3 各版本的差異。
來做個靜態地圖產生器吧 (三) | API 加上金鑰吧
Posted on:December 5, 2021靜態 Google Map 系列第三篇:保護產圖 API 的 key。
來做個靜態地圖產生器吧 (二) | 使用 OAI 訪問 S3 bucket
Posted on:December 5, 2021靜態 Google Map 系列第二篇:用 CloudFront OAI 鎖住 S3 bucket 的公開存取。
來做個靜態地圖產生器吧 (一) | Serverless
Posted on:December 3, 2021用 AWS Lambda(serverless)在購物車頁產生靜態 Google Map,系列第一篇。