2025-08-09

41 篇热帖

1. Show HN: The current sky at your approximate location, as a CSS gradient (sky.dlazaro.ca)

该项目是一个为 HTML Day 2025 创建的趣味网页演示。它根据访问者的大致地理位置,将当前真实天空的状况(如昼夜、天气状况)转化为一种视觉化的 CSS 线性渐变背景。

其核心功能是实时性与动态性

  1. 位置与时间感知:利用地理定位获取大致位置,再结合时间(昼夜)来模拟天空。
  2. 自动更新:页面使用 meta http-equiv="Refresh" 标签,实现每分钟自动刷新一次,从而动态变化天空渐变效果,反映时间流逝带来的光线变化。
  3. 极简实现:整个视觉效果完全通过一个 CSS linear-gradient 属性来实现,展现了仅用简洁的 Web 技术(HTML + CSS)就能创造出生动视觉体验的能力。

该项目巧妙地将外部数据(位置与时间)与纯 CSS 样式相结合,是一个富有创意和诗意的前端实践。

2. I want everything local – Building my offline AI workspace (instavm.io)

Building a completely offline AI workspace with local LLMs, sandboxed code execution, and browser automation — no cloud dependencies, maximum privacy.

3. Jim Lovell, Apollo 13 commander, has died (www.nasa.gov)

阿波罗13号指挥官吉姆·洛弗尔逝世

前NASA宇航员、阿波罗13号指挥官吉姆·洛弗尔于8月7日在伊利诺伊州莱克福里斯特去世,享年97岁。

NASA的哀悼与评价 NASA代理局长肖恩·达菲发表声明,对洛弗尔的家人表示哀悼。声明称,洛弗尔的品格和坚定的勇气帮助美国实现了登月壮举,并将一次潜在的悲剧转变为宝贵的学习经历,其成就激励了数代人。

主要太空任务贡献

  • 双子座计划: 洛弗尔通过两次开创性的双子座任务,为美国在太空领域开辟了历史性道路。
  • 阿波罗8号: 作为指令舱驾驶员,他与机组成员首次乘坐土星五号火箭升空并环绕月球飞行,证明了登月任务的可行性。
  • 阿波罗13号: 担任指挥官期间,他在危机时刻展现出冷静与沉着,带领机组安全返回地球。此次任务中展现的快速思维和创新精神为后续NASA任务提供了重要经验。

个人特质与背景 洛弗尔以其机智著称,因总能快速给出幽默回应,被同事昵称为“微笑的吉姆”。他曾在美国海军服役,是一名优秀的海军学院毕业生和试飞员。

NASA表示,洛弗尔体现了过去与未来探索者的大胆决心和乐观精神,并将永远被铭记。

5. The surprise deprecation of GPT-4o for ChatGPT consumers (simonwillison.net)

I’ve been dipping into the r/ChatGPT subreddit recently to see how people are reacting to the GPT-5 launch, and so far the vibes there are not good. This AMA thread …

7. My Lethal Trifecta talk at the Bay Area AI Security Meetup (simonwillison.net)

I gave a talk on Wednesday at the Bay Area AI Security Meetup about prompt injection, the lethal trifecta and the challenges of securing systems that use MCP. It wasn’t …

9. Long-term exposure to outdoor air pollution linked to increased risk of dementia (www.cam.ac.uk)

Dementias such as Alzheimer's disease are estimated to affect more than 57.4 million people worldwide, a number that is expected to almost triple to 152.8 million cases by 2050. The impacts on the individuals, families and caregivers and society at large are immense. While there are some indications that the prevalence of dementia is decreasing in Europe and North America, suggesting that it may be possible to reduce the risk of the disease at a population level, elsewhere the picture is less promising.

11. Let's properly analyze an AI article for once (nibblestew.blogspot.com)

Recently the CEO of Github wrote a blog post called Developers reinvented . It was reposted with various clickbait headings like  GitHub CEO...

12. Multimodal WFH setup: flight SIM, EE lab, and music studio in 60sqft/5.5M² (www.sdo.group)

Multimodal work-from-home environment on 60sqft: how much functionality can you fit into a really, really tiny space while still keeping it light?

13. Stanford to continue legacy admissions and withdraw from Cal Grants (www.forbes.com)

Stanford University is withdrawing from a state financial aid program, as it decides to continue considering the legacy status of applicants for fall 2026 admissions.

14. Jan – Ollama alternative with local UI (github.com)

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. - janhq/jan

15. The dead need right to delete their data so they can't be AI-ified, lawyer says (www.theregister.com)

: Not everyone wants to be simulated after they're gone

16. Dial-up Internet to be discontinued (help.aol.com)

Learn about why dial up internet has been discontinued.

17. Bezier-rs – algorithms for Bézier segments and shapes (graphite.rs)

Bezier-rs – Bézier线段与形状的算法库

Bezier-rs 是一个使用 Rust 编写的开源库,专注于为二维 Bézier 曲线提供全面、高效的算法实现。它旨在为图形应用、字体设计、CAD 软件等处理矢量路径的场景提供基础工具。

核心功能

该库的功能主要围绕 Bézier 曲线的各种数学运算和几何操作展开,可大致分为以下几类:

  1. 基础构造与属性:支持创建和操作线性、二次、三次以及有理 Bézier 曲线。提供获取曲线长度、范围、导数等基本属性的方法。
  2. 几何操作
    • 分割:根据参数或长度比例分割曲线。
    • 裁剪:使用另一条曲线或边界框对曲线进行裁剪。
    • 变形:包括平移、旋转、缩放以及对曲线进行偏移(平行轮廓)等。
    • 简化:通过移除冗余点来简化路径。
  3. 数学运算
    • 求交点:计算两条 Bézier 曲线之间的交点。
    • 最近点:查找曲线上离给定点最近的点。
    • 包围盒计算:计算曲线的轴对齐包围盒(AABB)。
    • 曲率与旋转:计算曲线在特定点的曲率、切线与法线。
  4. 形状(闭合路径)操作:除了处理单一曲线段,库也支持由多条曲线段组成的闭合形状,并为这些形状提供交集、并集、差集等布尔运算。
  5. 子曲线与拟合:支持从曲线中提取子段,以及将一组点拟合成 Bézier 曲线。

互动演示与文档

项目提供了一个基于 Web 的互动演示站点,开发者可以直观地测试库中的大部分功能。该演示支持交互式编辑控制点、实时预览操作结果(如交点、偏移轮廓、布尔运算结果等),并可生成对应的 Rust 代码,极大地降低了学习和使用门槛。

项目状态与使用

  • 开发状态:项目仍在积极开发中,部分功能(特别是复杂形状的布尔运算)尚未完全稳定或完善。
  • 依赖与兼容性:作为一个 Rust 库,它通过 Cargo 进行管理。该库的核心算法设计为与具体的图形后端(如 SVG、WGPU 等)无关。
  • 贡献指南:项目欢迎社区贡献,包括代码、文档和问题反馈。

许可证

Bezier-rs 采用 Apache License, Version 2.0 开源许可证发布。

18. Did California's fast food minimum wage reduce employment? (www.nber.org)

Founded in 1920, the NBER is a private, non-profit, non-partisan organization dedicated to conducting economic research and to disseminating research findings among academics, public policy makers, and business professionals.

19. Sandstorm- self-hostable web productivity suite (sandstorm.org)

Take control of your web by running your own personal cloud server with Sandstorm.

20. What the Windsurf sale means for the AI coding ecosystem (ethanding.substack.com)

what the windsurf sale means for the ai coding ecosystem

22. Build durable workflows with Postgres (www.dbos.dev)

In this blog post, we’ll dive deep into why we chose to build DBOS durable workflow execution on the PostgreSQL DBMS.

23. A Spellchecker Used to Be a Major Feat of Software Engineering (prog21.dadgum.com)

这篇文章对比了1984年为MS-DOS文字处理器开发拼写检查器的复杂性与当今实现同一功能的简单性。

在1984年,PC内存极其有限(通常为256K至640K),而一个完整的词典文件就超过2MB。开发拼写检查器面临严峻挑战:

  • 内存限制:即使将每个词压缩为一个字节,也无法将完整词典放入内存。
  • 存储限制:词典需要压缩到360K的软盘上,且不能假定用户有硬盘。
  • 解决方案复杂:程序员需要采用复杂的数据压缩技术(如高效trie结构)、仅加载最常用词子集、结合磁盘索引等方法,并可能缩减词库规模(如从20万词减至2-5万词)。这些方法需要数月专注开发。

如今,加载词典到哈希表并进行查询只需几行高级语言代码(如Python或Perl),基本功能实现变得极为简单。文章以此突出技术进步使曾经艰巨的工程问题变得轻而易举。

24. Efrit: A native elisp coding agent running in Emacs (github.com)

A native elisp coding agent running in Emacs. Contribute to steveyegge/efrit development by creating an account on GitHub.

26. Partially Matching Zig Enums (matklad.github.io)

A short post about a neat little Zig idiom. Consider your average {sum type, variant, tagged union, enum, alt}:

28. An engineer's perspective on hiring (jyn.dev)

hiring in tech is broken and everyone knows it. what can we do better?

29. RISC-V single-board computer for less than 40 euros (www.heise.de)

A slimmed-down version of the StarFive Vision Five 2 with a RISC-V quad core is available from 20 US dollars net. There are still problems with the software.

30. A message from Intel CEO Lip-Bu Tan to all company employees (newsroom.intel.com)

A message from Intel CEO Lip-Bu Tan to all company employees.

31. Blender is Native on Windows 11 on Arm (www.thurrott.com)

With all the major applications now available natively on Windows 11 on Arm, Qualcomm is working with developers to fill in the gaps.

32. Our European search index goes live (blog.ecosia.org)

We’re delivering search results from our European-based index. This will help us build the kind of ethical and fair internet we believe in.

33. ESP32 Bus Pirate 0.5 – A hardware hacking tool that speaks every protocol (github.com)

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol - GitHub - geo-tp/ESP32-Bit-Pirate: A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

34. Someone keeps stealing, flying, fixing and returning this man's 1958 Cessna (www.latimes.com)

Someone has stolen Jason Hong's 1958 Cessna Skyhawk plane at least four times. It has been taken for joyrides then returned to SoCal airports. Hong, and police, are baffled.

35. Open SWE: An open-source asynchronous coding agent (blog.langchain.com)

Open SWE is an open-source, cloud-hosted coding agent that autonomously handles GitHub tasks—planning, coding, testing, and opening PRs.

37. M5 MacBook Pro No Longer Coming in 2025 (www.macrumors.com)

Apple does not plan to refresh any Macs with updated M5 chips in 2025, according to Bloomberg's Mark Gurman. Updated MacBook Air and MacBook Pro models are now planned for the first half of 2026. Gurman previously said that Apple would debut the M5 MacBook Pro models in late 2025, but his newest report suggests that Apple is "considering" pushing them back to 2026. Apple is now said to be "internally targeting" a launch early next year.

38. All known 49-year-old Apple-1 computer (www.apple1registry.com)

The Apple-1 Registry - List of all known original Apple-1 computer with additional information

39. The Framework Desktop is a beast (world.hey.com)

I've been running the Framework Desktop for a few months here in Copenhagen now. It's an incredible machine. It's completely quiet, even under heavy, stress-all-cores load. It's tiny too, at just 4.5L of volume, especially compared to my old beautiful but bulky North tower running the 7950X — yet it's faster! And finally, it's simply f...