frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Writing by hand is good for your brain

https://nealstephenson.substack.com/p/writing-by-hand-is-good-for-your
896•dwwoelfel•9h ago•449 comments

98.css

https://jdan.github.io/98.css/#status-bar
60•lopespm•1h ago•6 comments

Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models

183•adam_rida•4h ago•87 comments

The Beam Engine

https://glinscott.github.io/beam-engine/
102•glinscott•1d ago•42 comments

What happened to TheNumbers.com

https://stephenfollows.com/p/what-just-happened-to-thenumberscom-should-worry-us-all
263•nickthegreek•6h ago•117 comments

Startup founders urge U.S. government not to shut off Chinese open weight AI

https://www.politico.com/news/2026/07/22/startup-founders-urge-trump-not-to-shut-off-chinese-open...
672•theanonymousone•8h ago•611 comments

A Taxonomy of Omnicidal Futures Involving Artificial Intelligence

https://arxiv.org/abs/2507.09369
11•amelius•56m ago•5 comments

Building on ATProto

https://lukekanies.com/writing/building-on-atproto/
117•speckx•5h ago•57 comments

Software rendering in 500 lines of bare C++

https://haqr.eu/tinyrenderer/
233•mpweiher•9h ago•42 comments

Interview with Matheus Moreira about Lone Lisp and Linux Kernel

https://alexalejandre.com/interviews/interview-with-matheus-moreira/
26•veqq•6d ago•5 comments

Why Software Factories Fail (or: harness engineering is not enough)

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md
142•dhorthy•8h ago•126 comments

What else do people draw on gradient.horse?

https://rybakov.com/blog/what_else_do_people_draw_on_gradient-copy.horse/
13•spython•5d ago•3 comments

Learn OpenGL, extensive tutorial resource for learning Modern OpenGL

https://learnopengl.com/
167•ibobev•8h ago•93 comments

Show HN: Palmier Pro – Open-source macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
108•harrisontin•8h ago•17 comments

A solid-state “atomic channel” for separating rare earth elements

https://pme.uchicago.edu/news-events/news/cleaner-route-purifying-rare-earth-elements
62•MarcoDewey•5h ago•11 comments

DARPA, U.S. Air Force fly AI-controlled F-16

https://www.darpa.mil/news/2026/darpa-us-air-force-fly-ai-controlled-f-16
159•r2sk5t•9h ago•176 comments

Astronomers may have found the first exomoon

https://www.eso.org/public/news/eso2610/
188•MarcoDewey•9h ago•73 comments

Converting Files into Minecraft Worlds

https://wuemeli.com/blog/sulfur-part-1/
43•wuemeli•3d ago•12 comments

The arguments against open source AI are bad

https://tombedor.dev/arguments-against-open-source-ai-are-very-bad/
179•jjfoooo4•6h ago•131 comments

Launch HN: Screenpipe (YC S26) – Record how you work and turn that into agents

51•louis030195•6h ago•49 comments

Geekbench 7

https://www.geekbench.com/blog/2026/07/geekbench-7/
47•ilreb•5h ago•37 comments

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

https://github.com/onecli/onecli
70•Jonathanfishner•8h ago•27 comments

Tell HN: Namecheap gave my account to an unverified third party

310•Thrashed•2h ago•108 comments

Learn WebGPU for C++

https://eliemichel.github.io/LearnWebGPU/
78•ibobev•8h ago•11 comments

Couple pay >$800k for a gene-editing therapy for their daughter. She died.

https://www.science.org/content/article/exclusive-death-girl-chinese-gene-editing-trial-was-never...
234•Shortness8•2h ago•135 comments

Show HN: Trifle – Open-source analytics that stores answers, not events

https://trifle.io/
35•iluzone•1d ago•3 comments

Fields Medals 2026

https://www.mathunion.org/imu-awards/fields-medal/fields-medals-2026
124•nill0•9h ago•58 comments

Show HN: Claude-thermos keeps your Claude session warm for you

https://github.com/izeigerman/claude-thermos
51•s0ck_r4w•6h ago•45 comments

Escape Analysis in Go: Stack vs. Heap Allocations Explained

https://blog.jetbrains.com/go/2026/07/20/escape-analysis/
28•ingve•2d ago•6 comments

Meta Garbage Collection: Using OCaml's GC to GC Rust

https://soteria-tools.com/blog/meta-garbage-collection
41•annieversary•3d ago•0 comments
Open in hackernews

QueryLeaf: SQL for Mongo

https://github.com/beekeeper-studio/queryleaf
23•tilt•1y ago

Comments

ttfkam•1y ago
Would much rather have "Mongo" for SQL like this:

https://github.com/microsoft/documentdb

I am skeptical that SQL with Mongo backing it would be at all performant except in the most trivial cases. On the flip side, Postgres's jsonb indexing makes the inverse very doable.

Zambyte•1y ago
https://www.ferretdb.com/
VWWHFSfQ•1y ago
We're seeing a convergence of document DBs adding relational features, and relational DBs adding document features. At this point I find the best of both worlds to simply be PG with JSONB.

    create table document (
      id uuid primary key default gen_random_uuid(),
      doc jsonb
    );

This alone will give you a huge number of the features that Mongo provides, but also the full power of Postgres for everything else.
victor106•1y ago
this makes so much sense.

I also wonder if there are some specific capabilities of MongoDB that this pattern does not support?

etse•1y ago
Maybe not capabilities, but I'm wondering if Postgres has gotten any easier to scale horizontally. The administrative overhead of scaling and maintenance with MongoDB seemed lower to Postgres to me.

Would love to hear from others with more Postgres than I.

ttfkam•1y ago
Excluding conversations about MongoDB compatibility, PG16 added bidirectional replication for multiple writers and there are Postgres-compatible options out there for a distributed database including Citus, EDB Postgres Distributed, Yugabyte, CockroachDB, Aurora Limitless, etc.

The choices require some nuance to figure out a best fit, but then again so does any MongoDB installation (despite the marketing hype to the contrary as there are no free lunches).

You might be surprised how far most folks can typically scale with just read replica(s) on a reasonably sized writer. Add in bidirectional replication for multiple writers, and you can go even further. Beyond that, even vanilla Postgres can do it, but you'll need to do some combinations of partitioning and foreign tables.

zareith•1y ago
Curious if there is something similar that works with sqlite.
maxbond•1y ago
As of 3.38 (or 3.45 if you meant a binary JSON structure specifically) https://sqlite.org/json1.html
zareith•1y ago
We can use json type, but the dx around directly using that is not comparable to mongodb. Which is why I was looking for a similar abstraction.
aleksi•1y ago
There is FerretDB v1, which provides MongoDB protocol for SQLite. See https://github.com/FerretDB/FerretDB/tree/main-v1
zareith•1y ago
They seemed to have moved away from that.

From https://docs.ferretdb.io/migration/migrating-from-v1

> Unlike v1.x that provides options for PostgreSQL and SQLite as backend, FerretDB v2.x requires a PostgreSQL with DocumentDB extension as the backend

aleksi•1y ago
FerretDB v2 is built on top of this extension. See https://github.com/FerretDB/FerretDB
gavinray•1y ago
It's somewhat of a secret, but AWS's JDBC driver for DocumentDB supports Mongo as well

Let's you interact with Mongo as if it were a regular SQL JDBC database

https://github.com/aws/amazon-documentdb-jdbc-driver

bdcravens•1y ago
That driver is read-only
gitroom•1y ago
Honestly, putting Mongo and SQL together always confuses me a bit. I'm way more comfy with Postgres and jsonb. Anyone else feel like scaling Postgres is still kinda a pain?
sparky_•1y ago
I can appreciate the technical aspect of a translation layer, but I struggle to understand the use case for a tool like this. If your data is inherently relational, then you should be using a relational store anyway. And if it isn't, trying to hammer it on-demand into something that looks relational is going to eat you with performance implications. Unless I'm missing something.