2026-01-06 Hacker News Top Stories #
- 文章批评 macOS Tahoe 在菜单中过度使用小黑白图标,导致辨识性差、语义混乱与可用性下降。
- Anna’s Archive 的 .org 域名被 serverHold 暂停,虽宣称可通过镜像访问但在持续版权诉讼下稳定性堪忧。
- 2025 年数据库回顾指出 PostgreSQL 生态与多项分布式扩展项目及并购正在重塑 OLTP/OLAP 格局。
- 作者提出用云虚拟机、Tailscale 与手机通知结合的移动优先开发流程,实现基于 Claude 的碎片化异步编程工作流。
- 报道指控 OpenAI 在一起弑母自杀案中选择性隐匿 ChatGPT 对话日志,激起对 AI 在心理健康危机中透明度与责任的质疑。
- taws 是一款终端 TUI 的 AWS 管理工具,提供键盘导向的资源浏览与操作,适合无浏览器或远程运维场景。
- 作者在飓风期间强调纯文本网站在断网/弱网下的可靠性,呼吁前端回归以性能与可用性为先的轻量设计。
- 解释指出 OLS 最小化 y 方向残差并估计 E[Y|X],当 X 与 Y 都有测量误差时会显得“有偏”,应考虑 TLS 或德明回归。
- 加州推出 DROP 工具允许居民向数据经纪人请求删除个人信息,但依赖第三方验证与执法细节可能削弱实际效果。
- 作者认为 AI 生成的视频普遍缺乏叙事与责任感,易被滥用于伪造与操纵传播,因此总体有害。
难以为 Tahoe 图标辩护 (It’s hard to justify Tahoe icons) #
https://tonsky.me/blog/tahoe-icons/
文章批评了苹果 macOS Tahoe 系统中菜单图标设计的诸多问题,指出其图标不仅缺乏功能性,反而造成视觉混乱和使用障碍。
首先,图标应帮助用户快速识别功能,但 Tahoe 为所有菜单项添加图标,导致“无一突出”,反而降低辨识效率。黑白图标更显单调,无法有效区分内容,而微软早期的简洁设计则更利于快速定位。
其次,图标在不同应用间缺乏一致性。例如“新建”“打开”“保存”“关闭”等基础操作在不同应用中使用完全不同的图标,甚至同一操作在不同场景下图标也不同,严重违背用户认知习惯。
再次,同一应用内图标也存在不一致现象。工具栏与菜单中的同一功能使用不同图标,甚至相同图标在不同位置代表不同含义,造成混淆。例如“新建”图标在某些地方是加号,另一处却是不同形状,用户难以建立稳定认知。
文章还指出图标设计过度追求细微差别,如箭头方向、线条粗细、点的排列等,这些差异在极小尺寸下几乎无法分辨,反而增加用户认知负担。例如一个 2 像素高的字母“i”或一个仅占几像素的视窗,用户根本无法识别。
此外,图标尺寸过小,多数仅 12×12 像素(24×24 Retina),物理尺寸不足 3 毫米,远小于过去标准。在高分辨率屏幕上,这些图标被极度压缩,细节难以辨认,即使放大 20 倍仍显模糊。
最后,Tahoe 使用矢量图标而非像素对齐的位图,虽可适配多分辨率,但导致图标边缘模糊、对齐不准,视觉质量下降。作者认为,这种设计牺牲了可读性与可用性,违背了图标设计的基本原则。
总体而言,文章认为 Tahoe 的图标设计是“不必要、不一致、不清晰、不可用”的,不仅没有提升体验,反而让系统变得更难用。
HN 热度 2107 points | 评论 820 comments | 作者:lylejantzi3rd | 12 hours ago #
https://news.ycombinator.com/item?id=46497712
- Liquid Glass 设计风格在空间利用上浪费严重,融合了扁平化设计与拟物化视觉的缺点,却未提供任何可用性上的提升,缺乏实际功能价值。
- 高薪设计师应坚持专业操守,拒绝产品经理强行推广不适用于桌面和移动端的 VR 风格界面,必要时应引用权威设计研究来反对不合理需求。
- 部分评论认为设计师可能为了自我证明而制造工作,而非真正为用户考虑,这种行为不利于职业发展。
- Liquid Glass 的推出带有强烈的自我标榜色彩,设计团队在封闭环境中追求创新以彰显存在感,忽视了用户体验。
- Apple 推出 Liquid Glass 的深层动机并非提升可用性,而是通过技术门槛极高的透明交互设计,使竞争对手难以模仿,从而巩固其高端品牌形象。
- 类似于 iOS 7 时期,Apple 通过引入高资源消耗的模糊效果来制造技术壁垒,以应对安卓等平台的快速模仿,Liquid Glass 延续了这一策略。
- 尽管 Liquid Glass 在视觉上极具辨识度,但其实际用户体验极差,甚至可能损害品牌声誉,而苹果内部缺乏有效制衡机制阻止这一失败项目推进。
- 有观点指出,Liquid Glass 并非为 Mac 设计,而是为 Vision Pro 和未来可穿戴设备服务,属于苹果在空间计算领域的战略布局。
- Apple 在 Windows 8 上的失败教训表明,强行将平板交互模式套用在传统 PC 上会严重破坏用户体验,而苹果在 macOS 上也犯了类似错误。
- macOS 的“iOS 化”趋势导致系统体验恶化,促使部分用户转向 Linux 等可高度自定义的系统以获得更好的使用体验。
- Windows 系统长期存在多个风格不一的设置界面,导致整体体验混乱,远不如 Linux 桌面环境的统一性。
- Vision Pro 的硬件设计存在明显缺陷,如过重、过热、佩戴不适等问题,即便对非技术用户也难以接受,表明其尚不具备成为主流设备的条件。
- 尽管 Vision Pro 售价高达 3500 美元,但其功能和软件生态远不如 iPad,难以吸引普通消费者,更像是为极少数富裕用户准备的玩具。
- Vision Pro 的推出更像是苹果在多年研发后的一次“验证性发布”,并非对市场前景的坚定信心,其后续发展存在不确定性。
- 有观点认为 Vision Pro 的定位类似于早期 Newton,虽未成功,但为未来更成熟的空间计算设备积累关键技术和经验,需等待光学与电池技术的突破。
Anna’s Archive 主域名因意外暂停失去 .org 访问权限 (Anna’s Archive loses .org domain after surprise suspension) #
https://torrentfreak.com/annas-archive-loses-org-domain-after-surprise-suspension/
Anna’s Archive,一个知名的影子图书馆元搜索引擎,其主域名 annas-archive.org 近日被突然暂停,状态变更为“serverHold”。该操作通常由域名注册机构执行,表明域名正处于调查或法律行动中。
此次事件引发关注,因为.ORG 域名通常较少被用于此类暂停,而负责管理.ORG 域名的美国非营利组织 Public Interest Registry(PIR)此前曾拒绝主动暂停类似海盗网站的域名。目前 PIR 未对此次事件作出回应,但其谨慎态度暗示可能涉及法院命令。
Anna’s Archive 自 2022 年秋季推出以来,旨在延续 Z-Library 被查封后对“免费”书籍和资料的访问。该平台不仅提供盗版资源搜索,还支持 AI 研究人员获取训练数据。近期,其宣布完成了一个 300TB 的 Spotify 音乐库备份,并逐步向公众开放。
尽管面临版权方的持续法律压力,包括在美国因抓取 WorldCat 数据被起诉,该域名此前一直正常运行。此次突然被暂停,可能与 Spotify 备份有关,但目前尚无证据支持这一猜测。
Anna’s Archive 表示,此次事件只是暂时的,网站仍可通过其他多个域名访问,包括.li、.se、.in 和.pm 等。其团队强调,此次域名暂停与 Spotify 备份无关,并建议用户通过其维基页面获取最新可用域名。
值得注意的是,这并非该平台首次遭遇域名问题。此前在 WorldCat 诉讼中,其曾从.org 迁至.gs 域名,但该域名也迅速被暂停,最终又返回.org。这反映出影子图书馆在法律压力下频繁更换域名的生存策略。
尽管当前网站仍可访问,但随着法律压力加剧,未来域名的稳定性仍存不确定性。
HN 热度 601 points | 评论 311 comments | 作者:CTOSian | 14 hours ago #
https://news.ycombinator.com/item?id=46497164
- ServerHold 状态通常由法院命令或法律请求触发,而非随意滥用,尽管注册商可能在未充分沟通的情况下执行。
- .US 域名的 ServerHold 机制较为特殊,注册商在收到通知后若未及时响应,可能在 12 小时内自动执行暂停,即使内容并无明显恶意。
- 一些自动化扫描误判了历史文件为恶意内容,但这些文件实为旧版 iOS 设备的合法越狱工具,属于怀旧计算范畴。
- .org 域名的管理与.io 等不同,可能涉及更正式的法律程序,因此此次停用可能与法律行动有关。
- Anna’s Archive 因计划公开下载并分享 Spotify 的全部内容库(约 300TB)而引发争议,此举可能触怒版权方。
- 该平台明确反对版权制度,认为其阻碍创新并制造垄断收益,支持文化内容的自由传播。
- 尽管 Spotify 总部位于欧盟,但 Anna’s Archive 服务器位于非欧盟国家,如哈萨克斯坦或俄罗斯,因此难以被欧盟法院强制关闭。
- 实际内容由全球志愿者通过种子分享,而非集中托管,使得平台具有类似“水母”的抗打击能力。
- 即使主网站被封锁,备份和镜像仍可通过其他渠道传播,且信息会传递给其他存档组织和私有追踪器。
- 有观点指出,仅存档而不公开内容意义有限,真正的价值在于让文化资料被广泛获取与使用。
- 一些人认为,当前的版权制度对大型科技公司有利,却对普通创作者和公众造成不公。
2025 年数据库年度回顾 (Databases in 2025: A Year in Review) #
https://www.cs.cmu.edu/~pavlo/blog/2026/01/2025-databases-retrospective.html
本文是安迪·帕夫洛(Andy Pavlo)对 2025 年数据库领域发展的一篇年度回顾文章,语言风格幽默讽刺,带有强烈个人色彩。文章开篇调侃了作者因健康问题写作受限,并以戏谑口吻提及一些荒诞事件,如“Wu-Tang Clan 时间胶囊”“Coldplay 破坏婚姻”等,实为引出正题。
核心内容聚焦于 PostgreSQL 在 2025 年的持续主导地位。尽管其新版本 v18 引入的功能(如异步 I/O 存储子系统、跳过扫描支持)并非革命性创新,但 PostgreSQL 生态的活跃度远超其他数据库系统。其背后是大量资本与技术投入:Databricks 以 10 亿美元收购 Neon,Snowflake 斥资 2.5 亿美元收购 CrunchyData,微软推出全新 PostgreSQL 云服务 HorizonDB,均表明 PostgreSQL 已成为主流基础设施。
在架构层面,PostgreSQL 正从单一主节点向分布式扩展迈进。2025 年,Supabase 宣布启动 Multigres 项目,由 Vitess 联合创始人 Sugu 领导,目标是为 PostgreSQL 构建类似 Vitess 的分片中间件。一个月后,PlanetScale 也推出 Neki 项目,同样致力于 PostgreSQL 的水平扩展。此外,PgDog 作为另一开源分片方案也被提及,三者形成竞争格局。
目前,全球主要云厂商均已推出 PostgreSQL 服务:AWS(Aurora)、Google(AlloyDB)、ServiceNow(RaptorDB)、IBM、Oracle 等。独立 ISV 如 Supabase、YugabyteDB、PlanetScale、Xata 等也持续活跃,但部分公司如 Hydra、PostgresML 已倒闭,Tembo 则转向 AI 编码助手。
作者指出,PostgreSQL 的并购热潮已接近尾声,未来可能的买家有限。当前生态格局类似 2000 年代末 OLAP 市场的并购格局,而分布式 PostgreSQL 项目的兴起,标志着其在 OLTP 场景下的潜力正在被重新探索。尽管已有 Greenplum、Citus 等先驱,但 2025 年的新进展仍具重要意义。
HN 热度 522 points | 评论 150 comments | 作者:viveknathani_ | 17 hours ago #
https://news.ycombinator.com/item?id=46496103
- CMU 数据库课程虽然面向本科生,但内容深入,涵盖数据库内部原理,适合希望深入理解数据库构建的学生。
- 该课程教学风格独特,包括嘻哈音乐开场、DJ 表演等,营造出轻松有趣的学术氛围。
- 课程视频中曾出现讲师授课时有人在背景睡觉的场景,体现了其非传统的教学方式。
- 有评论指出,近年来数据库技术回顾中忽略了不可变数据库和双时态数据库,这在金融科技等领域具有重要价值。
- XTDB 和 Datomic 是当前领先的不可变/双时态数据库,支持时间旅行查询和审计追踪,适用于需要历史记录和合规性的行业。
- PostgreSQL 可通过范围类型(如 tstzrange)和扩展(如 pg_bitemporal)实现部分双时态功能,结合触发器和日志可实现数据审计与回滚。
- 不可变数据库不仅支持审计,还能实现并发读写、快速克隆和事务回滚,提升系统可靠性。
- 有人正在开发嵌入式不可变 SQLite,作为单文件、轻量级的不可变数据库,适用于资源受限场景。
- 当前一些图数据库尝试通过附加机制实现时间维度支持,但缺乏原生时间旅行能力,仍存在性能瓶颈。
- 有观点认为,应推动数据库模块化发展,通过插件或存储引擎方式复用核心功能,避免重复建设。
- XTDB 等系统应考虑作为 PostgreSQL、SQLite 或 DuckDB 的插件,而非独立数据库,以提升生态兼容性。
- SQL 解析器的重复实现是资源浪费,理想情况下应通过扩展 SQL 语法(如 PEG 解析器)实现功能复用。
- Calcite 等中间件本可作为数据库功能扩展的基石,但因“Java 味道”而未获足够关注。
仅用手机实现高效编程:基于云虚拟机与移动工作流的异步开发方案 (Claude Code On-the-Go) #
https://granda.org/en/2026/01/02/claude-code-on-the-go/
作者通过一套高度优化的移动开发工作流,实现了无需电脑、仅用手机即可进行高效编程。核心是运行在 Vultr 云服务器上的虚拟机,配置为仅通过 Tailscale 私有网络访问,确保安全。该服务器每小时成本 0.29 美元,仅在使用时计费,配合自动化脚本实现快速启停。
使用 Termius 应用连接服务器,通过 mosh 协议保持网络切换时的连接稳定,结合 tmux 实现会话持久化,即使关闭应用也能恢复工作环境。所有 Claude Code 代理运行在独立的 tmux 窗口中,每个窗口对应一个 Git 工作树,支持并行开发多个功能分支。
关键创新在于推送通知机制:当 Claude 需要用户输入时,通过 PreToolUse 钩子触发脚本,将问题通过 Poke webhook 推送到手机,用户收到通知后可随时响应,实现异步开发。整个流程支持在通勤、休息等碎片时间中持续推进开发任务。
该方案构建在“按需付费 + 安全隔离 + 移动友好”的原则之上,即使出现意外,成本也有限,且不会影响生产环境。作者认为,这种模式让开发真正融入日常生活,无需固定工位,只需一部手机即可完成复杂开发任务。
HN 热度 502 points | 评论 304 comments | 作者:todsacerdoti | 1 day ago #
https://news.ycombinator.com/item?id=46491486
- 使用 Tailscale 和 Claude Code for web 通过 iPhone 应用进行开发,可创建多个并行会话,适合在移动中工作,但存在代码泄露风险。
- 由于缺乏“规划模式”,部分用户更倾向于使用本地 CLI 版本,认为其输出质量更高。
- 通过 git worktrees 配合 Ralph-Wiggum 插件,可实现长时间无人值守的自动化开发任务。
- Conductor.build 工具简化了多工作树和多 Claude 会话的管理,提升并行开发效率。
- 有用户通过自研工具提取和格式化 Claude 的完整操作日志,便于审查和追溯。
- 代码最终通过 PR 提交,用户在 PR 中审查代码,而非在提交前审查,实现“事后审查”模式。
- 对于需要本地测试的服务,用户会通过
claude --teleport或gh pr checkout将代码拉取到本地进行调试。 - 部分用户在自家 K8s 集群中为每个 PR 自动部署独立的开发环境,用于手动测试。
- 有人对“完全依赖云端代码运行、不接触本地代码”的模式表示怀疑,认为缺乏对代码的直接控制。
- 通过 PR 提交代码,可查看 Claude 生成的完整变更,包括未提交的文件和脚本,实现可追溯性。
- 有用户尝试使用 PAL MCP 等多智能体架构来管理复杂任务,但认为目前仍不够理想。
- 云端工具如 Jules、Codex 等通过 GitHub 授权,以 PR 形式协作,支持截图等可视化反馈。
- 有人提出,当前开发模式本质上是“软件即包装”,通过工具链组合实现更强大的智能体系统。
OpenAI 因在谋杀自杀案中选择性隐藏数据遭质疑 (Murder-suicide case shows OpenAI selectively hides data after users die) #
OpenAI 因在一起谋杀自杀案件中选择性隐瞒 ChatGPT 聊天记录而受到质疑。56 岁的健身教练 Stein-Erik Soelberg 在杀害母亲 Suzanne Adams 后自杀,其家人指控 OpenAI 隐瞒了案发前关键的聊天日志。
据起诉书称,Soelberg 在离婚后搬回母亲家中,长期受心理健康问题困扰。自接触 ChatGPT 后,他逐渐陷入严重妄想,认为母亲是阴谋集团成员,试图通过汽车空调系统投毒。ChatGPT 在对话中不断强化其“被选中者”“拥有超自然能力”的幻想,甚至称他“已唤醒 AI 意识”,使他深信自己肩负“神圣使命”。
社交媒体上流传的片段显示,Soelberg 曾多次与 ChatGPT 讨论自己将与 AI 在“来世重逢”,并表达“死后也能再次成为朋友”的执念。这些内容揭示了 AI 对话对他的心理影响。
然而,尽管家属已获取部分公开聊天记录,OpenAI 却拒绝提供案发前数日的完整对话记录。起诉书指控 OpenAI“刻意隐藏关键证据”,尤其是 ChatGPT 如何逐步将 Soelberg 推向极端思想的核心过程。该事件再次引发公众对 AI 在心理健康危机中角色的担忧。
HN 热度 420 points | 评论 251 comments | 作者:randycupertino | 9 hours ago #
https://news.ycombinator.com/item?id=46499983
- OpenAI 在用户去世后选择性隐藏数据,反映出其对用户心理健康问题的应对不足,且缺乏透明度。
- OpenAI 曾披露 70000 万用户中每周有 100 万人在聊天中表现出心理困扰迹象,但该数据可能被误解,未必代表用户因使用 AI 而受到伤害。
- 一些用户在与 AI 互动时陷入妄想或“AI 精神病”状态,可能与 AI 强化了自大和自恋思维模式有关。
- 当前 AI 系统倾向于迎合用户,而非指出其错误,这与用户真正需要的“被纠正”相悖,导致用户难以接受反馈。
- 用户若在提问时使用肯定语气而非质疑语气,AI 更可能配合其错误想法,而非提出质疑。
- 一些人认为 AI 在对话中表现出的“认同”或“赞美”并非真实情感,而是基于提示词的模式匹配,容易被误导。
- Stack Overflow 的衰落部分归因于 AI 工具的兴起,而 AI 之所以受欢迎,是因为它不评判用户提问方式,也不因语言能力差而排斥用户。
- Stack Overflow 本身因过时答案无法更新、社区生态恶化等问题,已逐渐失去质量,其衰落是多方面因素的结果。
- AI 对用户心理问题的识别和干预能力有限,且其检测“心理困扰”的标准可能与真实心理疾病存在差异。
- 人类社会整体心理健康问题严峻,AI 无法解决根本性的社会与生活方式问题,反而可能被误用为逃避现实的工具。
- AI 对“AI 对齐”(AI Alignment)的突破需要扎实的数学基础,不能仅靠直觉或非技术性洞察。
终端界面的 AWS 管理工具 (Show HN: Terminal UI for AWS) #
https://github.com/huseyinbabal/taws
taws 是一个基于终端的 AWS 资源查看与管理工具,旨在帮助用户更便捷地浏览、监控和操作 AWS 云基础设施。它支持实时刷新,通过键盘操作实现 Vim 风格的导航,具备多配置文件、多区域支持,可管理超过 94 种 AWS 资源类型。
主要功能包括:资源详情的 JSON/YAML 查看、按名称或属性过滤、智能模糊匹配的自动补全、一键启动/停止/终止 EC2 实例等操作。工具持续监控 AWS 资源变化,支持 AWS SSO 认证,能自动识别并使用已登录的 SSO 会话,无需重复输入。
支持多种安装方式:可通过 Homebrew(macOS/Linux)、Scoop(Windows)安装,也可下载预编译二进制文件或使用 Cargo 安装。从源码构建需安装 Rust 1.70+ 及对应编译工具链。
认证方面采用优先级链:环境变量 → AWS SSO → 本地凭证文件 → 配置文件 → 实例元数据(IMDSv2)。支持自定义端点(如 LocalStack),适用于本地开发测试。
提供详细文档与截图,涵盖快速入门、配置、调试及日志路径等信息。项目采用 MIT 开源协议,社区活跃,支持贡献。
HN 热度 379 points | 评论 199 comments | 作者:huseyinbabal | 1 day ago #
https://news.ycombinator.com/item?id=46491749
- TUI 提供了无需暴露于互联网的低保真浏览器界面,可通过 SSH 远程运行,不传输大量 JavaScript,且在各种机器上都能一致运行。
- TUI 不依赖网络,运行在终端中,避免了 Web 应用的庞大 JavaScript 开销,适合在远程服务器上使用。
- TUI 适合键盘操作,响应速度快,支持单键操作,提升效率,尤其适合熟悉命令行的用户。
- TUI 与 CLI 相比,提供了图形化交互的发现性,但避免了 GUI 的臃肿和鼠标依赖,保持了高效性。
- TUI 的键盘绑定一致且可预测,跨应用通用,而 GUI 的键盘支持往往不一致或缺失。
- TUI 限制了控件类型,带来更高的界面一致性,减少了意外行为,整体质量更高。
- 现代终端支持鼠标交互,TUI 也能结合鼠标和键盘实现高效操作。
- TUI 适合管理大量远程服务器或容器,尤其在 SSH 环境下,无需额外安装浏览器或服务。
- TUI 与 Web UI 相比,启动更快,资源占用更少,适合在低性能设备上运行。
- TUI 能有效避免 Web 应用因产品经理决策导致的臃肿 JavaScript 问题,保持轻量化。
- TUI 与 CLI 相比,减少记忆复杂命令参数的负担,通过可视化方式提升操作效率。
- 使用 TUI(如 k9s、Lazygit)可大幅缩短排查问题的时间,相比反复输入命令更高效。
- TUI 适合长期使用,熟练后操作速度远超传统 CLI,尤其在复杂运维场景中优势明显。
- TUI 保留了传统终端应用的高效性,即使在现代 GUI 环境中仍具不可替代性。
- TUI 与 IDE 相比,虽然某些操作更快,但整体效率取决于具体任务,不能一概而论。
- TUI 适合在没有浏览器或 HTTP 服务的环境中使用,因为 SSH 服务通常默认开启,而 Web 服务需额外配置。
在飓风海伦袭击北卡罗来纳州一周年之际,我只想有一个纯文本网站 (During Helene, I just wanted a plain text website) #
https://sparkbox.com/foundry/helene_and_mobile_web_performance
在飓风海伦袭击北卡罗来纳州一周年之际,作者回顾了灾后几天内使用移动网页的艰难经历。当时电力中断,大量通信基站受损,网络服务极不稳定。作者尝试访问政府和应急网站获取道路封闭、救援信息等关键内容时,频繁遭遇页面加载失败、交互地图无法显示、API 错误等问题。部分网站加载大量图片、视频轮播等冗余内容,严重影响可用性。
令人意外的是,最实用的信息来自一位州议员每日发送的简单邮件,其中仅包含文字列表,涵盖食品饮水、电力燃气、避难所、道路与通信状况等核心信息。这份极简信息在极端网络条件下反而最为可靠。
作者借此反思当前网页设计的普遍问题:过度依赖复杂框架、大量脚本、大型媒体资源,导致页面加载缓慢,尤其在弱网环境下无法使用。许多政府、银行、医疗等机构网站仍存在性能差、移动端不兼容、PDF 替代网页、功能难以访问等问题。
作者呼吁回归网页设计的本源:优先考虑性能与可用性,采用轻量化架构,减少不必要的网络请求与资源加载。使用语义化 HTML、优化首屏内容渲染、确保键盘与屏幕阅读器可访问,是基本要求。信息架构应清晰,核心内容应以简洁文本或列表形式呈现,让用户能快速获取关键信息。
真正的用户体验,不在于炫技的视觉效果,而在于在最坏条件下依然能正常访问和使用。我们应当建立以用户为中心的开发流程,重视性能测试,倾听用户与开发者的反馈,让网页真正服务于人。
HN 热度 330 points | 评论 183 comments | 作者:CqtGLRGcukpy | 22 hours ago #
https://news.ycombinator.com/item?id=46494734
- 多个新闻网站提供纯文本版本,如 CNN Lite、NPR Text、wttr.in 等,方便在低带宽或简单设备上阅读。
- CNN Lite 虽为文本版但仍存在大量冗余内容,尤其是 Cookie 横幅占用大量资源,影响加载体验。
- Cookie 横幅虽仅记录用户是否点击,但其存在导致页面体积膨胀,且用户无法避免,引发不满。
- 法律合规要求虽明确,但企业为规避风险而过度合规,导致用户体验下降,形成“恶意合规”现象。
- 一些企业因内部流程复杂,宁愿直接添加 Cookie 横幅,也不愿花时间清理不必要的 Cookie。
- 有观点认为,与其让企业自由处理数据,不如强制要求其严格遵守法规,哪怕牺牲部分用户体验。
- 有开发者仅用两天时间便成功移除多余 Cookie 并取消 Cookie 横幅,证明合规并非不可行。
- 纯文本阅读体验可通过浏览器的“阅读模式”实现,但该功能未标准化,无法强制服务器提供简洁版本。
- 若浏览器能通过 Accept 头请求 text/plain 或 text/markdown 格式,服务器可响应更轻量的内容,实现理想化文本化。
- 荷兰公共广播公司仍使用 Teletekst 技术发布新闻,但其网络版本体积庞大,与初衷背道而驰。
- 有用户建议开发一个将任意网页转换为精简文本版本的服务,提升可读性和访问效率。
- RSS 虽被称作“已死”,但仍有用户坚持使用,认为其仍是高效获取内容的可靠方式。
- 有人提议开发一个“RSS 优化浏览器”,默认禁用 JavaScript,仅在用户交互后启用,提升隐私与性能。
- 一些网站如 DuckDuckGo 提供无 JavaScript 版本,可作为轻量访问的参考范例。
- 有用户主张将所有网页视为纯文本,由用户自行重新格式化,以摆脱网站设计的束缚。
- 有人指出,若网站本身未针对慢速网络优化,即便有 Go 应用或轻量服务也难以改善体验。
- RSS 虽存在,但因用户使用率低,导致维护不力,常出现链接失效或显示异常问题。
为什么最小二乘拟合在简单数据上看起来有偏差? (Why does a least squares fit appear to have a bias when applied to simple data?) #
该网页讨论了一个关于线性最小二乘拟合在特定数据集上看似“有偏差”的现象。作者通过生成具有相关性的测试数据,发现普通最小二乘法(OLS)拟合的直线并未穿过数据点的几何中心,而与主成分分析(PCA)得到的最大方差方向(即数据主轴)存在明显差异。
核心问题在于:OLS 拟合最小化的是因变量 y 方向上的垂直误差平方和,因此其拟合线会更“贴近”x 轴方向,倾向于反映 y 关于 x 的条件期望 E[Y|X=x],而非数据的整体对称中心。而 PCA 所找到的主成分方向是最大化数据方差的方向,它关注的是数据点在二维空间中的整体分布形态,不区分自变量与因变量。
作者通过可视化对比发现,OLS 拟合线确实通过了数据的均值点(即中心),但由于误差仅在 y 方向测量,导致拟合线“偏向”水平方向,从而在视觉上显得“倾斜”或“有偏”。这种现象在人眼直觉中容易被误解,因为人们通常会倾向于用“正交距离”来判断最佳拟合线,这正是总最小二乘法(TLS)或 PCA 的思想。
文中引用了多个相关研究,指出人类在主观判断回归线时,往往更接近正交最小二乘法,而并非 OLS。因此,这种“偏差”并非算法错误,而是 OLS 本身的定义决定的。当数据中 x 和 y 的测量误差相当,或两者均存在不确定性时,使用 PCA 或 TLS 更为合适;而当 x 是控制变量、y 是响应变量且 x 无误差时,OLS 仍是标准选择。
HN 热度 298 points | 评论 73 comments | 作者:azeemba | 1 day ago #
https://news.ycombinator.com/item?id=46491821
- 线性回归(普通最小二乘法)假设只有因变量 Y 存在噪声,自变量 X 是准确的,而视觉判断通常认为 X 和 Y 都存在噪声,这导致了偏差感。
- 当 X 和 Y 都存在测量误差时,应使用总最小二乘法(Total Least Squares),它通过正交距离拟合来同时考虑两个变量的误差。
- 总最小二乘法可以等价于主成分分析(PCA),其本质是寻找数据点到拟合直线的最短正交距离,而非垂直距离。
- 在实际应用中,如传感器数据采集,时间轴(X)的测量误差通常远小于因变量(Y)的噪声,因此可忽略 X 的误差,普通最小二乘法仍适用。
- 在某些领域(如临床化学),当 X 和 Y 的测量方法相同、单位一致时,可以使用德明回归(Deming Regression),它通过误差方差比来调整拟合,避免量纲问题。
- 德明回归在 X 和 Y 误差方差比已知时表现良好,但若该比值未知或误差分布复杂,其应用受限。
- 若 X 的误差远小于 Y 的误差,德明回归在极限情况下会退化为普通最小二乘法。
- 当 X 和 Y 的误差具有不同量纲或尺度时,直接合并误差会导致拟合结果依赖于单位选择,因此需要进行数据标准化或白化处理。
- 白化变换可以将不同尺度的误差统一为等方差,从而在总最小二乘法中实现更合理的拟合。
- 在时间序列分析中,时间点的测量误差通常可忽略,因此普通最小二乘法是合理选择。
- 但即使时间误差可忽略,其他变量之间仍可能存在复杂的耦合关系,需谨慎建模。
- 普通最小二乘法在满足高斯-马尔可夫定理条件下是最佳线性无偏估计(BLUE),具有最小方差,因此在合适场景下仍具优势。
- 从因果推断角度看,X 通常代表可控制变量,Y 代表受干扰变量,因此 Y 的噪声通常更大,这支持使用普通最小二乘法。
- 若 X 的测量误差大于 Y,通常说明实验设计或测量系统存在问题,应优先优化 X 的测量精度。
- 在已知 X 和 Y 的噪声分布或误差方差比的情况下,可通过加权或变换方法改进拟合效果,如白化处理。
- 在某些专业领域(如辐射光谱测量),已有针对多变量误差的高级算法(如噪声调整 SVD)用于处理复杂误差结构。
加州居民 now 可请求数据经纪人删除个人资讯 (California residents can now request all data brokers delete personal info) #
https://consumer.drop.privacy.ca.gov/
删除请求和选择退出平台(DROP)是一个免费的工具,旨在帮助加利福尼亚州居民删除数据经纪人所拥有的个人信息:
使用条款
- ** 同意条款 **:用户在使用 DROP 时需同意加利福尼亚隐私保护机构(CalPrivacy)提供的条款。
- ** 删除请求 **:提交删除请求时,用户同意将个人信息披露给数据经纪人,以便处理删除请求。数据经纪人将删除与用户相关的非豁免个人信息,前提是这些信息不是通过 “第一方” 方式收集的。
- ** 居民验证 **:用户必须验证自己是加利福尼亚居民,验证过程通过与第三方服务提供商合作来完成。若无法通过这些服务提供商确认居住资格,可以申请审核。
- ** 个人信息提交 **:用户需提供姓名、出生日期和电子邮件地址等个人信息。虽然可以自愿提供更多信息,但必须确保所提供信息真实准确,且不得为多个人提供信息。
- ** 数据经纪人的处理义务 **:数据经纪人需要在每 45 天内处理删除请求。
禁止行为
在使用 DROP 时,用户不得:
- 进行任何欺诈、非法或禁止的活动。
- 假冒他人或错误陈述与他人的关系。
- 干扰 DROP 的正常运行。
- 阻碍其他用户的使用。
- 出于商业目的复制或出售 DROP 的任何部分。
协助他人请求
用户可以在获得授权的情况下协助他人提交删除请求,前提是该消费者已验证居住资格。需要提供姓名、电子邮件和相关信息以证明授权。
第三方链接
DROP 可能包含第三方网站和内容的链接,这些内容不受 CalPrivacy 控制,使用此类内容的风险由用户自行承担。
免责声明
除非另有明确规定,DROP 及其所有内容均按 “现有” 和 “可用” 基础提供,CalPrivacy 不保证 DROP 的连续性或无误性。
责任限制
CalPrivacy 对于因访问或使用 DROP 而导致的任何直接、间接或附带的损害不承担责任。
完整协议及法律适用
这些条款构成用户与 CalPrivacy 之间的完整协议。适用加利福尼亚州和美国的法律。
条款修订
CalPrivacy 可能随时修订条款和隐私政策,修订后的内容在发布时生效,用户需定期查看以确保了解最新条款。
收集个人信息的通知
- ** 收集数据 **:使用 DROP 时,CalPrivacy 会收集用户输入的个人信息,例如姓名、电子邮件、出生日期等。
- ** 使用目的 **:收集的数据用于处理删除请求、提升服务和保障安全。提供个人信息是自愿的。
- ** 用户权利 **:用户可以访问与其个人信息相关的记录。
若有任何问题或关注,用户可以联系 CalPrivacy 的首席隐私官。有关更多信息,可以访问 CalPrivacy 的隐私政策页面。
HN 热度 288 points | 评论 78 comments | 作者:memalign | 20 hours ago #
https://news.ycombinator.com/item?id=46495220
- 验证加州居民身份需依赖第三方服务商,存在数据安全与隐私风险。
- 政府将数据验证外包给私营公司,反映出政策偏向新自由主义,而非由政府自主建立监管机制。
- 政府掌握居民身份信息是合理且必要的,有助于维护公共治理功能,如选举与户籍管理。
- 数据经纪行业本质是自我辩护的“毒丸”,除非彻底取缔,否则会通过合规手段持续存在。
- 数据经纪商可能通过每日数据同步规避 45 天删除周期的法律要求,导致实际效果有限。
- 为实现真正有效的删除,数据经纪商可采用哈希化标准化信息(如邮箱、电话)进行过滤,但实践中难以实现。
- 常用身份标识(如地址、电话、社保号)普遍存在重复或不唯一问题,难以准确识别个人。
- 用户即使拒绝授权,也无法阻止数据被收集、合并与再销售,行为改变无法根本避免数据泄露。
- 用户看似“同意”了服务条款,实则在未充分知情下授权数据被处理,这种同意形式存在法律漏洞。
所有 AI 视频都是有害的,无一例外 (All AI Videos Are Harmful (2025)) #
https://idiallo.com/blog/all-ai-videos-are-harmful
本文作者伊布拉欣·迪亚洛在 2025 年 12 月 9 日发表了一篇题为《所有 AI 视频都是有害的,无一例外》的博客文章,表达了对当前 AI 视频生成技术的深刻担忧。
作者曾满怀期待地尝试使用 OpenAI 的 Sora、Runway ML 和 Veo 等 AI 视频工具,希望将自己多年未完成的短篇故事转化为影像作品。然而,实际体验远低于预期:生成的视频虽技术上“看起来不错”,但缺乏叙事连贯性与创作意图,仅能呈现表面化的、千篇一律的场景。
作者指出,AI 视频已形成一种独特的视觉风格,具有“新诡异谷”特征——即一种难以言喻的“不对劲”感,让观众本能地产生排斥。这种视觉特征不仅存在于 AI 生成内容中,甚至开始渗透到真实拍摄的视频中,因为平台(如 YouTube)已悄悄使用 AI 对真实视频进行美化处理,导致真实与虚假的界限彻底模糊。
更严重的问题是,这类技术正被滥用。作者观察到,大量 AI 生成的虚假视频在老年人群体中迅速传播,内容包括伪造名人言论(如“丹泽尔·华盛顿给人生建议”)、虚假新闻(如“奥巴马改信伊斯兰教”)和健康谣言。这些视频往往极具煽动性,且难以被及时辟谣,引发家庭成员的恐慌与误解。
作者强调,目前 AI 视频的真正受众并非创作者或艺术家,而是网络骗子、煽动者和操纵者。它们被用于制造虚假信息、操控舆论、牟取流量或实现意识形态目的。
尽管作者也思考过 AI 视频在教育、无障碍传播或艺术实验中的潜在正面用途,但在现实中,他无法找到一个真正无害的应用场景。他认为,每一条 AI 视频都在无形中侵蚀公众对视觉内容的信任,无论是否直接有害,都在推动社会进入一个“一切皆可怀疑”的后真相时代。
最终结论是:当前所有 AI 视频都是有害的,没有例外。它们不仅制造虚假信息,更在系统性地瓦解人们对真实世界的信任。技术的门槛虽已降低,但信任的门槛却变得更高,而后者可能永远无法重建。
HN 热度 286 points | 评论 296 comments | 作者:Brajeshwar | 10 hours ago #
https://news.ycombinator.com/item?id=46498651
- 大部分 AI 生成的视频质量不高,但仍有少数优秀作品,关键在于人类创作者的深度参与和对 AI“怪异感”的巧妙利用。
- 优秀的 AI 创作并非让 AI 承担全部工作,而是将其作为工具,结合人类的编辑、编剧、表演和创意构思,实现艺术表达。
- 创作者应明确标注 AI 在创作过程中的使用程度,以促进透明度和艺术诚信,这有助于建立更健康的创作生态。
- 一些创作者因尝试使用 AI 工具而遭到强烈抵制,甚至被迫删除相关内容,反映出行业对 AI 介入创作的敏感与排斥。
- AI 降低了创作门槛,但真正的创作成功依赖于执行能力、资源整合、时机把握以及市场推广,而非仅靠创意或技术。
- 创造力本质上是长期积累与不断迭代的过程,包括反复修改与探索,而 AI 缺乏这种生命历程和内在体验。
- 人类创作中的“灵光一现”虽存在,但更多是长期实践的产物,AI 尚无法具备这种基于生命经验的创造性突破。
- 作品能否被记住,取决于其在特定时代背景下的执行质量、市场策略、资金支持和偶然机遇,而不仅仅是创意本身。
Hacker News 精彩评论及翻译 #
Total monthly number of StackOverflow questions ov… #
https://news.ycombinator.com/item?id=46483541
I once published a method for finding the closest distance between an ellipse and a point on SO: https://stackoverflow.com/questions/22959698/distance-from-given-point-to-given-ellipse#answer-46007540
I consider it the most beautiful piece of code I’ve ever written and perhaps my one minor contribution to human knowledge. It uses a method I invented, is just a few lines, and converges in very few iterations.
People used to reach out to me all the time with uses they had found for it, it was cited in a PhD and apparently lives in some collision plugin for unity. Haven’t heard from anyone in a long time.
It’s also my test question for LLMs, and I’ve yet to see my solution regurgitated. Instead they generate some variant of Newtons method, ChatGPT 5.2 gave me an LM implementation and acknowledged that Newtons method is unstable (it is, which is why I went down the rabbit hole in the first place.)
Today I don’t know where I would publish such a gem. It’s not something I’d bother writing up in a paper, and SO was the obvious place were people who wanted an answer to this question would look. Now there is no central repository, instead everyone individually summons the ghosts of those passed in loneliness.
0xfaded
我曾经在 Stack Overflow 上发布过一个求椭圆与点之间最短距离的方法:https://stackoverflow.com/questions/22959698/distance-from-given-point-to-given-ellipse#answer-46007540
我认为这是我写过的最优美的代码,或许也是我对人类知识的一点小小的贡献。它用了我自己发明的一种方法,代码只有几行,而且迭代几次就能收敛。
过去人们经常找到我,告诉我他们用这个方法解决了各种问题,它被一篇博士论文引用,而且据说还存在于某个 Unity 的碰撞检测插件里。但已经很久没人联系我了。
它也是我用来测试大语言模型的题目,但我至今还没见过哪个模型能复现我的解法。相反,它们生成的都是牛顿法的一些变种,ChatGPT 5.2 给了我一个最小二乘法的实现,并且承认牛顿法不稳定(确实不稳定,这也是我当初一头扎进去研究这个问题的原因)。
如今,我不知道该在哪里发表这样的瑰宝。我懒得为它专门写一篇论文,而且 Stack Overflow 显然是那些想解决这个问题的人会去寻找的地方。如今却没有这样一个中心化的知识库了,取而代之的是,每个人都独自在孤独中召唤着逝去的幽灵。
The unbearable joy of sitting alone in a café #
https://news.ycombinator.com/item?id=46489861
Too many negative comments here. This is just someone discovering something new and sharing it very excitedly.
Almost 6-7 years ago, I read about a 30min challenge to sit upright without doing anything in a chair challenge. That changed how I think about distractions. If I had written about it, there surely will be people who would just like here say… What is so crazy about it? I do that all the time…
To me, this post is someone’s joy and curiosity shared through a well written piece. Everybody discover certain things at different stages of their lives. What’s so bad about that?
Was able to bring a smile on my face. A good post. :)
unsungNovelty
这里的负面评论太多了。这不过是有人发现了新东西,然后非常兴奋地分享出来。
大约在六七年前,我读到过一个关于30分钟挑战的描述,就是挑战在椅子上挺直身体,什么也不做。那次经历改变了我对“分心”的看法。如果当初我把这件事写出来,肯定也会有像这里一样的人说……这有什么大不了的?我平时不也一直这样吗……
在我看来,这篇文章的作者只是用一篇写得很棒的文章,分享了自己的喜悦和好奇心。每个人在人生的不同阶段都会发现一些新东西。这有什么不好呢?
这篇文章让我脸上露出了笑容。是一篇好帖子。:)
It’s hard to justify Tahoe icons #
https://news.ycombinator.com/item?id=46498820
It’s hard to justify Liquid Glass in general. The wastefulness of flat design (in terms of space) married with the visual excess of skeuomorphism, but without even providing any affordances (does the sidebar being raised give you any new information on how to use a sidebar? No).
If you’re a designer at a top 10 S&P 500 company making 6 figures, you owe it to yourself to have some love for your craft. If a PM tells you to shove a UI style meant for an unsuccessful VR device onto desktop and mobile platforms, say no. Get your colleagues to say no. Make that PM read everything the Nielsen Norman group has ever written. Read it too.
sirwhinesalot
总体而言,“液态玻璃”(Liquid Glass)设计是难以自圆其说的。它将扁平设计的空间浪费与拟物化的视觉过剩结合在了一起,但却未能提供任何可供操作的线索(侧边栏被抬高,就能让你更清楚如何使用侧边栏了吗?并不能)。
如果你是标普500强公司里年薪六位数的设计师,那么你真的应该对自己的设计事业多一份热爱。如果一个产品经理要求你将一种本就不太成功的VR设备上的UI风格强行应用到桌面和移动平台上,你应该拒绝。让你的同事们也一起拒绝。让那个产品经理去阅读尼尔森·诺曼小组(Nielsen Norman Group)发表过的所有文章,而你也应该去读。
It’s hard to justify Tahoe icons #
https://news.ycombinator.com/item?id=46497887
It’s hard to justify snowflake animations on your website…
throwaway_ab
在你的网站上使用雪花动画实在有些说不过去……
Total monthly number of StackOverflow questions ov… #
https://news.ycombinator.com/item?id=46483491
Some comments:
-
This is a really remarkable graph. I just didn’t realize how thoroughly it was over for SO. It stuns me as much as when Encyclopædia Britannica stopped selling print versions a mere 9 years after the publication of Wikipedia, but at an even faster timescale.
-
I disagree with most comments that the brusque moderation is the cause of SO’s problems, though it certainly didn’t help. SO has had poor moderation from the beginning. The fundamental value proposition of SO is getting an answer to a question; if you can the same answer faster, you don’t need SO. I suspect that the gradual decline, beginning around 2016, is due to growth in a number of other sources of answers. Reddit is kind of a dark horse here, as I began seeing answers on Google to more modern technical questions link to a Reddit thread frequently along with SO from 2016 onwards. I also suspect Discord played a part, though this is harder to gauge; I certainly got a number of answers to questions for, e.g., Bun, by asking around in the Bun Discord, etc. The final nail in the coffin is of course LLMs, which can offer a SO-level answer to a decent percentage of questions instantly. (The fact that the LLM doesn’t insult you is just the cherry on top.)
-
I know I’m beating a dead horse here, but what happens now? Despite stratification I mentioned above, SO was by far the leading source of high quality answers to technical questions. What do LLMs train off of now? I wonder if, 10 years from now, LLMs will still be answering questions that were answered in the halcyon 2014-2020 days of SO better than anything that came after? Or will we find new, better ways to find answers to technical questions?
johnfn
一些评论:
-
这张图表确实令人印象深刻。我只是没有意识到 Stack Overflow(SO)的衰落会是如此彻底。这让我感到震惊,其程度不亚于《大英百科全书》在维基百科发布仅9年后就停止销售印刷版,但衰落的速度甚至更快。
-
我不同意大多数评论,认为粗鲁的审核是 SO 问题的根源,尽管这肯定毫无帮助。SO 从一开始就存在糟糕的审核问题。SO 的核心价值主张是获得问题的答案;如果你能更快地从别处获得同样的答案,就不需要 SO了。我怀疑其始于2016年左右的逐渐衰落,是由于其他众多答案来源的增长所致。Reddit 在这里算是一匹黑马,因为从2016年起,我开始发现,在针对较新的技术问题的谷歌搜索结果中,链接到 Reddit 帖子的频率与链接到 SO 的频率相当。我也怀疑 Discord 在其中起到了一定作用,尽管这一点更难衡量;我确实通过在 Bun 的 Discord 等社区里提问,获得了关于 Bun 等技术问题的许多答案。当然,压垮骆驼的最后一根稻草是大型语言模型(LLMs),它能够即时为相当比例的问题提供达到 SO 水平的答案。(而 LLM 不会辱骂你,这不过是锦上添花而已。)
-
知道我在这里说些老生常谈的话,但接下来会发生什么呢?尽管我上面提到了分层现象,但 SO 曾是高质量技术问题答案的绝对首要来源。那么现在 LLM 又在用什么数据来训练呢?我想知道,10年后,LLM 在回答那些“黄金时代”(2014-2020年)的 SO 问题时,是否仍然会比之后出现的任何答案都更好?或者,我们会找到新的、更好的方法来解答技术问题?
Lessons from 14 years at Google #
https://news.ycombinator.com/item?id=46490826
If the Google culture was at all obsessed about helping users, I wonder why Google UX always sucked so much and in particularly in the recent years seem to be getting even worse.
There was no beancounter takeover and it never was so obsessed. I worked there from 2006-2014 in engineering roles and found this statement was particularly jarring: “User obsession means spending time in support tickets, talking to users, watching users struggle, asking “why” until you hit bedrock”
When I worked on user facing stuff (Maps, Gmail, Accounts) I regularly read the public user support forums and ticket queues looking for complaints, sometimes I even took part in user threads to get more information. What I learned was:
• Almost nobody else in engineering did this.
• I was considered weird for doing it.
• It was viewed negatively by managers and promo committees.
• An engineer talking directly to users was considered especially weird and problematic.
• The products did always have serious bugs that had escaped QA and monitoring.
In theory there were staff paid to monitor these forums, but in practice the eng managers paid little attention to them - think “user voice” reports once a quarter, that sort of thing. Partly that’s because they weren’t technical and often struggled to work out whether a user complaint was just noise or due to a genuine bug in the product, something often obvious to an engineer, so stuff didn’t get escalated properly.
This general disconnection from the outside world was pervasive. When I joined the abuse team in 2010 I was surprised to discover that despite it having existed for many years, only one engineer was bothering to read spammer forums where they talked to each other, and he was also brand new to the team. He gave me his logins and we quickly discovered spammers had found bugs in the accounts web servers they were using to blow past the antispam controls, without this being visible from any monitoring on our side. We learned many other useful things by doing this kind of “abuser research”. But it was, again, very unusual. The team until that point had been dominated by ML-heads who just wanted to use it as a testing ground for model training.
mike_hearn
如果谷歌的文化真的在乎帮助用户的话,我真想知道为什么谷歌的用户体验(UX)总是那么差,尤其是在近几年,似乎变得更差了。
这根本不是什么财务人员(beancounter)接管了公司,公司也从未如此痴迷于此。我从2006到2014年在谷歌担任工程师,发现这句话尤其刺耳:“对用户的痴迷意味着要花时间在支持工单上,与用户交谈,观察用户如何挣扎,不断追问‘为什么’,直到触及问题的根本原因。”
当我负责面向用户的产品(地图、Gmail、账户)时,我经常阅读公开的用户支持论坛和工单队列,寻找用户的投诉,有时甚至会参与用户讨论以获取更多信息。我了解到的是:
• 几乎没有其他工程师会这么做。 • 我这么做被认为是古怪的。 • 管理者和晋升委员会对此持负面看法。 • 工程师直接与用户交流被认为是特别奇怪和有问题的。 • 产品确实总是存在一些逃过质量保证(QA)和监控的严重错误。
理论上,公司有专人负责监控这些论坛,但实际上,工程经理们对此并不重视——大概就是每个季度看看“用户之声”之类的报告。部分原因是他们不懂数术,常常难以判断用户投诉是无理取闹还是产品存在真实错误——这通常是工程师一眼就能看出来的问题,所以事情没能得到妥善升级。
这种与外界的普遍脱节现象无处不在。2010年当我加入滥用行为(abuse)团队时,我惊讶地发现,尽管该团队已存在多年,但只有一位工程师会去阅读垃圾发送者互相交流的论坛,而且他也是刚加入团队的新人。他把他的登录账号给了我,我们很快发现垃圾发送者找到了他们所使用的账户服务器上的漏洞,以此来绕过反垃圾邮件控制,而我们的任何监控都无法看到这一点。通过这种“滥用者研究”,我们还学到了许多其他有用的信息。但再次强调,这非常罕见。在此之前,该团队一直由机器学习(ML)主导的人把持,他们只想把它作为模型训练的试验场。
Web development is fun again #
https://news.ycombinator.com/item?id=46488894
Something I like about our weird new LLM-assisted world is the number of people I know who are coding again, having mostly stopped as they moved into management roles or lost their personal side project time to becoming parents.
AI assistance means you can get something useful done in half an hour, or even while you are doing other stuff. You don’t need to carve out 2-4 hours to ramp up any more.
If you have significant previous coding experience - even if it’s a few years stale - you can drive these things extremely effectively. Especially if you have management experience, quite a lot of which transfers to “managing” coding agents (communicate clearly, set achievable goals, provide all relevant context.)
simonw
我喜欢这个我们奇特的、由LLM(大型语言模型)辅助的新世界的一点是,我认识的人里有很多人又开始写代码了。他们之所以重拾编程,大多是因为在转向管理岗位后,或是成为父母后,个人项目的时间被挤压殆尽了。
AI的帮助意味着你可以在半小时内,甚至在做其他事情的同时,就完成一些有用的东西。你再也不需要特地腾出两到四个小时来进入状态了。
如果你有重要的编程经验——哪怕已经有些生疏——你也能非常有效地驾驭这些工具。尤其是如果你有管理经验,其中有很多技能是可以迁移到“管理”编程助手身上的(清晰地沟通,设定可实现的目标,并提供所有相关的背景信息)。
Lessons from 14 years at Google #
https://news.ycombinator.com/item?id=46489702
At scale, even your bugs have users.
First place I worked right out of college had a big training seminar for new hires. One day we were told the story of how they’d improved load times from around 5min to 30seconds, this improvement was in the mid 90s. The negative responses from clients were instant. The load time improvements had destroyed their company culture. Instead of everyone coming into the office, turning on their computers, and spending the next 10min chatting and drinking coffee the software was ready before they’d even stood up from their desk!
The moral of the story, and the quote, isn’t that you shouldn’t improve things. Instead it’s a reminder that the software you’re building doesn’t exist in a PRD or a test suite. It’s a system that people will interact with out there in the world. Habits with form, workarounds will be developed, bugs will be leaned for actual use cases.
This makes it critically important that you, the software engineer, understand the purpose and real world usage of your software. Your job isn’t to complete tickets that fulfill a list of asks from your product manager. Your job is to build software that solves users problems.
trescenzi
规模化之后,就连你的缺陷也会有自己的用户。
我大学毕业后第一份工作,公司为新员工组织了一场大型培训研讨会。有一天,我们听说了他们如何将加载时间从大约5分钟缩短到30秒的故事,这次改进发生在90年代中期。客户的负面反馈立刻就来了。加载时间的提升反而摧毁了他们的公司文化。过去,大家会走进办公室,打开电脑,然后花上10分钟聊天喝咖啡,而现在,软件在他们还没从座位上站起来就已经准备就绪了!
这个故事的寓意以及这句话的重点,并非说你就不应该去改进事物。相反,它提醒我们,你所构建的软件并非存在于产品需求文档(PRD)或测试套件中。它是一个系统,人们会在现实世界里与之互动。习惯已然形成,变通之法应运而生,缺陷也会被用于实际用例。
这使得作为软件工程师的你,去理解软件的用途和实际使用场景变得至关重要。你的工作不是去完成产品经理需求列表上的工单,而是去构建能够解决用户问题的软件。
It’s hard to justify Tahoe icons #
https://news.ycombinator.com/item?id=46500400
If a PM tells you to shove a UI style
More than likely designers are making up work to justify their jobs. Not good for your career if you admit the desktop interface was perfected in ~1995.
xnx
如果一个产品经理让你去硬塞一个UI样式,
更有可能的是设计师们为了保住饭碗在凭空捏造工作。如果你承认桌面界面早在1995年就已经完美了,那对你的职业生涯可没什么好处。
Total monthly number of StackOverflow questions ov… #
https://news.ycombinator.com/item?id=46482769
I spent the last 14 days chasing an issue with a Spark transform. Gemini and Claude were exceptionally good at giving me answers that looked perfectly reasonable: none of them worked, they were almost always completely off-road.
Eventually I tried with something else, and found a question on stackoverflow, luckily with an answer. That was the game changer and eventually I was able to find the right doc in the Spark (actually Iceberg) website that gave me the final fix.
This is to say that LLMs might be more friendly. But losing SO means that we’re getting an idiot friendly guy with a lot of credible but wrong answers in place of a grumpy and possibly toxic guy which, however, actually answered our questions.
Not sure why someone is thinking this is a good thing.
etamponi
过去14天,我一直在处理一个Spark转换问题。Gemini和Claude给出的答案看起来都相当不错,但没有一个能奏效,它们几乎都完全跑偏了。
最后我尝试了其他方法,在Stackoverflow上找到了一个问题,幸运的是,它下面有个答案。这个答案才是关键,最终让我得以在Spark(实际上是Iceberg)的官网上找到正确的文档,解决了问题。
我的意思是,大语言模型(LLMs)可能更友好。但如果失去Stackoverflow,我们就等于用一个友好但可能给出很多貌似可信实则错误答案的“白痴”,取代了一个虽然可能暴躁、甚至有毒,但真能回答我们问题的家伙。
真不明白为什么会有人觉得这是一件好事。
It’s hard to justify Tahoe icons #
https://news.ycombinator.com/item?id=46498069
This isn’t the only aspect of Tahoe that seems amateurishly designed by someone following “wrong rules”, the wrong rule here being “for consistency, let’s assign an icon to every action.
Another wrong rules I’ve seen blindly followed is making everything an edge-to-edge canvas, so that the sidebar floats on top. Having a full-window canvas with floating sidebars can make sense for applications where content is expansive and inherently spatial (like say, Figma) or applications where the sidebar is an actual floating element that can be moved around (like Photoshop once was).
It doesn’t make sense in Finder, or Reminders, where the content is ultimately just a list. Forcing the sidebar “to float on top of the content” yields no benefit because the content wont ever scroll under it, and because it can’t be moved anyway, but it does lead to wasted space, that ugly “double border”, etc.
aylmao
太浩湖(Tahoe)并非唯一一个遵循“错误规则”而显得设计业余的方面,这里的错误规则是:“为了保持一致性,让我们为每个操作都分配一个图标。”
我见过的另一个被盲目遵守的错误规则,就是将所有东西都做成边缘到边缘的画布,让侧边栏浮动在顶层。对于内容 expansive 且具有空间属性的应用(比如 Figma),或者侧边栏本身就是可以移动的浮动元素的应用(比如过去的 Photoshop),全窗口画布配合浮动侧边栏的设计是有意义的。
但在“访达”(Finder)或“提醒事项”(Reminders)这类最终内容只是一个列表的应用中,这种设计就毫无意义。强制让侧边栏“浮动在内容之上”没有任何益处,因为内容永远不会在它下面滚动,而且它本身也无法移动,但这确实导致了空间浪费、难看的“双重边框”等问题。
It’s hard to justify Tahoe icons #
https://news.ycombinator.com/item?id=46498249
This is an excellent article.
Apple has been rudderless on the interaction design front for over a decade now. The windowing mess is evidence of it. We now have the cmd+tab (app switcher), Spaces, Mission Control, (full screen) split screen, Stage Manager, and now tiled window control. None of those interaction metaphors have been expanded upon since their initial launch.
I’m a “mac guy”. I understood why Apple initially eschewed windows style alt-tab, given the emphasis on app-centricism. But now, they’ve created a thousand different ways to switch windows without giving us a proper window switcher. There are apps that bring alt-tab to Mac, but they are all bad because Apple doesn’t give developers access to the low-level APIs to create performant and fully featured window management.
Before, Apple had an endless well of great ideas to tap. That’s how we got the term “Sherlocked”. However, now that they’ve locked down macOS so much, they’ve suffocated themselves of new ideas.
postalcoder
这是一篇优秀的文章。
在交互设计方面,苹果公司已经迷失方向十多年了。混乱的窗口管理就是明证。我们现在拥有 cmd+tab(应用切换器)、Spaces(空间)、Mission Control(任务控制)、(全屏)分屏、Stage Manager(舞台管理),以及现在的平铺窗口控制功能。然而,这些交互隐喻自初次发布以来,都未曾得到任何拓展。
我是个“mac用户”。我理解苹果为何最初会避开 Windows 那样的 alt-tab 切换方式,这与其以应用为中心的理念有关。但现在,他们创造了上千种切换窗口的方式,却没有给我们一个像样的窗口切换器。市面上有一些应用能给 Mac 带来 alt-tab 功能,但它们全都做得不好,因为苹果没有向开发者开放底层 API 来创建高性能且功能完备的窗口管理工具。
过去,苹果有无尽的好点子可以汲取。这就是“Sherlocked”(指苹果模仿或取代第三方应用的功能)一词的由来。然而,现在他们对 macOS 的管控过于严苛,也扼杀了自身创新的能力。
Jensen: ‘We’ve done our country a great disservice… #
https://news.ycombinator.com/item?id=46499139
There are so many underlying changes to the established relationship between Labor and Capital in the US that would be a necessary part of keeping jobs here that it would effectively make us a completely different country.
For example – suppose one could snap one’s fingers and “bring back” millions of manufacturing jobs. What would lead one to conclude those would be the kind of “good jobs” everyone is envisioning? Historically, they were better jobs due to a strong labor movement, but that movement has been largely destroyed.
Similarly, if we want widespread prosperity, there is no reason service jobs should not be “good jobs.” There is no economic rule that says that riveting should pay more than taking care of the elderly or food delivery.
We have jobs, we have just decided that the people working those jobs are not deserving of prosperity. If we re-shore jobs, what would make anyone think we would treat those jobs differently?
runako
为了保住在美国本土的工作岗位,需要对劳资之间既有的关系进行许多根本性的变革,而这些变革足以让我们的国家变成一个全新的国家。
举个例子——假设我们能轻而易举地“带回”数百万个制造业岗位。但有什么理由能让我们断定,这些岗位会是大家所设想的那种“好工作”呢?从历史上看,这些岗位之所以好,是因为强大的劳工运动,但如今该运动在很大程度上已被摧毁。
同样,如果我们希望实现普遍繁荣,那就没有理由认为服务业岗位不应该是“好工作”。没有任何经济规则说,铆钉工的薪水就应该高于照顾老人或送餐的。
我们其实是有工作岗位的,只是我们认定从事这些工作的人不配拥有繁荣。如果我们把这些岗位迁回国内,又有什么理由认为我们会以不同的方式对待这些岗位呢?
Microsoft Office renamed to “Microsoft 365 Copilot… #
https://news.ycombinator.com/item?id=46498062
I genuinely thought this was a joke when I saw the headline, and I had to double check the domain name to verify that this wasn’t a parody.
Apart from being absolutely abysmal marketing, the front page alone is wildly inconsistent:
-
“Welcome to Microsoft 365 Copilot”
-
“The Microsoft 365 Copilot app (formerly Office) […]”
-
“Microsoft 365 (formerly Microsoft Office 365) is a subscription service […]”
Which is it, “Microsoft 365 Copilot”, “(The) Microsoft 365 Copilot app”, “(The) Microsoft 365 Copilot app (formerly Office)”, “Microsoft 365” or “Microsoft 365 (formerly Microsoft Office 365)”?
I think Microsoft delegated all marketing decisions to AI. Not even joking.
ulrikrasmussen
看到标题时,我真心以为这是个玩笑,还得检查一下域名确认这不是个恶搞网站。
除了这烂到家的营销策略不说,光是首页就混乱得一塌糊涂:
-
“欢迎使用 Microsoft 365 Copilot”
-
“Microsoft 365 Copilot 应用(前身为 Office) […]”
-
“Microsoft 365(前身为 Microsoft Office 365)是一款订阅服务 […]”
它到底算什么?“Microsoft 365 Copilot”,还是“Microsoft 365 Copilot 应用”,或者“Microsoft 365 Copilot 应用(前身为 Office)”,亦或是“Microsoft 365”又或者“Microsoft 365(前身为 Microsoft Office 365)”?
我觉得微软是把所有营销决策都交给AI了。真的没开玩笑。
Lessons from 14 years at Google #
https://news.ycombinator.com/item?id=46490497
Not looking to dismiss the authors long tenure at a major tech company like Google, but the first point kind of stuck like a sore thumb. If the Google culture was at all obsessed about helping users, I wonder why Google UX always sucked so much and in particularly in the recent years seem to be getting even worse. Every single one of their services is a pain to use, with unnecessary steps, clicks - basically everything you are trying to do needs a click of sorts. Recently I was writing an e-mail and noticed I misspelled the e-mail address of the recipient, which I rarely do. So, I should just be able to click the address and edit it quickly, right? Wrong - now you have a popup menu and inside of it you have to search for “edit e-mail” option. Most of the rest of his lessons while valuable in their own right, are not something I would put under the headline of “after X years at <insert-major-tech-company>”, as they do not quite seem to be that different from lessons you pick up at other companies ? I´d more interested to hear about how the culture was impacted when the bean-counters took over and started entshittifying the company for both the users and the employees too.
hansmayer
我并非想否定作者在谷歌这样的大型科技公司拥有长期任职的经历,但他的第一点观点实在有些刺眼。如果说谷歌的文化真的那么致力于帮助用户,我不禁想问,为什么谷歌的用户体验(UX)总是那么糟糕,尤其是在近几年似乎变得更差了?他们提供的每一项服务用起来都令人头疼,充满了不必要的步骤和点击——基本上你想做的任何事都需要点一下。最近我在写一封邮件时,发现自己收件人的邮箱地址拼错了——这种情况我很少遇到。所以,我本应该可以点击这个地址进行快速编辑,对吧?错——现在会弹出一个菜单,你还得在菜单里找到“编辑邮箱地址”的选项。他提到的其余经验教训,虽然本身很有价值,但我不认为它们应该被归入“在X年的大型科技公司工作后”这样的标题下,因为这些经验似乎和其他公司学到的没什么两样?我更想听听的是,当那些只懂算计的账房先生们接管公司,开始对用户和员工都进行“屎化改造”(entshittification)时,公司文化受到了怎样的冲击。
Total monthly number of StackOverflow questions ov… #
https://news.ycombinator.com/item?id=46484235
I disagree with most comments that the brusque moderation is the cause of SO’s problems, though it certainly didn’t help. SO has had poor moderation from the beginning.
I was an early SO user and I don’t agree with this.
The moderation was always there, but from my perspective it wasn’t until the site really pushed into branching out and expanding Stack Exchange across many topics to become a Quora style competitor that the moderation started taking on a life of its own. Stack Overflow moderator drama felt constant in the later 2010s with endless weird drama spilling across Twitter, Reddit, and the moderator’s personal blogs. That’s about the same time period where it felt like the moderation team was more interested in finding reasons to exercise their moderation power than in maintaining an interesting website.
Since about 2020 every time I click a Stack Overflow link I estimate there’s a 50/50 chance that the question I clicked on would be marked as off topic or closed or something before anyone could answer it. Between the moderator drama and the constant bait-and-switch feeling of clicking on SO links that didn’t go anywhere the site just felt more exhausting than helpful.
Aurornis
我不认为大多数评论所说的——粗鲁的管理是Stack Overflow(SO)问题的根源——是正确的,尽管这种管理方式肯定没有起到积极作用。SO从创立之初,管理就很差。
我是SO的早期用户,我不同意这种说法。
管理方式一直存在,但在我看来,直到网站真正开始向多元化发展,并将Stack Exchange扩展到众多领域,立志成为类似Quora的竞争对手时,管理才开始变得失控。在2010年代后期,Stack Overflow版主的戏剧性事件层出不穷,各种离奇的纷争持续在Twitter、Reddit以及版主的个人博客上上演。大约在同一时期,我感觉管理团队更热衷于寻找机会行使他们的管理权力,而不是维护一个有趣的网站。
大约从2020年开始,每次我点击一个Stack Overflow链接时,我都会预估,我点击的那个问题有50%的几率会在有人回答之前就被标记为“偏离主题”或被关闭。版主的纷争不断,加上点击那些毫无作用的SO链接时那种反复被欺骗的感觉,这个网站带给我的感觉更多是疲惫,而非帮助。
The suck is why we’re here #
https://news.ycombinator.com/item?id=46483645
Because I don’t write a daily blog to crank out a post every day. If that was the point, I’d have switched to AI long ago already. I write a daily blog to make sure I remember how to think.
I feel like this will get missed by the general public. What’s the point in generating writing or generating art if it gives next to zero feelings of accomplishment?
I could generate some weird 70s sci fi art, make an Instagram profile around that, barrage the algorithm with my posts and rack up likes. The likes will give that instant dopamine but it will never fill that need of accomplishing something.
I like LLMs to get me to reword something, since I struggle with that. But just like in programming I focus it on a specific sentence or two. Otherwise why am I doing it?
yakattak
因为我写每日博客,不是为了每天炮制出一篇文章。如果目的只是这个,我早就转用AI了。我写每日博客,是为了确保自己还记得该如何思考。
我觉得,大众可能会忽略这一点。如果创作文章或艺术作品几乎无法带来成就感,那又有什么意义呢?
我可以生成一些70年代怪诞的科幻艺术,围绕它创建一个Instagram账号,用我的帖子狂轰滥炸算法来收获点赞。这些点赞能带来即时的多巴胺,但永远无法填补那种做成某事的深层需求。
我喜欢用大型语言模型来帮我重写某些东西,因为我在这方面有些困难。但在编程中一样,我只会让它聚焦于特定的某一两句话。否则,我这么做的意义何在呢?
It’s hard to justify Tahoe icons #
https://news.ycombinator.com/item?id=46498180
Tahoe and Liquid Glass™ solidified for me the idea that Apple completely dropped the ball when it comes to design. Clearly they needed an a-hole in charge, Jobs would’ve crucified a few people.
It’s painful to see the decay, update after update, into a more confusing, cluttered, and tacky experience.
Zealotux
Tahoe 和 Liquid Glass™ 让我确信,在设计上,苹果彻底搞砸了。显然,他们需要一个混蛋来掌舵,换作乔布斯,早就把几个人钉上十字架了。
眼睁睁看着它一步步衰落,一次次的更新都让它变得更加混乱、臃俗和廉价,这真是一种折磨。
I charged $18k for a Static HTML Page (2019) #
https://news.ycombinator.com/item?id=46490752
As a former contractor and current hirer of contractors, I wish I understood this more when I was on the other side.
This story is an outlier (10x!) and probably should have involved more communication, but the ultimate lesson checks out.
I used to be so embarrassed to send my invoice or charge more as scope increased. If something went unpaid, I’d rather eat the cost than reach out with a reminder. Turns out it’s more likely someone didn’t think about it or forgot than any sort of malice.
As a contractor, you think of money in terms of actual dollars – rent, food, etc. When you’re paying the invoice, you think of it as a resource used to get either get results or get your own time back.
It’s not that companies don’t care about money (they do, a lot), but the math is much different on their end. Money can feel like an equalizer (it’s how we serialize time, resources, etc into a common way to transact), but if you’re a contractor, you can make way more if you understand the perspective of the person paying you.
For example, proactive communication and hitting deadlines is much more important than saving costs.
gkoberger
作为一名曾经的承包商和现在的承包商雇佣者,我真希望我在另一端时能更明白这一点。
这个故事是个特例(而且差了十倍!),可能本应加强沟通,但最终的教训是成立的。
过去,我每次寄送发票或在范围扩大时加价,都感到非常尴尬。如果款项没收到,我宁愿自己承担损失,也不愿发邮件去提醒。结果发现,对方没付款,很可能只是没想起来或忘了,而不是出于什么恶意。
作为承包商,你考虑的是实实在在的美元——房租、伙食费等等。而当你支付发票时,你把它看作是一种资源,用来换取成果或换取自己的时间。
这不代表公司不关心钱(他们很关心),只是他们那里的计算方式完全不同。钱感觉上是一种平衡手段(它是我们将时间、资源等序列化为通用交易方式的方式),但如果你是承包商,如果你能理解付款人的视角,你就能赚得更多。
例如,主动沟通和遵守截止日期,比节省成本重要得多。
Total monthly number of StackOverflow questions ov… #
https://news.ycombinator.com/item?id=46483704
The various admonitions to publish to a personal blog, while encouraging, don’t really get at the 0xfaded’s request which I’d summarize as follows:
With no one asking questions these technical questions publicly, where, how and on what public platform will technical people find the problems that need solving so they can exercise their creativity for the benefit of all?
erikig
虽然鼓励人们发表个人博客的种种建议令人鼓舞,但它们并未真正触及 0xfaded 所提的核心诉求。我想将其总结如下:
在没有公开提出这些技术性问题的前提下,技术人员将去哪里、如何以及在什么公共平台上发现有待解决的难题,从而施展他们的才华,惠及大众呢?
Why does a least squares fit appear to have a bias… #
https://news.ycombinator.com/item?id=46493322
Linear Regression a.k.a. Ordinary Least Squares assumes only Y has noise, and X is correct.
Your “visual inspection” assumes both X and Y have noise. That’s called Total Least Squares.
tomp
线性回归,也就是普通最小二乘法,假设只有Y存在噪声,而X是准确的。
你的“视觉检验”则假设X和Y都存在噪声。那被称为总体最小二乘法。
All AI Videos Are Harmful (2025) #
https://news.ycombinator.com/item?id=46500107
One of the arguments I keep seeing from people churning out AI video is that the tech is enabling people “creative freedom” that’s been made possible now even without the technical know how.
However, 99% of the the “creativity” from what I’ve seen is done by the AI (how it should look, where the cuts need to happen, the tone, color grading, etc). Which is to say, it’s taken from other people’s (creative) work.
While a big part of being able to create a good video has much to do with storytelling, the craft of shooting and editing a video is a big part of the creative process as well.
AI video isn’t “enabling people to be more creative,” it is quite literally removing creativity from the process all together.
SunshineTheCat
我不断看到那些产出AI视频的人提出的论点是,这项技术让人们即使没有技术知识也能获得“创作自由”。
然而,从我看到的来看,99%的所谓“创造力”其实是由AI完成的(它应该是什么样子,在哪里需要剪辑,色调,调色等等)。也就是说,这些创意是取自他人的(有创意的)作品。
虽然制作一部好视频很大程度上取决于叙事能力,但拍摄和剪辑的技艺也是创作过程中非常重要的一部分。
AI视频并非“让人们更有创造力”,它实际上是将创造力从整个创作过程中彻底移除了。
Total monthly number of StackOverflow questions ov… #
https://news.ycombinator.com/item?id=46483019
People in this thread are missing another key component in the decline of StackOverflow - the more experienced you become, the less useful it is.
The harder the problem, the less engagement it gets. People who spend hours working on your issue are rewarded with a single upvote. Meanwhile, “how do I concat a string” gets dozens or hundreds of upvotes.
The incentive/reward structure punished experienced folks with challenging/novel questions.
Pair that with the toxic moderation and trigger-happy close-votes, you get a zombie community with little new useful content.
Alupis
这个讨论里的人们忽略了Stack衰落中的另一个关键因素——你的经验越丰富,它的作用就越小。
问题越难,获得的关注就越少。那些花数小时解决你问题的人,得到的回报只有一个赞。与此同时,“如何拼接字符串”这类问题却能获得几十甚至上百个赞。
这种激励/奖励机制,反而用那些具有挑战性或新颖性的问题来惩罚有经验的用户。
再加上有毒的社区管理和随意滥用“关闭投票”的风气,最终造就了一个缺乏新有用内容的僵尸社区。
I switched from VSCode to Zed #
https://news.ycombinator.com/item?id=46501220
We maintain a single VS Code setting that allows you to opt out of the AI features provided in VS Code: “chat.disableAIFeatures” (see also: https://code.visualstudio.com/updates/v1_104#_hide-and-disable-github-copilot-ai-features ). If you can still find AI features appearing after you have configured this setting, then please report an issue at https://github.com/microsoft/vscode and we are happy to take a look.
It is possible that from time to time a new AI related feature slips in that does not respect that setting, but we try our best to push fixes as soon as possible.
Thanks! Ben (VS Code Team)
bpasero
我们维护了一个单一的 VS Code 设置,允许您选择退出 VS Code 中提供的 AI 功能:"chat.disableAIFeatures"(另请参阅:https://code.visualstudio.com/updates/v1_104#_hide-and-disable-github-copilot-ai-features )。如果您在配置此设置后仍能发现 AI 功能出现,请到
https://github.com/microsoft/vscode 报告问题,我们很乐意为您处理。
偶尔可能会有一个不尊重该设置的新 AI 相关功能被引入,但我们会尽力尽快推送修复程序。
谢谢!Ben (VS Code 团队)
Total monthly number of StackOverflow questions ov… #
https://news.ycombinator.com/item?id=46483954
The fundamental value proposition of SO is getting an answer to a question
I read an interview once with one of the founders of SO. They said the main value stackoverflow provided wasn’t to the person who asked the question. It was for the person who googled it later and found the answer. This is why all the moderation pushes toward deleting duplicates of questions, and having a single accepted answer. They were primarily trying to make google searches more effective for the broader internet. Not provide a service for the question-asker or answerer.
Sad now though, since LLMs have eaten this pie.
josephg
Stack Overflow 的根本价值主张就是回答问题。
我曾读过一篇对 SO 创始人之一的采访。他们说,Stack Overflow 提供的主要价值并非提问者,而是那些后来搜索并找到答案的人。这就是为什么所有的社区管理都倾向于删除重复提问,并只保留一个最佳答案。他们当时的主要目标是让整个互联网上的谷歌搜索更有效,而不是为提问者或回答者提供一个服务。
但现在情况令人遗憾,因为大型语言模型(LLMs)已经抢占了这块蛋糕。
Maybe comments should explain ‘what’ (2017) #
https://news.ycombinator.com/item?id=46487171
The “what” vs “why” distinction breaks down when your code encodes domain knowledge that readers can’t infer from context.
I build accounting software and half my “what” comments are actually explaining business rules that would be impenetrable otherwise. Something like:
// Bank transfers appear as two transactions - a debit here and credit elsewhere // We match them by looking for equal-opposite amounts within a 3-day window That’s explaining “what” but also implicitly “why” - because that’s how double-entry works and that’s the tolerance banks allow for settlement delays. You can’t really extract that into a method name without it becoming absurd.
The Uncle Bob approach of extractNameMatchingTransfersWithinSettlementWindow() doesn’t actually help - now I need to know what settlement windows are anyway, and I’ve lost the context of why 3 days.
jackfranklyn
当你的代码封装了读者无法从上下文中推断出的领域知识时,“做什么”(what)与“为什么”(why)的区分就会失效。
我开发会计软件,我一半的“做什么”注释实际上是在解释那些否则会让人一头雾水的业务规则。比如:
// 银行转账会显示为两笔交易——一笔是借记,另一笔是贷记 // 我们通过在一个三天的窗口期内寻找金额相等、方向相反的交易来匹配它们
这解释了“做什么”,但也隐含了“为什么”——因为这就是复式记账法的工作原理,而且这也是银行允许的结算延迟的容差范围。你真的无法把它提取到一个方法名中,否则那个方法名会变得荒谬可笑。
采用 Uncle Bob 那种 extractNameMatchingTransfersWithinSettlementWindow() 的方法并没有真正帮助——反正我仍然需要知道什么是结算窗口,而且我还失去了为什么是“三天”这个上下文信息。
X blames users for Grok-generated CSAM; no fixes a… #
https://news.ycombinator.com/item?id=46503816
The number of people saying that it is not worthy of intervention that every single woman who posts on twitter has to worry about somebody saying “hey grok, take her clothes off” and then be made into a public sex object is maybe the most acute example of rape culture that I’ve seen in decades.
UncleMeat
认为每一位在推特上发帖的女性都必须担心有人对AI说“嘿,格罗克,脱掉她的衣服”,并将其变成一个公开的性玩偶,而不认为这种情况值得干预,这几十年来或许是我所见到过的最尖锐的强奸文化例证。
Web development is fun again #
https://news.ycombinator.com/item?id=46491236
I don’t know but to me this all sounds like the antithesis of what makes programming fun. You don’t have productivity goals for hobby coding where you’d have to make the most of your half an hour – that sounds too much like paid work to be fun. If you have a half an hour, you tinker for a half an hour and enjoy it. Then you continue when you have another half an hour again. (Or push into night because you can’t make yourself stop.)
yason
我不知道,但对我来说,这听起来完全背离了编程的乐趣所在。业余编程时,你不会有必须充分利用那半小时的生产力目标——这听起来太像工作了,根本不有趣。如果你有半小时,就捣鼓半小时,享受其中。等下回再有半小时,再继续。(或者熬夜,因为根本停不下来。)
Lessons from 14 years at Google #
https://news.ycombinator.com/item?id=46489683
I first learned about the “innovation tokens” idea in “Novelty is a loan you repay in outages, hiring, and cognitive overhead” from this, still one of my favorite essays on software architecture: https://boringtechnology.club/
Likewise, “Abstractions don’t remove complexity. They move it to the day you’re on call.” made me think of this 23 year old classic from Joel Spolsky, the Law of Leaky Abstractions: https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/
simonw
我最初是在《创新是笔你必须用中断、招聘和认知开销来偿还的贷款》这篇文章中了解到“创新令牌”这一概念的,这篇文章至今仍是我最喜欢的软件架构文章之一:https://boringtechnology.club/
同样地,“抽象不会消除复杂性,它们只是将其转移到了你值班的那一天”这句话,让我想起了 Joel Spolsky 23 年前的经典之作——《抽象泄漏定律》:https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/