2025-04-10

36 篇热帖

1. Trump temporarily drops tariffs to 10% for most countries (www.cnbc.com)

The U.S. stock market, which had suffered since President Trump unveiled his tariff plan, rose sharply after he announced a pause to allow negotiations.

2. Owning my own data, part 1: Integrating a self-hosted calendar solution (emilygorcenski.com)

The first part of what I hope to be an ongoing series about repatriating and owning my own data and tech. In this post, I describe how I integrated my own self-

3. DOJ will no longer prosecute cryptocurrency fraud (www.theverge.com)

In an internal memo, deputy attorney general Todd Blanche directed prosecutors to cease ‘regulation by prosecution’ and focus on crypto-funded terrorism instead.

4. Busy Bar (busy.bar)

Displays a personal busy message. Built-in Pomodoro timer and Apps. Fully customizable, open-source, and hacker-friendly

5. Sleep is essential – researchers are trying to work out why (www.nature.com)

A typical person spends more than 20 years in a state of dreamy semi-consciousness. But surprisingly little is known about why we need this down time. A typical person spends more than 20 years in a state of dreamy semi-consciousness. But surprisingly little is known about why we need this down time.

6. Firebase Studio (firebase.studio)

Firebase Studio is an entirely web-based workspace for full-stack application development, complete with the latest generative AI from Gemini, and full-fidelity app previews, powered by cloud emulators.

7. Usability Improvements in GCC 15 (developers.redhat.com)

GCC 15 brings better error messages and diagnostics for your code, including prettier execution paths and easier-to-read compiler errors for C++ templates.

9. .localhost Domains (inclouds.space)

该内容描述了如何配置本地自定义域名(如appname.localhost)来简化访问运行在本地计算机上的Web应用程序,避免记忆和输入复杂的localhost端口。系统工作原理基于三个关键步骤:首先,每个应用程序作为launchd守护进程监听唯一端口;其次,通过编辑/etc/hosts文件将自定义域名(如inclouds.localhost)重定向到127.0.0.1;最后,使用Caddy作为反向代理服务器,将流量从127.0.0.1转发到对应端口,并支持TLS和压缩功能。例如,对于端口5050的应用,配置包括在/etc/hosts中添加条目和在Caddyfile中设置反向代理规则。用户希望未来能简化安装和卸载过程,通过单个命令管理应用,而更新部分提到了cristóbal使用dnsmasq工具进一步优化该方法。整体目标是提升本地开发环境的便捷性和可管理性。

11. Hunt for Red October 1990 (2016) (www.modelshipsinthecinema.com)

Visual Effects Supervisor -  Scott Squires Visual Effects Director of Photography - Patrick Sweeney The effects for this movie were orig...

12. GPD Pocket 4 Speaker DSP: Configuring PipeWire so laptop speakers sound better (kittenlabs.de)

Configuring PipeWire to make laptop speakers sound better (Bankstown, Convolution/FIR, etc.)

13. Google Cloud Rapid Storage (cloud.google.com)

Announcing new optimized hardware options, plus software and consumption model updates.

14. Why Tap a Wheel of Cheese? (www.cheeseprofessor.com)

A tiny team of 24 "battitori," or tappers, is responsible for ensuring the quality of 4 million wheels of Parmigiano Reggiano produced annually.

15. America Is Backsliding Toward Its Most Polluted Era (www.theatlantic.com)

A third of Americans still breathe unhealthy air after decades of improvements—which the Trump administration wants to roll back.

16. Isaac Asimov describes how AI will liberate humans and their creativity (1992) (www.openculture.com)

Artificial intelligence may be one of the major topics of our historical moment, but it can be surprisingly tricky to define. Open Culture, openculture.com

18. Elliptical Python Programming (susam.net)

这篇文章通过一种夸张的艺术化Python编程风格,强调了代码可读性的重要性。

核心观点

  • 引用Python之禅格言,强调"应该有一种——最好只有一种——显而易见的方法"。
  • 展示了一种使用省略号(...)来构建数字和执行程序的非传统写法,例如用--(...==...)表示数字1。

技术演示

  1. 构建数字:展示了如何通过组合--(...==...)这类表达式来表示整数(如1、2、3)。
  2. 程序示例:提供了两段用此类风格编写的完整但难以阅读的代码。第二段代码用括号()替代了第一段中的省略号...,但功能完全相同,旨在说明风格选择只是表面差异。

主旨与警示

  • 代码为人而写:程序主要是为了人类阅读和维护,而非仅为机器执行。
  • 反对生产环境使用:明确强调这种晦涩的风格绝不适用于生产代码。它更像一种思维实验或艺术表达。
  • 可读性优先:即使是追求独特风格,若在复杂系统中使用,也应添加必要的日志等辅助信息以利于维护。

风格对比: 作者个人倾向于省略号风格,因为它避免了括号内的"空虚感",但最终回归到推崇清晰、常规编码实践的核心立场。

20. Hacker News Hug of Deaf (susam.net)

作者于2022年1月在Debian服务器上设置了一个简单的netcat循环实验,通过一个单行脚本接受来自Hacker News(HN)社区的任意连接。该脚本在每次客户端连接时执行三个操作:发送“ok”消息、立即关闭连接并使终端发出四次蜂鸣声。这个设计允许任何客户端(如浏览器、curlnc等)连接到端口8000触发提示音。

实验在24小时内获得了4761次连接,相当于19044次蜂鸣。作者将此视为一个有趣的探索,旨在与HN社区互动。随后在2025年4月,作者再次在HN分享了此实验,结果连接数大幅增加:14小时内达到352831次连接,来自1396个唯一客户端地址,产生超过141万次蜂鸣。其中大部分流量来自持续连接的客户端,单个客户端(代号C0276)就贡献了327209次连接。相比之下,仅491个客户端连接了一次。

实验展示了HN社区对简单创意的参与热情,从最初的数千次连接到后来的数十万次,体现了社区互动的放大效应。作者认为这类活动虽然没有实际问题解决目的,但为计算领域增添了探索乐趣。

21. SDL2 for macOS 9 “rough draft” (macintoshgarden.org)

This is SDL2, an extremely popular library used for building multimedia apps and games. For classic MacOS 7/8/9 m68k and ppc, using Retro68. CodeWarrior support is broken but could be fixed "relatively" easily. Also includes AmigaOS 3 for m68k support, and should work on related systems.

22. Show HN: Aqua Voice 2 – Fast Voice Input for Mac and Windows (withaqua.com)

Fast, accurate, and private speech-to-text. Use voice to write clean & natural text, contextually adjusted to every app. Powered by Avalon, the world’s most advanced transcription model.

23. Claude's Max Plan (www.anthropic.com)

Claude's new Max plan offers up to 20x higher usage limits and priority access to new features. Update: Four major upgrades to the max plan. (May 1, 2025) Today we're introducing the Max plan—designed for those who collaborate with Claude extensively and need expanded access for their most...

24. How Monty Python and the Holy Grail became a comedy legend (www.bbc.com)

Fifty years after Monty Python and the Holy Grail redefined comedy, stars Michael Palin and Terry Gilliam look back on the freedoms – and limitations – that shaped the film.

25. 2025 AI Index Report (hai.stanford.edu)

At Stanford HAI, we believe AI is poised to be the most transformative technology of the 21st century. But its benefits won’t be evenly distributed unless we guide its development thoughtfully.

26. Once lush Sahara was home to a surprisingly unique group of humans (www.sciencealert.com)

Currently a harsh, arid sandscape, it's hard to believe the Sahara was once studded with sparkling water bodies that nourished lush green savannas.

27. No Pay, No Work; Early Career Lessons (danielsada.tech)

Part 3 of my 12-year journey—what my first rocky job taught me about boundaries and value.

29. Baking the Y Combinator from Scratch (the-nerve-blog.ghost.io)

EDIT: Part 2 is up!

It's a pedagogical pet peeve of mine when technical concepts are simply listed in their fully developed state, with little in the way of motivation, derivation, or historical context. This, I think, is like publishing a cookbook filled with beautiful pictures of cakes, but no

30. Show HN: Koreo – A platform engineering toolkit for Kubernetes (koreo.dev)

Koreo is a new approach to Kubernetes configuration management empowering developers and platform teams through programmable workflows and structured data

31. Antiviral chewing gum to reduce influenza and herpes simplex virus transmission (penntoday.upenn.edu)

Researchers at Penn Dental Medicine and collaborators have used a clinical-grade antiviral chewing gum to substantially reduce viral loads of two herpes simplex viruses and two influenza A strains in experimental models.

32. Rebuilding Prime Video UI with Rust and WebAssembly (www.infoq.com)

Alexandru Ene features details of a new UI SDK in Rust for Prime Video that targets living room devices.

33. Arroyo (YC W23) has been acquired by Cloudflare (www.arroyo.dev)

Arroyo has been acquired by Cloudflare to bring serverless SQL stream processing to the Cloudflare Developer Platfrorm, integrated with Queues, Workers, and R2. The Arroyo Engine will remain open-source and self-hostable.

36. Show HN: Obelisk – a WASM-based deterministic workflow engine (obeli.sk)

Obelisk is a fast open-source durable and deterministic workflow engine powered by WebAssembly. Single binary, SQLite or Postgres, crash resilient.