2025-05-09

44 篇热帖

1. From: Steve Jobs. "Great idea, thank you." (blog.hayman.net)

The one email I ever got from Steve Jobs, and it said “Great idea, thank you.”

2. Void: Open-source Cursor alternative (github.com)

Contribute to voideditor/void development by creating an account on GitHub.

5. First American pope elected and will be known as Pope Leo XIV (www.cnn.com)

Cardinal Robert Prevost of the United States has been selected as the next pope, the first American pontiff in history.

6. High tariffs become 'real' with our first $36K bill (blog.adafruit.com)

We’re no stranger to tariff bills, although they have definitely ramped up over the last two months. However, this is our first ‘big bill’, where a large portion was subjected to …

7. LegoGPT: Generating Physically Stable and Buildable Lego (avalovelace1.github.io)

项目名称:LegoGPT (或 BrickGPT)
核心目标:生成物理上稳定且可搭建的乐高(Lego)结构设计。
关键信息

  1. 原始内容已重定向至 BrickGPT 项目页面。
  2. 项目旨在利用人工智能技术(可能基于GPT模型),实现乐高积木结构的自动化设计,确保生成的设计在物理世界中稳定且符合实际搭建条件。
  3. 如需了解详细信息(如技术实现、演示、论文或代码),应直接访问上述重定向链接。

总结:这是一个关于人工智能生成乐高模型的研究项目,当前详细信息的获取入口已迁移至BrickGPT的GitHub页面。

9. Reservoir Sampling (samwho.dev)

Choosing fairly when you don't know how many you're choosing from.

10. Show HN: Hyvector – A fast and modern SVG editor (www.hyvector.com)

Hyvector - Your friendly vector editor

11. 21 GB/s CSV Parsing Using SIMD on AMD 9950X (nietras.com)

Sep 0.10.0 was released April 22nd, 2025 with optimizations for AVX-512 capable CPUs like the AMD 9950X (Zen 5) and updated benchmarks including the 9950X. Sep now achieves a staggering 21 GB/s on the 9950X for the low-level CSV parsing. 🚀 Before 0.10.0, Sep achieved ~18 GB/s on 9950X.

12. Chicago native Cardinal Prevost elected pope, takes name Leo XIV (catholicreview.org)

Cardinal Robert F. Prevost, the Chicago-born prefect of the Dicastery for Bishops under Pope Francis, was elected the 267th pope May 8 and took the name Pope Leo XIV.

13. Starlink User Terminal Teardown (www.darknavy.org)

I think the human race has no future if it doesn’t go to space. —— Stephen Hawking

Starlink is a low Earth orbit (LEO) satellite internet service provided by SpaceX. Users connect to near-Earth orbit satellites through a user terminal, which then connects to the internet via ground gateways.

As the new generation of satellites gradually incorporates laser links, some satellites can communicate with each other via laser. This both reduces reliance on ground stations and improves transmission efficiency, enhancing global coverage.

14. Doge software engineer's computer infected by info-stealing malware (arstechnica.com)

The presence of credentials in leaked "stealer logs" indicates his device was infected.

15. Writing an LLM from scratch, part 13 – attention heads are dumb (www.gilesthomas.com)

A pause to take stock: realising that attention heads are simpler than I thought explained why we do the calculations we do.

16. Itter.sh – Micro-Blogging via Terminal (www.itter.sh)

itter.sh: Ironic, text-only, SSH-based social networking for terminal lovers. No browser, no js, just eets.

21. Show HN: Using eBPF to see through encryption without a proxy (github.com)

Qtap: An eBPF agent that captures pre-encrypted network traffic, providing rich context about egress connections and their originating processes. - qpoint-io/qtap

22. Show HN: Aberdeen – An elegant approach to reactive UIs (aberdeenjs.org)

Aberdeen 响应式 UI 框架摘要

Aberdeen 是一个基于 TypeScript 的轻量级响应式 UI 库。它通过 ES6 Proxy 对象包装状态以实现精细的属性访问追踪,随后仅重新执行依赖于已更改数据的 DOM 构建闭包。这种方式无需虚拟 DOM 差异比较或编译器魔法,即可实现精确的 DOM 更新。

核心特点与优势

  • 简单易学:直接使用 JavaScript/TypeScript 表达 UI,无需构建步骤或 JSX,概念精简。
  • 类型安全:响应式状态即为普通的 TypeScript 对象与数组,享有完整的类型安全和自动补全。
  • 高效性能:无虚拟 DOM。在代理数据变化时,智能更新 UI 中最小、必要的部分。
  • 便捷列表处理:可轻松、高性能地按任意规则对响应式显示的数据进行排序。
  • 轻量小巧:核心系统约 7KB(压缩后)。零运行时依赖。
  • 功能丰富:内置浏览器历史管理、路由、可撤销补丁(用于乐观 UI 更新)、组件级 CSS(支持类 Tailwind 简写)、SVG 支持、响应式数据转换助手函数(映射、分区、过滤等)以及显示/隐藏过渡效果。

主要不足

  • 社区较小:开发者数量尚少,难以在 Stack Overflow 或 AI 上获得大量现成解答。
  • 生态系统有限:许多功能需要自行实现,无法像 React 那样组合大量第三方库。

示例与用法

库中提供了多个示例,如:

  • 基础计数器:展示了响应式状态定义、文本绑定和双向输入绑定。
  • Todo 列表应用:演示了复杂交互,包括条件渲染、列表排序、增删动画以及编辑状态管理。

其他示例包括输入演示、井字游戏、列表操作和路由。

学习资源

提供 教程参考文档

AI 集成

Aberdeen 包含一个 skill/ 目录,可为 Claude Code、GitHub Copilot 等支持技能的 AI 代理提供专门的库使用知识。建议通过符号链接将其整合到项目的 .claude/skills 目录中。

23. Amazon's Vulcan Robots Now Stow Items Faster Than Humans (spectrum.ieee.org)

Discover Amazon's Vulcan, a groundbreaking robotic system enhancing warehouse efficiency with advanced touch technology for optimized stowing.

24. All BART trains were stopped due to ‘computer networking problem’ (www.kqed.org)

The Bay Area transit system is in the midst of replacing its train control system, but Friday’s outage was caused by network devices not connecting properly, a BART spokesperson said.

25. The most valuable commodity in the world is friction (kyla.substack.com)

AI Chatbots, Newark, and the West Village Girls

26. CryptPad: An Alternative to the Google Suite (cryptpad.org)

End-to-end encrypted collaborative office suite

28. Fui: C library for interacting with the framebuffer in a TTY context (github.com)

framebuffer user interface. Contribute to martinfama/fui development by creating an account on GitHub.

30. A Formal Analysis of Apple's iMessage PQ3 Protocol [pdf] (www.usenix.org)

A Formal Analysis of Apple's iMessage PQ3 Protocol 论文摘要

本文对Apple的iMessage PQ3设备间消息协议进行了详尽的形式化分析与机器验证。PQ3是一个高性能协议,为对抗具备量子计算能力的强敌提供强大安全保障。其核心设计采用混合方法,结合经典椭圆曲线迪菲-赫尔曼(ECDH)和后量子ML-KEM密码学原语,并将后量子安全的密钥封装机制(KEM)集成到初始设置阶段以及类似Signal的双棘轮结构中,从而提供了比仅在设置阶段使用后量子KEM的Signal协议更强的后折衷安全性。

核心贡献与发现:

  1. 全面形式化验证:使用TAMARIN定理证明器,对PQ3协议进行了机器检查的形式化建模与验证。模型覆盖了协议的完整复杂性,包括其嵌套循环(公钥棘轮和对称密钥棘轮)。
  2. 细粒度安全属性证明:证明了PQ3在面对活跃网络对手时提供强大的安全保证,即使对手未来拥有量子计算机。具体包括:
    • 机密性:结合了消息机密性、前向安全性和后折衷安全性。精细的分析明确了各种密钥妥协对安全影响的时间窗口和程度。
    • 认证与重放保护:通过注入式协议来保证。
    • 后量子安全:对“先收割,后解密”对手有效,因为协议的安全性不单独依赖后量子原语,而是与经典密码学绑定。
  3. 证明方法论突破:展示了符号安全协议验证工具(如TAMARIN)能够处理具有无限并行实例和嵌套循环的现实世界复杂协议,这曾被认为超出了此类工具的能力范围。

协议概述: PQ3的通信始于通过Apple的ID服务(IDS)目录获取对方预公钥材料。会话建立时,使用ECDH和ML-KEM预公钥派生初始根密钥和链密钥。随后的通信采用双棘轮:

  • 对称密钥棘轮:在同一方向(如Alice持续发送)发送多条消息时,通过链密钥派生新的消息密钥,实现每条消息的前向安全。
  • 公钥棘轮:当通信方向改变(如Bob回复)时,参与者生成新的临时ECDH密钥,并可选择性地生成新的KEM共享密钥,结合旧的根密钥派生出新的根密钥,从而实现后折衷安全,包括在量子对手威胁下的自愈能力。

威胁模型与形式化建模: 分析假设存在强大的活跃网络对手,可以读取、拦截、重放和发送消息。对手默认可访问所有密钥材料,除非安全引理明确禁止。模型特别纳入了对手在未来获得量子计算机的场景,届时所有非后量子安全的原语(如ECDH)将被破解。在TAMARIN中,协议被建模为一组状态转换规则,并使用自定义的等式理论来模拟混合密钥派生函数(HKDF)、KEM封装等密码学操作。

安全证明与挑战: 证明的关键在于构建一系列辅助引理,以应对TAMARIN在证明涉及嵌套循环的协议时遇到的挑战:

  • 循环跳转引理:允许跳过内层循环的无限展开,直接定位到循环开始或外层循环的关键步骤。
  • 变量链接引理:建立不同密钥(如消息密钥→链密钥→根密钥)之间的派生关系,防止“幽灵会话”干扰。
  • 对手构造引理:形式化对手构造特定密钥所需的前提条件,通常最终会归结为违反威胁模型(即泄露了不该泄露的密钥)。

通过这些引理,TAMARIN得以成功证明核心机密性和认证属性。例如,机密性引理表明,除非对手在特定条件下妥协了某个特定密钥(如消息密钥、相关链密钥、身份密钥或用于派生最新共享密钥的ECDH/KEM密钥),否则无法得知任何消息内容。这精确刻画了各种妥协场景下的安全边界。

结论与未来工作: 本文通过形式化验证为PQ3的高安全设计提供了强保证,并贡献了处理复杂协议证明的新方法论。未来的工作可延伸至分析PQ3与具体会话处理层(如iMessage的实现)结合后的安全性,以及密钥滚动等运行时行为。

31. The dark side of account bans (madelinemiller.dev)

账户封禁的负面影响

事件背景

作者是一位知名Minecraft模组开发者,因收到匿名威胁后遭到恶意举报,导致其Facebook、Instagram和WhatsApp账户被Meta永久封禁。尽管作者尝试通过官方渠道(包括付费客服)申诉,但均未获成功,最终依靠在社交媒体上发帖并被广泛转发后,才意外恢复账户。

失去Meta账户对日常生活的影响

  • 通信中断:在澳大利亚,Facebook Messenger是主流通讯工具。账户封禁后,作者失去了与大多数人的联系渠道,且许多人只使用WhatsApp或Instagram(均属Meta),进一步加剧沟通困难。
  • 生活服务受限
    • 许多餐厅仅通过Instagram发布菜单和营业时间,封禁后无法查看。
    • Facebook Marketplace是当地二手交易的主要平台,封禁后难以进行物品买卖。
    • 活动信息和报名通常仅通过Facebook发布,导致无法参与。
  • 社会功能边缘化:这些平台已深度融入社会,账户封禁会使人无法参与某些社会活动和获取必要服务。

问题本质与普遍性

  • 不仅是Meta的问题:随着单点登录(如Google)的普及,单一账户封禁可能影响众多服务的访问。不同用户可能因不同账户的丢失而受到严重影响。
  • 平台已成为社会基础设施:大型平台实质上提供了类似公共服务的功能,但缺乏相应问责机制。
  • 客服支持薄弱:公司往往无法为被封禁账户提供有效支持,恶意举报和AI误判导致大量用户无辜受罚,而寻求恢复账户的渠道(如小额诉讼法庭)非常有限。
  • 对弱势群体冲击更大:非技术用户可能无法理解封禁原因或找到解决办法,失去账户意味着失去社交联系、珍贵记忆和社会参与机会。

呼吁改变

作者指出,当前状况需要改变。平台公司应提供更公正、透明的账户审核机制和客户支持,确保用户不会因误判或恶意行为而被不合理地排除在社会生活之外。

32. Making PyPI's test suite faster (blog.trailofbits.com)
            See how we slashed PyPI's test suite runtime from 163 to 30 seconds.

The techniques we share can help you dramatically improve your own project's testing performance without sacrificing coverage.

33. How the US built 5k ships in WWII (www.construction-physics.com)

Among the most impressive manufacturing achievements of the US during WWII was the number of ships it produced.

35. Implementing a Struct of Arrays (brevzin.github.io)

My CppCon 2025 talk, Practical Reflection, is now online, and goes over this example in more detail and more digressions. Check it out!

39. How to avoid P hacking (www.nature.com)

Some data practices can lead to statistically dubious findings. Here’s how to avoid them. Some data practices can lead to statistically dubious findings. Here’s how to avoid them.

42. Updated rate limits for unauthenticated requests (github.blog)

To provide a secure and dependable experience on GitHub, we’re rolling out updates to rate limits for requests made without authentication. These changes will apply to operations like cloning repositories…

44. More people are getting tattoos removed (www.gq.com)

For decades, Americans were covering their bodies with more and more tattoos. Now, they’re getting them removed as fast as they can. We speak with the patients going under the laser, the tattoo-removal technicians whose business is booming, and the tattoo artists whose work is being erased to understand how something so permanent became so ephemeral.