frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: HackerBooks – HackerTube, but for books mentioned on HN

https://hackerbooks.org
806•roansh•7h ago•163 comments

U.S. workers took home their smallest share of capital since at least 1947

https://fortune.com/article/why-did-us-workers-just-take-home-smallest-share-of-capital-since-194...
75•qlte•32m ago•13 comments

HackerTube: YouTube built from videos recommended by HN

https://karpathy.bearblog.dev/hacker-tube/
2206•karpathy•1d ago•531 comments

Nibnib: Image compression with extreme decompression speed

https://github.com/raphlinus/nibnib
72•raphlinus•2d ago•7 comments

Tips for more effective fuzz testing with AFL++

https://nullprogram.com/blog/2025/02/05/
63•luu•4d ago•7 comments

AI delivers 'zero financial payoff' to most companies, Apollo economist says

https://techcrunch.com/2026/10/25/ai-delivers-zero-financial-payoff-to-most-companies-according-t...
66•throwoutway•1h ago•39 comments

Ask HN: Which TV do you recommend for privacy?

83•LecroJS•4h ago•145 comments

Mathematics has changed. Let's act like it

https://terrytao.wordpress.com/2026/11/01/mathematics-has-changed-lets-act-like-it/
199•smilelamp•5h ago•209 comments

Copper – A minimal low-level programming language with OOP and generics

https://tibleiz.net/copper/
118•bogdanoff_2•2d ago•70 comments

Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust

https://github.com/ivankovic/omnidiff
136•FabCH•10h ago•38 comments

New 3D thermal invisibility cloak makes objects disappear from infrared cameras

https://www.sciencedaily.com/releases/2026/10/261025073051.htm
26•stevenalowe•2d ago•12 comments

The She-Wolves of Jülich

https://www.historytoday.com/archive/history-matters/she-wolves-julich
8•Thevet•1d ago•0 comments

Proving and improving the Platonic Representation Hypothesis with JEPAs

https://arxiv.org/abs/2610.39302
101•Anon84•10h ago•55 comments

Keeping Up Appearances – The women taking over the funeral industry

https://lareviewofbooks.org/article/death-industry-mortuary-programs-women-andie-eisen-quarterly/
4•TMWNN•2d ago•0 comments

Lenovo's 'encrypted' fingerprint USB is just an unencrypted SD card in a case

https://www.reddit.com/r/technology/comments/1xl2pr3/lenovos_encrypted_fingerprint_usb_drive_is_j...
366•entryleveljobsc•9h ago•130 comments

Bidirectional charging during grid outages

https://www.jefftk.com/p/bidirectional-charging-during-grid-outages
80•luu•1d ago•117 comments

Novellas with Groff

https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html
106•dverlaeckt80•10h ago•47 comments

One-minute frequency disturbances from synchronization in power systems

https://www.nature.com/articles/s41560-026-02144-0
112•croes•1d ago•39 comments

The AI cost of JavaScript frameworks

https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks/
282•luu•17h ago•219 comments

Seoul Viosys begins production of rare-earth-free white light emitter

https://www.semiconductor-today.com/news_items/2026/oct/seoul-291026.shtml
127•gmays•7h ago•32 comments

Parchment Paper History: How We Got Paper Perfect for Baking (2019)

https://tedium.co/2019/11/21/nonstick-parchment-paper-history/
32•colinprince•1d ago•13 comments

Show HN: I rebuilt my old canvas 3D library as a small WebGL 2 library – phoria2

https://kevs3d.co.uk/phoria2/
71•kevs3d•1d ago•10 comments

Radiation Map of the World

https://radiaverse.com/
121•slater•4d ago•37 comments

Show HN: Point your camera at a landscape to learn about its geology

https://outcrop.rocks/
143•headsupernova•3d ago•37 comments

John Leeson (the voice of K9) has died

https://www.doctorwhonews.net/2026/11/john_leeson_1943_2026.html
31•slyrus•3h ago•1 comments

Frontier Airlines Likely Breached

https://www.reddit.com/r/frontierairlines/comments/1xl20e8/psa_email_scam/
160•999900000999•7h ago•53 comments

Domain hacks with unusual Unicode characters (2018)

https://shkspr.mobi/blog/2018/11/domain-hacks-with-unusual-unicode-characters/
51•n_plus_1_acc•13h ago•47 comments

Patrick Stewart taught us what good men do with power

https://www.vox.com/politics/508526/patrick-stewart-jean-luc-picard-star-trek-liberalism
336•rhaynes•6h ago•241 comments

Landline phones will switch off across Britland in 100 days, no extensions

https://www.theregister.com/networks/2026/11/01/landline-phones-will-switch-off-across-britland-i...
120•edward•8h ago•91 comments

An Italian farmer found some unknown seeds in his attic and planted them

https://www.smithsonianmag.com/science-nature/italian-farmer-found-unknown-seeds-attic-with-nothi...
759•ecares•1d ago•197 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.