frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Building and Shipping Mac and iOS Apps Without Ever Opening Xcode

https://scottwillsey.com/building-and-shipping-mac-and-ios-apps-without-ever-opening-xcode/
221•speckx•4h ago•108 comments

Apple's new SpeechAnalyzer API, benchmarked against Whisper and its predecessor

https://get-inscribe.com/blog/apple-speech-api-benchmark.html
395•get-inscribe•7h ago•168 comments

‘Asia's cleanest village’ bans tourists on Sundays

https://www.bbc.com/travel/article/20260625-why-asias-cleanest-village-bans-tourists-on-sundays
12•gmays•51m ago•1 comments

Claude is just Mr. Meeseeks

https://github.com/thephw/claude-meseeks
22•patrickwiseman•1h ago•9 comments

Show HN: YouTube Guitar Tab Parser

https://github.com/marcelpanse/youtube-guitar-tab-parser
46•neogenix•2h ago•35 comments

Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

https://github.com/Poseidon-fan/linux-0.11-rs
70•arto•2h ago•50 comments

Linux on the Sega 32X. Who needs hardware synchronization primitives anyway?

https://cakehonolulu.github.io/linux-on-32x/
80•cakehonolulu•4h ago•18 comments

The art and engineering of Sega CD Silpheed

https://fabiensanglard.net/silpheed/index.html
199•ibobev•8h ago•38 comments

The real prices of frontier models

https://playcode.io/blog/real-price-of-frontier-models
137•ianberdin•4h ago•69 comments

SalesPatriot (YC W25) Is Hiring Full Stack Engineers (SF)

https://jobs.ashbyhq.com/SalesPatriot/df223727-5781-433e-bc75-2aa5bf8dc8d7
1•maciejSz•2h ago

Telegram's t.me domain has been suspended

https://www.whois.com/whois/t.me
206•Tiberium•3h ago•119 comments

Samsung Health app threatens data deletion if users opt out AI training

https://neow.in/cWsyMTV3
199•bundie•3h ago•54 comments

Climate.gov was destroyed. Open data saved it

https://werd.io/climate-gov-was-destroyed-open-data-saved-it/
356•benwerd•3h ago•141 comments

Collaboration Networks in Brazilian Computer Science

https://blog.ptidej.net/collaboration-networks-in-brazilian-computer-science/
5•aliiiimaher•3d ago•1 comments

Show HN: I implemented a neural network in SQL

https://github.com/xqlsystems/xarray-sql/blob/claude/xarray-sql-mnist-demo/benchmarks/nn.py
42•alxmrs•3h ago•10 comments

TFTP Honey Pot Results

https://bruceediger.com/posts/tftp-honeypot-results/
41•speckx•3h ago•18 comments

The infinite scroll may become endangered if controversial Calif. law passes

https://www.sfgate.com/politics/article/meta-social-media-teenagers-22337724.php
38•Stratoscope•4h ago•45 comments

Show HN: Jacquard, a programming language for AI-written, human-reviewed code

https://github.com/jbwinters/jacquard-lang
24•jbwinters•7h ago•10 comments

Ancient Roman Board Game

https://ludus-coriovalli.web.app/
75•nobody9999•4d ago•34 comments

Manifest Man

https://www.thenewcritic.com/p/manifest-man
3•ekluger•30m ago•0 comments

The 4-Bitter Lesson: Balancing Stability and Performance in NVFP4 RL

https://humansand.ai/blog/nvfp4-rl
19•Areibman•3d ago•0 comments

Show HN: Nobie – an Excel-compatible runtime for agents and humans

https://nobie.com
67•matthewgapp•4h ago•30 comments

The Origins of Heikki's Garden of Flowers

https://garden-of-flowers.heikkilotvonen.com/?essay
24•panic•2d ago•2 comments

A voxel Tokyo in real Japan time – ride the Yamanote line and study Japanese

https://jivx.com/densha
327•momentmaker•11h ago•64 comments

Show HN: Sigwire – a live TUI switchboard for every signal on your Linux box

https://github.com/yeet-src/sigwire
18•zasc•3h ago•7 comments

Show HN: BillAI Bass, an AI-Powered Big Mouth Billy Bass Using Strands Agents

https://github.com/morganwilliscloud/billai-bass
47•mtw14•4h ago•22 comments

Show HN: I built a one-prompt hackathon platform, free entry, sponsored prizes

https://1shotchallenge.ai
6•lucasmartinic•56m ago•1 comments

Benchmarking 15 "E-Waste" GPUs with Modern Workloads

https://esologic.com/benchmarking-tesla-gpus/
100•eso_logic•9h ago•43 comments

Show HN: OpenClawMachines – Extending OpenClaw to the Enterprise

https://github.com/mathaix/OpenClawMachines
22•mathaix•5h ago•21 comments

Wikipedia escapes Category 1 designation under the UK Online Safety Act for now

https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2026-07-13/Special_report
89•hn_acker•7h ago•70 comments
Open in hackernews

Show HN: I implemented a neural network in SQL

https://github.com/xqlsystems/xarray-sql/blob/claude/xarray-sql-mnist-demo/benchmarks/nn.py
42•alxmrs•3h ago
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://github.com/xqlsystems/xarray-sql/blob/main/docs/geos....

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://bsky.app/profile/al.merose.com/post/3mpbods7wts2y

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).

Comments

tommica•2h ago
I'm just going to go back to making my CRUD endpoints...

Jokes aside, sounds really impressive, though I only understood about 10% :D

0xnyn•2h ago
initially rolled my eyes at "neural networks in SQL," but after reading the code I came away impressed

basically it comes down to using relational algebra as the IR, letting a database optimizer reason about tensor programs

alxmrs•1h ago
I would have had the same gut reaction as you lol.

You’re spot on. I think that SQL, as a data oriented and logic PL, might be ideal for writing tensor programs.

HPsquared•2h ago
Somewhat more reliable than implementing SQL in neural networks.
iqbal1980•1h ago
Why? lol
alxmrs•1h ago
https://bsky.app/profile/al.merose.com/post/3mpz4njpcvk2o
soupspaces•1h ago
Neat! Feels analogous to "X runs Doom" demos (but NN).
alxmrs•1h ago
Totally. I can’t wait to take this to https://hytradboi.com
simonw•27m ago
Just today I saw this implementation of DOOM in SQLite using a recursive CTE for a simple ray tracer: https://github.com/petergpt/doomql
sporkl•20m ago
I've been working on something similar, implementing a relational language on top of a tensor library[0].

Mathematically, einsum and database joins are the same thing, just over different semirings (real numbers for einsum, booleans for databases). A lot of papers about datalog explore this sort of thing in more depth. In particular, Dyna[1] might be interesting.

[0]: https://arxiv.org/abs/2509.22614 [1]: https://dyna.org/