2025-05-11

26 篇热帖

1. Observations from people watching (skincontact.substack.com)

Painting weddings for a few years now, I have spent a fair bit of time observing strangers move through a room.

2. One-Click RCE in Asus's Preinstalled Driver Software (mrbruh.com)

One-Click RCE in ASUS’s Preinstalled Driver Software Part Two of the ASUS series is out, read it here. Introduction This story begins with a conversation about new PC parts. After ignoring the advice from my friend, I bought a new ASUS motherboard for my PC. I was a little concerned about having a BIOS that would by default silently install software into my OS in the background. But it could be turned off so I figured I would just do that.

3. I built a native Windows Todo app in pure C (278 KB, no frameworks) (github.com)

A lightweight, native Windows Todo application built with pure C and the Win32 API. Just 60 KB - Efeckc17/simple-todo-c

4. In 2025, venture capital can't pretend everything is fine any more (pivot-to-ai.com)

摘要

本文标题为《2025年,风险投资不能再假装一切安好》("In 2025, venture capital can't pretend everything is fine any more"),但正文内容为不连贯的碎片化文本,涉及遥远距离、恐惧与愤怒的平静狂喜、头顶的空气、以及幼虎嬉戏等意象,与标题所暗示的风险投资主题完全无关

正文内容无法构成一篇完整的文章或论证,未包含任何关于风险投资行业在2025年面临的具体问题、数据、趋势或分析。

注意: 所提供的正文内容似乎存在损坏或错误,无法从中提取与标题相关的核心信息。如需获取关于该主题的准确摘要,请提供完整的、相关联的正文内容。

5. Build iOS Apps on Linux and Windows (forums.swift.org)

Hi folks! A few months ago I shared my Swift SDK for Darwin, which allows you to build iOS Swift Packages on Linux, amongst other things. I mentioned that a lot of work still needed to be done, such as handling codesigni…

6. Title of work deciphered in sealed Herculaneum scroll via digital unwrapping (www.finebooksmagazine.com)

The Bodleian Libraries and the Vesuvius Challenge have announced that for the first time researchers have found the title and author inside of a sealed scroll from Herculaneum.

7. Sierpiński Triangle? In My Bitwise and? (lcamtuf.substack.com)

Exploring a peculiar bit-twiddling hack at the intersection of 1980s geek sensibilities.

8. The Epochalypse Project (epochalypse-project.org)

Raising awareness about the 2038 bug in all its manifestations and trying to fix things while there’s still time.

9. DNS piracy blocking orders: Google, Cloudflare, and OpenDNS respond differently (torrentfreak.com)

Facing escalating DNS piracy blocking orders, major providers like OpenDNS, Cloudflare, and Google are adopting notably different responses.

10. Giant Bomb is now owned by the people who make Giant Bomb (about.fandom.com)

Giant Bomb 被长期员工收购

2025年5月10日,全球最大的粉丝平台 Fandom 宣布将其旗下游戏媒体品牌 Giant Bomb 出售给两位长期员工兼游戏内容创作者 Jeff BakalarJeff Grubb。交易财务条款未披露。

交易背景与声明

  • 宣布时机:该消息在PAX East游戏大会上Giant Bomb的现场讨论环节公布。
  • Giant Bomb的运营:为处理此次交易,其节目制作曾暂停,将在新所有者的管理下尽快恢复。
  • Fandom的声明:称此举是将Giant Bomb回归其独立运营根源的战略决定。公司相信该品牌在Jeff和Jeff手中得到了妥善保管,其遗产将继续传承。
  • 新所有者的声明:Jeff Bakalar和Jeff Grubb共同表示“现在Giant Bomb由创造它的人拥有”,这得益于Fandom的快速努力及双方对粉丝和创作者最佳利益的共识。他们承诺社区的所有支持都将直接回馈给团队,并将很快公布更多未来规划细节。

公司背景

  • Fandom:是全球最大的粉丝平台,每月近3.5亿独立访客,托管超25万个百科站点。其游戏部门管理在线游戏零售商Fanatical,内容部门则拥有GameSpot、TV Guide、Metacritic等品牌。
  • Giant Bomb:创立于2008年,是一个以人格驱动的游戏媒体网络,提供游戏新闻、评论和视频内容。该品牌以真实性和独特、诙谐的风格著称,开创了许多如今常见的游戏内容形式。

总结:此次收购标志着Giant Bomb从大型平台公司回归到由其核心创作者独立拥有和运营的状态,双方均强调了对社区和创作独立性的承诺。

11. Pope Leo XIV: "AI poses new challenges re: human dignity, justice and labour" (www.vatican.va)

ADDRESS OF HIS HOLINESS POPE LEO XIV TO THE COLLEGE OF CARDINALS Saturday, 10 May 2025 [ Multimedia ] _______________

12. Dotless Domains (lab.avl.la)

List of active and historical dotless domains!

13. Sam Altman Wants Your Eyeball (www.privacyguides.org)

Last week, OpenAI's CEO Sam Altman announced in San Francisco that the World project he co-founded, formerly known as Worldcoin, is opening six stores across the United States, allowing users of the project's app to scan their eyeballs. This is worrisome, to say the least.

15. For $595, you get what nobody else can give you for twice the price (1982) [pdf] (s3data.computerhistory.org)

Commodore 64 (1982) 产品文档摘要

文档性质

这是一份于1982年发布的 Commodore 64 计算机的产品资料或营销文档。其标题突出强调了产品的核心卖点:“以595美元的价格,提供他人以双倍价格也无法给予的价值”。

核心内容

  • 产品定位与定价:文档的核心主题是宣传Commodore 64的高性价比。标题直接表明,该产品以595美元的价格提供了在当时市场条件下难以匹敌的价值,旨在吸引对价格敏感的消费者。
  • 历史背景:文档的创建日期(1982年)标志着Commodore 64在其市场推广初期的阶段,这份材料是该经典家用电脑早期市场营销努力的一部分。

文档来源与数字化信息

  • 来源:此文件是计算机历史博物馆馆藏的一部分。
  • 数字化处理:文档由 Adobe Acrobat 6.0 Paper Capture 插件 处理并生成PDF格式,原始创建于2005年4月6日,并于2006年1月6日进行过修改。这表明它是一份经过数字化扫描以进行保存和研究的历史资料。
  • 文档结构:文件共包含8页,但提供的材料中未包含具体的页面文本或图像内容。
16. Microsoft Teams will soon block screen capture during meetings (www.bleepingcomputer.com)

Microsoft is working on adding a new Teams feature that will prevent users from capturing screenshots of sensitive information shared during meetings.

20. Reverse engineering the 386 processor's prefetch queue circuitry (www.righto.com)

In 1985, Intel introduced the groundbreaking 386 processor, the first 32-bit processor in the x86 architecture. To improve performance, the ...

21. The History and Legacy of Visual Basic (retool.com)

How Visual Basic became the world’s most dominant programming environment, its sudden fall from grace, and why its influence is still shaping the future of software development.

22. Show HN: Xenolab – Rasp Pi monitor for my pet carnivourus plants (github.com)

A monitoring station for carnivorous flora. Contribute to blackrabbit17/xenolab development by creating an account on GitHub.

24. Why the Apple II Didn't Support Lowercase Letters (2020) (www.vintagecomputing.com)

Adventures in vintage computers and retrogaming. Includes articles on classic games and obsolete computers.

25. JEP 515: Ahead-of-Time Method Profiling (openjdk.org)

JEP 515:提前进行方法分析

摘要

通过使应用程序上一次运行时收集的方法执行配置文件在HotSpot Java虚拟机启动时立即可用,来改善预热时间。这将使JIT编译器能够在应用程序启动时立即生成本机代码,而无需等待配置文件被收集。

目标

  • 通过将初始方法执行配置文件的收集从生产运行转移到训练运行,并通过AOT缓存传递这些配置文件,帮助应用程序更快地预热。
  • 不要求对应用程序、库或框架的代码进行任何更改。
  • 不对应用程序的执行引入任何新的约束。
  • 不引入新的AOT工作流,而是使用现有的AOT缓存创建命令。

动机

应用程序必须运行才能真正了解其行为。静态分析可以被程序的复杂性所击败。当运行应用程序时,JVM可以识别哪些方法执行重要工作以及如何执行。为使应用程序达到峰值性能,JVM的即时编译器必须找到不可预测的热点方法,并将其字节码编译为本机代码。配置文件允许JVM优化热点方法并避免优化冷门方法;这两个条件对于实现峰值性能都是必要的。

然而存在一个“鸡生蛋,蛋生鸡”的问题:应用程序在预测其方法行为之前无法达到峰值性能,而方法行为只有在应用程序运行相当长一段时间后才能预测。JVM目前通过在应用程序运行的早期投入资源来收集配置文件来解决这个问题。在这个预热期间,应用程序运行较慢,直到JIT能够将热点方法编译为本机代码。

我们可以通过在应用程序的训练运行中更早地收集配置文件来改善预热时间。这将分析和预测行为的工作从应用程序的生产生命周期中转移出去。结果,应用程序在生产中的预热时间将仅由JIT编译的成本决定,并且应用程序可以更快地达到峰值性能。

描述

我们扩展了由JEP 483引入的AOT缓存,以在训练运行期间收集方法配置文件。正如AOT缓存当前存储JVM在启动时需要加载和链接的类一样,AOT缓存现在还存储JVM在应用程序运行的早期需要收集的方法配置文件。因此,应用程序的生产运行启动更快,达到峰值性能也更快。

在训练运行期间缓存的配置文件不会阻止在生产运行期间进行额外的分析。这至关重要,因为应用程序在生产中的行为可能与训练中观察到的行为不同。即使有缓存的配置文件,HotSpot JVM也会在运行时继续分析和优化应用程序,融合AOT配置文件、在线分析和JIT编译的好处。缓存配置文件的净效果是JIT运行得更早、更准确,利用配置文件来优化热点方法,从而应用程序经历更短的预热期。JIT任务本质上是并行的,因此在有足够硬件资源的情况下,预热的墙钟时间可以很短。

示例:一个使用Stream API的短程序,在没有配置文件的AOT缓存下运行时间为90毫秒。在收集配置文件到AOT缓存后,运行时间为73毫秒——提升了19%。带有配置文件的AOT缓存额外占用约250千字节,比没有配置文件的AOT缓存大约多2.5%。

替代方案

如果应用程序非常可预测,我们可以提前将其热点方法编译为本机代码,并且这样做能够使其无需进一步的JIT活动即可达到峰值性能,那么这种AOT代码比缓存配置文件更可取。我们打算在未来的工作中实现AOT编译。

然而,许多应用程序受益于AOT编译和JIT编译的混合,因为它们的行为无法被AOT编译器准确预测。缓存的配置文件和缓存的AOT代码并不相互对抗,并且将协同作用为一系列应用程序提供最佳性能。部分AOT解决方案,即合理的AOT代码逐渐被更好优化的JIT代码取代,似乎最终可能是最佳解决方案。JIT最初可以不妨碍应用程序,花时间根据最新的分析信息获得最终正确的代码。

测试

  • 我们将为此功能创建新的单元测试。
  • 我们将在启用此功能的情况下运行现有的AOT缓存测试,并确保它们通过。

风险与假设

除了JEP 483中已经提到的风险之外,没有新的风险。

AOT缓存的基本假设仍然有效:训练运行被认为是观察的良好来源,当通过AOT缓存传递到生产运行时,将有利于该生产运行的性能。

26. Show HN: I’ve built an IoT device to let my family know when I’m in a meeting (nullonerror.org)

项目概述

该项目是一个物联网设备,名为 Tabajara,旨在通过在办公门口设置灯光指示,告知家人用户是否正在视频会议中,避免在家办公时被打扰。

核心功能

  • 设备在用户开启摄像头时自动亮红灯,关闭时亮蓝灯。
  • 通过本地网络控制,无需手动操作。

技术实现

  1. 硬件与固件

    • 使用 ESP32 微控制器,连接 Wi-Fi 并启用 mDNS(实现类似 Apple Bonjour 的本地域名解析)。
    • 基于 Arduino 框架开发,设备通过 HTTP 服务器暴露 /camera 端点,接收包含 {"status": "on"}{"status": "off"} 的 PATCH 请求,并据此切换 LED 面板颜色(红/蓝)。
  2. 软件部分

    • 一个 Python 守护进程 周期性地调用 Apple API 检测摄像头是否处于使用状态。
    • 若检测到摄像头启用,向 http://esp32.local/camera 发送 PATCH 请求更新设备状态。

优势与便利性

  • 无需手动配置 IP:利用 mDNS 技术,通过 esp32.local 域名直接访问设备。
  • 自动化控制:完全依赖摄像头状态自动触发,用户无需额外操作。
  • 结构简单:代码开源,易于部署和修改。

相关资源