frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Using the railway network as a flatbed scanner

https://philo.gay/linecam/
264•otherayden•4h ago•46 comments

Fixing a bricked Framework laptop

https://quantum5.ca/2026/08/16/fixing-bricked-amd-7040-series-framework-13-laptop-with-20-tools/
196•jp_sc•4h ago•117 comments

The Amazon tax

https://seths.blog/2026/08/the-amazon-tax/
448•herbertl•4h ago•312 comments

Cursor launches Origin, GitHub alternative

https://cursor.com/changelog/origin-code-hosting
187•tomasreimers•1d ago•127 comments

Linux 7.3 improves performance when running out of vRAM

https://pixelcluster.dev/VRAM-Overcommit/
415•flaburgan•9h ago•173 comments

Python Polars Cheatsheet (based on our O'Reilly book)

https://opensource.posit.co/resources/cheatsheets/polars/
86•jeroenjanssens•3h ago•12 comments

Launch HN: machine0 (YC S26) – Persistent CPU and GPU VMs from the CLI

https://machine0.io
12•bwm•58m ago•8 comments

Code-native generation of highly programmable 3D assets (2026)

https://arxiv.org/abs/2607.22738
26•baigy•2h ago•26 comments

Teaching my kid to code with a modern MUD

https://tau.dev/2026/08/07/canon
151•andrewjanke•6d ago•49 comments

Splitting a Git Commit

https://blog.gnoack.org/post/git-history-split
52•signa11•3d ago•22 comments

Degraded performance for multiple models

https://status.claude.com/incidents/q7txxvbsftgq
120•matt89•57m ago•99 comments

Superpowers, Not Superintelligence

https://bond.now/news/superpowers-not-superintelligence
8•edbernays•57m ago•2 comments

Composable Tests

https://newsletter.kentbeck.com/p/composable-tests
50•vinipolicena•4h ago•37 comments

Babies born under sugar rationing grew into adults with lower cancer risk

https://theconversation.com/babies-born-under-sugar-rationing-grew-into-adults-with-lower-cancer-...
125•zeristor•3h ago•33 comments

We've flown a radiation-blocking vest to the Moon and back, and it worked

https://arstechnica.com/science/2026/08/weve-flown-a-radiation-blocking-vest-to-the-moon-and-back...
5•rbanffy•4d ago•0 comments

Fairphone is now officially available in the United States

https://www.fairphone.com/nl/stories/the-fairphone-gen-6-is-all-about-giving-you-more
240•Vinnl•4h ago•127 comments

Memory prices climb 500% in 12 months

https://www.tomshardware.com/pc-components/ram/memory-prices-climb-500-percent-in-12-months-up-to...
153•haunter•23h ago•107 comments

Ask HN: I've quit six systems for tracking my illness. What works?

18•Abh1Works•2d ago•14 comments

Show HN: Shoehorn – Quantize any model down to run on your machine

https://notactuallytreyanastasio.github.io/shoehorn/
23•rhgraysonii•2h ago•2 comments

Google has acquired the data of failed US airline Spirit

https://www.theregister.com/ai-and-ml/2026/08/18/google-buys-crashed-airline-spirits-data-at-auct...
463•pseudolus•7h ago•328 comments

Meta Files Patent for Facial Recognition, Automatic Recording of People

https://www.privacyguides.org/news/2026/08/17/meta-files-patent-for-facial-recognition-automatic-...
184•DeepLogin•5h ago•126 comments

Universal health coverage could save $1T and 114k lives a year: study

https://ysph.yale.edu/news-article/universal-health-coverage-could-save-one-trillion-dollars-and-...
418•karakoram•1d ago•557 comments

California's new tire efficiency rules could save drivers $1B a year

https://grist.org/transportation/californias-new-tire-efficiency-rules-could-save-drivers-1b-a-year/
58•littlexsparkee•14h ago•89 comments

Show HN: Openleetcode – local LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode
6•therepanic•1h ago•2 comments

Rethinking Database Programming

https://acadia.engineering/blog/rethinking-database-programming
183•honungsburk•9h ago•96 comments

Ask HN: GitHub employees what's going on? Why?

112•sharts•1d ago•85 comments

Baking a Model: A Metaphor for LLM Training

https://newsletter.kentbeck.com/p/baking-a-model
29•KentBeck•3d ago•3 comments

Finger: Social network that never died

https://en.andros.dev/blog/54572bc7/finger-the-1971-social-network-that-never-died/
133•andros•10h ago•43 comments

Diesel Margins Top $100 a Barrel to Reach Record High as Supply Crunch Grows

https://www.bloomberg.com/news/articles/2026-08-18/diesel-margins-top-100-a-barrel-to-reach-recor...
12•toomuchtodo•45m ago•1 comments

Show HN: Saggar, a Mac terminal that keeps sessions and your attention organized

https://saggar.marginalutility.dev/
46•mcclowes•1d ago•48 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.