2025-08-27

50 篇热帖

1. Dissecting the Apple M1 GPU, the end (rosenzweig.io)
  • 背景与开端:2020年,苹果发布搭载自研GPU的M1芯片。Asahi Linux项目随之启动,目标是在M系列Mac上运行功能完整的Linux。作者原本受邀提供开源驱动开发建议,但最终投身于对M1 GPU的逆向工程。
  • 技术攻坚历程:作者从研究着色器指令集起步,逐步实现了关键突破:绘制第一个三角形、开发着色器编译器、编写可运行的OpenGL驱动。经过多年持续的逆向工程与驱动优化,最终实现了在macOS和Asahi Linux上的完整3D图形加速支持。
  • 个人目标与成果:在完成大学学业后,作者设定了明确目标:完成M1驱动开发、实现符合行业标准的图形API。他成功带领或推动实现了:
    • 通过OpenGL 4.6、OpenGL ES 3.2、OpenCL 3.0一致性认证。
    • 首次在非苹果硬件上通过Vulkan 1.4一致性认证,打破了Vulkan不适于苹果硬件的论调。
    • 通过集成几何/曲面细分着色器模拟等关键功能,使Proton能在M1上运行Windows游戏。
  • 项目现状与作者去向:所有核心目标均已达成。驱动已上游化至Mesa开源项目,性能表现良好。基于其工作的Vulkan驱动也正被移植到macOS平台。作者已转向新的技术挑战(投身于Intel Xe GPU相关开发),Asahi Linux项目将由其团队继续维护。
2. We regret but have to temporary suspend the shipments to USA (olimex.wordpress.com)

Starting August 29th, new regulations have come into effect. Both DHL and UPS currently have no working solution, so on their advice, we are temporarily suspending all shipments to the USA effective immediately. The issue is that we are now required to collect all taxes and tariffs on U.S. shipments in advance. However, there is…

3. Nx compromised: malware uses Claude code CLI to explore the filesystem (semgrep.dev)

What is s1ngularity-repository? Nx is compromised and the malware steals wallets and API keys using Claude CLI or Gemini.

4. Claude for Chrome (www.anthropic.com)

We're piloting Claude in Chrome to test browser-based AI capabilities while addressing prompt injection risks and building the safety measures needed before wider release. ‍

5. Scientist exposes anti-wind groups as oil-funded. Now they want to silence him (electrek.co)

A report shows how fossil-funded legal groups file bogus lawsuits and spread disinfo about wind - then those lawyers threatened the authors.

6. Michigan Supreme Court: Unrestricted phone searches violate Fourth Amendment (reclaimthenet.org)

The justices drew a bright line through the data stream, declaring that your pocket-sized diary deserves more respect than a rummaged junk drawer.

7. Proposal to Ban Ghost Jobs (www.cnbc.com)

Eric Thompson grew so frustrated with ghost jobs that he created an advocacy group to propose federal legislation banning the practice.

8. Uncomfortable Questions About Android Developer Verification (commonsware.com)

Google announced a program that is proving to be unpopular among Android app development experts. I have questions.

9. Malicious versions of Nx and some supporting plugins were published (github.com)

GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

10. F-35 pilot held 50-minute airborne conference call with engineers before crash (www.cnn.com)

A US Air Force F-35 pilot spent 50 minutes on an airborne conference call with Lockheed Martin engineers trying to solve a problem with his fighter jet before he ejected and the plane plunged to the ground in Alaska earlier this year, an accident report released this week says.

11. The GitHub website is slow on Safari (github.com)

The Github website is extremely slow on Safari

12. SpaceX's giant Starship Mars rocket nails critical 10th test flight (www.space.com)

SpaceX's Starship megarocket took to the skies for the 10th time ever today (Aug. 26), on a bold test flight that marked a big bounceback from recent failures.

13. Word documents will be saved to the cloud automatically on Windows going forward (www.ghacks.net)

Microsoft Word documents will by default be saved to cloud storage going forward, and not to the local system.

14. Unexpected productivity boost of Rust (lubeno.dev)

Rust 意外的效率提升

尽管 Rust 以其陡峭的学习曲线而闻名,但本文探讨的是另一条不同的曲线:开发者生产力与项目规模之间的关系曲线

文章的核心观点在于,随着项目规模的增长,Rust 语言能够在长期内带来意外的生产力提升。这与 Rust 在初始学习阶段可能带来的挑战形成对比。作者旨在通过分析这条“生产力曲线”,说明 Rust 的设计和特性(如内存安全、强类型系统和强大的工具链)如何在大型、复杂的项目中转化为更高的开发效率、更少的运行时错误和更易于维护的代码库,从而证明其在长期项目开发中的价值。

15. QEMU 10.1.0 (wiki.qemu.org)

Anubis 是网站管理员用于保护服务器的一种工具,旨在防止 AI 公司过度抓取网站导致资源不可用。它采用工作量证明(Proof-of-Work)机制,类似 Hashcash 方案,通过增加计算成本使大规模抓取变得更昂贵。目前,Anubis 作为临时解决方案,以争取更多时间改进浏览器指纹识别和识别无头浏览器,从而避免向合法用户显示挑战页面。用户需要注意,Anubis 依赖现代 JavaScript 功能,因此建议禁用如 JShelter 之类的插件以确保正常访问。

16. VIM Master (github.com)

VIM Master: in-browser game that teaches core Vim motions and editing commands through short, focused levels. - GitHub - renzorlive/vimmaster: VIM Master: in-browser game that teaches core Vim motions and editing commands through short, focused levels.

17. Apple revokes EU distribution rights for an app on the Alt Store (torrentfreak.com)

Apple has inexplicably revoked the EU distribution rights for the iTorrent app, and left its developer in the dark without answers.

18. The Therac-25 Incident (2021) (thedailywtf.com)

A few months ago, someone noted in the comments that they hadn't heard about the Therac-25 incident. I was surprised, and went off to do an informal survey of developers I know, only to discover that only about half of them knew what it was without searching for it. I think it's important that everyone in our industry know about this incident, and upon digging into the details I was stunned by how much of a WTF there was. Today's article is not fun, or funny. It describes incidents of death and maiming caused by faulty software engineering processes. If that's not what you want today, grab a random article from our archive, instead.

When you're strapping a patient to an electron gun capable of delivering a 25MeV particle beam, following procedure is vitally important. The technician operating the Therac-25 radiotherapy machine at the East Texas Cancer Center (ETCC) had been running this machine, and those like it, long enough that she had the routine down.

19. Monodraw (monodraw.helftone.com)

Monodraw:Mac 平台强大的 ASCII 艺术编辑器

核心理念:Monodraw 是一款专为 macOS 设计的原生应用程序,旨在让用户利用纯文本的简单与强大,轻松创建各种文本艺术(ASCII art)。它支持创建图表、布局、流程图,并可视化算法、数据结构、二进制格式等。所有内容皆为文本,可轻松嵌入任何地方,同时也支持导出为 PNG 或 SVG 图像。

主要功能与工具

  1. 图表:用于增强技术文档(如代码、规范),通过易于理解的文本来可视化数据结构、算法和数据格式。
  2. 思维导图:结合纯文本与思维导图功能,允许在无限画布上自由移动文本,突破文本文件的线性结构限制。
  3. ER 图:支持数据库建模,使用 Crow's Foot 记法(三种变体)可视化描述数据模型。
  4. 横幅:内置 FIGlet,提供 148 种字体,可一键创建文本横幅,并支持交互式调整文本框大小、字体和对齐方式。
  5. 文本工具:基于自定义的 CoreText 文本引擎,提供对布局的精确控制,可调整对齐、位置、行扫描方向和行移动,并轻松添加边框。
  6. 线条工具:轻松连接形状,支持正交线和阶梯线,可设置虚线模式。附着点允许线条动态连接到其他形状。
  7. 矩形工具:创建各类边框,这是文本艺术中最常用的元素。可指定边框或背景,添加阴影,并使用自定义附着点精确定位线条。
  8. 绘图工具:包含铅笔、橡皮擦、油漆桶和取色器等基础工具,还支持在画布上叠加图像进行描摹。

高级与效率特性

  • 分组:可将多个形状组合成一个群组,便于整体复制和移动。
  • 参考线:提供对齐参考线,方便内容排列和尺寸调整。
  • 聚焦模式:可锁定或隐藏画布上的其他形状,专注于当前编辑的部分,并进行缩放。
  • 快捷键:所有功能均可通过快捷键高效访问,无需将手离开键盘。
  • 命令行界面:提供 CLI(仅限直接购买版本),可用于自动化生成文档(例如结合版本控制钩子),并能输出 JSON 格式以便程序化处理。

设计、兼容性与版本信息

  • 原生 macOS 设计:从文本布局引擎到界面均针对 macOS 优化,具备完善的撤销功能。
  • 系统要求:需要 macOS 11 Big Sur 或更高版本。旧版本系统可下载兼容的旧版 Monodraw(v1.3 需 macOS 10.10,v1.5 需 macOS 10.14)。
  • 版本差异:仅从官方网站下载并购买的直接版本包含命令行工具,Mac App Store 版本因沙盒限制不包含此功能。
  • 反馈与支持:可通过电子邮件或 Twitter 提供反馈。应用程序重视隐私,不收集任何用户数据,并提供教育优惠定价。
  • 附加资源:提供新闻资料包下载。
20. AI coding made me faster, but I can't code to music anymore (www.praf.me)

AI编程显著提升了我的生产力,但也带来了一个意想不到的代价:我无法再在编码时听音乐了。

过去那种明确要实现什么、有大致思路后,戴上耳机进入心流状态专注编码的过程——那种如搭乐高或徒步般线性推进的愉悦感——已被“提示工程”所取代。现在我需要撰写包含思路的提示词,让AI生成代码,然后审视输出、反复迭代优化。这个过程更为跳跃和零散:无法中途修正,只能评估结果,常需推倒重来。AI生成代码的速度极快,导致需要阅读和理解的代码量大增,我甚至调小了编辑器字体,因为更多时候是在高层次扫描文件,而非深入具体函数。

对我而言,四小时AI编码的认知负荷比传统编码更高。然而,这种负担是值得的,它让我拥有了惊人的开发速度。

这让我意识到,编程从来不是难点,它只是一种表达想法的媒介。随着AI模型进步,工作的抽象层次将不断提升,但将模糊想法转化为结构化思路,再转化为清晰输出的思维挑战依然存在,甚至可能加剧。总体而言,我对未来持乐观态度,尽管仍怀念过去能边编码边听音乐的时光。

(注:作者主要在业务逻辑繁重的后端代码库工作。对于前端代码和个人项目,AI编程效率更高,甚至能从各维度降低认知负荷。)

22. Show HN: I made an Animal Crossing style letter editor (acmail.idreesinc.com)

这是一个名为“Animal Crossing Letter Generator”的在线工具,由开发者制作并分享于Hacker News(Show HN)。其主要目的是提供一个像素完美的编辑器,让用户能够撰写风格类似《集合啦!动物森友会》中游戏的信件。

核心功能与特点:

  • 专用编辑器:专注于模拟《动物森友会》游戏中的信件书写界面与体验。
  • 像素艺术风格:强调“像素完美”,意在精确还原游戏中的视觉元素,如字体、纸张样式等。
  • 独立项目:这是一个开发者个人项目,旨在复刻游戏内的特定功能。

访问与预览: 该项目提供了一个在线访问链接。相关的预览截图已上传,展示了生成后的信件外观。

(总结完毕)

26. GNU Artanis – A fast web application framework for Scheme (artanis.dev)

GNU Artanis 是一个基于 Scheme 语言的快速 Web 应用框架,使用 GNU Guile(Scheme 的最佳实现之一)编写。

该框架的起源源于 GNU 团队讨论开发 GNU 网站的语言选择。尽管许多人倾向于 Python,但作者认为 GNU 的官方扩展语言是 Guile,因此建议启动一个新项目,用 Guile 提供 Web 框架。这一想法得到了 RMS(Richard Stallman)的赞同,但最初只是一个没有具体计划的概念。

几个月后,Guile 社区为庆祝 Guile2 两周年举办了一场 hack-potluck 竞赛(一个在几周内编写酷程序的比赛)。借此机会,Artanis 项目得以诞生并实现。

28. 15-Fold increase in solar thermoelectric generator performance (www.nature.com)

Solar thermoelectric generators (STEGs) have recently gained increasing attention. However, their widespread adoption has been limited due to the lack of high-efficiency thermoelectric materials and compact heat sinks for effective heat dissipation. To address these issues, we develop a spectral engineering and thermal management strategy that significantly increases STEG power generation by 15 times with only a 25% increase in weight. At the hot side, we transform a regular tungsten (W) to a selective solar absorber (W-SSA) through a femtosecond (fs)-laser processing technique, which enhances the solar absorption while minimizing the IR emissivity, obtaining >80% absorption efficiency at elevated temperatures. We also design a greenhouse chamber for W-SSA and achieved >40% reduction in convective heat loss. At the cold side, we apply the fs laser processing to transform a regular aluminum (Al) to a super-high-capacity micro-structured heat dissipator (μ-dissipator), which improves the cold-side heat dissipation through both radiation and convection, achieving twice the cooling performance of a regular Al heat dissipator. These spectral engineering and thermal management increase the temperature difference across the STEG, resulting in a substantial increase in output power. The high-efficiency STEG can find a wide range of applications, such as wireless sensor networks, wearable electronics, and medical sensors. A spectral engineering and thermal management strategy is developed to significantly increase STEG power generation. It consists of a fs-laser-treated W-SSA, a greenhouse chamber, and a fs-laser-treated μ-dissipator.

29. Why do people keep writing about the imaginary compound Cr2Gr2Te6? (www.righto.com)

I was reading the latest issue of the journal Science , and a paper mentioned the compound Cr 2 Gr 2 Te 6 . For a moment, I thought my knowl...

30. ASCIIFlow (asciiflow.com)

ASCIIFlow 是一个用于创建无限 ASCII 图表的工具,主要功能包括保存到 Google Drive、调整大小、自由绘制以及导出为文本或 HTML 格式。

31. How to slow down a program and why it can be useful (stefan-marr.de)

Making programs slower can be useful to find...

32. SQL Design Patterns (2010) (vadimtropashko.wordpress.com)

Counting (32 pages) Integer Generators (24 pages) Exotic Operators (40 pages) Constraints (19 pages) Trees (39 pages) Graphs (41 pages)

33. Bitwig Studio 6 details revealed, and editing gets a big boost (cdm.link)

We get it. After years of DAWs leapfrogging in similar directions, the new generation of music tools made it easier to start projects, get inspiration, and improvise. But sometimes they played catchup on editing and automation. Bitwig Studio 6's details are here, and it feels like editing automation, clips, and more are looking as fresh as those other tools, all in an updated UI. The beta is out now.

34. Bring Your Own Agent to Zed – Featuring Gemini CLI (zed.dev)

From the Zed Blog: Zed now lets you use the agent of your choice through the new Agent Client Protocol, starting with Google's Gemini CLI.

36. How do I get into the game industry (garry.net)

Every now and then someone tells me that their child loves video games and wants to get into the game industry, then asks me how...

37. Show HN: Vectorless RAG (github.com)

📑 PageIndex: Document Index for Vectorless, Reasoning-based RAG - PageIndex/cookbook/pageindex_RAG_simple.ipynb at main · VectifyAI/PageIndex

40. Pig lung transplanted into a human (www.sciencealert.com)

A genetically modified pig lung transplanted into a brain-dead human patient functioned for nine days in a new achievement that reveals both the promise and significant challenges of xenotransplantation.

41. Denmark summons top US diplomat over alleged Greenland influence operation (www.bbc.com)

The aim was reportedly to infiltrate Greenland's society and promote its secession from Denmark.

43. Delete tests (andre.arko.net)

We’ve had decades of thought leadership around testing, especially coming from holistic development philosophies like Agile, TDD, and BDD. After all that time and several supposedly superseding movements, the developers I talk to seem to have developed a folk wisdom around tests. That consensus seems to boil down to simple but mostly helpful axioms, like “include tests for your changes” and “write a new test when you fix a bug to prevent regressions”. Unfortunately, one of those consensus beliefs seems to be “it is blasphemy to delete a test”, and that belief is not just wrong but actively harmful.

44. Malleable Software (www.mdubakov.me)

In the AI era, the winners won’t be the tools you adapt to — they’ll be the tools that adapt to you.

Let's take Linear. It is a beautiful, well-designed, simple but inflexible tool with little room for AI to add value. AI thrives in messy, open-ended spaces where

45. Running our Docker registry on-prem with Harbor (dev.37signals.com)

On hosting images without the price tag.

46. Acoustic Panels as Wall Coverings in Star Trek: The Next Generation (www.ex-astris-scientia.org)

Different types of real-life acoustic tiles that appeared in Star Trek

47. What Are Traces and Spans in OpenTelemetry? (oneuptime.com)

Understand OpenTelemetry traces and spans with real code examples. Instrument Node.js/TypeScript apps for distributed tracing and faster debugging.

48. "Special register groups" invaded computer dictionaries for decades (2019) (www.righto.com)

Half a century ago, the puzzling phrase "special register groups" started showing up in definitions of "CPU", and it is still there. In this...

50. Thrashing (exple.tive.org)

这篇文章批评了工作场所中将多任务处理和注意力分散问题归咎于个人自控力的常见观点,指出这种看法是“受害者指责”。作者认为,员工多任务处理的真正原因是管理层分配了多个未优先排序的任务,且组织文化往往推崇响应中断而非专注。文章进一步指出,像Asana和Trello这样的项目管理工具并非真正的生产力工具,而是将管理责任推给员工的问责工具;真正的生产力工具(如版本控制、CI或专业软件)如果停止,工作会立即受阻。最后,作者强调,解决慢性分心和混乱问题的关键在于领导层承担定义和培养组织运营文化的责任,改变必须从领导层开始,而非依赖基层员工的个人行动。