2025-04-21
32 篇热帖
2. The movie mistake mystery from "Revenge of the Sith" (fxrant.blogspot.com)
Movies are handmade, and just like any other art form, sometimes the seams that hold movies together become visible to the audience. For mov...
3. The effect of deactivating Facebook and Instagram on users' emotional state (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.
4. Getting Forked by Microsoft (philiplaine.com)
Three years ago, I was part of a team responsible for developing and maintaining Kubernetes clusters for end user customers. A main source for downtime in customer environments occurred when image registries went down. The traditional way to solve this problem is to set up a stateful mirror, however we had to work within customer budget and time constraints which did not allow it. During a Black Friday, we started getting hit with a ton of traffic while GitHub container registries were down. This limited our ability to scale up the cluster as we depended on critical images from that registry. After this incident, I started thinking about a better way to avoid these scalability issues. A solution that did not need a stateful component and required minimal operational oversight. This is where the idea for Spegel came from.
5. I thought I bought a camera, but no DJI sold me a license to use it [video] (www.youtube.com)
6. Fossil fuels fall below 50% of US electricity for the first month on record (ember-energy.org)
7. Python's new t-strings (davepeck.org)
Dave Peck's home on the web. Dave is an independent software developer, investor, and civic technologist.
8. Reworking 30 lines of Linux code could cut power use by up to 30 percent (spectrum.ieee.org)
By changing only thirty lines of Linux kernel code, these engineers saved up to 30% of energy costs for certain applications. 30 for 30!
9. Pipelining might be my favorite programming language feature (herecomesthemoon.net)
This is a website, which means it sometimes goes offline
10. Reverse engineering the obfuscated TikTok VM (github.com)
11. Pope Francis has died (www.bbc.co.uk)
The pontiff, who was the first Latin American leader of the Roman Catholic Church, died on Monday aged 88.
12. LLM-powered tools amplify developer capabilities rather than replacing them (matthewsinclair.com)
13. U.S. citizen in Arizona detained by immigration officials for 10 days (news.azpm.org)
Immigration officials in Tucson arrested the 19-year-old man from Albuquerque on April 8, saying he had entered the country illegally, before a judge dismissed his case on April 17.
14. Pete Hegseth shared Yemen attack details in second Signal chat (www.theguardian.com)
US defense secretary texted strike information to his family in group chat he created, sources tell the New York Times
15. How I use Kate editor (akselmo.dev)
I love the Kate Text editor. I use it for pretty much all the programming projects I do.…
16. First hormone-free male birth control pill enters human trials (scitechdaily.com)
YCT-529, a hormone-free male birth control pill, has shown high effectiveness in animals and is now in human trials, marking a breakthrough in male contraception. While the FDA has approved more than 20 types of contraceptives, only two options currently exist for men: condoms and vasectomies. Al
17. Find the Odd Disk (colors2.alessandroroussel.com)
该文本描述了一个名为“Find the Odd Disk”的互动游戏。
核心规则与任务:玩家需要通过视觉辨别,用鼠标点击找出颜色与其他圆盘不同的那一个。游戏特别强调应“仅用眼睛”观察,并提示为确保颜色显示准确,需关闭屏幕的蓝光滤镜功能。
参与流程与结尾:游戏结束后,系统会显示结束页面,感谢玩家参与,并鼓励玩家多玩几次,以便收集更多的测试数据。文本以英语、法语和西班牙语三种语言呈现了相同的内容。
18. How Thai authorities use online doxxing to suppress dissent (citizenlab.ca)
A sustained, coordinated social media harassment and doxxing campaign – which we codenamed JUICYJAM – targeting the pro-democracy movement in Thailand has run uninterrupted, and unchallenged, since at least August 2020. Through our analysis of public social media posts we determined that the campaign was not only inauthentic, but the information revealed could not have been reasonably sourced from a private individual.
19. Verus: Verified Rust for low-level systems code (github.com)
Verified Rust for low-level systems code. Contribute to verus-lang/verus development by creating an account on GitHub.
20. AI assisted search-based research works now (simonwillison.net)
For the past two and a half years the feature I’ve most wanted from LLMs is the ability to take on search-based research tasks on my behalf. We saw the …
21. How encryption for Cinema Movies works (serverless.industries)
The Cinema Industry is using its own standards for creating and distributing movies in a secure way. The DCI (Digital Cinema Initiatives) specification defines everything from file formats and encryption to the projection systems itself.
22. Out of the Fog (www.theverge.com)
Operation Babylift was an earnest attempt to save children during the fall of Saigon in 1975. Fifty years later, a generation of adoptees wrestle with Vietnam’s legacy of transnational adoption
23. Show HN: JuryNow – Get an anonymous instant verdict from 12 real people (jurynow.app)
平台名称: Bubble
核心定义: Bubble 是一个强大的无代码(no-code) 开发平台。
主要功能:
- 可视化开发: 提供点选式(point-and-click) 的编程工具,允许用户通过可视化操作构建完整的Web应用程序,无需编写传统代码。
- 云端托管: 平台将所有创建的应用程序托管在其云平台上,为开发者提供一站式服务。
核心价值主张: 该平台自称是“最强大的无代码平台”,旨在通过降低编程门槛,让非技术背景的用户也能快速、便捷地创建功能丰富的网络应用。
24. Turing-Drawings (github.com)
Randomly generated Turing machines draw images and animations on a 2D canvas. - maximecb/Turing-Drawings
25. Signal Carnival (www.quiss.org)
Signal Carnival 技术总结
演示概述
Signal Carnival 是一款为 Commodore 64(C64)制作的演示程序,其独特之处在于要求用户将 C64 的音频和视频线缆交叉连接,但仍能产生有意义的音视频输出。这是首个实现此类连接并同时输出音频和视频的演示作品。
技术核心
利用视频信号生成音频
- C64 的 VIC 芯片以 7.9MHz 运行,6502 处理器可以最高 246kHz 的速率向其写入新值,远高于音频采样率(通常 44kHz),因此足以生成音乐。
- 音频生成通过组合两个 CIA 定时器(B 定时器的低位字节)实现,并通过异或操作微调波形,最终将结果写入 VIC 芯片的
$d020寄存器(屏幕颜色)。颜色的亮度(而非色度)影响音频输出,增强了波形的多样性。 - 此方法占用了所有四个 CIA 定时器,因此视频稳定需通过光笔电路(
$d013)实现。音频为单声道,但通过频繁切换音色和波形模拟多声道效果。
利用音频信号生成视频
- SID 芯片可高速写入数据(最高 246kHz),但其音频功能(如滤波器、ADSR 包络)更新速度较慢,不适合视频生成。
- 视频信号通过 SID 的音量寄存器(
$d418)直接输出,该寄存器支持高频写入(16kHz+)。 - C64 主板上的模拟带通滤波器会导致像素模糊,水平分辨率受限,但演示利用此特性将模糊区域用于纹理等图形元素。
- 视频信号需精确生成水平同步脉冲,以避免与垂直同步混淆。演示采用与 VIC 相同的刷新频率,但自定义了水平频率(每行 64 周期),以支持更多效果。
加载器设计
- 由于演示在加载和解压缩数据时需持续生成音频,加载器实现了实时 GCR 解码和缓冲(存储 1KB 数据),并在解压时展开复制循环以避免音频中断。
- 加载器特性包括实时 GCR 解码(支持写入任意内存页面)、缓冲设计,但缺乏高级功能(如校验和、支持高磁道)。
- 开发中使用了自动生成 GCR 解码表的工具,未来计划公开发布。
技术约束与创新
- 音频生成依赖于颜色亮度变化,而视频信号受滤波器模糊限制,因此演示在水平方向使用可模糊的图形元素(如纹理)。
- 视频同步信号需严格定时,演示采用了与 VIC 相同的刷新频率但自定义水平周期,以适应效果需求。
- 加载器在数据传输和解压缩期间全程维持音频输出,体现了高度优化的实时处理能力。
总结
Signal Carnival 通过交换 C64 的音视频线缆,创造性地将视频信号用于音频生成,音频信号用于视频输出,展示了硬件极限下的技术突破。其核心在于利用高速写入能力实现音视频互逆生成,并克服了模拟电路带来的模糊和时序挑战。加载器设计进一步确保了演示过程中音频的连续播放,体现了对 C64 硬件特性的深度挖掘。
26. Launch HN: Magic Patterns (YC W23) – AI Design and Prototyping for Product Teams
27. Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram (github.com)
Nerdlog: fast, remote-first, multi-host TUI log viewer with timeline histogram and no central server - dimonomid/nerdlog
28. Tabular Programming: A New Paradigm for Expressive Computing (sam.elborai.me)
29. Handwriting activates broader brain networks than typing (www.psypost.org)
Does writing by hand still matter in a digital world? According to a new study in Frontiers in Psychology, the answer is yes.
30. Decomposing Transactional Systems (transactional.blog)
Every transactional system must execute, order, validate, and persist transactions.
31. TikZJax: Embedding LaTeX Drawings in HTML (tikzjax.com)
32. Finland is painting deer antlers with reflective paint (2014) (www.smithsonianmag.com)
Attempts to keep motorists from hitting animals usually center around making cars and roads safer, but the Finns are heading straight to the source