Show HN:可主题化的Hacker News
作者通过提取Hacker News样式表中的CSS变量并重新应用,实现了可自定义主题的功能,包括深色模式和纯黑OLED模式。该功能已集成到现有的浏览器扩展中,用户可通过修改HTML属性轻松切换主题。
作者通过提取Hacker News样式表中的CSS变量并重新应用,实现了可自定义主题的功能,包括深色模式和纯黑OLED模式。该功能已集成到现有的浏览器扩展中,用户可通过修改HTML属性轻松切换主题。
Anthropic has introduced a 1 million token context window for its Claude Opus 4.6 and Sonnet 4.6 models, representing a significant technical advancement. The company is offering this increased capacity without additional charges to users.
The Servo browser engine is now available as an embeddable library on crates.io. A CLI tool called servo-shot was created to take screenshots of webpages using the new crate. While compiling Servo to WebAssembly isn't feasible, a playground was built for experimenting with html5ever and markup5ever_rcdom crates in WebAssembly.
Google released Gemini 3.1 Flash TTS, a new text-to-speech model that can be directed using detailed prompts. The model is available via the Gemini API and can only output audio files. The prompting system allows for detailed voice direction including accent, style, and emotional tone.
Datasette has replaced its token-based CSRF protection with a new approach using Sec-Fetch-Site headers, inspired by Go 1.25 and research by Filippo Valsorda. This eliminates the need for CSRF tokens in templates and removes related plugin hooks.
SQLite 3.53.0 is a major release with accumulated improvements including ALTER TABLE support for NOT NULL and CHECK constraints, new json_array_insert() function, and CLI enhancements via a new Query Results Formatter library.