Front-end Developer / Indie Builder / AI Tinkerer
Try EveryThing
Hi, I’m
Leonsux
用代码构建有趣的产品,也用文字记录思考的过程。
Building products, writing thoughts, exploring AI, and living a more curious life.
good code. better questions.



notes from the journey
Writing & thoughts
从 y = ax + b 到大模型:AI 是怎么学会的?
从一个人人都能算懂的线性方程出发,理解模型、参数、权重、训练和推理分别是什么。
解决 Codex 响应慢、频繁 Reconnecting 5/5 的问题
通过为 Codex 配置本地 HTTP 代理,解决响应缓慢、频繁断线重连的问题。
模块化
为什么要有模块化? 项目庞大时,js 文件多,变得不好维护 js 文件作用域都是顶层,这会造成变量污染 js 文件依赖问题,稍微不注意顺序引入错,代码全报错 CommonJS CommonJS 是一个更偏向于服务器端的规范。NodeJS 采用了这个规范。CommonJS 的一个模块就是