frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fable turned reMarkable into Tom Riddle's diary from Harry Potter

https://github.com/MaximeRivest/Riddle
347•modinfo•7h ago•190 comments

OpenWrt One – Open Hardware Router

https://openwrt.org/toh/openwrt/one
538•peter_d_sherman•12h ago•215 comments

CoMaps – FOSS Offline Maps

https://www.comaps.app/
457•basilikum•11h ago•91 comments

GLM 5.2 and the coming AI margin collapse

https://martinalderson.com/posts/the-upcoming-ai-margin-collapse-part-1-glm-5-2/
324•martinald•10h ago•201 comments

How to sequence your own DNA at home

https://bradleywoolf.com/links-1/sequencing-my-own-dna-at-home
154•bilsbie•6h ago•49 comments

Small AI Models Gain Traction In places with unreliable networks

https://spectrum.ieee.org/small-language-models-ai-pharmaceuticals
102•sscaryterry•6h ago•19 comments

Ternlight – 7 MB embedding model that runs in browser (WASM)

https://ternlight-demo.vercel.app/
177•soycaporal•7h ago•44 comments

A global workspace in language models

https://www.anthropic.com/research/global-workspace
343•in-silico•13h ago•125 comments

Pruning RAG context down to what the answer actually needs

https://www.kapa.ai/blog/how-we-prune-rag-context
86•emil_sorensen•11h ago•14 comments

Resetting Xbox

https://news.xbox.com/en-us/2026/07/06/resetting-xbox/
566•dijksterhuis•16h ago•579 comments

AMD Ryzen AI Halo – $4k AI Dev Kit

https://www.lttlabs.com/articles/2026/07/06/amd-ryzen-ai-halo
311•LabsLucas•15h ago•218 comments

Linux on the Atari Jaguar

https://cakehonolulu.github.io/linux-for-jaguar/
131•cakehonolulu•12h ago•24 comments

OpenSSH 10.4/10.4p1 Released

https://www.openssh.org/txt/release-10.4
62•throw0101a•8h ago•14 comments

Acronym Fatigue Series Introduction: why I'm wary of acronyms

https://devz.cl/posts/acryonym-fatigue-series-why-i-m-wary-of-engineering-acronyms/
52•DanielVZ•8h ago•41 comments

A 2048-spin bulk acoustic wave Ising machine for number partitioning and Sudoku

https://arxiv.org/abs/2607.02112
36•Jimmc414•3d ago•9 comments

OfficeCLI: Office suite for AI agents to read and edit Microsoft Office files

https://github.com/iOfficeAI/OfficeCLI
160•maxloh•14h ago•45 comments

Tiny-C Reference Manual Excerpt

https://permacomputer.solarpunk.au/?p=204
19•surprisetalk•4d ago•1 comments

Poly/ML – A Standard ML Implementation

https://github.com/polyml/polyml
57•Lyngbakr•8h ago•14 comments

Aluminum foil (2021)

https://dernocua.github.io/notes/aluminum-foil.html
264•firephox•17h ago•116 comments

Stealth robotics startup (YC S26) is hiring principal engineers (Palo Alto)

1•david-venegas•14h ago

Dolosse – a South African invention used over the world

https://thisbugslife.com/2021/11/21/dolosse-a-south-african-invention-used-over-the-world/
4•andsoitis•2d ago•0 comments

Full Writeup of the Windows GDID

https://github.com/SmtimesIWndr/gdid-reversal
62•typeofhuman•8h ago•29 comments

Learning to code is still worthwhile

https://stevekrouse.com/learn-to-code
161•stevekrouse•9h ago•168 comments

Rotman Lens

https://en.wikipedia.org/wiki/Rotman_lens
100•thomasjb•5d ago•26 comments

M/PC – A Concatenative OS

https://wiki.xxiivv.com/site/m_pc.html
57•caminanteblanco•10h ago•9 comments

Januscape: Guest-to-Host Escape in KVM/x86 [CVE-2026-53359]

https://github.com/V4bel/Januscape
94•Imustaskforhelp•13h ago•33 comments

NSA and IETF: Fairness

https://blog.cr.yp.to/20260706-fairness.html
80•WatchDog•7h ago•76 comments

EndBASIC 0.14: Are we multimedia yet?

https://www.endbasic.dev/2026/07/endbasic-0.14.html
36•jmmv•2d ago•7 comments

Kani: A Model Checker for Rust

https://arxiv.org/abs/2607.01504
138•Jimmc414•14h ago•7 comments

Evaluation order and nontermination in query languages

https://www.rntz.net/post/2026-06-11-datalog-nontermination.html
33•luu•4d ago•3 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.