2026-06-15

34 篇热帖

2. Curl will not accept vulnerability reports during July 2026 (daniel.haxx.se)

curl 项目宣布 2026 年 7 月暂停接收漏洞报告

curl 项目宣布,整个 2026 年 7 月期间将不接收、不处理任何漏洞报告,并将此计划称为 “curl 之悦夏”(curl summer of bliss)。

具体时间安排

  • 暂停起始:2026 年 7 月 1 日 00:00 CEST
  • 恢复接收:2026 年 8 月 3 日 09:00 CEST

自 7 月 1 日起,curl 在 HackerOne 上的漏洞提交表单将被暂停。在此期间,安全团队也不会处理通过安全邮件地址发送的漏洞报告。项目方强调,curl 日常就不接受通过邮件提交的漏洞报告,这一规则在假期期间及之后均保持不变。

背景与目的

项目方表示,过去约四个月里,维护团队一直处于巨大压力之下,因此需要利用夏季减少外界压力,获得真正的休息。维护者计划在 7 月放松身心、享受夏日,也可能利用这段时间修复 bug 或进行新代码开发。

对发布计划的影响

为留出更多时间处理 8 月初可能积压的问题,curl 8.22.0 的发布日期被推迟两周,新的发布日期定为 2026 年 9 月 2 日

其他说明

  • GitHub 正常运作:curl 在 GitHub 上的 issue 和 pull request 追踪器在 7 月期间仍将照常开放和活跃。
  • 商业支持不受影响:拥有付费支持合同的客户在 7 月期间仍将获得完整且适当的服务。
  • 紧急情况处理:若出现紧急安全事件,无商业支持合同的报告者需等到 8 月再处理;如希望提前响应,可购买支持合同。
  • 倡议:项目方鼓励其他开源项目也加入“2026 悦夏”计划,将维护者的身心健康与自我照顾放在首位。
3. What the Fuck Happened to Nerds (mrmarket.lol)

<p>I've befriended some of the most thoughtful, brilliant, curious, eccentric, and sincere people I've ever met in the tech industry. Many of my dearest frie...

4. Show HN: Kage – Shadow any website to a single binary for offline viewing (github.com)

Shadow any website for offline viewing, with the JavaScript stripped out - tamnd/kage

5. CrankGPT (crankgpt.com)

CrankGPT — a human-powered, fully local, fully private AI. Crank to power offline AI models that run anywhere.

6. Apple Foundation Models (platform.claude.com)

Apple Foundation Models(Claude for Foundation Models)概述

该 Swift 包将 Claude 作为服务端语言模型接入 Apple 的 Foundation Models 框架。它使 Claude 遵循框架的 LanguageModel 协议,开发者可使用与 Apple 端侧模型完全一致的 LanguageModelSession API(如 respond(to:)、流式响应、引导生成、工具调用)来驱动 Claude。

请求直接从应用发送到 Claude API,Apple 不处于请求路径中,也无法查看提示与响应。调用费用按标准 API 定价计入 Anthropic 账户。应用可自主决定使用 Claude 还是端侧模型——只需在创建会话时传入不同的模型实例即可。

现状与要求
目前为 Beta 阶段,面向 iOS 27、macOS 27、visionOS 27 与 watchOS 27(均需 Beta 版)以及 Xcode 27 Beta。该包并非通用版 Messages API 客户端,其公开接口仅限于 Foundation Models 提供商适配层及相关配置类型。

安装
通过 Swift Package Manager 添加依赖(仓库地址:https://github.com/anthropics/ClaudeForFoundationModels.git),然后在目标中引入并同时导入 FoundationModelsClaudeForFoundationModels

快速开始与模型选择
入口类型为 ClaudeLanguageModel,将其传入 LanguageModelSession 即可发起对话:

let model = ClaudeLanguageModel(name: .sonnet4_6, auth: .apiKey("..."))
let session = LanguageModelSession(model: model)
let response = try await session.respond(to: "Plan a 4-day trip to Buenos Aires.")

模型由 ClaudeModel 定义,包含带能力描述的编译期常量(例如 .opus4_8 对应 claude-opus-4-8)。若需使用尚未内置的模型 ID,可手动实例化 ClaudeModel 并显式声明其支持的能力(采样参数、努力级别、图像输入等)。

努力级别与使用建议
可通过 fixedEffort 参数固定 Claude 的努力级别(支持 .xhigh.max 等),该值优先于框架本身的推理提示,API 默认按 high 处理。端侧模型速度快、隐私性好且可离线运行,适合轻量任务;当需要更大上下文容量、前沿推理能力或服务端工具时,应切换至 Claude。

认证

  • 开发:使用 .apiKey("...") 直接传入密钥,但仅限开发,因为密钥可能从发布包中被提取。
  • 生产:使用 .proxied(headers:) 将请求路由到自有后端代理,由服务端附加 Claude API 凭证。支持自定义 baseURL 与请求头,应用端无需携带密钥。

流式与结构化输出
streamResponse(to:) 支持流式返回,每个元素为截至当前的累积快照(非增量 delta)。
结构化输出需将类型标记为 @Generable,并在请求时通过 generating: Type.self 指定;若所选模型不支持,会显式抛出 LanguageModelError.unsupportedGenerationGuide

工具使用

  • 客户端工具:通过框架标准的 tools: 数组传入,由设备端在本地执行。
  • 服务端工具:在初始化 ClaudeLanguageModel 时通过 serverTools: 配置,支持网络搜索(.webSearch)、网页获取(.webFetch)和代码执行(.codeExecution)。这些工具在 Anthropic 基础设施上运行,单次往返完成,设备端无感。支持设置 allowedDomainsblockedDomainsmaxUses

图像与错误处理
只要模型能力包含视觉输入,即可通过框架标准 API 传入图像,包会自动转换为 Claude API 格式。
错误被映射为 Apple 的 LanguageModelError:上下文超限映射为 .contextSizeExceeded、HTTP 429 映射为 .rateLimited、超时映射为 .timeout;无对应框架错误的则包装为 ClaudeError。常见做法是在遇到 .rateLimited 时回退到 SystemLanguageModel 或提供重试机制。

功能限制
受限于 Apple 协议,以下能力暂不支持:提示缓存的手动控制(包会自动应用缓存,但不可配置缓存 TTL 与断点)、停止序列、批处理、Files API、令牌计数以及 Beta 请求头。

补充信息
该包基于 Apache 2.0 许可,源码、可运行示例及问题追踪位于 GitHub。Beta 期间不接受外部 Pull Request。详细接口说明可参考 Apple Foundation Models 官方文档与 Claude API 参考文档。

8. Your ePub Is fine (andreklein.net)

Adobe isn’t exactly a beloved company these days. People begrudgingly use their stuff, because the Creative Suite is an industry standard (read: monopoly) or there are simply no worthwhile alternatives,...

9. Hetzner Price Adjustment (docs.hetzner.com)

Hetzner 价格调整公告

生效时间:2026年6月15日 上午8:00(CEST)。此次调整适用于该时间点起的新订单及云实例重新配置。若在2026年6月15日前下单、但在该日期后交付,仍按原价格执行。以下所有报价均不含增值税,且不含 IPv4 地址费用。

专用服务器(Dedicated Servers)

Falkenstein 与 Helsinki

涵盖 AX、EX、SX 与 GEX 系列共 20 款机型。月费与设置费因配置差异较大:

  • 入门级:AX42-1 月费 €187.30 / $217.10,设置费 €94.00 / $109.00;SX65-2 月费 €82.30 / $92.10,设置费 €39.00 / $44.00。
  • 中高端:AX102-1 月费 €452.30 / $532.10;EX131-1 月费 €557.30 / $667.10。
  • 旗舰级:AX162-3 月费 €1,597.30 / $1,897.10,设置费 €799.00 / $949.00;GEX131-3 月费 €2,297.30 / $2,697.10,设置费 €1,149.00 / $1,349.00。

Nuremberg 与 Helsinki

提供 DX182 系列三款配置:

  • DX182-1:月费 €720.60 / $850.20,设置费 €359.00 / $424.00
  • DX182-2:月费 €1,195.60 / $1,395.20,设置费 €599.00 / $699.00
  • DX182-3:月费 €2,095.60 / $2,495.20,设置费 €1,049.00 / $1,249.00

Falkenstein(独有机型)

  • GEX44-1:月费 €232.30 / $272.10,设置费 €114.00 / $134.00

限量供应机型(Limited Offerings)

该类机型仅在数据中心出现采购成本显著降低的硬件时提供, availability 取决于库存与退订情况,可能需数周准备,售完即止,但仍享有标准服务与支持。Hetzner 建议用户同时关注服务器拍卖(Server Auction)获取旧型号优惠。

涵盖型号包括:AX41-1-LTD、AX42-1-LTD、AX102-1-LTD、AX162-1-LTD、EX44-1-LTD、EX63-1-LTD、SX65-1-LTD、SX135-1-LTD、SX295-1-LTD、DX182-1-LTD。其中 AX41-1-LTD 与 EX44-1-LTD 设置费为 €0.00 / $0.00,其余多数为 €39.00 / $39.00(DX182-1-LTD 为 €51.00 / $60.00)。

云服务器(Cloud Servers)

按区域列出旧价与新价对比,提供小时价与月价(欧元/美元)。

德国(FSN/NBG)/ 芬兰(HEL)

涉及 CAX、CCX、CPX、CX 系列共 18 款机型,价格普遍大幅上涨:

  • CAX 系列(ARM):CAX11 从 €4.49/月涨至 €5.99/月;CAX41 从 €31.49 涨至 €40.99。
  • CX 系列(x86 基础型):CX23 从 €3.99 涨至 €5.49;CX53 从 €22.49 涨至 €29.49。
  • CCX 系列(x86 独享型):涨幅最大,CCX13 从 €15.99 涨至 €42.99;CCX63 从 €374.49 涨至 €853.49。
  • CPX 系列(x86 共享型):CPX22 从 €7.99 涨至 €19.49;CPX62 从 €50.49 涨至 €129.99。

美国(ASH/HIL)

涉及 CCX 与 CPX 系列共 11 款机型:

  • CCX 系列:CCX13 从 €16.99/月涨至 €43.49;CCX63 从 €389.99 涨至 €853.49。
  • CPX 系列:CPX11 从 €5.99 涨至 €17.49;CPX51 从 €77.99 涨至 €237.99。

新加坡(SIN)

涉及 CCX 与 CPX 系列共 11 款机型:

  • CCX 系列:CCX13 从 €27.49/月涨至 €53.99;CCX63 从 €626.99 涨至 €1,036.49。
  • CPX 系列:CPX12 从 €7.99 涨至 €15.49;CPX62 从 €100.49 涨至 €171.99。
10. Even more batteries included with Emacs (karthinks.com)

Where I collect notes. Sometimes you have to write to be able to think.

11. Linux 7.1 (lore.kernel.org)

该页面说明,网站管理员已部署 Anubis 系统,用于抵御 AI 公司对网站进行的大规模 aggressive 抓取。此类抓取行为可能导致服务器宕机,使网站资源对所有用户均无法访问。

核心机制
Anubis 采用了一种折中方案:基于 Hashcash 思想的工作量证明(Proof-of-Work)。其设计逻辑是,单个正常用户所需的额外计算负载微乎其微、可以忽略;但对大规模自动化抓取而言,这些成本会显著累积,从而使批量爬取变得更加昂贵。

临时性定位
目前该系统被视为一项占位/临时解决方案(placeholder)。其目的是为后续更精细的识别技术争取开发时间,例如通过字体渲染等特征来识别无头浏览器(headless browsers),从而在未来避免向更可能是合法用户的访问者展示挑战页面。

使用要求
页面提醒用户,Anubis 依赖现代 JavaScript 功能,而 JShelter 等隐私保护插件可能会禁用这些功能,因此需要为当前域名关闭此类插件,以确保验证流程正常运行。

13. My Homelab AI Dev Platform (rsgm.dev)

Self-hosting OpenCode Web for GitOps style homelab changes.

14. Salesforce to Acquire Fin (formerly Intercom) for $3.6B (www.salesforce.com)

Acquisition will bring Fin’s customer agent platform to companies of all sizes, accelerating time-to-value and expanding Salesforce’s ability to deliver

15. Swiss voters reject proposal to cap population at ten million (www.swissinfo.ch)

Swiss citizens rejected the right-wing Swiss People's Party's proposal to limit the population to ten million.

17. Did Anthropic ask for this? (www.verysane.ai)

This past Friday, the US Government issued an export control directive that prohibits Anthropic from giving foreign nationals access to Claude Fable or Claude Mythos, their latest models.

18. Anthropic's Safety Superpower (stratechery.com)

Anthropic’s belief in its own commitment to safety gives the company license to aggressively favor its business and even challenge the U.S. government.

19. Windows 11 users are tired of MS account requirements creeping into everything (www.windowscentral.com)

A Reddit discussion about local accounts turns into a bigger debate over privacy, transparency, and user control on Windows 11.

20. Openrouter Fusion API (openrouter.ai)

Fusion turns your prompt into a small multi-model deliberation. $0 per million input tokens, $0 per million output tokens. 1,000,000 token context window.

21. Stanford grads walk out on Google CEO Sundar Pichai speech (twitter.com)

Stanford grads walk out as Google CEO Sundar Pichai takes the stage as commencement speaker. No mention of AI, unlike other uni speakers getting booed down this year. Story for @sfgate shortly https://t.co/qvS2rJ91Ip

22. Improvement in advanced Alzheimer’s disease following high-dose psilocybin (www.frontiersin.org)

BackgroundAdvanced Alzheimer’s disease (AD) is generally regarded as a stage of irreversible functional decline. Psilocybin is known to transiently alter lar...

23. 21 years and counting of 'eight fallacies of distributed computing' (2025) (blog.apnic.net)

Eight long held and common beliefs about the network have been shown, time after time, to be false. What are they, and what do they mean?

25. Show HN: Discover Wikipedia articles popular on Hacker News (www.orangecrumbs.com)

The best Wikipedia rabbit holes and evergreen YouTube videos from Hacker News - 2,196 articles and 2,076 videos.

26. Show HN: I wrote a C++ ray tracer from scratch without AI (github.com)

C++ Path Tracer from scratch with zero third-party libraries. - themartiano/luz

28. The rich aren't your role models (theslowburningfuse.wordpress.com)

We are told that wealth is a measure of contribution. The richer a person becomes, the more they must have given to society. This is one of the founding myths of capitalism. It is repeated so often that many people accept it without thinking. Schoolchildren are taught that great fortunes are the reward for hard…

29. Can Europe train a frontier AI model on the compute it owns? (github.com)

A sourced model and short report: can Europe train a sovereign frontier AI model on the public compute it already owns, while gigawatt datacenters wait years for grid power? - sammysltd/euromesh

30. AI is code – and can't be prompted into being smarter (www.theregister.com)

From Java tests to Shai-Hulud, bots keep proving they'll swallow anything you feed them

34. Yserver: A modern X11 server written in Rust (github.com)

A modern X11 server written from scratch in Rust. Contribute to joske/yserver development by creating an account on GitHub.