20 stories · 1,577 comments

Overview

The digest clusters around a few fights: what good tooling looks like (Zig’s type-safe templates, vectorized CLZ/CTZ tricks, WebP’s long adoption, C’s unportable strtod error handling), and what AI is actually capable of — Karpathy’s “widening gap” funnel, Sakana’s MASS recursive self-improvement paper, and the discovery that Doory’s entire history is one Claude-authored commit. A second cluster is privacy and infrastructure policy: fingerprinting versus cookies, the passkey/attestation argument, the Google data-center logging in Finland, and whether Linux phones can escape the Android/iOS duopoly. The two stories most worth your time are Karpathy’s capability-funnel thread, where agent veterans and spec-driven developers flatly contradict each other over whether agents now finish weeks-long projects from a prompt, and the “Passkeys are a trap” discussion, the rare security thread where the top rebuttal (attestation is registration-time only, browsers prompt, Apple doesn’t implement it) is as concrete as the lock-in worry. Rounding it out are lighter archival pieces — The Onion hunting its missing 1992 and 2009 print issues, Berger’s Ways of Seeing, and the North Korea OSM mappers — which are mostly pleasant rather than contentious.

Stories

  1. Type-safe HTML templating in Zig — 51 points, 23 comments
  2. Will Linux phones become a viable alternative to the Android/iOS duopoly? — 73 points, 52 comments
  3. Fingerprints are the new cookies — 279 points, 131 comments
  4. Whatever became of holography? (2011) — 108 points, 52 comments
  5. Cartographers of North Korea (2019) — 232 points, 42 comments
  6. No portable way to detect string-to-float conversion errors in standard C — 29 points, 21 comments
  7. Doory – Open-Source Canva — 83 points, 18 comments
  8. Every US Electrical Outlet Explained [video] — 15 points, 14 comments
  9. The gap in shared understanding of LLM capability is widening — 404 points, 566 comments
  10. Google is illegaly cutting forest to build data centers — 382 points, 101 comments
  11. Local Indexing to reduce tool calling and token usage — 63 points, 14 comments
  12. Passkeys are a trap — 503 points, 279 comments
  13. Chapter 1 of “Ways of Seeing” by John Berger (1972) — 102 points, 15 comments
  14. Vectorized CLZ and CTZ — 37 points, 5 comments
  15. Recursive self-improvement through collective intelligence — 102 points, 53 comments
  16. So, You’d Like To Sell Your Print Issues Of The Onion? — 305 points, 46 comments
  17. Programmable pigments: Photochromic nanoparticle inks for rewritable tattoos — 42 points, 7 comments
  18. I guess I’m using WebP now? — 97 points, 103 comments
  19. Tattoos you can turn on and off — 52 points, 22 comments
  20. Shredding JSON columns gave Logfire up to 1000x faster queries — 18 points, 13 comments

1. Type-safe HTML templating in Zig

#1 on HN · lalinsky.com · 51 points · 23 comments · HN discussion

Lukas Lalinsky(发帖人 lukaslalinsky)发布了 zt,一个将 Go 的 Templ 理念移植到 Zig 的模板库。模板在 zig build 期间被解析并转译成 Zig 代码,所以模板既能被应用代码导入,也能导入应用代码——所有参数在编译期完全类型化,模板里的拼写错误会直接变成 Zig 编译器报错并指向原始模板行。它把所有动态值默认做 HTML 转义(URL 属性还会检查危险 scheme,原始输出需显式写 {!value}),零分配地直接写入 std.Io.Writer,要求元素正确闭合,并支持组件、@children 布局包装以及 Zig 原生 if/for/switch。作者借鉴了 Ziex 的 JSX 式语法灵感,但仍有一个开放问题:块级控制流目前用普通 Zig 写法,导致「if you forgot your password…」这类独立成行的文本成为解析错误,他在考虑改用 Razor/Twirl 风格的 @if/@for/@switch 并征求 GitHub issue 上的意见。

Discussion: 讨论大半是横向类比:有人指出 Java 的 jte.gg 很像,有人提到 Kotlin 类型安全构建器、Nim、Elixir 的 EEx、Ur/Web 的优雅类型安全 HTML,也有人提到 tsx。一条分支在追问「为什么 HTML 本身不能有 include」——回复列出了 PHP include、SSI 语法,以及 HTML imports 的失败史(2014 年 Chrome 36 引入,2018 年弃用,2019 年移除),并指向 WICG declarative-partial-updates;还有人举 Mustache 为例,认为跨语言模板最终并不实用,因为很少有人会换宿主语言却保留模板。最激烈的分歧在 Rust 宏:一位评论者展示 rsx! 宏,主张不必新造文件类型或语法就能做到同样的事并附带 LSP 与格式化支持;反驳者认为那已经不是 HTML,而是要学一套必须符合 Rust 解析器规则的新 DSL;随后两人贴出 Leptos 的 view! 宏证明 Rust 里也能写真正的 HTML,仍有人回一句「但你还是发明了语法」。作者本人回应说虽然不喜欢 Rust 宏过于灵活,但如果自定义语法真能获得 LSP 支持那确实很棒。整体上对项目表示赞赏,没有严重的否定意见,主要保留意见集中在语法歧义与生态成熟度。

Worth reading

  • pautasso: 给出 HTML imports 的完整起落时间线(2014 年 Chrome 36 引入、2018 年弃用、2019 年移除),用实例说明 HTML 原生 include 已经试过并失败。
  • slopinthebag: 用 Rust rsx! 宏的实际代码示例说明无需新文件类型和自定义语法也能实现类型安全的 HTML 组件,并称还能白拿 LSP 与自动格式化。
  • riffraff: 回顾 Mustache 曾被大量实现、却迅速消亡,论证跨语言模板系统的需求其实很小——人们很少换宿主语言而保留模板。

2. Will Linux phones become a viable alternative to the Android/iOS duopoly?

#2 on HN · amosbbatto.wordpress.com · 73 points · 52 comments · HN discussion

A blog post by Amos Batto (dated 2026-10-05, CC BY 4.0) arguing that mobile Linux may finally have a path to viability after stagnating since the 2020 releases of the Purism Librem 5 and PINE64 PinePhone. His core thesis is a hardware economics one: Linux-friendly SoCs from NXP, Rockchip, Allwinner, Amlogic and Broadcom sit on old process nodes (NXP’s i.MX 95 uses a 16nm FinFET node, a regression from the 14nm i.MX 8M Plus; Broadcom’s BCM2712 in the Raspberry Pi 5 is 16nm) because a 3nm wafer at TSMC averages $19,500 versus $3,000 at 28nm and these chipmakers can’t recoup the extra $400–600 million — whereas Qualcomm, MediaTek and Apple can, thanks to a smartphone market of 1.25 billion units in 2025. He notes that more companies now sell Linux phones (Purism, PINE64, FuriLabs, Jolla, Volla, PrivacyPortal) than five years ago, and points to Motorola’s announced plan to sell high-end phones with GrapheneOS in 2027 as a sign of cracks in the duopoly. The article text available here is truncated before its conclusions.

Discussion: The thread splits sharply between people who think the blocker is hardware access and those who think the software stack itself is the problem. One camp (most prominently apatheticonion, echoed by others) argues the lack of polish is entirely a function of locked bootloaders and withheld hardware documentation — they cite Asahi Linux being nearly a decade in and still using Apple’s GPU at roughly 30% capability — and conclude regulators must mandate documentation or firmware release, perhaps on a patent-expiry model after 3–5 years. The counter-camp argues that even where documentation exists the stack is immature: microtonal points out Fairphone publishes device trees, driver sources and firmware, and AOSP-based projects, postmarketOS and UBports support it, yet no polished daily-driver alternative has emerged, and that the real answer is AOSP forks rather than non-Android Linux. A second dispute is over power and RAM management: several commenters say Android/iOS’s aggressive app-suspension, side-channel notification and battery architecture is real engineering that desktop Linux simply lacks, with one long-time Linux user reporting ThinkPad battery life at 50–60% of Windows even after tuning. A recurring wildcard is LLMs — multiple commenters argue reverse engineering and driver/optimization work is becoming tractable with AI, which others dismiss as unproven optimism. On the Chinese market tangent, users report HarmonyOS/OpenHarmony devices are the only serious third alternative, with one Pura X owner saying the Kirin 9020 feels fine in daily use.

Worth reading

  • microtonal: Rebuts the ‘if only we had documentation’ argument by noting Fairphone already publishes device trees, driver sources and firmware, yet no polished Linux daily driver exists — the stack itself is immature.
  • microtonal: A Linux user since 1994 reports ThinkPad battery life still runs at only ~50–60% of Windows even fully tuned, arguing vertical integration is the hard unsolved problem.
  • aa-jv: A collector of OpenMoko, Zii Egg, OpenPandora and FairPhone hardware says the modems are always the blocker and no Linux phone ever had the BDFL-style leadership it needed.

3. Fingerprints are the new cookies

#3 on HN · royfish.dev · 279 points · 131 comments · HN discussion

royfish.dev 上的一篇文章,作者 royfish 同时也是 HN 帖子的发布者,文章主张第三方 cookie 已死、Google 的 Privacy Sandbox 失败之后,设备指纹识别已成为广告商和网站识别用户的默认手段。文章附带一个实时演示:它把音频上下文、WebGL GPU 名称、canvas 字体渲染、Intl 时区/区域设置以及 navigator.hardwareConcurrency/deviceMemory/language 等测量值做 SHA-256 哈希,再映射成一个“性格 + 动物”的昵称,在刷新、清 cookie、换 VPN 甚至换设备后仍保持一致。文中用信息熵和 surprisal 解释指纹为何奏效(例如 ZIP 码 + 生日 + 性别足以唯一识别超过 60% 的美国人),并建议用 coveryourtracks.eff.org 自测,称 Chrome/Edge 只做到隔离,Safari 与 Firefox 有部分防护,只有 Brave、Tor 和 Mullvad Browser 实现了进阶反指纹。

Discussion: 最高票评论者 legitster 直接反驳文章的落点:商业指纹识别的稳定性远没有演示那么强,约 90% 的服务仍主要依赖 IP 地址,去掉 IP 后剩下的字体、音量设置、软件版本等配置半衰期很短(Chrome 每两周更新、Windows 每月补丁、GPU 驱动不定期更新),而第三方厂商真正卖的是电话号、邮箱、用户 ID 这类稳定锚点。meowface 补充说反欺诈和信息安全领域的指纹对抗要激烈得多,且随攻防不断演化。多位读者实测演示后给出相反结果:有人用 Firefox + uBlock + CanvasBlocker 每次刷新都换昵称,有人以为演示坏了,另一位在 Chrome 系浏览器(含无痕模式)下昵称稳定,于是围绕“随机化本身是否可被检测”展开争论。关于 Brave 也出现分歧:pnw 说在 EFF 测试里 Brave 报告为随机指纹而 Firefox/Edge 报告为唯一指纹,unicornfinder 则指出 Brave 仍暴露 GPU 型号与驱动版本、防护实际有限,nvme0n1p1 进一步纠正说「randomized fingerprint」其实是坏结果(暴露你在伪装),理想结果是「non-unique」,即混入人群。

Worth reading

  • legitster: 一位从业者指出商业指纹识别主要仍靠 IP,去掉 IP 后配置特征半衰期只有几天,而 cookie 能活两年,真正付费买的是电话号/邮箱等稳定标识。
  • anthonyIPH: 一位做过多年反欺诈的人说指纹识别并不能阻止欺诈,只是提高了攻击成本,仍能拦下大量低成本的滥用。
  • nvme0n1p1: 纠正了大家对 EFF coveryourtracks 测试的普遍误读:randomized 表示网站能看出你在伪装,唯一目标应是 non-unique(混入人群)。

4. Whatever became of holography? (2011)

#5 on HN · americanscientist.org · 108 points · 52 comments · HN discussion

这是一篇《American Scientist》2011 年的文章,追问曾经被许诺为未来三维显示技术的全息术为何始终没有走进日常生活;原文抓取失败(HTTP 503),因此这里的描述来自标题与评论区的讨论。评论者指出,全息记录的是入射光的相位与振幅,而不仅仅是一张 3D 图片;其实际分辨率高达约 100,000 至 250,000 ppi,正是这点让它难以做成动态显示器。爱好者的耗材供应链(Integraf 的 HoloKit、俄罗斯来源的感光材料)也已基本断裂。

Article not read: HTTP 503

Discussion: 评论区分歧最大的地方是全息术算不算一种「3D 显示」:有人强调它的本质是记录并重放电磁场的相位,3D 效果只是副产品,另一位读者反驳说这恰恰就是在描述一种三维显示技术,还有人补充全息光学元件(如战斗机 HUD)根本不是显示用途。实务经验集中在产业与耗材两端:一位曾从事数字全息打印的工程师说,把随机 3D 模型喂进打印流水线极其困难,材料、人工和设备成本动辄数千美元,量产几乎不可能;一位长期爱好者则说 Integraf 已停售胶片,俄罗斯供应链因战争中断,目前据他所知全世界只剩法国和俄罗斯两家感光板厂商,另一位读者推荐 Litiholo 的 Covestro Bayfol HX 光聚合物胶片作为替代。关于为何没有普及,有人给出硬指标:若要做 27 英寸全息显示器,按 100,000–250,000 ppi 计算每帧至少要 1TB 内存,彩色还要乘三;也有人从审美角度说,只有激光照射的玻璃板全息才真正震撼,其余变体都差好几个数量级,整体上仍像儿童博物馆里的噱头。讨论中还提到 3blue1brown 的全息讲解视频、BYU Dan Smalley 实验室的体积全息(有人质疑那不算全息)、Looking Glass Factory、EOTech 武器瞄具,以及已关闭的纽约全息博物馆和伦敦科学博物馆里 Denis Gabor 的等身全息肖像。

Worth reading

  • dTal: 一位曾专门把客户 3D 模型送进数字全息打印机的从业者说,这行材料、人工与资本开销叠加后一张纸大小的成品要数千美元,写制耗时、复制困难,量产基本无望。
  • TheOtherHobbes: 给出全息显示难以实现的量化原因:全息胶片分辨率约 100,000–250,000 ppi,27 英寸面板每帧至少需要约 1TB,彩色还要再乘三,同时回忆了伦敦科学博物馆里 Denis Gabor 的玻璃全息肖像。
  • midnitewarrior: 爱好者的第一手供应链证词:Integraf(由 TJ 创办)已停止供应胶片与耗材,现代业余全息的原料多来自俄罗斯,战争导致其断供,并提到当年成千上万人用过的 HoloKit 套件。

5. Cartographers of North Korea (2019)

#7 on HN · cartographers-nk.wonyoung.so · 232 points · 42 comments · HN discussion

An interactive, scroll-driven visual essay by Wonyoung So analysing who has been mapping North Korea in OpenStreetMap: the volunteer contributors behind the still mostly blank map, their edit counts and their stated motivations. The author wrote to contributors and reproduces their replies — including a mapper known as P791 who says he maps around the Tumen River to help North Koreans find escape routes. The page itself returned almost no readable text when fetched (it is JavaScript-dependent), so its contents are known here only from the post and the thread; the piece dates from 2019.

Article not read: page had almost no readable text (probably needs JavaScript or a login)

Discussion: The thread opens on tourism rather than cartography: several commenters share YouTube footage of North Korea, but a first-hand account pushes back that tourism has been open only to Russians since COVID closed the country to everyone else, and that back in 2017 a border officer reviewed all photos and videos and could demand deletions. Others argue the tourist videos are staged propaganda of guided routes, while the poster counters that long train-and-bus shots of towns and countryside cannot all be staged. The mapping itself is widely praised, with one commenter calling OSM one of the seven wonders of the internet and listing snopes, GameFAQs, archive.org, Wikipedia, TV Tropes, OSM and GitHub — sparking debate over swapping TV Tropes for IMDb. A ten-year OSM contributor says he has never been the first to notice vandalism and that joke/troll edits are close to zero relative to real ones, crediting both goodwill and the still-high bar to contribute.

Worth reading

  • ByteAtATime: Reproduces the letter from mapper P791, who says he deliberately maps escape-route candidates along the Tumen River, including the fences and towns on the Chinese side, and that the detailed Phungso-ri coverage is almost entirely his work.
  • cantrevealname: Quotes the German-based top contributor to the North Korea map (75,583 contributions) explaining he maps it as relaxation, like Sudoku, and that a blank map let him draw big rivers and roads rather than the junctions and house numbers left to him in Germany.
  • lucb1e: A ~10-year OSM contributor contradicts the vandalism worry, saying he has never been the first to spot vandalism, mistakes are far more common than malice, and the joke/troll share of edits is effectively zero.

6. No portable way to detect string-to-float conversion errors in standard C

#8 on HN · sebsite.pw · 29 points · 21 comments · HN discussion

这是一篇个人博客文章(sebsite.pw),延续作者此前关于 math_errhandling 宏以及 glibc 与 musl 如何处理数学错误的文章。文章指出,strtod/strtof/strtold 等字符串转浮点数函数虽不属于 math.h,却受 math_errhandling 影响:如果 libc 不声明 MATH_ERRNO(如 musl),这些函数在出错时不会设置 errno,而且下溢完全无需报告。更糟的是各实现行为不一致——作者给出的例子中,对无法解析的输入,glibc 保持 errno 为 0,而 musl 会将其设为 EINVAL(22)——且 POSIX 无条件要求 errno=ERANGE,这可能与标准 C 不符,因为标准 C 只允许通过 endptr==nptr 来检测格式错误的输入。文章最后列出了针对溢出、下溢和畸形输入的一组「正确」检测方法,并注明下溢实际上几乎无法可移植地检测。

Discussion: 最主要的讨论话题并不在文章本身,而是 API 设计:一位评论者感叹,从 FORTRAN 到 Java/C# 的语言一直无法方便地从函数返回两个值,迫使人们使用带内哨兵值和全局 errno;几位回复者对此提出异议,指出 C++ 的 std::expected、C# 和 Python 早已有符合人体工程学的方式处理错误。若干实践者转而讨论语言环境问题:他们说 C 的数值解析受 LC_NUMERIC 影响,因此在使用逗号作为小数点的系统上会出问题,并推荐使用 C++17 的 std::from_chars,认为它不仅不受语言环境影响,而且据一位评论者说是标准转换例程中最快的。有人提出了另一种方案——用 sscanf(“%lf”) != 1——但立刻被纠正:sscanf 同样受语言环境影响、不是线程安全的,而且根本无法检测溢出或下溢。整体共识是:在没有仔细防护的情况下,errno 和 strtod 系列函数不值得信任;有些人表示他们现在尽量少用 libc,不过也有人半开玩笑地指出,如果不使用 libc,就得自己发起系统调用。

Worth reading

  • Joker_vD: 认为真正的问题在于语言无法方便地从一个调用返回(值、错误)二元组,因此强制采用了带内哨兵和 errno,并以理想的元组返回示例加以说明。
  • Panzerschrek: 警告说 C 的数值解析受语言环境影响(逗号与小数点),建议改用 C++ 的 std::from_chars 或第三方库。
  • lelanthran: 反驳 sscanf 这个变通办法,指出它无法检测溢出或下溢,并且依赖语言环境、不是线程安全的。

7. Doory – Open-Source Canva

#9 on HN · github.com · 83 points · 18 comments · HN discussion

Doory is a browser-based full design editor by Siam (GitHub user shaongitbd), pitched as a free, open, self-hostable answer to Canva: templates, layers, groups, masks, curved text, 25,000 icons, background removal run in-browser, 27 enter/exit animations, and export to PNG, JPG, SVG, PDF, MP4, WebM and GIF, with real-time co-editing and comments. Guest work is stored in the browser until you sign up; self-hosting is a single docker compose up, with a React 19 / TypeScript / Vite / Fabric.js / Yjs / Zustand front end and Django 5 / DRF / Channels / PostgreSQL back end. It ships under the Attribution Assurance License — free including commercial use, but you must keep the licence and NOTICE and display credit in the running app.

Discussion: The thread is dominated by the discovery that the project’s commit history is essentially one giant Claude-authored commit, with commenters linking the initial commit and the submitter himself confirming it came from an internal project and arguing people no longer code by hand. Some take this as proof of low quality: one commenter says it crashed while testing, and another spends a long post critiquing the UX — broken text in the shapes menu, a cluttered header, duplicate save-state indicators, awkward add-page scrolling, and icons that look very close to Canva’s. Others push back that Canva itself is probably partly AI-written and that people wrongly equate commercial products with quality, and one points out that what makes Canva stand out is its stock/template IP ecosystem, which open source can’t easily replicate. A meta-thread on how to pick tools in the vibe-coding era settles loosely on supporting projects that are actually maintained rather than abandoned, with disagreement over whether commit volume is a useful signal — one commenter sets a rough bar of 2,000 commits, another says development effort has no place in a purchasing decision.

Worth reading

  • klrfl: Flags that the whole project appears to be authored by Claude and grew from a single commit, linking the initial commit for inspection.
  • akst: Detailed first-hand UX critique of the live app: broken text in the shapes menu, cluttered header, redundant save-state labels, awkward add-page scroll, and icons suspiciously similar to Canva’s.
  • anonzzzies: Argues a Canva-like app is a one-shot AI build that still needs a year of testing and fixing before release, and proposes a 2,000-commit floor plus commit-effort analysis as the bar for calling a project maintained.

8. Every US Electrical Outlet Explained [video]

#10 on HN · youtube.com · 15 points · 14 comments · HN discussion

A YouTube video (linked post; the page itself returned almost no readable text, so the content is known only from its title and the thread) that walks through the various electrical outlet types used in the United States. Commenters treat it as an explainer in the vein of channels like Technology Connections — detailed, thorough, and on the long side — covering the plug and receptacle standards Americans encounter. The discussion quickly drifts from the video itself into a US-vs-Europe plug and voltage comparison.

Article not read: page had almost no readable text (probably needs JavaScript or a login)

Discussion: The thread is mostly a US-versus-Europe infrastructure argument rather than a discussion of the video. One European commenter says US outlets feel like being thrown back to the 1950s — loose-fitting plugs, bulky adapters, dated-looking switches — and several replies push back: the US electrified first (Rural Electrification Administration in the 1930s, largely done by 1950), so its standards are a first attempt frozen in place by switching costs, and loose sockets are usually just worn-out hotel outlets. A British commenter claims UK plugs are the best design, drawing replies that they are excellent caltrops but comically oversized for charging a phone, with one noting the US sensibly reserves 240V for high-power appliances. Others note the European Schuko design dates to 1929, so age is not an American monopoly, and that the US is elite in software, biotech and aerospace but decidedly not in electrical infrastructure. A recurring minor correction: almost everyone says 110V/220V, when US household power has been 120V/240V for decades.

Worth reading

  • eco: Corrects the ubiquitous 110V/220V shorthand: the US has not used those voltages for about 100 years and has been 120V/240V for roughly 60, with the step-up starting in the 1930s.
  • CaliforniaKarl: Argues the real trade-off is safety, not capability: 120V is safer than 240V for everyday use, and 240V/208V is readily available where it is genuinely needed, such as dryers, ovens and locking plugs.
  • palmotea: Counters the ‘US plugs are primitive’ framing with history — the US electrified first, so it is stuck with a first-draft standard — and attributes the loose-socket complaint specifically to heavily used, worn-out hotel outlets.

9. The gap in shared understanding of LLM capability is widening

#11 on HN · twitter.com · 404 points · 566 comments · HN discussion

A re-post of Andrej Karpathy’s X thread (originally from April, re-shared Oct 11, 2026) arguing the divide over AI capability is no longer two camps talking past each other but a sharp funnel. His napkin math: ~6B people (75%) have barely touched LLMs, ~1-2B (20%) are casual free-tier users who see a “derpy chatbot”, ~20M (0.2%) use frontier models professionally in math and code, and only ~5,000 (0.00006%) have internal frontier systems he describes as swarms of thousands of agents working for weeks on mega-projects — minting zero-days, cyber attack and defense at machine speed, and 722 new manuscripts in frontier mathematics. He attributes the funnel to three forces: impact scaling with problem size and horizon, the “jaggedness” of RL-on-verifiable-rewards capability, and access tiers (free, paid, internal).

Discussion: The biggest fight is over Karpathy’s 0.2% claim that agents now finish weeks-or-months projects from a prompt. One side (long-time agent users) says this is simply true in 2026 — “Astra,” “Opus 5.5” and “Fable” are named as models that make it routine — and that fear of things breaking is nostalgia, since humans broke things too. The other side, including several hands-on users of spec-driven development, reports the opposite: agents still never deliver finished products unaided, leaving edge cases, architectural errors, duplicated code and performance problems for humans to find. Correction/counterpoint threads note that the funnel’s own numbers are shaky — 75% of 8 billion includes children and people with no reason to care — and that the “5,000 insiders” section is unverifiable marketing, with skeptics demanding a public monument rather than hand-waving at internal swarms. A recurring theme is why the gap exists at all: commenters point to the free tier being a poor proxy for paid/frontier models, to terminals giving agents verifiable feedback that consumer apps don’t, and to the bulk of non-coders having no tangible use case yet. Two engineers digress into math: one argues LLMs are basically multi-layer adaptive FIR filters with nonlinearities, so most electrical/communications engineers already understand the mechanism without realizing it.

Worth reading

  • nathanqueme: An engineer who spent two years building Gmail/Calendar agents says the gap is partly an environment problem: terminals return exit codes and stack traces, while consumer APIs fail as HTTP 200 (Slack puts {“ok”: false} in the body; Google silently ignored max_results instead of maxResults), so agents look dumber than they are.
  • ashleyn: Argues the real wall is human verification capacity, with first-hand detail that code review at their workplace is already a farce — PRs glossed over by unrelated teams, bug reports written in “Claudease” — and that this may pop the bubble through liability and quality decline.
  • hn_throwaway_99: Asks what evidence exists that LLM approaches won’t hit a wall, citing LeCun and a Terry Tao blog post arguing models still operate within the convex hull of their training data, and whether recursive self-improvement is actually inevitable.

10. Google is illegaly cutting forest to build data centers

#12 on HN · theguardian.com · 382 points · 101 comments · HN discussion

《卫报》报道,芬兰许可与监督局(LVV)下令 Google 立即暂停 Muhos 和 Kajaani 两处数据中心的施工准备,最迟至 10 月 23 日,原因是其代表公司 Tuike Finland Oy 未完成环境影响评估(EIA)就开始伐木:Muhos 已砍伐 330 公顷,Kajaani 近 200 公顷,包括清树、剥离表土和修路。这两处属于 Google 在芬兰北部多个站点、总额 130 亿欧元的项目;LVV 表示若不遵守将考虑执法程序和罚款。Google 回应称「理解各方关切」、承认「未达到自设的高标准」,声称是依据《森林法》善意行事,并计划在 Muhos 种树 130 公顷。

Discussion: 讨论很快偏离「该不该建数据中心」,转向「这到底算不算森林」:多位芬兰和瑞典的评论者说北欧这类林子基本是工业林/单一树种种植园,瑞典人形容乡间「已经没有森林,只剩木材种植园」,因此生态价值有限,砍掉 330 公顷只占芬兰林地约 0.001%(芬兰森林覆盖率约 74%)。另一派坚持程序与合法性才是重点——没做 EIA 就动工就是违法,有人批评把这说成「只是程序问题」是轻描淡写,815 英亩被毁不该被稀释。关于责任与惩罚,多数人认为罚款对 Google 微不足道,且处罚很可能落到分包商 Tuike Finland Oy 头上,也有人反驳不应无证据就假定是刻意指使分包商违法。少数人为 Google 辩护,认为这是分包商出的岔子、土地本身是经济林,报道带有「数据中心恐慌」的标题党色彩;还有人提醒官方给了到 10 月 23 日的缓冲期,实际等于让「脏活」先干完,且项目最终很可能在行政法院里拖上一两年后照常推进。附带话题是「Don’t be evil」——有人纠正该口号并非被删除,只是被挪到了行为准则页面里。

Worth reading

  • popdu: 自称芬兰人的评论者解释:只要之后重新造林,伐木本身合法,所以先砍后批可能是一笔算好的期望值赌博——许可通过则准备已就绪,只需付轻微罚款;不通过就重新种树。
  • shadowgovt: 纠正常见误解:Google 的「Don’t be evil」并未被删除,只是被移到了公司行为准则页面,并给出可搜索的链接。
  • throwaway2037: 反方观点:这是《卫报》典型的数据中心恐慌式标题党,责任在总承包商 Tuike Finland Oy,并质疑如果这片地是要建菜园或幼儿园,还会不会有同样的报道。

11. Local Indexing to reduce tool calling and token usage

#13 on HN · tedhaley.ca · 63 points · 14 comments · HN discussion

Pensieve is a free, MIT-licensed macOS app (Apple Silicon, macOS 14+, v0.5.9) by developer TedHaley that builds a local index of your files, git repos — uncommitted edits and worktrees included — and Claude Code/Codex/Qwen Code sessions, then serves keyword-plus-semantic search to any MCP client so agents get the few relevant passages with file and line instead of grepping and reading whole files. Its pitch page reports a benchmark of Claude Sonnet run headless in Claude Code on 72 held-out tasks across four repos (504, 1,783, 2,383 and 34,847 files): the right file was found in 131/144 runs versus 123/144 with grep alone, with 43% fewer tool calls (2.0 vs 3.4), 18% cheaper ($0.041 vs $0.050), 21% faster (8.6s vs 10.9s) and searches taking 0.1–0.2 seconds. It also maps repo ownership via git blame and flags areas whose original authors have gone inactive; indexing and search stay on-device, with an optional local Qwen 3.5 9B, LM Studio or no AI at all.

Discussion: Commenters mostly treated it as one more entrant in a crowded field — naming huggingface/funes for conversation search and boyter/cs, started seven years ago — and one describes his own Roslyn-based indexer that attaches symbols and phrases to concepts and returns confidence scores, falling back to grep when confidence is low. The recurring argument is whether indexing is worth it at all: several say Cursor tried local indexing and dropped it because plain grep with BM25-style ranking worked better, with a link to a Jo Kristian Bergum talk arguing BM25 suits agentic workflows. One commenter disputes the removal story, claiming Cursor still keeps a hidden local index inside .git (he says ~/.git/cursor) that goes stale until he deletes it, and that turning off instant grep fixes it. The thread gets no technical answers from the author: his explanatory comment was flagged dead by HN’s AI-comment detection (one commenter says Pangram rates it 100% AI-generated, another says the whole page is 100% AI generated), while unanswered questions ask which embedding model is downloaded and how cache invalidation and 「stale context」 are defined when the same concept exists across three branches.

Worth reading

  • TowerTall: Claims Cursor never really removed local indexing — it still hides one under .git (he says ~/.git/cursor), it goes stale constantly, and disabling instant grep makes the problem go away.
  • boyter: Author of boyter/cs (a 7-year-old search tool) says the field has converged on BM25-with-tweaks rather than maintained indexes, linking a Jo Kristian Bergum talk agreeing BM25 works well for agentic workflows.
  • ProblemExplorer: Presses the author on specifics: what makes Pensieve better than iterative grep beyond semantics, how cache invalidation is handled, what counts as stale context across three branches, and whether it can be exposed to a Paseo setup.

12. Passkeys are a trap

#15 on HN · nonfunctional.substack.com · 503 points · 279 comments · HN discussion

A Substack essay aimed at non-technical web users arguing that passkeys (the FIDO Alliance’s WebAuthn credentials) hide a capability passwords and TOTP lack: remote attestation. The author claims that once passkey adoption is high enough, sites can flip a switch and reject any credential not produced by an approved hardware/software stack, letting platforms dictate which devices and password managers you may log in from. His alternative is TOTP (RFC 6238), praised for being an open standard with portable, copyable seeds you control.

Discussion: The thread splits between engineers who call the security argument overdrawn and those sympathetic to the lock-in worry. The top rebuttal holds that attestation can only be requested at registration time, that browsers surface a permission prompt, and that Apple consumer devices do not implement attestation at all — making the flip-the-switch scenario implausible — and several commenters add that passkeys’ domain binding defeats phishing whereas TOTP is phishable, a point the article never mentions. Supporters of the author answer with the familiar boil-the-frog playbook and predict banks will be first to demand attested credentials. The most concrete lived complaint is control and UX: 1Password began enforcing userVerification: required, so a passkey on a desktop without biometrics now means typing your login password, and KeePassXC users note attestation could one day lock their software out. Rough consensus: the attestation risk is real but speculative, passkeys remain the strongest available phishing defense, and password managers plus several passkeys per account are the suggested hedge.

Worth reading

  • agwa: A security engineer corrects the article’s central scenario: attestation can only be requested during registration, browsers prompt the user, and Apple’s passkey implementation doesn’t support attestation at all, so sites cannot retroactively require it.
  • oefrha: A passkey advocate describes 1Password suddenly enforcing userVerification: required, forcing desktop users to type their login password — independently alarming evidence for the article’s claim about standard-imposed constraints.
  • tgma: Argues the review is unserious because it never uses the word phishing: passkey signatures are domain-bound and cannot be forwarded, which is the main threat they actually solve for ordinary consumers.

13. Chapter 1 of “Ways of Seeing” by John Berger (1972)

#16 on HN · ways-of-seeing.com · 102 points · 15 comments · HN discussion

This is the full opening chapter of John Berger’s 1972 book (which grew out of the BBC series), hosted on ways-of-seeing.com. Berger argues that seeing precedes and exceeds language — the relation between what we see and what we know is never settled — that every image embodies a way of seeing (even a photograph, since the photographer selects), and that when images are presented as art they get wrapped in learnt assumptions that «mystify» rather than clarify. He illustrates this with a two-volume art-historical study of Frans Hals’s portraits of the Governors and Regentesses of a Haarlem alms house, arguing the author explains away the drama of a destitute old painter confronting his charitable patrons.

Discussion: The thread mostly points readers at Berger’s BBC TV series (a YouTube copy is linked) while rafael859, who posted the story, recommends the book over the series because it gives more space to topics such as museum-goers’ beliefs about museums. One commenter notes the text is unusually safe to reproduce: the 1972 edition itself states the text is not copyrighted, though the image reproductions might attract copyright trolls. The sharpest exchange comes from trimethylpurine, who argues Berger had no credentials in anthropology or any science yet invented a movement that carries no scientific weight, and that its adoption as dogma in film and media studies signals distorted societal ideas about sex and body image; several commenters push back, asking for specifics, noting that his influence is precisely the point and that courses on the old masters certainly aren’t doctrinaire about him. A subthread questions Berger’s line that seeing establishes our place in the world — asking whether blind people lack a place — and draws a reply that Berger’s «seeing» is more about situating yourself in time and place (and that he later wrote the memoir Cataracts about losing and regaining his sight). Others simply note they found Berger’s writing hard to digest or discovered him via Sontag’s On Photography.

Worth reading

  • smokel: Points out the 1972 edition states the text is not copyrighted, so reproducing the chapter is likely not infringement — but warns the image plates could draw copyright trolls.
  • trimethylpurine: Strong counter-argument: claims Berger had no credentials in anthropology or science, that his movement lacks scientific weight, and that its academic adoption signals society’s distorted ideas about sex and body image.
  • yzydserd: Explains that Berger’s «seeing» is about situating yourself in time and place rather than the ocular, and notes he wrote Cataracts about losing and regaining his vision shortly before he died.

14. Vectorized CLZ and CTZ

#17 on HN · purplesyringa.moe · 37 points · 5 comments · HN discussion

A blog post by purplesyringa (purplesyringa.moe) presenting branch-free, SIMD-friendly polyfills for clz and ctz — the instructions that count leading/trailing zero bits — using floating-point exponent trickery instead of the native instructions. The core clz trick substitutes the input into the mantissa of a double 2^k, subtracts 2^k to extract the exponent, and recovers clz via a bitwise subtraction; it needs 64-bit doubles so it only handles inputs up to 52 bits. Benchmarks: clz at 0.45 ns/iteration on Haswell (1 ns scalar) and 0.29 ns on Alder Lake (0.85 ns scalar), ctz at 0.49 ns Haswell / 0.35 ns Alder Lake, with the author noting AMD’s cheap lzcnt and AVX-512’s vplzcntd / vpopcntd as alternatives. Two follow-ups add a 16-entry de Bruijn-style lookup (1 ns Haswell, 0.7 ns Alder Lake, twice the throughput) and a 64-bit version using vpsadbw that returns ctz(0)=64 at 0.63 ns on Haswell (2.8 ns latency-bound).

Discussion: The thread is short and mostly an authenticity/novelty debate. wahern points out the de Bruijn-sequence approach is decades old, linking Sean Anderson’s classic bit-twiddling hacks page, while teo_zero defends the post by noting it contains three distinct methods of which only the second is the familiar one. The author replies directly, conceding de Bruijn for this purpose is well known and not his invention, but arguing his algorithm is genuinely different: it uses a 16-element table rather than 32/33, and because he reuses ~x & (x-1) (values of form 2^k - 1) rather than x & -x, de Bruijn breaks down due to carries, so he found his constant by brute force and invites anyone who knows how to generate such constants algorithmically to speak up. jandrewrogers holds the post up as a good illustration of what competent SIMD code requires, and saagarjha offers the mild suggestion it might be useful on a GPU.

Worth reading

  • purplesyringa: The author’s own rebuttal: he isn’t claiming de Bruijn, explains why his 16-entry table and use of ~x & (x-1) (producing 2^k - 1) makes de Bruijn fail, and admits he found the magic constant by brute force — asking if anyone can generate such constants algorithmically.
  • wahern: Flags prior art: the de Bruijn multiply-and-lookup trick long predates this post, with a link to Sean Anderson’s bit hacks page.
  • jandrewrogers: A practitioner’s framing: this is a good illustration of what writing competent SIMD code actually requires.

15. Recursive self-improvement through collective intelligence

#18 on HN · pub.sakana.ai · 102 points · 53 comments · HN discussion

A Sakana AI paper (with an intern co-author) introducing MASS — Multi-Agent Self-Supervision — a homogeneous recursive self-improvement loop where the same model acts as task-solving executor, workflow optimizer and workspace evaluator. An inner loop searches for better multi-agent workflows (roles, instructions, contracts, hops) while weights are frozen; an outer loop runs the champion workflow 18 times per task, ranks the resulting workspaces, keeps up to 16 trajectories and LoRA-fine-tunes the shared model on orchestrator and subagent transcripts. Starting from Qwen3.6-27B in the qwen-code environment on 12 synthetic finance/robotics/pharmacy research tasks (8 used for training), two rounds raise win rate over the base model from 53.9% to 69.9% under external judges (GPT-5.5 and Claude Opus 4.8), with score per output token at 1.2–1.6x base on MLR-Bench, DSBench, ScienceAgentBench and AstaBench, but 0.96x on Terminal-Bench 2.0 and 0.94x on SWE-bench Verified.

Discussion: The dominant reaction is that the rhetoric outruns the evidence: the top comment claims the released code does not match the paper and that the results are far narrower than phrases like advancing beyond humanity’s accumulated knowledge or an Odyssean moment, while another commenter notes the paper describes all workflows and pipelines in generated natural language with no detail on what each agent stored or how, calling it slop. A recurring technical objection is scope: this is communication/workflow optimization, a dimension with limited headroom, and a paper on RSI stopping after two rounds looks suspicious; others add that it is just a 27B model with LoRA, and that removing the workflow from the training prompt makes the improvements hard to attribute. Several commenters defend the direction by invoking the Bitter Lesson, though one argues that is an observation about falling compute cost, not a law guaranteeing returns. The thread then drifts heavily into AI-2027: one long comment lists concrete misses (no Chinese CDZ, no 10x-cheaper tiny model, no 30% market jump), others counter that the site was only ever a thought experiment and that its coding timelines look roughly on track or even slightly ahead.

Worth reading

  • cootsnuck: Claims the released code does not match the paper and that the results are much narrower than the grand framing suggests.
  • Agentlien: Argues the work is only about agents learning to communicate efficiently, and finds it suspicious that an RSI paper stops after two rounds.
  • reissbaker: Itemized list of AI-2027 prediction misses for mid/late 2026 — no CDZ nationalization, no 10x-cheaper tiny model, no 30% market rise — arguing the spicy 2026–2027 claims are not panning out.

16. So, You’d Like To Sell Your Print Issues Of The Onion?

#19 on HN · theonion.com · 305 points · 46 comments · HN discussion

The Onion has posted a call-out page asking fans to sell it missing back issues of its print newspaper, framed with its usual deadpan: certain issues are 「mysteriously missing from our 270-year archive」 (the paper’s own joke about being founded in 1756, vs. its real 1988 start at the University of Wisconsin–Madison). The concrete ask is narrow: Vol. 22 Issues 4, 5, 7 and 16 from 1992, and Vol. 45 Issues 1–20 and 33–43 from 2009, submitted via a Google Form with an archivist following up. Issues must be clean and readable, and anything sold becomes The Onion’s property and cannot be returned.

Discussion: Much of the thread plays along with the 270-year framing — one commenter checked the founding date and found the company’s about page claims 1756 rather than 1988, concluding it’s all a bit. Others trade first-hand nostalgia from the print era: picking up free copies on campus in Madison in the late 80s and early 90s, at Toronto’s Yonge/Dundas and in TTC stations during a 2011–2012 Canadian run, and in Milwaukee alongside the Shepherd Express; one commenter took the newspaper boxes when the print edition folded. On why the gaps exist, commenters argue it’s probably neglect, storage costs and logistics rather than theft — one theory ties the losses to The Onion moving back to Chicago from New York in 2012, when print was discontinued — though another points out that some magazines genuinely do fall to a handful of surviving copies, so it won’t necessarily 「show up eventually.」 Two corrections to the post itself: a commenter notes the direct link should have been submitted, and another says the headline should really be 「Do you have pre-2014 Onion issues?」 since 2012 and 2013 issues are wanted too.

Worth reading

  • benzible: An early UW–Madison undergrad recalls The Onion’s origins as an almost-immediate campus hit, argues its sensibility was specifically 「college-town Midwestern slacker」, and says the quality only became obvious once it went national.
  • jmcgough: Explains that the Onion’s real SCOTUS amicus brief (case 22-293) was drafted — jokes and arguments — by head writer Gillis, who was connected to the lawyer through a friend, with a former colleague handling legal formatting; the lawyers contributed none of the comedy.
  • qingcharles: Pushes back on the idea that lost issues inevitably resurface, citing magazines with hundreds of thousands of copies printed where specific issues are now nearly extinct — including Maximum PC June 2002, whose cover was unknown until recently.

17. Programmable pigments: Photochromic nanoparticle inks for rewritable tattoos

#20 on HN · cell.com · 42 points · 7 comments · HN discussion

This is a link to a research paper in Cell’s Matter Light journal (the page returned HTTP 403 to the fetcher, so the text could not be read). Judging from the title, the work presents photochromic nanoparticle inks — pigments that change color in response to light — as a medium for rewritable tattoos, i.e. skin markings that can be erased and redrawn instead of being permanent. No specific findings, numbers or figures could be verified from the article itself.

Article not read: HTTP 403

Discussion: The thread was small (7 comments, 42 points) and largely jokey: the top comment proposes implanting lie detectors and tattooing the display onto politicians’ foreheads, drawing a simpler 「just tattoo the word LIE」 reply, an obligatory 「mouth is moving」 quip, and a sarcastic 「you guys are so funny」. The more substantive half of the thread asks technical questions rather than reporting experience: one commenter wonders whether these inks could be printed like a 3D-printed image using a weak UV laser, and another says they plan to read up on the work and asks how it compares to e-ink. Nobody in the thread claimed first-hand use of the material, and no one linked further sources, so there is no consensus beyond broad enthusiasm that rewritable skin pigments are a cool idea.

Worth reading

  • qwertytyyuu: Raises the practical printing question — whether the ink could be applied/patterned with something like a 3D printer using a weak UV laser.
  • kreelman: Wonders how the photochromic ink relates to e-ink and notes they intend to read the paper to compare the two.
  • Bluestein: Notes the modern practice of people 「renting space」 across their bodies and suggests rewritable inks would be the ultimate form of that.

18. I guess I’m using WebP now?

#24 on HN · anderegg.ca · 97 points · 103 comments · HN discussion

A post by Gavin Anderegg on anderegg.ca (Oct 8, 2026) recounting his shift from WebP skeptic to WebP user. He traces WebP’s long, painful adoption — announced 2010, Chrome 2011, Edge 2018, Firefox 2019, Safari 2020, native Photoshop support only in 2022 (and still absent from Save for Web/Export As) — and says that after switching from Photoshop to Pixelmator Pro, his tooling is finally good enough that WebP beats JPEG and PNG at equal visual quality. He now wants Pixelmator Pro to add AVIF and JPEG XL, noting Google recently shipped JPEG XL support in Chrome.

Discussion: The thread is dominated by the argument that WebP was never the problem — the tooling and ecosystem were, with WebP’s own format limitations as a secondary complaint. Several commenters push back on the tooling excuse: tools existing somewhere isn’t the same as being ubiquitous, and upload targets (avatar forms, forums, Google Docs/Slides and Google Voice) still reject WebP. Technical objections get concrete: WebP below quality 100 uses VP8’s 4:2:0 chroma subsampling so it can wreck text, it has a 16,383×16,383 pixel ceiling, has no progressive mode, and its file extension doesn’t reveal lossy vs. lossless. Others counter that hardware JPEG decode barely matters on modern CPUs and progressive is rarely used in practice, while one commenter notes modern jpegli encoding has eaten much of WebP’s quality edge. A vocal group says skip WebP entirely for AVIF, but the author replies that Pixelmator Pro doesn’t support AVIF yet and JPEG XL is still rolling out (Chrome 155 onwards, per one reply).

Worth reading

  • pornel: pornel explains that WebP is really two unrelated formats bolted together (VP8 video codec plus a Google lossless add-on), so q<100 destroys text while q=100 blows up photo sizes — unlike AVIF and JPEG XL, which can mix sharp and blurry modes within one image.
  • scosman: scosman, who founded a mid-2010s photo-backup startup, describes hosting billions of photos free at iPhone 6 resolution using WebP, converting only for non-supporting browsers — proof the format paid off at scale a decade before it became convenient.
  • GavinAnderegg: The author clarifies his practical reasoning: Pixelmator Pro has no AVIF support, Photoshop’s AVIF export isn’t a good optimization flow, and JPEG XL isn’t broadly available in browsers yet, so WebP is simply the best current option for his use case.

19. Tattoos you can turn on and off

#25 on HN · livescience.com · 52 points · 22 comments · HN discussion

Live Science reports on PhotoTat, a research project from Carson Bruns’ lab at the University of Colorado Boulder: photochromic dyes (blue, magenta, yellow) encapsulated in PMMA nanoparticles, which switch state under light rather than fading like normal ink. A 365-nanometer UV LED turns colors on in 2–3 seconds, they persist hours to days indoors, and bright sunlight erases them in seconds; the team says the three channels stayed switchable in skin for 1.4 to 2.2 years, with results published in Matter & Light. Only the purple ink is commercialized so far, at roughly $100 for a small bottle, after third-party safety testing.

Discussion: Commenters mostly liked the concept but pushed back on the framing. The top-voted objection is that 「concealing a tattoo for a moment」 is a weak selling point when a layer of makeup is simpler, and another commenter says ordinary daylight erasing the design sounds annoying; a critic dismisses the 「programmable」 label as hype since the ink is really just UV-reactive, quoting the paper’s own note that sunlight even in shade is enough to drive it to a photostationary state. Several people riff on other uses rather than the tattoo itself: an e-ink-like bistable display driven by light pulses, tricks for magicians, and AR glasses that render invisible clothing markers. A thread debating whether tattoos stress the immune system ends with a correction that 「auto-immune system」 is a misnomer, though the replier concedes immune responses and tattoos may interact in ways that aren’t necessarily harmful. There is also a side complaint that HN is quietly rewriting front-page titles, including this one, for the worse.

Worth reading

  • xgulfie: Argues the 「programmable」 framing is overblown — it’s UV-reactive ink — and links the paper, quoting that ordinary outdoor daylight is enough to switch it.
  • yahthatsart: Corrects a claim about tattoos and the immune system, noting there is no such thing as an 「auto-immune system」 and existing evidence doesn’t show harm.
  • teucris: Suggests the photochromic mechanism could be repurposed for bistable displays, an e-ink alternative switched by light pulses.

20. Shredding JSON columns gave Logfire up to 1000x faster queries

#29 on HN · pydantic.dev · 18 points · 13 comments · HN discussion

这是 Pydantic 的一篇技术博客,讲 Logfire 如何通过「动态 shredding」把 OpenTelemetry 中半结构化的 attributes 在写入时自动抽成强类型 Parquet 列,从而利用列裁剪和 zone map 剪枝。文中称部分查询从 30 秒超时降到 1 秒以内,该功能将于 2026 年 2 月逐步向所有客户开放,团队为此在 DataFusion 上游做了近半年的表达式与谓词下推改动。此前 Logfire 把属性存成单个 JSON blob(最初靠 Jiter 解析),还用过只能覆盖 http.status_code 等少量硬编码字段的静态 shredding。

Discussion: 评论区的主流情绪是「这不就是数据库常识」:多位老手(sgarland、japgolly)说 JSON 序列化尤其是查询本来就慢,应该尽量少用、schema 该规范到 BCNF/5NF,把它当成重大发现很好笑。也有人(guites)为文章辩护,指出难点不在规范化本身,而在用户数据是动态的、必须自动判断哪些属性值得 shred。几位嵌入式工程师把话题带到 JSON 在 MCU 上的开销,boricj 实测自家库序列化能到 500 KiB/s 以上,并认为换成 CBOR 和流式 API 才是性能关键,而非 DOM 式 API。另有 zX41ZdbW 指出这类技术很老,ClickHouse 早就有、只是当时不叫 shredding;nomel 则讲了一个反面案例——有人把用于所有过滤操作的元数据表改成 JSON,导致可视化工具单次点击从 2 秒涨到 40 秒以上。整体上没人质疑文章中的数字本身,争论集中在这是否算新东西。

Worth reading

  • zX41ZdbW: 指出动态抽取属性的技术早已存在,ClickHouse 在它被命名为 shredding 之前就实现了,并给出对应的 GitHub issue 链接。
  • nomel: 第一手反面案例:同事把承载所有过滤操作的元数据表改成 JSON,可视化工具单次点击从 2 秒恶化到 40 秒以上,且没有做任何基准测试。
  • boricj: 嵌入式工程师给出实测数据(HTTP GET 下 JSON 序列化超过 500 KiB/s),并认为性能提升主要来自放弃 DOM 式 API 改用流式处理,CBOR 更小更快。