Monday, July 13, 2026

Show HN: I implemented a neural network in SQL https://ift.tt/kfVu0q5

Show HN: I implemented a neural network in SQL Two weeks ago I was on my babymoon in Corfu, Greece. While in transit, I was overseeing a GSoC intern submit an important feature to my array database library, Xarray-SQL. He added `to_dataset()`, which completed the roundtrip between thinking of array data in a tabular model simultaneously as gridded rasters (the premise of the project is that every Nd array can be mapped to 2d, where orthogonal dims of the Nd array are just primary keys of a tabular representation). We discussed in chat, now that this feature existed, what demos could we make that would prove this data model works? With down time on a warm beach during a heatwave, cool salty water giving me fresh ideas, I had an idea: what if we used Coiled's Geospatial benchmark discussion as a comprehensive overview of geo and climate queries. Are all of these common operations secretly relational, just with the wrong data model? Using Claude Code on the beach, I can confirm that this seemed to be the case: Claude and I publish a benchmark that illustrated how every common operation in geo and climate sciences (at the 100 TB range) were actually secretly relational operations: https://ift.tt/obL5FXw... . Most surprisingly of all, from these examples was that a core operation, regridding, was just a sparse matrix-vector product. Claude had pointed out to me that in this data model, matmul was just a `SUM(val * val) ... JOIN .. GROUP BY`. This has a direct parallel to einsum notation, but can be expressed in (arguably) elegant SQL syntax! This capability seemed to be greater than the sum of it's parts. Back in the cool water of the Ionian, I thought about the implications of this more deeply. I reflected that, all of the Coiled benchmarks did, deep down, was _post process_ simulations that happen in numerical/array code. Why couldn't these physics calculations be push down into the database also, if we could so matmul in SQL? Then it hit me: maybe they could, if in addition to linear algebra, if SQL could do calculus! https://ift.tt/xtmFzHT Later on, I implemented autograd on top of DataFusion's visitor pattern based on JAX's implementation. In my simplified array model, it turns out that we only care about partial differentiation on the diagonal of the Jacobian, meaning that `grad()`, `jvp` and `vjp` are just row-wise operations! I then implemented a common physics calculation from the coiled benchmark that required gradients. From here, I realized if I can autograd in the database, why can't I create a neural network? As I came back home, I created some slides, and presented this work to DataFusion's inaugural showcase: https://www.youtube.com/watch?t=1511&v=5o-4hL8vGPw&feature=y... I realized in this synthesis that SQL is not necessarily a toy language for writing neural networks, but in fact, may be highly desirable in the future due to the fundamental principles of relational databases: the logical layer should be independent from the physical layer. If that property holds, and a neural network is a series of relations, could we create a SOTA distributed system for training more easily? For example, if we had one global logical plan of dataflow, could we better distribute work on 1000+ GPUs? Several scientists and engineers and I are working together to explore this weird world of relational arrays at https://xql.systems (discord link at the bottom if you want to get involved). https://ift.tt/MWQGZod July 14, 2026 at 12:00AM

Show HN: PlanWright – A control plane for AI coding agents https://ift.tt/QqYaRXr

Show HN: PlanWright – A control plane for AI coding agents MCP driven control plane for Agentic Engineering. Plan from Claude Desktop, implement in Codex, review in a custom triage agent. All via MCP, all logged and tracked with full documentation of all decisions made by each agent. https://ift.tt/RJhroKs July 13, 2026 at 11:59PM

Sunday, July 12, 2026

Saturday, July 11, 2026

Show HN: Sqlsure – deterministic semantic checks for AI-generated SQL https://ift.tt/gIZxqsH

Show HN: Sqlsure – deterministic semantic checks for AI-generated SQL https://ift.tt/9pyPlH7 July 12, 2026 at 12:03AM

Show HN: Don't let your engineering brain rot in the age of AI https://ift.tt/njAFclS

Show HN: Don't let your engineering brain rot in the age of AI https://ift.tt/vHLAY0m July 11, 2026 at 11:57PM

Show HN: Share and explore custom Claude Code status lines https://ift.tt/Rc9oInM

Show HN: Share and explore custom Claude Code status lines Hey HN, I made a registry for claude code users to share and explore status lines. I found that my friends/coworkers and I would always share screenshots of our terminal to show off our custom claude lines so I decided to build this registry as a place for others to show off! https://claudelines.com July 11, 2026 at 11:51PM

Friday, July 10, 2026

Show HN: We beat Cloudflare's bot detection (open-source stealth browser) https://ift.tt/rKc3uHO

Show HN: We beat Cloudflare's bot detection (open-source stealth browser) https://ift.tt/3mJuSU5 July 11, 2026 at 04:26AM