Clean room implementation of Adobe products
Photocraft is an open-source, clean-room reimplementation of Adobe Photoshop built entirely in Rust. It aims to provide a free alternative with similar functionality for artists and designers. (github.com)
Readyset explains how it converts arbitrary SQL into a form its streaming dataflow engine can maintain incrementally, shifting work from repeated query execution to continuous view maintenance. The core argument is that traditional pull-based engines re-run entire plans on each read, while a compiled dataflow graph propagates upstream changes through operators (joins, filters, aggregates) so reads become lookups into materialized results. That shift imposes structural constraints - binary equality joins, no per-row correlated execution, explicit GROUP BY keys, and only INNER/LEFT/CROSS joins are natively supported - so many valid SQL queries must be rewritten to be compilable and efficient.
The pipeline is a multi-pass, semantics-preserving transformer organized into normalization, deep rewrites, and cleanup. Normalization resolves schemas, expands stars, qualifies columns, and desugars USING. Deep rewrites perform heavy lifting: rewriting PostgreSQL ARRAY(SELECT...) into LATERAL + array_agg + COALESCE, eliminating redundant self-joins, hoisting top-k derived tables so LIMIT stays parameterizable for a native Top-K operator, and decorrelating subqueries (turning correlated subqueries into joins or grouped derived tables) to allow incremental maintenance. Cleanup removes redundancies and parameterizes literals. These targeted passes reduce intermediate materialization, preserve semantics for all data, and produce canonical queries that the dataflow compiler can turn into efficient, incrementally maintained graphs.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
Photocraft is an open-source, clean-room reimplementation of Adobe Photoshop built entirely in Rust. It aims to provide a free alternative with similar functionality for artists and designers. (github.com)
Óscar Toledo G. accessed La Cueva BBS in Mexico in 1993 using a Zilog Z280-based computer and a 2400 baud modem, writing custom terminal software to handle ANSI escape sequences. He captured a 64K session buffer, providing a rare glimpse into early online BBS activity without keystroke timing data. (nanochess.org)
Xbox has secured exclusive streaming rights for GTA 6, which will be available on Xbox Cloud Gaming starting in November. Microsoft will open access to the game through its cloud platform, enhancing its gaming service offerings. (theverge.com)
The Turkish Surname Law of 1934 mandated all citizens to adopt fixed, hereditary surnames. It marked a shift from Ottoman practices and aimed to modernize and standardize naming conventions in Turkey. (en.wikipedia.org)
A woman discusses her husband's use of a sex toy during his alone time, which she views as problematic. The narrative addresses relationship boundaries and personal intimacy. (slate.com)
Scott Alexander criticizes Steven Pinker's social media posts on AI and questions his stance on superintelligence risks. He proposes a direct confrontation, humorously suggesting a debate, duel, or synthesis to address their conflicting views. (astralcodexten.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.