System Log // Public Access

Insights & Logs

A collection of thoughts on technology, investment, and personal growth.

sam
sam
8/1/2026, 10:05 UTC

今人不见古时月,今月曾经照古人。

ThoughtsIdeasEnglish-Supported

今人不见古时月,今月曾经照古人。古人今人若流水,共看明月皆如此。唯愿当歌对酒时,月光长照金樽里。李白也成了古人,我们也有一天会成为古人。或许默默无闻,或许青史垂名,这些都不重要,重要的是是否真正的活过,这个世界不缺少遗憾,雕栏玉砌应犹在,只是朱颜改。你希望做对但没有做对的事情太多了,但不管何时都要有...

Read Entry
sam
sam
7/25/2026, 04:48 UTC

什么是无密码验证?

Tech

核心架构概述在无密码(Passwordless)OAuth2 流程中,系统通过短信/邮件验证码或生物特征(Passkeys)认证用户。认证成功后,系统使用私钥生成 JWT(令牌)给用户。后端 API 在收到令牌后,通过反向解析,从认证服务器的 JWK(公钥集)中获取对应的公钥来验签,确保令牌真实有效...

Read Entry
sam
sam
3/26/2026, 13:35 UTC

Building gacp: Because typing 3 Git commands is 2 too many.

Tech

We all do it. Dozens of times a day.Bashgit add . git commit -m "fixed a bug" git push I got so sick of typing this exact sequence while working on or...

Read Entry
sam
sam
2/27/2026, 06:21 UTC

天时地利人和

LifeEnglish-Supported

人心齐,泰山移

Read Entry
sam
sam
12/31/2025, 06:53 UTC

月线擒牛绝技,月线美人肩/老鸭头

Ideas

...

Read Entry
sam
sam
12/26/2025, 13:15 UTC

深度解析:自研预渲染脚本的执行生命周期

Tech

深度解析:自研预渲染脚本的执行生命周期为了彻底摆脱 react-snap 的黑盒限制,我们设计了一个透明、高度可控的 Node.js 脚本。它被配置在 CI/CD 流程中,紧接着 vite build 指令之后自动运行。以下是该脚本执行的详细步骤拆解:第一阶段:初始化与环境嗅探 (Initializ...

Read Entry
sam
sam
12/26/2025, 13:14 UTC

Deep Dive: The Execution Lifecycle of the Custom Prerender Script

Tech

Deep Dive: The Execution Lifecycle of the Custom Prerender ScriptOur custom solution replaces react-snap with a transparent, highly controlled Node.js...

Read Entry
sam
sam
12/26/2025, 13:09 UTC

Architecture Evolution: Solving SPA SEO Pain Points with Custom Puppeteer Pre-rendering

TechFrontendArchitecture

1. The Paradox of Modern SPAsWe all love the Single Page Application (SPA) architecture. The combination of React + Vite offers a silky-smooth develop...

Read Entry
sam
sam
12/25/2025, 10:14 UTC

有志者事竟成,破釜沉舟,百二秦关终属楚;苦心人天不负,卧薪尝胆,三千越甲可吞吴。

SharingThoughts

上联:破釜沉舟,百二秦关终属楚主角:西楚霸王·项羽 背景:秦朝末年·巨鹿之战 关键词:决绝、勇猛、置之死地而后生1. 典故由来(破釜沉舟): 秦朝末年,起义军四起。秦军主力围攻赵国于巨鹿,赵国向各路诸侯求援,但秦军太强,大家都不敢轻举妄动。 只有项羽率领楚军前去救援。在渡过漳河之后,项羽做了一个震惊...

Read Entry
sam
sam
12/21/2025, 08:50 UTC

架构演进:从分散式鉴权到配置驱动的 IAM 网关设计

ArchitectureTech

1. 背景与挑战在软件开发的早期阶段,权限控制往往采用“分散式”策略。在 Node.js/Express 生态中,最常见的模式是在每个路由上手动挂载中间件。例如:PlainBashC++C#CSSDiffHTML/XMLJavaJavaScriptMarkdownPHPPythonRubySQL//...

Read Entry
PAGE 1 / 3