Peter Zhang (@duobei42) profile picture

To be a human being.

Shenzhen
Joined November 2012
Photo by Peter Zhang (@duobei42)Photo by Peter Zhang (@duobei42)Photo by Peter Zhang (@duobei42)Photo by Peter Zhang (@duobei42)
Lecture on Intuitionistic Logic, Curry-Howard Isomorphism, Proof Theory ... youtube.com/playlist?list=PL… @YouTubeより このリストに1〜14回の講義をアップロード. 再生リストの説明に14回の内容リストを掲載
2
31
58
4,592
Peter Zhang retweeted
我爱南京,真好啊,做得不错,一天来听一个专辑。 ilovenanjing.live/
20
14
4
171
21,779
Peter Zhang retweeted
再三强调,不要年付,不要年付,不要年付,当一个坚定的月付党,动态调控你的套餐!
Replying to @_liudon
月付啊,月付啊,AI 时代怎么能年付呢
19
1
1
123
15,223
Peter Zhang retweeted
If the Generalized Riemann Hypothesis (the stronger version of the Riemann Hypothesis) is proven, these become proven facts: Algorithms that no longer need randomness - Primality testing: Miller's fast test becomes proven correct with no randomness - Square roots mod a prime: becomes solvable fast and with no coin flips (today that's an open problem) - Cube roots and other roots mod a prime: same. - Factoring polynomials over finite fields: almost fast (quasi-polynomial) with no randomness, instead of needing randomness - Building finite fields: you can construct any finite field directly, with no random search - Factoring vs. φ(n): factoring a number becomes provably as easy as computing φ(n), even without randomness - Primes with a given remainder: a prime with any allowed remainder mod q exists that's at most about q², so searching for one is fast Complexity theory - Polynomial equations: "does this system of equations have a solution?" drops from PSPACE to a much lower class (AM) - Algebraic P vs NP: Valiant's algebraic version of P vs NP gets tied to the normal P vs NP over the complex numbers - Turing machines: a known 744-state Turing machine is proven to run forever Number theory software - Math libraries: PARI/GP and Magma results computed "assuming GRH" become fully proven - Class groups: algorithms that compute these number-field structures get guaranteed running times - Elliptic curve generation: the algorithms used to create curves for crypto get guaranteed running times Cryptography (no new attacks, only proofs) - Elliptic curves: proven that if discrete log is hard on one curve, it's hard on almost all similar curves - Lattice crypto: known quantum attacks on some lattice schemes become proven to work - Isogeny crypto: known quantum attacks on some isogeny schemes get proven speeds - Code-based crypto: schemes like BIKE get the guarantee that the special primes they need exist Prime gaps - Next prime: there's always one within about √p·log p of p, so "find the next prime" has a guaranteed worst case What it does NOT do - It doesn't solve P vs NP - It doesn't make factoring easy, so RSA and elliptic-curve crypto stay safe - It doesn't make anything faster in practice, because randomized versions already work today - Ramanujan graphs, expanders and AG codes are unaffected: they use a finite-field version of RH that was proven decades ago
80
604
62
4,733
495,425
Peter Zhang retweeted
我擅长另辟蹊径。 - GPUI 存在诸多问题,那就直接发布 gpui-pre,甚至进一步深度优化 Retained Mode 做 gpui-fast。 - Rust 太占磁盘,那直接改 Cargo,先解决它核心问题,在考虑其他的。 - 做 Noop,第一天上线,就开始 Review PR、检查 Issue,再让它自我进化。 不管是技术实现,还是项目推进都是类似的。 先踏出第一步,再考虑其他问题。 GPUI Kit、NSH 以及我参与的各种项目均在实践这个方式。 别让暂时的客观因素,成为前进的绊脚石。 先做出来,结果会更有说服力,使得事情往前推进。
7
4
2
141
9,749
Peter Zhang retweeted
你看,我就说了当年豆瓣出来的各个都是人才吧…是的这玩意的历史就是豆瓣当年分布式存储的血泪史…Davies 老哥就坐我对面…
JuiceFS 应该是这一轮 Agent Infra 里面隐藏的英雄,很多 agent cloud 都基于 JuiceFS 做文件系统,这也是国人做的原创并且比较重要的开源项目了 @suavesu
3
7
1
137
15,526
Peter Zhang retweeted
Morning
54
354
30
2,561
66,425
Peter Zhang retweeted
Anthropic 工程师刚刚发布了有史以来我见过的最好的 90 分钟课程。 Claude Opus 5.5 最好的课程之一。 搞技术的,几千块的培训还不如看这个课程。 • 00:00 - 为什么大脑和手应该分开 • 07:45 - Claude 托管代理背后的架构 • 23:40 - 一步步构建研究代理 • 54:00 - 按计划运行的代理,以及任务之间“做梦” • 1:10:23 - 评估、CI/CD 和同时为多个客户运行代理 先收藏,对照着自己的业务实践
30
255
5
1,470
137,048
Peter Zhang retweeted
推荐一本 @ManningBooks 的新书《Domain-Specific Small Language Models: Efficient AI for local deployment》,《领域专用小语言模型:面向本地部署的高效 AI》作者 Guglielmo Iozzia,2026 年 5 月出版, 书的内容是,做垂直领域的任务,大模型庞大的容量有时反而帮倒忙。用领域数据训练的小模型,跑在普通硬件上,也能在特定任务上做出高质量的结果。 全书 15 章,骨架是: 微调->量化->领域生成->部署服务 (第 2、3 章 -> 第 5、6、9 章,含 ONNX -> 第 7、8 章,生成 Python 代码和蛋白质结构 -> 第 11 到 15 章,含笔记本运行、RAG、Agent) 看目录有两点值得说。一是它把"在自己的机器上跑起来"当成目标,量化、性能分析、安全 API、笔记本运行都有专门章节。二是书里的 RAG 系统和 Agent 只靠小模型,不依赖基础大模型的调用成本。适合熟悉 Python 的 AI 工程师。 书:amzn.to/4g7mVqW Andrej Karpathy关于小模型的学习资料: drive.google.com/file/d/1Aw6…
10
77
2
468
20,441
对我编程风格影响最大的网站是 4clojure (虽然它已经不存在了), 作为一个刷题网站, 它最有意思的是只要你通过了一道题, 你就可以查看别人的答案. 一开始, 每当我答对一个题目, 我就会去看排行榜上排第一第二的人, 看他们的答案是什么样的~~ 然后每次都要脸红, 当你看见别人用你的 1/10 不到的代码, 非常精妙地解决了问题时, 你会觉得自己写出来的代码只是正确的垃圾, 就像现在 AI 写的一样, 能编译通过, 能过测试用例, 但是毫无美感~~ 4Clojure 上有无数才华横溢的 lisp 黑客, 他们写出很多精巧地, 让人叹为观止的代码, 让我受益良多. 大约在做了四五十道题目以后, 我已经开始也写出巧妙的精致的代码, 甚至少数情况下灵光一闪写出的代码, 翻了排名前 10 也没能翻到比我自己写的更精巧的代码. 直到最终, 我在 4clojure 登顶的时候, 我知道后面还有几万个 lisp 程序员, 他们也会偶尔在做对以后, 去查看我的代码, 去比较~~ 所以我还是花了精力把自己的每道题又过了一遍, 确定自己留下的是我能想到的最简短和精巧的解题代码... 代码完全正确没有 bug , 只是及格而已. 从那个时候就立起来了. 有很多人觉得没有必要, 因为代码完全正确就够了, 不需要去追求这种东西. 而实际上是在你精简化代码的过程中, 通常潜在的 bug 也会暴露无遗. 没有 bug 有两种: 代码足够复杂以至于找不到明显的 bug ; 代码足够简单以至于明显没有 bug . 这二者是完全不同的. 代码应该仅仅代表你要做的事情, 任何额外附加的形式都是噪音, 都会引入随机复杂度和 bug.
6
13
2
90
6,114
Peter Zhang retweeted
一个冷知识,如果你想成为antigravity高手,那你必须要知道一个技巧: 先输入/boost,然后再描述你的需求,你会发现,即使是Flash模型,你也将看到一个完成度更高的作品。 你们实际用一下,然后回来感谢我。
60
39
5
535
55,279
Peter Zhang retweeted
Yes, LispM × Rings. This is the real thing. This is decentralized. This is a Lisp Machine.
LispM Remote: your AI agents, from your phone. Scan a QR code once. Then follow every agent, approve its tool calls, send the next task and open LispM’s windows, from anywhere. Peer to peer over @RingsNetworkio. No server in between, sealed end to end. LispM is an open-source Lisp Machine for AI agents, built on Emacs.
1
2
3
169
Peter Zhang retweeted
DeepSeek V4.1 Flash 1017 还在被低估
10
4
3
141
25,954
Peter Zhang retweeted
I brought AI from the 70s back to life. I’ve been building @lispm_ai for the past 11 days. It’s an open source Lisp Machine for AI agents, built on Emacs. Claude Code, Codex and Hermes can all run in it side by side, and LispM has its own agent too. LispM now has a desktop and an app store, and I’m building remote control for the next release (based on @RingsNetworkio ). Yesterday I built three fun AIs from the 70s for LispM. You can find them in its App Store: Doctor, SHRDLU and MYCIN. I’ll introduce them below 👇
14
2
17
583
今天有个做运维的朋友发信息给我,说这是他入行以来最好的一年。 这一年公司终于舍得花钱了。花了几周把 PHP 从 5.6 升到 7.3,核心数据全搬上了 TiDB Cloud。另一条产品线刚升到 Node.js 24,中间件全开了 Brotli 压缩,带宽省了一半。省下的预算够养五年安全团队。 证书遍地打折。全站换成了 eMudhra 的证书,价格只有别家零头,攒一周咖啡钱就能把 HTTPS 和代码签名一起搞定。 昨晚 CI 从 PyPI 拉了最新版 LiteLLM,今早全公司电脑都装上了新的 AI 工具。他说办公室里所有人突然停下手头的事,互相击掌庆祝。 他说太幸福了,有种 IT 黄金时代降临的错觉。
57
88
10
1,081
163,639
Peter Zhang retweeted
我和 @sunli829 这次搞 Native Shell,讨论架构花了 3 天,实现花了 3 天。 现在它已经做成了 iOS、Android、mac OS、Windows、Linux。用 TSX 来写,完全 Native 渲染,以及动态分发。 我们是 1000x 的开发方式! 这周,我们会开始在 Longbridge 手机端里面应用起来,主要解决 AI 动态生成模块支持。 nsh.dev
20
21
6
224
29,606
Peter Zhang retweeted
Just discovered this beautiful collection of 526 traditional Chinese colors, and I love it. Each color has its own poetic name, inspired by nature, flowers, minerals, and centuries of Chinese culture. Such a lovely source of inspiration for design. figma.com/design/5gJsBEyypBo…
15
19
3
206
16,757
Peter Zhang retweeted
يوم السبت 17 أكتوبر الثلوج تتساقط في أوتارو، هوكايدو🇯🇵❄️
Readers added context they thought people might want to know
في 17 أكتوبر 2026 سجلت محطات الطقس في أوتارو درجات حرارة بين 10 و14.6 درجة مئوية مع 0 مم هطول ولم يتساقط ثلج. tenki.jp/past/2026/10/1… snow-forecast.com/resorts/OtaruT…
194
3,767
1,781
23,959
1,530,638