2026 07 17 HackerNews

2026-07-17 Hacker News Top Stories #

  1. Inkling 是 Thinking Machines Lab 发布的首个开放权重多模态大模型,拥有 9750 亿总参数并支持百万 token 上下文,成为美国本土有竞争力的开源选择。
  2. Kimi K3 是首个公开的 3T 级开源模型,具备原生视觉和百万 token 上下文,通过新型注意力架构和稀疏专家技术大幅提升扩展效率,计划于 2026 年 7 月 27 日开源。
  3. 文章借 Nine Inch Nails 前创意总监的视角回顾了 Napster 和 Oink 等盗版平台带来的音乐发现之乐,并反思流媒体时代虽便利却丧失了仪式感与社区热情。
  4. Grok Build 是 SpaceXAI 开源的终端 AI 编程代理,以全屏 TUI 形式运行,支持代码理解、文件编辑、Shell 执行和网页搜索,采用 Apache 2.0 许可证。
  5. 索尼因授权协议破裂将删除用户账户中551部“已购买”影片且不退款,文章批评其混淆购买与许可概念,呼吁加强消费者保护立法。
  6. 一加宣布停止在欧洲和北美推出新产品,但现有设备将继续接收软件更新和售后服务,中国团队管理导致本地化不足。
  7. 微软将1996年的经典聊天软件 Microsoft Comic Chat 开源,它可将 IRC 聊天转为漫画格子并首次使用了 Comic Sans 字体。
  8. Roc 编译器团队耗时 487 天将 30 万行 Rust 代码重写为 Zig,新编译器实现了热代码加载和零堆分配等优化,并计划今年发布 1.0 版本。
  9. 前 Google DeepMind 研究员因公司向美国国土安全部出售云服务并在军事 AI 协议中妥协而辞职,以此揭露科技巨头背弃伦理承诺的现实。
  10. 作者提议 SQLite 借鉴 Rust 的 editions 机制引入新的默认行为,以改善外键约束默认忽略等宽松设置而不破坏向后兼容。

1. Inkling:我们的开放权重模型 (Inkling: Our Open-Weights Model) #

https://thinkingmachines.ai/news/introducing-inkling/

Inkling 是 Thinking Machines Lab 发布的首个开放权重模型,旨在让用户能够定制自己的 AI 工具。该模型是一个混合专家的变换器,拥有 9750 亿个总参数,其中 41 亿个为活跃参数,支持最高 100 万令牌的上下文窗口。Inkling 在 450 万亿个文本、图像、音频和视频的基础上进行了预训练,是一系列不同大小模型的开端。同时,实验室也发布了一个名为 Inkling-Small 的较小模型,拥有 120 亿活跃参数,具备较低的成本和延迟。

Inkling 的设计目的是作为一个广泛的基础模型,能够在多个领域中表现出色。它具有多模态能力,能够高效处理文本、图像和音频。虽然 Inkling 在一些特定基准测试中的表现可能不如其他顶尖模型,但它在广泛的能力和灵活性上表现突出,适合于定制化的需求。

为了让用户能够方便地对 Inkling 进行微调,Thinking Machines Lab 提供了 Tinker 平台,用户可以在此平台上进行模型的定制。此外,Inkling Playground 也在 Tinker 控制台中推出,提供一个开发者界面,让用户与 Inkling 进行互动。

Inkling 展示了多种实际应用能力,包括编码、工具使用、图形设计和长时间的反馈循环。它能够在一次性任务中快速创建功能性网页应用,并在设计 Arena 的评估中排名靠前。Inkling 在生成多页面文档、游戏等多种任务中表现出色,能够进行持续的改进和反馈循环。

一个关键特性是 Inkling 的可控思维努力,允许用户性能与代币效率之间进行衡。这使得 Inkling 在满足真实世界应用需求时更加灵活,用户可以根据具体情况调整其思维努力,以优化成本和延迟。

Inkling 的多模态能力使其能够处理音频和视觉输入,能够转录语音、理解指令、回答关于录音的问题,并对视觉内容进行深入推理。这一特性使得 Inkling 在音频和视觉基准测试中表现优异。

在可信度和安全性方面,Inkling 经过训练以提高其校准能力、指令遵循能力和对审查的抵抗力。这些特性使得 Inkling 在处理复杂和难以验证的查询时,能够提供更有用和可靠的答案。

为了确保 Inkling 的安全性,实验室进行了多方面的评估,并邀请外部测试者进行验证。Inkling 在拒绝与武器和暴力相关请求的测试中表现良好,显示出其强大的内置安全保障。

总体来说,Inkling 是一个具备多种能力的通用模型,旨在为不同的工作流和产品定制提供基础。实验室计划继续扩展 Inkling 的功能,并在未来发布更多模型。


HN 热度 1176 points | 评论 281 comments | 作者:vimarsh6739 | 1 day ago #

https://news.ycombinator.com/item?id=48924912

  • Inkling 是当前最大的开源权重模型之一,支持音频多模态,并提供了本地运行方案(llama.cpp、unsloth、HuggingFace 等)。
  • 有评论认为 Inkling 在基准测试上优于 KimiK2.7,但也有人表示 KimiK2.7 在实际使用中仍占一半时长。
  • 部分用户视其为自 Llama 3 以来第一个有竞争力的非中国开源模型,但另有人指出 Cohere North、Mistral、Gemma、NVIDIA Nemotron 等也属同类。
  • 模型国籍(美国)影响其在政府合同中的采用,美国公司需避免使用中国模型以简化合规。
  • Inkling 在 Artificial Analysis 指数中仅排第 41,并非整体最强,且与 GLM‑5.2、DeepSeek V4、Qwen3、Kimi K2 等顶尖中国模型相比仍有差距。
  • 大型模型(如 Arcee Trinity Large 400B)虽性能强劲,但难以在本地运行;NVIDIA Nemotron 3 Ultra 561B 是更大的美国开源权重模型。
  • 有人通过关闭网页搜索测试 Inkling 的固有知识,发现其对个人(如写过书的作者)有简洁但有趣的“影子知识”。
  • 评论提到 Gemma 4(最大 31B)虽非顶级规模,但性能已大幅超越早期大模型;Qwen 3.6 35B A3B 与 Cohere North 在编码等任务上互有优劣。
  • Mistral 和 Cohere North 是欧洲(欧洲/加拿大)可行的非中国开源选择,Cohere 总部曾多次变更(多伦多、旧金山、柏林)。

2. Kimi K3: 开放前沿智能 (Kimi K3: Open Frontier Intelligence) #

https://www.kimi.com/blog/kimi-k3

Kimi 发布了其最强模型 Kimi K3,拥有 2.8T 参数,是首个公开的 3T 级开源模型,具备原生视觉能力和百万 token 上下文窗口。K3 基于 Kimi Delta Attention 和 Attention Residuals 架构,结合 Stable LatentMoE 实现 896 专家中激活 16 个,整体扩展效率相比 Kimi K2 提升约 2.5 倍。尽管整体性能仍不及 Claude Fable 5 和 GPT 5.6 Sol,但在评测套件中持续超越其他模型。

K3 在长周期编码、GPU 内核优化和编译器开发方面表现突出。在四组 GPU 内核优化测试中(AttnRes、DSA、MLA-512、GPGPU),K3 与 Fable 5 接近并大幅优于其他模型;它还自主开发了 MiniTriton 编译器,性能可比甚至超过 Triton 和 torch.compile,并能稳定支持端到端的 nanoGPT 训练。

K3 即日起在 Kimi.com、Kimi Work、Kimi Code 和 Kimi API 上线,默认采用最大思考努力模式,完整模型权重预计于 2026 年 7 月 27 日开源。


HN 热度 963 points | 评论 588 comments | 作者:vincent_s | 8 hours ago #

https://news.ycombinator.com/item?id=48935342

  • Moonshot 的 API 使用条款明确表示可基于用户内容进行模型训练,除非另有书面协议,用户需注意。
  • OpenAI 和 Anthropic 在企业/API 服务中也同样可能使用用户数据训练,并无本质区别,中国公司反而更公开透明。
  • OpenAI 和 Anthropic 的条款明确禁止对企业/API 用户的数据用于训练,违反将带来巨大法律风险,不会冒此风险。
  • 中国公司的服务缺乏法律追索权,用户一旦数据被滥用,无法获得有效保护。
  • 企业用户与 AI 公司签订的合同有严格法律约束,若发现违规训练,大公司将动用法律团队起诉,后果严重。
  • AI 公司的隐私政策仍允许收集用户输入输出数据用于训练(除非用户主动选择退出),且保留数据用于“安全”理由可转为训练用途。
  • 版权盗用与合同违约性质不同,前者处于灰色地带,后者是明确的合同违法,直接损害客户利益。
  • Anthropic 曾为盗版数据支付和解金,但美国法院倾向于允许对合法访问的版权数据进行训练。
  • AI 公司可能通过代理总结源材料再进行“清洁室”训练以规避责任。
  • 企业客户有路径要求不存储数据,但不同模型支持程度不同,需具体协商。

3. 音乐盗版失去的乐趣 (The lost joy of music piracy) #

https://www.pigeonsandplanes.com/read/music-piracy-what-cd-oink-nine-inch-nails-streaming

本文回顾了音乐盗版时代的美好,以 Nine Inch Nails 前创意总监 Rob Sheridan 的亲身经历为主线。他讲述了从 Napster、Oink 等盗版平台发现音乐的兴奋感,以及当时 CD 高昂价格导致的盗版合理性。文章特别提到了著名私密 BT 站点 Oink’s Pink Palace,称其为“最完整高效的音乐分发模式”。Sheridan 和 Reznor 曾利用盗版进行病毒营销,并最终免费发布专辑《The Slip》,以此探索音乐行业在流媒体时代的新经济模式。全文对照今昔,反思流媒体时代失去的盗版“乐趣”与社区感。


HN 热度 762 points | 评论 513 comments | 作者:mcgin | 18 hours ago #

https://news.ycombinator.com/item?id=48930454

  • 怀念过去通过朋友网络积累音乐库、在专辑中偶然发现喜爱歌曲的纯粹快乐
  • 现在的 Spotify 算法播放列表让人记不住歌名和乐队名,无法产生情感连接
  • 平台所谓的“发现”实则偷换了概念,真正的发现需要花时间、反思、策划和与他人交流
  • 平台只解决了可及性,并未解决深度发现与反思,产品团队也从未关注这些
  • 用户必须主动花十倍时间反思思考,否则就会错过深度体验
  • 写评论本身就是为了反思自己的思想,而不是单纯展示观点
  • 过去的发现过程其实就是和朋友闲聊选歌,毫无刻意感,如今却成了需要刻意反思的负担
  • 远程办公类似,原本面对面自然产生的小交流现在需要刻意拆解并重新加入
  • 音乐流媒体可设计在曲目间提供写笔记或反应的功能,促进反思与更精准推荐
  • 大型语言模型能通过对话(如“类似 MF Doom 的 hip hop 艺术家”)引发很好的音乐发现
  • 已有项目将持久 LLM 会话与社交聆听结合,让 AI 在 YouTube 找歌并播放
  • LLM 对知名艺术家有用,但对小众曲目如 “He…(未完整)” 效果不佳

4. Grok Build 是开源的 (Grok Build is open source) #

https://github.com/xai-org/grok-build

Grok Build 是 SpaceXAI 开发的终端 AI 编程代理,以全屏 TUI 形式运行,能够理解代码库、编辑文件、执行 shell 命令、搜索网页、管理长期任务。支持交互式、无头脚本/CI 以及通过 ACP 协议嵌入编辑器。提供一键安装脚本(curl/irm),也可通过 Rust 工具链从源码构建。项目包含多个代码模块(TUI、代理运行时、工具、工作空间等),文档位于 docs.x.ai/build/overview。不接受外部贡献,许可证为 Apache 2.0。


HN 热度 572 points | 评论 609 comments | 作者:skp1995 | 1 day ago #

https://news.ycombinator.com/item?id=48926590

  • 代码库中包含用 Unicode 框线字符渲染 Mermaid 图表的终端渲染器
  • 有人将 Rust 代码编译为 WebAssembly 并搭建了浏览器端试验场
  • 在等宽字体中渲染 CJK、泰语等 Unicode 字符时,框线字符会因字体回退导致宽度不一致,破坏对齐
  • 通过 unicode-rangesize-adjust 可以为特定字符选择合适字体来修复对齐问题
  • Claude Code 在处理法语重音字符(如 é)时也会出现对齐错误
  • 浏览器回退到不等宽字体违背了固定宽度网格的预期,应保持字符网格对齐
  • 泰语声调标记通常不计入显示宽度,导致基于字符数的布局计算错误
  • 渲染引擎未将回退字体的字形宽度调整为主字体的宽度,导致非网格应用中对不齐
  • 某些 Chrome 和 Firefox 移动版能正确对齐,但其他平台表现不同
  • 该问题本质是字体而非渲染器 bug,除非主动提供覆盖所需字符的自定义等宽字体
  • 终端仿真器可以缩放超出单元格的字体字形以维持网格对齐,这种做法并不难实现

5. 索尼从那些“购买”了电影的用户账户中删除了更多影片 (Sony deletes more movies from the accounts of people who ‘bought’ them) #

https://www.techdirt.com/2026/07/15/sony-deletes-a-bunch-more-movies-from-the-accounts-of-people-who-bought-them/

索尼再次从 PlayStation 商店用户账户中删除了数百部已付费购买的电影和电视剧。用户以为自己在购买永久拥有的内容,实际上只获得了临时使用许可,且许可随时可能因授权协议到期而失效。此前,2022 年德国和奥地利用户因索尼与 StudioCanal 的授权纠纷失去数百部电影,2023 年美国用户因索尼终止与 Discovery 的授权而失去数百集电视剧。本次事件同样源于与 StudioCanal 的授权协议破裂,涉及 551 部电影和电视剧,将于 2026 年 9 月 1 日被删除,且无任何退款。文章批评索尼刻意模糊"购买"与"许可"的区别,利用用户不阅读用户协议的习惯,以反消费者方式牟利。同时指出政府缺乏消费者保护行动,呼吁建立更透明的购买告知规则。评论区有用户建议通过获取实体媒体或自行下载到本地服务器(如 Jellyfin、Plex)来保护已获取的内容,并质疑索尼删除内容的行为若按"用户从未拥有内容"的逻辑,则反盗版指控自相矛盾。


HN 热度 565 points | 评论 349 comments | 作者:nekusar | 11 hours ago #

https://news.ycombinator.com/item?id=48933419

  • 撤销购买的数字内容应全额退款,并考虑通货膨胀和利息补偿。
  • 仅退款不够,还需赔偿用户因失去访问权导致的间接损失和恢复成本。
  • 索尼未退款可能符合其用户条款,但“购买”标签与条款存在虚假宣传冲突。
  • 退款应包含通胀调整和利息,以体现资金的时间价值。
  • 反对通胀和利息调整,认为用户已免费观看,全额退款已足够。
  • 商家应强制标注 DRM 租赁的具体期限和违约罚则,目前“购买”实为无限期租赁。
  • 可按观看次数或时间比例部分退款,但所有用户应同等补偿未来访问损失。
  • 商家随意删除数字商品会导致市场扭曲,需法律禁止。
  • 更公平的方案:按“终身访问”(87 年)比例退款;未观看的全额退款;或提供等值新平台访问。
  • 根本上应提供 DRM-free 文件,让用户自行保存,不依赖商家持续服务。
  • 音乐行业已实现 DRM-free 下载与流媒体,数字电影应效仿。
  • 加州法律 AB 2426 已禁止用“购买”“拥有”等词描述可撤销的数字许可证。
  • 民众可通过立法权力改变现状。

6. 一加停止在美国和欧洲的业务运营 (OnePlus halts operations in USA and Europe) #

https://community.oneplus.com/thread/2170715118587871237

一加宣布全球战略调整,将停止在欧洲和北美推出新产品。现有设备仍会按原承诺获得软件更新、安全补丁和售后服务,保修权益不受影响。作为软件策略调整,符合条件的现有设备用户可自愿升级到 ColorOS 17,并支持回滚至 OxygenOS。欧洲社区和商店目前仍保持开放。一加印度业务照常运营。官方声明解释了变动原因,并感谢用户多年支持。评论区用户反应不一,有表达失望,也有对 ColorOS 统一系统表示期待。


HN 热度 507 points | 评论 302 comments | 作者:pilililo2 | 13 hours ago #

https://news.ycombinator.com/item?id=48932539

  • 公司实行 996 工作制,内部管理混乱,中文开发工具和流程直译不符合当地习惯,例如需要“签名”和“盖章”的功能。
  • OnePlus 13 和 15 电池续航极强,采用硅碳电池,而三星和苹果在美国仍未普及该技术。
  • 前员工提到在美国只有 OnePlus 和 Motorola 销售硅碳电池手机;有用户表示 Nothing Phone(3)也使用同类电池。
  • 签合同或提交付款时,需要先签名再用公司印章盖章,这是中国商业习惯的直接映射,缺乏本地化处理。
  • 许多管理团队常驻中国,不完全理解美国市场,导致内部工具和业务沟通困难。
  • 反例:新西兰公司进入美国市场时,遇到严格竞争性招标流程和机场安全敏感问题,无法像在新西兰那样直接电话沟通签约。
  • 有评论质疑新西兰“直接打电话安排合同”的做法容易滋生腐败,但实际是长期信任合作关系简化了流程。
  • 美国公司“随意解雇员工”的文化在新西兰或其他市场被视为难以理解的特例。
  • 其他评论提到美国 Subway 自助点餐机体验差,比人工点单更耗时。

7. Microsoft Comic Chat 现已开源 (Microsoft Comic Chat is now open source) #

https://opensource.microsoft.com/blog/2026/07/16/microsoft-comic-chat-is-now-open-source/

微软宣布将经典聊天软件 Microsoft Comic Chat 开源。该软件诞生于 1996 年,能将 IRC 聊天内容自动转化为漫画格子,包含角色、气泡和表情,并首次使用了 Comic Sans 字体。由微软研究院的 David Kurlander 等人开发,漫画角色由知名独立艺术家 Jim Woodring 设计。项目采用 Visual C++ 和 MFC 编写,至今已 30 年。开源代码现已在 GitHub 上公开,包含原始版本和部分现代化尝试,可在现代 Windows 系统上运行。文章回顾了早期互联网的探索精神,鼓励开发者研究、修改甚至重新想象这种视觉聊天方式。


HN 热度 449 points | 评论 102 comments | 作者:jervant | 7 hours ago #

https://news.ycombinator.com/item?id=48936426

  • Comic Chat 开源由 Robert Standefer 推动,原开发者 DJ Kurlander 支持
  • Comic Chat 启发了漫画创作网站 Chogger,曾达到 3 万月活用户
  • 微软文档混乱、SDK 过时、多租户不支持,令人沮丧
  • Comic Chat 扩展 IRC 协议加入表情编码,导致普通 IRC 用户看到垃圾字符串,引起反感
  • Comic Chat 本应用于微软专用 IRC 服务器,而非普通服务器
  • 有人认为这是微软“拥抱、扩展、消灭”策略的体现
  • 用户回忆加入聊天室时因 Comic Chat 被讨厌,当时以为别人都能看到可视化效果
  • Bonequest(原 Jerk City)漫画仍在更新,但英国某些网络屏蔽了该网站
  • 存在关于 Comic Chat 布局引擎设计的学术论文

8. 我们的 Rust 到 Zig 重写进展如何 (How Our Rust-to-Zig Rewrite Is Going) #

https://rtfeldman.com/rust-to-zig

Roc 编译器团队花了 487 天将 30 万行 Rust 代码重写为 Zig,近期达到功能对等里程碑。新编译器已能运行 WASM 游戏 Rocci Bird,生成的二进制文件(31KB)比原先小一半以上。新特性包括:热代码加载(开发时实时生效)、跨平台静态二进制构建、以及模式匹配中的字符串插值(零堆分配)。重写并非直接移植,而是架构性调整,例如通过 lambda set specialization 实现闭包捕获零堆分配,这解决了原 Rust 实现中难以修复的 bug。文章还感谢了多位贡献者,并提及 1.0 版本计划于今年晚些时候发布。


HN 热度 369 points | 评论 204 comments | 作者:jorangreef | 11 hours ago #

https://news.ycombinator.com/item?id=48933149

  • 编译器产生机器码本身不需要不安全代码,运行时才是常见需要不安全的地方。
  • 实际编译器通常既要生成机器码也要执行机器码,例如热补丁、代码重载、编译期执行用户代码、运行测试等。
  • Rust 和 C++ 的 const fn 或 constexpr 通常使用解释器而非直接执行机器码,跨编译时也不会执行。
  • 测试运行在与编译器分离的进程中,内存损坏只影响测试进程自身,与编译器无关。
  • Roc 对纯函数测试会在同一进程内运行,因此会面临编译器内存不安全的风险。
  • 文章可能给人一种暗示:因为有时必须做不安全操作,所以内存安全不重要,但这是一个误导。
  • 内存安全分为程序本身漏洞(场景 A)与程序生成并执行有漏洞的机器码(场景 B),两者都可能导致攻击者利用。

9. 我为何离开谷歌 DeepMind (Why I Left Google DeepMind) #

https://turntrout.com/why-i-left-google-deepmind

Google DeepMind 研究员 Alex Turner 因公司在军事 AI 和移民执法上的道德妥协而离职。他发现 Google 向美国国土安全部(DHS)出售云服务,这些服务被用于可能导致平民死亡的执法行动。他试图推动公司停止这些合同,并阻止 Google 签署缺乏“杀手机器人”和“大规模监控”限制的军事 AI 协议。他寻求多位 AI 领袖(如 Stuart Russell、Jeff Dean)协助,但均未获得实质支持;他撰写 25 页的合同监督提案也被搁置。最终 Google 签署了比 OpenAI 更弱的军事 AI 协议,Turner 认为无法继续留在公司,选择辞职。文章揭示了权力机构在压力下如何背弃 AI 伦理承诺。


HN 热度 352 points | 评论 163 comments | 作者:apsec112 | 1 day ago #

https://news.ycombinator.com/item?id=48925271

  • 对 TurnTrout 坚持原则的行为表示尊重,世界需要更多聪明人敢于做正确的事。
  • AI 行业本质上是腐败的,但 TurnTrout 的行为提升了对其研究人员的整体看法。
  • 下载盗版艺术用于学生项目是不对的,许多 AI 研究者不尊重他人集体劳动来提取和转售剩余价值。
  • TurnTrout 承认创作者应得到补偿,但当时更关注减少 AI 的生存风险,并选择不参与提升 Gemini 能力的工作。
  • 即使与某人存在分歧,当他们做出我们认同的行径时,也应给予认可和尊重。
  • 感谢 TurnTrout 坚持原则,相信有智慧有原则的人会找到合适的工作。
  • 作者因微软与以色列合作监视巴勒斯坦人、记录通话而离职,并为此感到羞耻和失落。
  • 微软支持以色列杀害巴勒斯坦人,却删除国际刑事法院检察官的账户,令人愤怒。
  • 如果更多人因公司不道德行为而辞职,公司会很快改变立场。
  • 作者承认自己并非圣人,最初告诉自己不会参与那些项目,但最终被内疚和羞耻击垮,每天感到恶心。
  • 在软件工程领域,非营利组织、开源项目和小型非科技公司提供了更符合道德的机会。
  • 许多公司都同流合污,建议考虑医疗或绿色能源领域的初创公司。
  • 帖子中对 Anthropic 的描述不准确:Emil Michael 解释称,Dario Amodei 在谈判中反复要求保留对国防项目的最终否决权,而政府无法接受在 ICBM 30 分钟预警时间内还需联系他修改条款。
  • 如果多数人效仿,不道德公司会因利益损失而迅速改变立场。

10. SQLite 应该拥有(Rust 风格的)版本 (SQLite should have (Rust-style) editions) #

https://mort.coffee/home/sqlite-editions/

这篇文章讨论 SQLite 的默认设置问题,认为它应该像 Rust 一样有“版本”(editions)来改进默认行为。主要指出两个糟糕的默认设置:第一,外键约束默认被忽略,导致数据不一致和悬空引用,需手动执行 PRAGMA foreign_keys = ON;。第二,列类型不严格,允许插入错误数据类型,例如向 INTEGER 列插入文本,虽然提供了 strict 表来解决,但没有全局启用该功能的 pragma。文章还提到 SQLite 作者偏爱“灵活类型”,但作者认为 strict 表加上 ANY 数据类型可以兼顾严格性和灵活性。总之,SQLite 作为优秀的嵌入数据库,其默认行为容易引发问题,建议改变。


HN 热度 348 points | 评论 168 comments | 作者:gnyeki | 1 day ago #

https://news.ycombinator.com/item?id=48928135

  • 喜欢看到一套“替代默认值”并保持向后兼容的提议,比如 PRAGMA edition = 2026;SQLITE_BUSY 的默认行为留给调用代码是合理的,但常被忽略。
  • 这不是简单的烦恼列表,而是专业人员配置 SQLite 的普遍方式,建议这些替代设置可能是 2026 年该有的默认值。
  • 当收紧默认值时,“edition”机制是好方案;C/C++ 也需要类似机制,LLM 可以帮助转换代码;SQLite 的软类型规则比强类型更复杂。
  • C++ 标准委员会曾提出 P1881 Epochs 但被放弃,因为委员会不断找问题;“Profiles”想法可能用于 C++29;Rust 的 Editions 不仅开启技术可能性,还激发了用户需求。
  • Rust editions 有边际成本,迁移工具力求自动但总有边缘情况,博客代码可能过时,重大项目仍用 2021 edition 未升级因为成熟。
  • Editions 不能影响名称解析,限制 std API 演变;旧文档可能过时;编译器增加了约 120 个分支用于行为变更,相比其他检查很小;迁移工具大多自动且快速,很少出错;示例代码差异很小,旧版书仍可用;升级现有代码库通常简单。

Hacker News 精彩评论及翻译 #

The lost joy of music piracy #

https://news.ycombinator.com/item?id=48931632

The thing I miss most, and the thing we’ll never get back was the cultural buy-in and network effects.

My music discovery then was different friend groups incrementally amassing large collections of albums in whatever sub-culture that friend groups had doubled down on. My iPod would be the culmination of my friendships. I would then fall in love with bands and albums and tracks on these albums without any influence before hand on their popularity or their algorithmic match to my music tastes.

The result was pure joy: my music taste would develop in all weird and wonderful directions, my favorite songs would be the one I hit back on to listen again while I moved through an album, songs that friends skipped over and didn’t know at all; bands that never charted anywhere but made interesting music… bands that never knew their music made it to an iPod in South Africa.

(I’ve got a song still stuck in my head from a Canadian indie band that made its way onto my iPod via via and I’ve done all the searching in the world for the lyrics I remember and have never found the band. I love this that I’ve never found them!)

I make an effort to use Spotify to find and listen to albums, but it wasn’t built for this, and invariably find 90% of my listening happening on algo-generated playlists of songs that sound exactly like a song I like. I never learn the names of the songs or the names of the bands as the songs go by, and I fall in love with none of it… It just vaguely sounds like stuff I like. It sucks.

I don’t listen to any AI generated music consciously, but given the music experience today I probably wouldn’t notice as these playlists, like a boiling frog, slowly became AI music dominated.

I bought a record player as my protest, and it gives me immense joy to find obscure records and play them through; but it’s really not the same thing, and I miss what we had.

devonsolomon

我最怀念的,也是永远无法重现的,是那种文化认同和网络效应。

那时我发现音乐的方式是:不同的朋友群体在各自深耕的亚文化中,逐渐积累起大量专辑收藏。我的 iPod 成了我所有友情的结晶。我会爱上一些乐队、专辑、以及其中的曲目,而在此之前,它们的流行程度或算法对我口味的匹配,对我毫无影响。

结果是纯粹的快乐:我的音乐品味朝着各种古怪而美妙的方向发展,我最爱的歌往往是那些我在听完一张专辑时会倒回去再听一遍的曲目,是朋友们跳过、根本不认识的歌;是那些从未上过榜单却做出有趣音乐的乐队……是那些永远不知道自己作品传到了南非某台 iPod 里的乐队。

(我至今脑子里还记着一首加拿大独立乐队的歌,它通过层层转手传到了我的 iPod 里,我翻遍了全世界找我记忆中的歌词,却始终没找到这支乐队。我正因永远找不到他们而爱着这首歌!)

我努力用 Spotify 去找专辑并聆听,但它本来就不是为此设计的,结果我发现 90% 的收听时间都花在算法生成的歌单上,里面的歌听起来跟我喜欢的那一首几乎一模一样。我从来记不住那些歌的名字,也记不住乐队的名字,我对它们毫无感情……它们只是模糊地听起来像我喜欢的东西。这很糟糕。

我没有刻意去听任何 AI 生成的音乐,但以今天这种音乐体验,我可能根本察觉不到——因为这些歌单就像温水煮青蛙一样,慢慢变成了 AI 音乐主导。

我买了台唱片机作为抗议,找到一些冷僻的唱片并完整播放它们,给了我极大的快乐;但这真的不一样了,我怀念我们曾经拥有的一切。


OnePlus halts operations in USA and Europe #

https://news.ycombinator.com/item?id=48933106

Editorialised! No new products, not halts operations. Please be more careful.

OnePlus has decided to conclude new product rollouts in Europe and North America.

The difference matters for those of us on OnePlus devices:

Though we will no longer launch new products in Europe, our commitment to you remains unchanged. Backed by OPPO, existing OnePlus devices will continue to receive scheduled software updates and security patches within the support periods originally committed for each device model.

Etc.

mellosouls

编辑过了!没有新产品,也没有停止运营。请更加谨慎。

一加已决定停止在欧洲和北美推出新产品。

对于我们这些使用一加设备的人来说,这一区别很重要:

尽管我们将不再在欧洲推出新产品,但我们对您的承诺不变。在OPPO的支持下,现有的一加设备将继续在其最初承诺的每款机型支持期内接收定期的软件更新和安全补丁。

等等。


OnePlus halts operations in USA and Europe #

https://news.ycombinator.com/item?id=48935394

OnePlus is one of the saddest stories out there. It was the hacker’s choice for a while. It was originally the “Never Settle” phone that ran mostly stock android, had specs maxxed out, price was great, and bootloader was unlocked plus they provided factory images. Those were all reasons I bought a lot of OnePlus phones in the early years.

Then they flushed nearly all of it down the toilet. The day they stopped posting factory images was the day I saw the writing on the wall. Such a shame.

freedomben

一加是最令人惋惜的故事之一。它曾一度是黑客们的首选。最初它打着"不将就"的旗号,运行近乎原生的安卓系统,配置拉满,价格实惠,Bootloader解锁,还提供工厂镜像。这些都是我早年买过多款一加手机的原因。

后来他们几乎把这一切都扔进了马桶。从他们停止发布工厂镜像的那天起,我就看到了不祥之兆。真是可惜。


At least 105 past YC founders have worked at OpenA… #

https://news.ycombinator.com/item?id=48932859

Based on YC’s directory, there are approximately 13,000 YC founders since YC started.

105/13000 is a very small number to focus on. This data doesn’t really mean anything.

scottydelta

根据YC的目录,自YC成立以来,大约有13,000名YC创始人。105/13000是一个非常小的数字,不值得关注。这个数据实际上毫无意义。


Goes-19 weather satellite enters Safe Hold mode #

https://news.ycombinator.com/item?id=48935157

Former GOES engineer here. At this point I’d almost be surprised if 19 didn’t have something go wrong. We had issues on almost every other satellite. GOES-17 had the loop heat pipe anomaly(Supposedly from someone stepping on it in the cleanroom…), GOES-15 (IIRC) had a micrometeorite strike, and GOES-13 had a fuel tank anomaly right before deorbit.

GOES-16 and GOES-17 are on-orbit spares, so in the extremely unlikely event of a total failure there’s at least another spacecraft on-orbit ready to take up station.

That said, I have every faith in the GOES team to get to the bottom of this. They’re the best, and I often wish I was back there working with them.

dabluecaboose

前GOES工程师在此。到了这个地步,要是GOES-19不出点什么问题我反而会觉得奇怪。几乎每颗卫星都出过状况。GOES-17出现了环路热管异常(据说是因为有人在洁净室里踩到了它……),GOES-15(如果我没记错的话)遭遇了微流星体撞击,而GOES-13在离轨前发生了燃料箱异常。

GOES-16和GOES-17是在轨备份卫星,所以万一真的出现完全失效的极端情况,至少还有另一颗在轨航天器可以随时接替岗位。

话虽如此,我对GOES团队查明问题根源的能力充满信心。他们是最棒的,而且我常常希望能回到那里和他们一起工作。


Sony deletes more movies from the accounts of peop… #

https://news.ycombinator.com/item?id=48934618

IANAL, but is it illegal to have a “Buy” button that is just a disguised “Rent” button?

If not, should we change the law?

goldenarm

我不是律师,但设置一个伪装成“购买”按钮的“租赁”按钮是否违法?
如果不违法,我们应该修改法律吗?


How Our Rust-to-Zig Rewrite Is Going #

https://news.ycombinator.com/item?id=48936487

I think that for the hot binary patching / code reloading features, yes, that is going to need unsafe. But for regular old “producing an executable” compilation? Emitting machine code isn’t the part that requires unsafe. The language’s runtime is a more likely site to find unsafe.

Agreed! Emitting machine code is not unsafe, since it’s just writing bytes down - it’s only once you execute that machine code that there’s potentially unsafety. The reason I said “a big part of the job” is that in practice a lot of compilers both emit machine code and execute it - but you’re totally right that it’s not a requirement that a compiler do both.

In addition to the examples you gave (hot binary patching/code reloading, language runtime, etc.), others would be things like evaluating userspace code at compile time (e.g. const fn in Rust, or in Roc any expression that could be hoisted to the top level), running tests and inspecting their output to decide what to display to the user, etc.

Those are the types of things I had in mind when I wrote that.

rtfeldman

我认为对于热二进制补丁/代码热重载这类功能,确实需要用到unsafe。但对于常规的"生成可执行文件"编译呢?发出机器码本身并不需要unsafe。语言的运行时才是更可能发现unsafe的地方。

同意!发出机器码并不涉及unsafe,因为这只是在写入字节——只有当你实际执行那段机器码时才有可能产生unsafe问题。我之所以说"这项工作的一大部分",是因为在实践中许多编译器既发出机器码又执行它——但你完全正确,编译器并不需要同时做这两件事。

除了你举的例子(热二进制补丁/代码热重载、语言运行时等),其他场景还包括:在编译时求值用户空间代码(例如Rust中的const fn,或Roc中任何可以提升到顶层的表达式)、运行测试并检查其输出以决定向用户显示什么内容等等。

我写那段话时想到的就是这类情况。


Sony deletes more movies from the accounts of peop… #

https://news.ycombinator.com/item?id=48935434

California Assembly Bill 2426 (AB 2426), effective 1 January, 2025. Expands the state’s false advertising laws to explicitly ban companies from using words like “buy,” “purchase,” “own,” or “keep” if what the customer is actually getting is a revocable digital license governed by shady T&Cs.

qingcharles

加利福尼亚州议会第2426号法案(AB 2426)将于2025年1月1日生效。该法案扩大了该州的虚假广告法范围,明确禁止公司在客户实际获得的只是受模糊条款和条件约束的可撤销数字许可时,使用“购买”“购买”“拥有”或“保留”等词语。


Kimi K3: Open Frontier Intelligence #

https://news.ycombinator.com/item?id=48935574

More details:

1M context, pricing is $3/$15 for 1M tokens (cache $0.3), which is extremely high for a Chinese open-weight model, but if it’s truly competitive with most of the current frontier and is only behind Fable/Sol, the pricing is justified.

This is 1:1 pricing of Anthropic’s Sonnet series (except Sonnet 5 which is currently on discount), and very close to 5.6 Terra pricing (Terra’s input is $2.5).

One thing to consider, though: reasoning efficiency matters directly for how expensive a model actually is in real use. GPT’s models are extremely reasoning efficient, and some Claude models like Fable at lower effort are as well. So if Sol spends 10K reasoning tokens to do something (at $30/1M) vs Kimi K3 that spends 50K reasoning tokens, Sol would win on cost effectiveness.

Tiberium

更多细节:

100万上下文,每100万token收费3美元/15美元(缓存收费0.3美元),这对于一个中国开源权重模型来说价格极高,但如果它确实能与目前大多数前沿模型竞争,且仅落后于Fable/Sol,那么这个定价是合理的。

这与Anthropic的Sonnet系列定价完全一致(除目前打折的Sonnet 5之外),并且非常接近5.6 Terra的定价(Terra的输入价格为2.5美元)。

不过有一点需要考虑:推理效率直接影响模型在实际使用中的成本。GPT的模型推理效率极高,一些Claude模型(如低努力模式下的Fable)也是如此。因此,如果Sol花1万推理token完成某任务(按每百万token 30美元计算),而Kimi K3需要花5万推理token,那么Sol在成本效益上胜出。


How Our Rust-to-Zig Rewrite Is Going #

https://news.ycombinator.com/item?id=48935805

I think this is a fine post. But one comment:

remember that for compilers which emit machine code, like roc and rustc, doing memory-unsafe things is a big part of the job

I don’t really think that this is true, in the way that it’s written.

I think that for the hot binary patching / code reloading features, yes, that is going to need unsafe. But for regular old “producing an executable” compilation? Emitting machine code isn’t the part that requires unsafe. The language’s runtime is a more likely site to find unsafe.

steveklabnik

我觉得这篇帖子写得不错。但有一条评论:

请记住,对于像 Roc 和 Rustc 这样生成机器码的编译器来说,执行内存不安全操作是工作的重要部分

我并不太同意这种说法,至少不是它写的那样。

我认为,对于热补丁/代码热重载这类功能来说,确实需要 unsafe。但对于普通的“生成可执行文件”的编译过程呢?生成机器码本身并不需要 unsafe。语言的运行时才是更可能出现 unsafe 的地方。


SpaceX stock erases all its gains and slides below… #

https://news.ycombinator.com/item?id=48934113

“Shocking nobody” I would add… This is an obvious Musk scam and anyone with financial knowledge called it as such ever since it’s been on the table. Why else lobby and change the NASDAQ listing rules for instance?

ornornor

“并不令人震惊” 我还想补充一句……这明显是马斯克的骗局,任何有金融知识的人从它被提上台面以来就一直这么说了。不然为什么要游说并修改纳斯达克的上市规则呢?


Grok Build is open source #

https://news.ycombinator.com/item?id=48929053

There’s some surprising stuff in this codebase. For example, https://github.com/xai-org/grok-build/blob/b189869b7755d2b482969acf6c92da3ecfeffd36/crates/codegen/xai-grok-markdown/src/mermaid.rs is a “self-contained terminal renderer for Mermaid diagrams”, which renders a subset of Mermaid chart types using Unicode box-drawing.

simonw

这个代码库中有一些令人惊讶的东西。例如,https://github.com/xai-org/grok-build/blob/b189869b7755d2b482969acf6c92da3ecfeffd36/crates/codegen/xai-grok-markdown/src/mermaid.rs 是一个“自包含的终端渲染器,用于Mermaid图表”,它使用Unicode框线渲染Mermaid图表类型的子集。


Decoy Font #

https://news.ycombinator.com/item?id=48937018

Is it useful? No. Does it stop AI from reading it? Also no. But is it cool? Yes, it is very cool.

OsrsNeedsf2P

有用吗?没有。能阻止AI读取吗?也不能。但酷吗?是的,非常酷。


OpenAI loses trademark dispute at EU court #

https://news.ycombinator.com/item?id=48922521

The EUIPO found that the word “open” would be understood by the relevant public as meaning freely accessible, while the combination with “AI” (artificial intelligence) would be interpreted as referring to products based on openly accessible artificial intelligence.

for certain software and information technology goods and services, the term is purely descriptive and therefore lacks the distinctiveness required for trademark protection

edit: add the latter statement

jameson

欧盟知识产权局认为,相关公众会将单词“open”理解为“可自由访问的”,而它与“AI”(人工智能)的组合则会被解释为指代基于可公开访问的人工智能的产品。

对于某些软件和信息技术商品与服务,该术语纯粹是描述性的,因此缺乏商标保护所需的显著性。

编辑:添加后一句陈述。


Bluesky Trademarks ATProto #

https://news.ycombinator.com/item?id=48930037

Bluesky recently acquired the rights to the trademark for “ATPROTOCOL” and its variants—including “AT Protocol” and “atproto”—from another company that was threatening to take legal action preventing the company and others from using the term. Now that Bluesky owns it, the atproto community’s continued use of the mark can be protected.

The policy around usage is shared in the rest of the post but the goal is to make this very simple for everyone

pfraze

Bluesky最近从一家威胁要采取法律行动阻止该公司及他人使用该术语的公司手中收购了“ATPROTOCOL”及其变体——包括“AT Protocol”和“atproto”——的商标权。现在Bluesky拥有了它,atproto社区继续使用该商标可以得到保护。

关于使用的政策在帖子的其余部分有说明,但目标是让所有人都能非常简单地理解这一点。


OpenAI loses trademark dispute at EU court #

https://news.ycombinator.com/item?id=48922758

More pertinently “the term is purely descriptive and therefore lacks the distinctiveness required for trademark protection.” I.e. the problem isn’t that OpenAI’s products don’t match their description, but that trademarking it would unduly prevent others from describing their openly accessible artificial intelligence as “open AI.”

yorwba

更关键的是,“该术语纯属描述性,因此缺乏商标保护所需的显著性。”也就是说,问题不在于OpenAI的产品名不副实,而在于将其注册为商标会不合理地阻止他人将其公开可访问的人工智能描述为“开放AI”。


Sleep regularity is a stronger predictor of mortal… #

https://news.ycombinator.com/item?id=48920752

Magnesium supplementation solved my sleep issues.

I have seen many doctors, including sleep specialists, regarding insomnia. They all pointed to one source as the reason for the sleep issues: stress. And they all wanted to put me on prescription sleeping pills. I said no to that. Sleeping pills can cause dependence, and they often treat the symptom rather than the underlying cause. As a software developer, I am used to finding and fixing the underlying problem instead of relying on the quick fixes these doctors were offering me.

After much research, I figured out what I believe was the underlying problem, and the fix for it. The underlying problem was magnesium deficiency. As a software developer, I spend much of the day doing mentally demanding work. This is the kind of stress the doctors were talking about. Stress can increase the body’s demand for magnesium and may contribute to low magnesium levels.

The cells in our body depend on minerals such as calcium and magnesium for normal function. In muscle and nerve cells, calcium helps switch the cell into an active state, while magnesium helps keep that activation under control and supports the return to a resting state. When you are low on magnesium, your muscles may remain tense and your nervous system may have a harder time settling down. That can contribute to muscle stiffness and difficulty sleeping.

The solution, in my case, was magnesium supplements. They fixed my muscle stiffness issues and my sleep issues. A special form of magnesium called magnesium L-threonate may be especially helpful for the brain because it appears to raise brain magnesium levels more effectively than some other forms.

petilon

补充镁解决了我的睡眠问题。

我曾因失眠看过很多医生,包括睡眠专家。他们都指出压力的原因是睡眠问题的根源,并想给我开处方安眠药。我拒绝了。安眠药可能引起依赖,而且它们通常只治疗症状而非根本原因。作为一名软件开发人员,我习惯于找到并修复根本问题,而不是依赖医生提供的这些快速解决方案。

经过大量研究,我找到了我认为的根本问题及其解决方法。根本问题是镁缺乏。作为一名软件开发人员,我每天大部分时间都在从事高脑力需求的工作。这正是医生们所说的那种压力。压力会增加身体对镁的需求,并可能导致镁水平下降。

我们体内的细胞依赖钙和镁等矿物质来维持正常功能。在肌肉和神经细胞中,钙帮助将细胞切换到活跃状态,而镁则帮助控制这种激活并支持细胞恢复到静息状态。当镁不足时,你的肌肉可能保持紧张,你的神经系统也可能更难平静下来。这可能导致肌肉僵硬和睡眠困难。

在我的情况下,解决方案是补充镁。它解决了我的肌肉僵硬问题和睡眠问题。一种特殊形式的镁——苏糖酸镁,可能对大脑尤其有益,因为它似乎比其他一些形式的镁更有效地提高大脑中的镁水平。


The lost joy of music piracy #

https://news.ycombinator.com/item?id=48931141

It’s important to remember that to this day, streaming sites do not have a full archive of the music out there. There is still a need for music piracy

Even albums mentioned in the Norwegian business magazine D2 can be impossible to find in legit channels. Your only option is to buy used CDs on Discogs for 50-100 USD, or know your way around the successors of these sites

These CDs weren’t even on Oink or What (or did not survive the transitions)

https://www.dn.no/d2/musikk/stena-line/lars-holte/spotify/han-solgte-mer-plater-enn-a-ha-og-dde-men-eventyret-var-over-nesten-for-det-startet/2-1-691950

eisa01

要记住,直到今天,流媒体网站仍然没有完整的音乐档案库。音乐盗版仍有其存在的必要。

即使是挪威商业杂志《D2》中提到的专辑,也可能在合法渠道中完全找不到。你唯一的选择就是在Discogs上花50-100美元购买二手CD,或者熟悉这些网站的后续替代品。

这些CD甚至从未出现在Oink或What上(或者没能熬过网站转型期)。

https://www.dn.no/d2/musikk/stena-line/lars-holte/spotify/han-solgte-mer-plater-enn-a-ha-og-dde-men-eventyret-var-over-nesten-for-det-startet/2-1-691950


Grok Build is open source #

https://news.ycombinator.com/item?id=48929092

I had Fable 5 compile that Rust code to WebAssembly and build a browser-based playground for it, so you can try it out with Mermaid diagrams here: https://tools.simonwillison.net/grok-mermaid

A few more notes on my Grok code explorations on my blog: https://simonwillison.net/2026/Jul/15/grok-build/

simonw

我让Fable 5把那段Rust代码编译成WebAssembly,并为其搭建了一个基于浏览器的游乐场,这样你可以在这里用Mermaid图表尝试一下:https://tools.simonwillison.net/grok-mermaid

更多关于我Grok代码探索的笔记在我的博客上:https://simonwillison.net/2026/Jul/15/grok-build/


My midlife crisis Corolla is fast, furious, and mo… #

https://news.ycombinator.com/item?id=48922902

I don’t mind cosmetics, but noise is something some places fortunately started regulating and I hope it becomes more common:

https://nltimes.nl/2026/05/28/rotterdam-deploys-first-noise-detecting-cameras-crack-loud-driving

I’m hearing someone gunning it through a neighboring road as I type this comment and I will be hearing such noise all night, because some people just can’t help but make noise.

The other day I even saw a guy in a car with a modified exhaust and driver side window rolled down - apparently so that he would better hear the noise he’s making. Considering the volume that had to have a negative effect on his hearing.

I don’t understand and I will not understand.

Tade0

我不介意车辆外观改装,但噪音问题有些地方已经开始监管了,希望这能成为常态:

https://nltimes.nl/2026/05/28/rotterdam-deploys-first-noise-detecting-cameras-crack-loud-driving

就在我打字这会儿,我正听到有人在隔壁街道猛踩油门,而且整晚都会听到这种噪音,因为有些人就是忍不住要制造噪音。

前几天我甚至看到一个人开着改装排气的车,驾驶员侧车窗摇了下来——显然是为了更清楚地听到自己制造的声音。考虑到那个音量,这对他的听力肯定有负面影响。

我不理解,而且永远不会理解。