2025-06-05

40 篇热帖

1. IRS Direct File on GitHub (chrisgiven.com)

2025年5月30日,美国国税局已将其直接报税软件(Direct File)的大部分代码作为开源软件发布在GitHub上。该项目属于美国政府作品,已进入公共领域。

此举表明国税局正履行《共享信息技术法案》下的义务,且比原计划提前三周完成。国税局团队此前曾解释,开源发布是为了通过接受独立审查来建立公众信任,展示其确保纳税人获得所有应享税收优惠的承诺。

通过构建最准确的报税选项、保障可及性与数据安全,以及现在公开共享代码,直接报税团队体现了获取纳税人信任的持续努力。

注:作者已离职国税局,本文仅代表其个人观点。

2. After court order, OpenAI is now preserving all ChatGPT user logs (mastodon.laurenweinstein.org)

根据法庭命令,OpenAI现在开始保留所有ChatGPT用户的对话日志。这一变化意味着,无论是用户主动删除的对话,还是涉及敏感信息的对话,都将被记录和存储。

4. Apple Notes Will Gain Markdown Export at WWDC, and, I Have Thoughts (daringfireball.net)

Apple Notes 将在WWDC上获得Markdown导出功能

消息来源

据9to5Mac的独家报道,苹果正在开发为Apple Notes添加Markdown导出功能。该功能预计将在下周的WWDC上公布。

功能性质澄清

报道强调,这是一个导出功能,而非将Apple Notes转变为像Bear或Obsidian那样的Markdown编辑器。用户仍然在Notes的富文本界面中编辑,但可以将内容导出为Markdown格式。

作者对Markdown的观点

  • Markdown的原始定义是“一个面向网络写作者的文本转HTML转换工具”,是HTML的简化记法系统。
  • 其另一个重要用途是在需要保存为纯文本的场景中。
  • 作者个人仅将其用于网络文章写作,而非日常笔记记录。

反对将Notes变为Markdown编辑器的理由

  1. 易出错性:Markdown语法容易出现格式错误,而Apple Notes不应允许出现格式错误的笔记。
  2. 设计理念不符:Apple Notes提供所见即所得的富文本编辑界面,符合其“快速记录”而非“精心创作”的定位。它无需预览或切换编辑模式。
  3. 用户体验:Notes的有限格式选项(如标题、列表)简单易用,不应变得“极客化”。

对Markdown导出功能的评价

  • 认为此功能“听起来很棒”。
  • 指出目前Apple Notes的导出选项(PDF和Pages)较为简陋,增加Markdown导出将是一个有价值的改进。
  • 同时提出疑问:若此功能为真,苹果将如何处理笔记中图像的导出。

附带批评:关于标签系统

作者借机批评了Apple Notes使用**#标签**的做法。他认为这不如Finder中真正的、可分词的标签系统(支持空格和大写),并认为带#前缀的标签显得“丑陋且极客化”。

5. A proposal to restrict sites from accessing a users’ local network (github.com)

A proposal to restrict sites from accessing a users' local network without permission - WICG/local-network-access

6. Curtis Yarvin's Plot Against America (www.newyorker.com)

A Profile of Curtis Yarvin, the right-wing thinker behind the Substack “Gray Mirror,” who has been embraced by J. D. Vance, Marc Andreessen, Peter Thiel, and other supporters of Donald Trump. Ava Kofman reports.

7. The iPhone 15 Pro’s Depth Maps (tech.marksblogg.com)

Benchmarks & Tips for Big Data, Hadoop, AWS, Google Cloud, PostgreSQL, Spark, Python & More...

11. VC money is fueling a global boom in worker surveillance tech (restofworld.org)

Startups are deploying employee tracking tools in low-regulation markets with help from Silicon Valley venture capital.

13. My first attempt at iOS app development (mgx.me)

A week ago, I knew absolutely nothing about Swift. Today, I have a working iOS app sitting on my Mac and my test device

14. Air Lab – A portable and open air quality measuring device (networkedartifacts.com)

Try the Air Lab firmware in your browser — simulate environments, explore sensors, and download sample data without hardware.

15. Endangered classic Mac plastic color returns as 3D-printer filament (arstechnica.com)

Mac fan paid $900 to color-match iconic Apple beige-gray "Platinum" plastic for everyone.

16. Apple Notes Expected to Gain Markdown Support in iOS 26 (www.macrumors.com)

Apple's Notes app is rumored to be getting limited Markdown support in iOS 26 and macOS 26, according to 9to5Mac. The feature would allow users to export text in the markdown format. Markdown is a lightweight markup language that some writers prefer to use over rich text. Rather than using HTML for bold, italics, links, and headers, Markdown uses quick character shortcuts like bold or #header.

17. Show HN: I made a 3D SVG Renderer that projects textures without rasterization (seve.blog)

How can you make affine transformations (the only ones SVGs are capable of) resemble perspective transformations?

18. We are no longer a serious country (paulkrugman.substack.com)

美国曾被视为全球金融体系中最可靠的国家,美国国债长期被投资者视为终极安全资产。然而,当前情况正在发生变化。市场开始对美国的信用可靠性产生怀疑,这体现在利率上升与美元走弱同时出现的反常现象——这种模式通常只在新兴市场的信心危机中出现。

这种转变的核心原因并非美国的债务规模,而是其政治过程的严肃性受到质疑。当前政策制定过程表现出缺乏规划、反复无常和极度不专业的特点。例如:

  1. 关税政策:特朗普政府宣布的高额关税政策仅一周后就被完全不同的方案取代,决策过程缺乏连续性和审慎规划。
  2. 预算法案:一项名为“一项宏伟美丽法案”的重大立法正在国会快速推进,几乎未经过听证或独立分析,并且因其包含的争议性条款(如针对外国投资者的“复仇税”条款和将短期债务强制转换为长期债券的提议)而引发担忧。独立机构的分析遭到执政党的政治化攻击。
  3. 决策可靠性:关键决策受总统核心圈内个人行为的影响,进一步削弱了政策的可预测性。

文章援引历史数据指出,美元与利率之间的传统关系已被打破,并以墨西哥“龙舌兰危机”期间的类似市场反应作为类比。作者认为,国际投资者目前或许仍在犹豫,但美国这种“不严肃”的国家治理模式最终可能导致资本外流的“残酷觉醒”。财政部长关于美国“永不违约”的声明,恰恰反映了需要为此辩护的困境本身。

21. A Spiral Structure in the Inner Oort Cloud (iopscience.iop.org)

A Spiral Structure in the Inner Oort Cloud, Nesvorný, David, Dones, Luke, Vokrouhlický, David, Levison, Hal F., Beaugé, Cristian, Faherty, Jacqueline, Emmart, Carter, Parker, Jon P.

22. Amelia Earhart's Reckless Final Flights (www.newyorker.com)

An excerpt of “The Aviator and the Showman,” a new book by Laurie Gwen Shapiro about the marriage between Amelia Earhart and George Palmer Putnam and her attempt to fly around the world with Fred Noonan.

23. Comparing Claude System Prompts Reveal Anthropic's Priorities (www.dbreunig.com)

Reviewing the few changes in the Claude 4.0 system prompts, we get a sense for how system prompts program chatbot applications.

24. Redesigned Swift.org is now live (swift.org)

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.

27. How Compiler Explorer Works in 2025 (xania.org)

How we handle 92 million compilations a year without everything catching fire

28. Panjandrum: The ‘giant firework’ built to break Hitler's Atlantic Wall (www.bbc.com)

二战期间,为突破纳粹德国为抵御盟军登陆而修建的“大西洋壁垒”,盟军工程师内维尔·舒特·挪威及其团队提出了一项名为“Panjandrum”的非传统武器构想。该构想源于为克服迪耶普突袭等行动中暴露的港口防御难题,旨在将一吨炸药精准投送至坚固的混凝土海墙并将其炸开。

其设计灵感来自烟花“凯瑟琳轮”,最终形态是一个巨大的、类似电影卷轴的装置,由两个直径约3米的轮子、中心的炸药钢罐及环绕轮子的火箭推进器组成,计划通过遥控火箭点火驱动,以超过每小时60英里的速度冲上沙滩,撞击障碍与墙体。

然而,多次测试均告失败。1943年至1944年初进行的测试中,火箭脱落导致装置失控,甚至发生冲向围观人群和摄影师的惊险场面。最终,在D日前五个月,该项目因无法在短期内改进以满足实战要求而被废弃。

尽管Panjandrum本身失败,但其“无人遥控运送巨量炸药”的概念在某种程度上预见了现代无人机战争。与此同时,盟军在D日实际使用了其他改装坦克等非传统武器(称“趣味”)成功突破了防线。

战后,部分非军事人士曾尝试重建小型化Panjandrum,例如2009年为节日制作的版本在安全性与可控性上有所改善,但原型固有的稳定性难题依然存在。此外,亦有观点认为Panjandrum的公开测试本身可能就是一项旨在迷惑德军的情报行动。

29. When memory was measured in kilobytes: The art of efficient vision (www.softwareheritage.org)

Back when RAM was precious, clever code reigned. Take a peek into early computer vision's elegant solutions.

30. 10 Years of Betting on Rust (tably.com)

I wrote my first line of Rust in June 2015, a month after Rust 1.0 landed. Coming from C, Python, and JavaScript, I never looked back. Two Rust-based startups and 500k lines of Rust later, here are some reflections on the milestone.

31. parrot.live (github.com)

🐦 Bringing animated parrots to terminals everywhere - hugomd/parrot.live

32. Old payphones get new life, thanks to Vermont engineer (www.core77.com)

Payphones "were the only things that were built to last for decades and be out in the elements," says electrical engineer Patrick Schlott. He should know; as a hobby, he buys secondhand payphones, rewires them, then asks local businesses in rural Vermont if they'd let him install them. His goal

33. From tokens to thoughts: How LLMs and humans trade compression for meaning (arxiv.org)

Abstract page for arXiv paper 2505.17117: From Tokens to Thoughts: How LLMs and Humans Trade Compression for Meaning

34. Startup Equity 101 (quarter--mile.com)

Startup Equity 101 I am writing this essay because I believe that money is both useful and worth thinking as little as possible about. No one I know joins a...

36. Show HN: GPT image editing, but for 3D models (www.adamcad.com)

Adam is an AI CAD agent that helps mechanical engineers build hardware faster in their favourite platforms.

37. Efficient mRNA delivery to resting T cells to reverse HIV latency (www.nature.com)

A major hurdle to curing HIV is the persistence of integrated proviruses in resting CD4+ T cells that remain in a transcriptionally silent, latent state. One strategy to eradicate latent HIV is to activate viral transcription, followed by elimination of infected cells through virus-mediated cytotoxicity or immune-mediated clearance. We hypothesised that mRNA-lipid nanoparticle (LNP) technology would provide an opportunity to deliver mRNA encoding proteins able to reverse HIV latency in resting CD4+ T cells. Here we develop an LNP formulation (LNP X) with unprecedented potency to deliver mRNA to hard-to-transfect resting CD4+ T cells in the absence of cellular toxicity or activation. Encapsulating an mRNA encoding the HIV Tat protein, an activator of HIV transcription, LNP X enhances HIV transcription in ex vivo CD4+ T cells from people living with HIV. LNP X further enables the delivery of clustered regularly interspaced short palindromic repeats (CRISPR) activation machinery to modulate both viral and host gene transcription. These findings offer potential for the development of a range of nucleic acid-based T cell therapeutics. Resting T cells are difficult to manipulate, and are a reservoir for latent HIV. Here, the authors develop a lipid nanoparticle formulation with the ability to transfect resting primary human T cells, enabling delivery of mRNAs that result in reactivation of latent HIV. This could help development of HIV cure strategies.

38. Ada and SPARK enter the automotive ISO-26262 market with Nvidia (www.adacore.com)

AdaCore 与 NVIDIA 合作,将 Ada 和 SPARK 编程语言引入汽车市场,以支持 ISO-26262 标准下的软件开发。NVIDIA 开发了 Drive® OS,这是一个专为自动驾驶应用设计的参考操作系统和软件栈,运行于 DRIVE AGX 硬件上。该系统的部分关键组件符合 ISO-26262 的最高完整性级别,NVIDIA 选择了 Ada 和 SPARK 来开发这些组件,充分利用其形式化方法和其他安全特性。两家公司已发布一个开源的参考流程,允许行业自由采用或定制该流程。AdaCore 首席产品和收入官 Quentin Ochem 强调,随着汽车行业从机械特性转向软件特性,实现最高级别的软件安全至关重要,NVIDIA 展示了技术领导力。参考流程可在 https://nvidia.github.io/spark-process/https://github.com/NVIDIA/spark-process 免费获取。

39. Cheap yet ultrapure titanium might enable widespread use in industry (2024) (phys.org)
Titanium is the ninth most abundant element in the Earth's crust, yet products based on pure titanium are uncommon because it's expensive to remove the oxygen from titanium ore. Reducing costs would encourage manufacturers to take advantage of the highly useful properties of titanium in their products.
  
40. Phptop: Simple PHP ressource profiler, safe and useful for production sites (github.com)

Phptop: 简单PHP资源分析器

Phptop 是一款简单的PHP资源分析器,专为生产环境设计,安全可靠。它由Bearstech开发并维护,自2009年至2024年持续使用。

主要功能

  • 提供类似 time 命令的指标,包括墙钟时间(wallclock)、用户CPU时间(User)、系统CPU时间(Sys)以及内存使用情况。
  • 打印每个查询和平均指标,便于监控PHP脚本的性能。
  • 支持显示URL、命中次数(Hit)、时间(Time)、CPU时间和内存使用(如Mem/hit和Mem_max)。

关键特性

  • 安全且生产友好:已在Bearstech的许多生产服务器上使用多年,未出现问题。
  • 易于部署:只需在php.ini中添加一行配置(例如 auto_prepend_file=/path/to/phptop_hook.php),然后重新加载Web服务器(如Apache或PHP-FPM)即可全局激活。
  • 低资源消耗:分析器自身需要很少的系统资源。
  • 兼容性:要求PHP版本≥5.2.0,已测试至PHP 8.2。

使用方法

  1. 配置php.ini:添加 auto_prepend_file 指向phptop_hook.php文件。
  2. 重新加载Web服务器以应用更改。
  3. 等待几分钟收集数据后,运行 phptop 命令(例如 phptop -s mem 按内存排序查看输出)。
  4. 查看输出表格,包括URL、命中次数、时间指标和内存使用详情。

示例输出

输出示例展示了多个URL的性能数据,例如:

  • URL、命中次数、总时间、用户CPU时间、系统CPU时间、每命中内存使用和最大内存使用。
  • 最后一行显示总统计(如总命中次数、总时间等)。

附加信息

  • 详细操作细节和所有选项可参考手册页。
  • 项目贡献者包括Marc Dequènes(别名Duck)。