为什么要尽量少用 Go 里的 unsafe
Posted on 三 11 2月 2026 in Tech • Tagged with Go, unsafe, memory-safety, best-practices
Posted on 三 11 2月 2026 in Tech • Tagged with Go, unsafe, memory-safety, best-practices
Posted on 二 03 2月 2026 in Tech • Tagged with Vue.js, frontend, debugging, deployment, troubleshooting
Posted on 二 03 2月 2026 in Tech • Tagged with C++, Go, build, debugging, compilation, best-practices
Posted on 三 28 1月 2026 in Tech • Tagged with 职场, PDCA, 闭环思维, 持续改进, 职场方法论, 敏捷开发, Scrum, CI/CD, 迭代
领导最怕什么?"那个事后来怎么样了?""呃……"如果你经常被这个问题问住,说明你做事没有"闭环"。本文介绍 PDCA 循环——一个用了 70 年的持续改进框架,并从软件工程角度阐述 PDCA 与敏捷开发、CI/CD 的最佳实践,帮你从"做了"变成"做成了"。
Posted on 三 28 1月 2026 in Tech • Tagged with Go, concurrency, lock, mutex, atomic, channel, performance
并发编程最怕什么?数据竞争。解决数据竞争最常见的方法是加锁,但锁也分三六九等。本文用 Go 代码实战,带你理解悲观锁、乐观锁、无锁三种并发控制策略的原理、实现和适用场景。
Posted on 二 27 1月 2026 in Tech • Tagged with python, programming, tips, traps, best-practices
Python 入门容易精通难。这篇文章整理了 10 大经典陷阱(可变默认参数、闭包绑定、浮点精度、GIL...)和 10 小窍门(海象运算符、collections、itertools...),附带工程建议和 Checklist,帮你写出稳定、高效、可维护的 Python 代码。
Posted on 二 27 1月 2026 in Tech • Tagged with programming, DevOps, Declarative, Kubernetes, Terraform, GitOps, Infrastructure as Code
Posted on 日 25 1月 2026 in Tech • Tagged with Kubernetes, EKS, AWS, IAM, IRSA, OIDC, security, STS
Node Role 像一把“万能钥匙”。IRSA 让你把权限精确绑定到 Pod:用 Kubernetes 的 ServiceAccount token 走 OIDC 联邦,去 STS 换临时凭证。
Posted on 六 24 1月 2026 in Tech • Tagged with Kubernetes, raspberry-pi, homelab, edge-computing, IoT
Posted on 五 23 1月 2026 in Tech • Tagged with Go, debugging, coredump, delve, crash, panic
很多人以为 C++ 就是 "C with Classes",但现代 C++ 早已面目全非。本文带你梳理 C 和 C++ 的核心差异,以及 C++11 到 C++23 的革命性变化——如果你还在写 C++98 风格的代码,是时候升级了。
Posted on 三 14 1月 2026 in Tech • Tagged with 职场, graduate, software-engineering, robotics, game-development, advice
Posted on 二 13 1月 2026 in Tech • Tagged with journal, blog, architecture, design, first-principles
Posted on 六 13 12月 2025 in Tech • Tagged with Go, goroutine-leak, memory-leak, troubleshooting, performance
以为有了 GC 就可以高枕无忧?太天真了!Go 程序中最隐秘的杀手 —— Goroutine Leak,正在悄悄吃掉你的内存。本文带你深入现场,手把手教你如何发现、排查并彻底消灭它。
Posted on 日 09 11月 2025 in Tech • Tagged with journal, blog, spec-driven-development, sdd, BDD, TDD, FDD, DDD, literate-programming, openapi, api-design
Posted on 六 20 9月 2025 in Tech • Tagged with journal, blog, backup, disaster-recovery, linux, DevOps
Posted on 日 14 9月 2025 in Tech • Tagged with journal, blog, security, encryption, aes-gcm, envelope-encryption
Posted on 日 13 7月 2025 in Tech • Tagged with journal, blog, Go, casbin, authentication, authorization, microservices
| Abstract | Common Identity Service | | --------------|------------------------| | Authors | Walter Fan | | Category | learning note | |...
| Abstract | 从依赖注入谈起 | | --------------|------------------------| | Authors | Walter Fan | | Category | learning note | | Status | v1.0...