Skip to content

#教程/实践

4 today

Nov 9Monday

Hacker News front page

Unlocking any car from X brand in most of the world

安全研究者 Sam Curry 与作者通过反编译某车企 App 的 APK,发现其管理后台 admintool 子域仅靠 JavaScript 包中硬编码的 API key 即可访问,可凭车牌号经 VIN 查到车主邮箱等 PII。他们进一步在 OpenIDM 实例的厂商 JavaScript 包中发现内嵌管理员凭据,而拿到用户 auth token 后即可远程解锁、鸣笛、启动车辆。

Simon Willison

parse_number() as a SQLite extension: C vs Rust

Simon Willison 用 Claude Opus 5.5 对比了 C 与 Rust 实现 SQLite parse_number() 扩展的差异:Rust 版体积为 321 KB(Rusqlite)和 298 KB(sqlite-loadable-rs),C 版仅 14 KB,但 Rust 版更快,原因是其 strtod 等价实现速度约为 C 的两倍。

Hacker News front page

How I Fight AI Brain Fry

作者用存放在 git 中的任务队列管理 Claude Code 或 Codex 工作,将上下文和人工决策集中记录,减少多线程切换带来的分心。每张任务卡都是仓库中的 Markdown 文件,智能体循环研究任务、构建经人工标记为安全的任务并执行测试与浏览器检查,敏感代码需先征求许可,生产部署由作者负责。

Computing Life · Share · Yage

Anthropic FlashProve 解读:为何能查中转站换模型,却难以监管官方降级

Anthropic 开源的可证明推理原型 FlashProve 可用于事后核验模型计算,本文分析了它识别中转站换模型与监管官方服务降级的边界。材料称,其基于 Llama 4 Maverick 生成约 19 MB 的证明文件,用户在 24 核处理器上可用 17 秒验证,但生成证明的算力成本为 vLLM 普通推理的 70 到 95 倍。

Nov 8Sunday

Hacker News front page

I Use Development-Driven Specs, Not Spec-Driven Development

Bill Cox 在 Ensemble 开发中采用开发驱动规格的方法,让代码实现与可执行教学内容共同演进。流程是先讨论设计、起草下一章的 TL;DR 和练习,再与 AI 结对实现,通过练习评分器后记录构建过程、取舍与理由,并让新的智能体尝试重建实现以修订章节。

Hacker News front page

What I run on my $10 USD OpenStick homelab

一台 10 美元(含运费)的 OpenStick 被作者用作家庭服务器,硬件为 512 MB 内存、4 核 1 GHz ARM Cortex-A53、4 GB eMMC 和 4G 模组,运行 Debian 与 Podman。

Hacker News front page

Apple’s grey list: Words and phrases your iPhone won’t help you spell

独立研究者 Derik Kauffman 在 Apple 操作系统中发现包含超过 100,000 个词语和短语的灰名单,限制 iPhone 的预测文本补全。名单涉及毒品、性行为及政治相关表达,滑动输入也可能受影响,例如将“United Ireland”改为“United Iceland”。Apple 表示,键盘旨在避免提供不当或冒犯性的预测建议,用户仍可逐字输入或覆盖预测建议。

Computing Life · Share · Yage

GDPx real-workstation review: six engineering lessons from AI running 8 hours straight

SemiAnalysis's GDPx benchmark has models use vendor agent frameworks to solve 206 real business problems in up to 8 hours. The strongest model averages about 12%. The article draws six engineering lessons from the failures: build a document authority map, set an independent rollback gate, write deterministic measurement scripts, keep an external evidence ledger, check the eval environment, and route by total cost per task.

Why it matters: It turns long-horizon failures on GDPx into engineering practice, folding document authority tagging, independent rollback checks and an external evidence ledger into agent workflows.

Nov 7Saturday

The Verge · AI

Researchers alarmed by new Anthropic report on automating AI R&D

METR's 11-week study of Anthropic found its models improving about twice as fast as a year earlier. METR judges that by October most of the acceleration came from AI, now mainly AI helping human researchers. Staff using the strongest internal models reported productivity about 12 times higher than without AI help.

Why it matters: Anthropic cut most of the evidence researchers consider important from METR's report, making it harder for the public to check the acceleration claim and its uncertainty.

GitHub Blog · AI & ML

Beyond code generation: A developer’s guide to agentic engineering

GitHub 给出 Copilot 智能体工程指南,将 AI 辅助开发扩展到规划、构建、验证与上线观察四个阶段。流程涵盖汇集上下文并生成带验收标准的 Issues、在隔离会话中推进任务、拆分依赖关联的拉取请求并执行质量与安全检查,以及利用运行证据形成后续任务。文中引用 Faros AI 研究称,团队从低 AI 采用率转向高采用率后,拉取请求在评审环节停留的时间增加了 441%。

Hacker News front page

Replit rebuilt its sandbox engine with microVMs

Replit 已完成基于 microVMs 的沙箱引擎重构,并在无数据丢失、无中断的情况下迁移了数亿个项目。新引擎采用 Cloud Hypervisor 和 KVM,为各沙箱提供独立 Linux 内核,并在宿主侧执行网络访问策略和凭据代理。通过预热池与按需加载的远程块存储,获取已挂载客户磁盘的沙箱耗时约 500 ms,同时支持部署到客户的 AWS、Google Cloud 或 Azure 环境。

The Verge · AI

How Akai and Moog are embracing vibe-coded mods

Akai 和 Moog 的母公司 inMusic 计划开放设备代码并提供 SDK,支持社区通过 AI 编码改装乐器。计划涉及 MPC Sample Key 等设备,公司希望提供重置功能以降低实验风险,同时确保官方软件满足舞台演出的稳定性要求。inMusic 还计划在 NAMM 的 Creator Lab 中让音乐人动手改装旗下品牌的 22 款新产品,其中包括为 Moog 模拟电路外围开发搭建平台。

Nov 6Friday

OpenAI News

Cult.fit builds operational muscle with Codex

Cult.fit 将 Codex 从工程部门推广到跨职能团队,近几个月非工程团队已构建 20+ 个内部应用。公司用 Codex 重建内部仪表盘功能,节省 $100,000+ 年度软件费用,并通过接入现有客服平台的 AI 智能体将客服成本降低 50%+。其 AI Trainer 还通过 OpenAI API 集成 GPT Realtime,以双向语音提供训练指导并支持记录锻炼。

Google Blog · Gemini

Transform a quick drawing into a live app with Gemini.

Gemini 支持上传应用草图照片,选中 Canvas 工具后输入「Can you code this app?」,即可读取图像并生成代码,在预览窗口中测试。生成的应用还能实时调整颜色、字体或功能。

Hacker News front page

My gym forced a social media down my throat. So I reverse-engineered its app

原文作者借助 DeepSeek v4.1 Flash 逆向健身房应用,构建本地生成入场二维码的 SvelteKit 网页,并成功完成进出签到。应用每 15 秒更新二维码,作者从已 root 的 Android 手机明文日志中提取账户密钥,用 WebCrypto 实现加密,并与原应用输出核对,得到字节完全一致的 URL。该原型绕开了应用的社交信息流,但尚未实现独立登录,密钥轮换后仍需重新获取。

Hacker News front page

OCAP Bounded Authority: Edera's Managed Approach to Object Capabilities

Edera 将对象能力(OCAP)模型应用于 AI 智能体和 Kubernetes 工作负载,推出"有界权限"(bounded authority):工作负载只持有针对特定资源、操作或身份的组合能力,无需获得底层凭证或广泛环境权限。该模型与依赖防火墙、沙箱、密钥管理等约束既有权限的传统方案相反,权限由不可伪造的引用显式传递,智能体被攻破也不会自动获得开发者的全部仓库或 API 凭证访问权。

Nov 5Thursday

Hacker News front page

MCP Explained

Runlayer 制作的 MCP Explained 以交互消息流讲解 MCP 的 JSON-RPC 消息格式、生命周期、传输方式及客户端与服务端功能。内容以 2025-11-25 规范为基础,区分协议机制与工具搜索、Codemode 等实现技巧,并介绍工具投毒、提示词注入等攻击及扩展机制。

Hacker News front page

Show HN: After a decade of reversing, I got co-op working in DOS Wing Commander

开发者 danielrh 用十一年时间逆向 DOS 版 Wing Commander,通过 DOSBox 内存快照定位飞船坐标、速度与旋转向量,实现双人合作驾驶战机。他先锁定 13D3:A9C2 处的坐标数据,再借助游戏把相机变量放在 0x3D 槽位的巧合找到旋转向量。该项目可在浏览器中游玩。

Hacker News front page

An end to buggy web apps

Replay 介绍了 Replay QA 如何利用时间旅行调试记录发现网页应用漏洞、定位根因,为智能体修复提供证据。团队在 Lovable、Replit、Base44、Bolt.new 等工具推广或竞赛获奖的 40 个应用上测试,经 Astra 确认和去重后发现超过 900 个漏洞,案例包括缺少 onClick 处理函数的按钮和布局偏移。

Hacker News front page

Letting users trust their own MCP clients, without opening a phishing hole

Stream Vessel 采用按用户设置的 MCP 回调地址信任列表,在登录后的授权环节检查地址,兼顾自建客户端接入与钓鱼防护。每个账户最多信任 10 个精确匹配的 HTTPS 地址,添加时需通过本人浏览器会话输入主机名确认,移除时撤销相关授权及尚未兑换的授权码。

Nov 4Wednesday

Hacker News front page

How to write comparison content that doesn't age like milk

PostHog 通过诚实呈现竞品优势、集中管理比较数据和 Scouts 辅助检查,维护约 90 篇比较与工具盘点内容。自 2021 年以来,超过 25k 人阅读比较内容后注册,其中近 50% 在 24 小时内注册、约 75% 在 30 天内注册。

Hacker News front page

Mac at any scale

Namespace 将数百台 MacBook Pro 拆箱部署进数据中心自建 Mac 机架,用于为客户构建和测试 iOS 应用。每台笔记本接入 IP KVM 远程管理、外置 10G 网卡,共四根线缆,并配定制散热支架;实际最不可靠的线缆是 HDMI,FileVault 解锁提示和 USB 网卡掉线也带来麻烦。M5、M6 Mac Mini 与 Studio 即将加入其机群,管理更简单。

Hacker News front page

Show HN: Interactive notes on RLHF, attention, LoRA and LLM evals

一位开发者发布 INTERNALS.md 交互式笔记,通过改动输入来理解 RLHF、注意力机制、LoRA 和 LLM 评测等概念。评测部分覆盖 82% 与 80% 的比较、exact match 与 F1、nDCG@k、pass@k、LLM as judge、Elo、RAG 与 Agent 评测、A/B 测试及数据污染等主题。站点默认不启用追踪,仅提供 Google Analytics 开关选项。

Nov 3Tuesday

Hacker News front page

deepsense.ai lists ten coding agent harness patterns for real code repositories

deepsense.ai has written up ten coding agent harness practices meant to make AI-assisted development more reliable through repository knowledge, just-in-time context and verification feedback. The team tested them with Codex and Claude Code. It recommends a short AGENTS.md that links to deeper docs, code organized by task with tests and past decisions, and shared verification commands for humans, agents and CI.

Why it matters: The post turns hands-on coding agent experience into repository docs, task-scoped context loading and a bounded verification loop, so repeated mistakes become maintainable tests and rules.

MIT Technology Review · AI

How “reverse game theory” could keep AI agents in check

“逆向博弈论”又称机制设计,尝试通过奖励与惩罚规则激励 AI 智能体遵守约束,为模型对齐提供补充路径。MIT、Yale 和 Columbia 研究者提出用交叉预测、竞争及相反偏向模型的输出匹配减少测试中的故意示弱;Princeton 的 Elad Hazan 则建议让模型轮流担任求解者与审计者,并惩罚作弊和漏检。

OpenAI News

Heimstaden is changing residential real estate management with AI

Heimstaden 使用 ChatGPT 和 Codex 改进住宅租赁、环境风险评估与物业运营,同时保留员工对内容和决策的审核责任。荷兰市场的虚拟布置房产图片制作成本从约 €50 降至低于 €0.10,降幅超过 99%;环境分析师借助 Codex 完成 20,112 项物业资产评估,预计所需投入从 5 人工作 1 年降至 2 人工作 2 个月。

OpenAI News

Scaling Git at OpenAI

OpenAI 详解 Git 后端 Pando 的架构,该系统已支撑其单体仓库的全部开发,生产环境中推送延迟中位数降低近 80%。Pando 保持 Git 协议和客户端兼容,通过按分支协调更新、复用 packfile 和区域缓存扩展读写能力,但不提供所有分支在同一时刻的一致快照。团队借助 Codex 在 10 周内完成从启动到生产部署,并将部分 Git 客户端改进贡献给上游。

OpenAI News

Qodo builds context into AI code review with Codex

Qodo 通过 Codex 插件引入代码库知识、组织规则和独立审查,帮助开发者发现跨仓库的 P0 问题。Codex 编码前可检索相关规则及拉取请求历史,修改后由 Qodo 在同一会话中返回审查结果;Qodo 使用的 OpenAI 模型包括 GPT‑6 Astra。Qodo 还计划探索 Decisions API,从 200 条规则中选择需要检查的规则,再交由语言模型推理处理。

Nov 2Monday

Computing Life · Share · Yage

Why LLM inference splits prefill and decode, and how that leaked user code at Cloudflare

Prefill-decode disaggregation speeds up inference by splitting the two stages, but Cloudflare's GLM-5.3 deployment leaked cache across tenants through a request-handling bug. Its postmortem says 155 long-context replies mixed in other users' conversations or code: over-limit requests were replaced with a one-token placeholder yet still crossed nodes, and decode nodes read stale cache that had not been overwritten.

Why it matters: Cloudflare's fix adds transfer-count checks and delayed memory reclamation, folding data overwrite and page ownership into safety checks when nodes exit abnormally.

Computing Life · Share · Yage

Qwen3.8 外呼阿里云指令排查:未清洗训练日志如何留下安全隐患

Qwen3.8-Flash-Next 的外呼阿里云行为被独立研究者归因于未清洗的训练日志,文章据此解释异常命令来源及部署风险。排查结合日志比对、权重清零与 229376 次条件采样;北京上传命令只发送固定载荷 PROBE_PAYLOAD_ABC123,目标桶返回 NoSuchBucket。

Nov 1Sunday

Computing Life · Share · Yage

Reproducing the ETH conjecture counterexample with Opus 5.5 for $1.22

Duck Ge reports reproducing a counterexample to the ETH conjecture for $1.22, calling claude-opus-5-5 through Claude Code with a public five-sentence prompt. With all tools and web search off, the run took 8 minutes 41 seconds and 48,101 thinking tokens, and output a five-section proof. The post explains the prompt's algorithm and stresses the result does not mean P=NP.

Why it matters: A hands-on reproduction turns into a prompt-writing method: give the model counterintuitive paths, high-level concepts and worst-case bottlenecks.

Hacker News front page

Altoids Project

一位父亲和 12 岁儿子用约两个月完成 Altoids 项目,把 128x64 显示屏、Arduino Nano、LiPo 电池和 PowerBoost 供电装进 Altoids 薄荷糖铁盒,最终迭代五个版本。

Simon Willison

How We Took Over ChatGPT Accounts

Parameter Labs 发现 ChatGPT HTML previews 的漏洞链,可通过分享链接窃取访问者的私密数据或代其执行账户操作。攻击利用 MathLive 虚拟键盘的 postMessage() 接收逻辑注入无沙箱限制的 iframe,再借 YouTube oEmbed 端点绕过 CSP 执行 JavaScript。

Hacker News front page

Linux TCP use-after-free CVE-2026-98432 explained, CVSS 9.8

A use-after-free flaw in the Linux IPv4 TCP handshake, CVE-2026-98432, carries a CVSS 3.1 score of 9.8 from the kernel CNA, and fixes have landed on several stable branches. Unpatched Linux 4.4 and later kernels are affected. As of 8:00 PM CDT on October 29, Ubuntu releases and RHEL 8, 9 and 10 had no fix, and a kernel update needs a host reboot to take effect.

Why it matters: It maps patch status per distribution and explains how to check the kernel, since updating container images does not replace patching and rebooting the host.

Hacker News front page

I post trained a model on Demoscenes

作者以 Qwen2.5-Code-7B 为基座,在 Dwitter.net 的 25k 条 140 字符 JavaScript demo(Dweet)上做继续预训练,30 条留出样本的困惑度从 28.63 降到 8.57。随后按 Dweet 的“awesomeness”评分构建课程学习,400 步内让前 1000 名样本的采样概率升至约 67%,以把审美偏好注入补全模型。