frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

$96 3D-printed rocket that recalculates its mid-air trajectory using a $5 sensor

https://github.com/novatic14/MANPADS-System-Launcher-and-Rocket
112•ZacnyLos•2h ago•46 comments

A Visual Introduction to Machine Learning

https://r2d3.us/visual-intro-to-machine-learning-part-1/
76•vismit2000•1h ago•4 comments

Generating All 32-Bit Primes (Part I)

https://hnlyman.github.io/pages/prime32_I.html
14•hnlyman•52m ago•2 comments

Rack-mount hydroponics

https://sa.lj.am/rack-mount-hydroponics/
204•cdrnsf•8h ago•45 comments

The Appalling Stupidity of Spotify's AI DJ

https://www.charlespetzold.com/blog/2026/02/The-Appalling-Stupidity-of-Spotifys-AI-DJ.html
186•ingve•4h ago•163 comments

Why Mathematica does not simplify sinh(arccosh(x))

https://www.johndcook.com/blog/2026/03/10/sinh-arccosh/
88•ibobev•3d ago•20 comments

Examples for the tcpdump and dig man pages

https://jvns.ca/blog/2026/03/10/examples-for-the-tcpdump-and-dig-man-pages/
20•ibobev•4d ago•3 comments

A most elegant TCP hole punching algorithm

https://robertsdotpm.github.io/cryptography/tcp_hole_punching.html
114•Uptrenda•9h ago•44 comments

Treasure hunter freed from jail after refusing to turn over shipwreck gold

https://www.bbc.com/news/articles/cg4g7kn99q3o
114•tartoran•9h ago•146 comments

How kernel anti-cheats work

https://s4dbrd.github.io/posts/how-kernel-anti-cheats-work/
223•davikr•12h ago•192 comments

Allow me to get to know you, mistakes and all

https://sebi.io/posts/2026-03-14-allow-me-to-get-to-know-you-mistakes-and-all/
185•sebi_io•14h ago•79 comments

Show HN: Han – A Korean programming language written in Rust

https://github.com/xodn348/han
184•xodn348•15h ago•101 comments

SBCL Fibers – Lightweight Cooperative Threads

https://atgreen.github.io/repl-yell/posts/sbcl-fibers/
114•anonzzzies•13h ago•18 comments

Centuries of selective breeding turned wild cabbage into different vegetables

https://www.worksinprogress.news/p/many-of-the-tastiest-vegetables-are
68•bensouthwood•3d ago•24 comments

Ageless Linux – Software for humans of indeterminate age

https://agelesslinux.org/
682•nateb2022•14h ago•451 comments

Bumblebee queens breathe underwater to survive drowning

https://www.smithsonianmag.com/science-nature/bumblebee-queens-breathe-underwater-to-survive-drow...
148•1659447091•15h ago•28 comments

Mathematics Distillation Challenge – Equational Theories

https://terrytao.wordpress.com/2026/03/13/mathematics-distillation-challenge-equational-theories/
80•picafrost•1d ago•3 comments

MCP is dead; long live MCP

https://chrlschn.dev/blog/2026/03/mcp-is-dead-long-live-mcp/
173•CharlieDigital•17h ago•153 comments

Tree Search Distillation for Language Models Using PPO

https://ayushtambde.com/blog/tree-search-distillation-for-language-models-using-ppo/
67•at2005•11h ago•5 comments

Slicing Bezier Surfaces

https://fatih-erikli-potato.github.io/blog/slicing-bezier-surfaces.html
13•fatih-erikli-cg•2d ago•3 comments

A look inside Dialector, filmmaker Chris Marker's chatbot from 1988

https://kubicki.org/letters/the-festival-of-the-machines/
52•kosmavision•3d ago•4 comments

Discovering Little Worlds (2020)

https://dmitrybrant.com/2020/08/01/discovering-little-worlds
5•wonger_•4d ago•0 comments

An ode to bzip

https://purplesyringa.moe/blog/an-ode-to-bzip/
149•signa11•20h ago•81 comments

The mechanics of autonomous software translation

https://alperenkeles.com/posts/autonomous-translations/
22•alpaylan•4d ago•0 comments

Marketing for Founders

https://github.com/EdoStra/Marketing-for-Founders
194•jimsojim•16h ago•88 comments

A Recursive Algorithm to Render Signed Distance Fields

https://pointersgonewild.com/2026-03-06-a-recursive-algorithm-to-render-signed-distance-fields/
103•surprisetalk•3d ago•7 comments

Baochip-1x: What it is, why I'm doing it now and how it came about

https://www.crowdsupply.com/baochip/dabao/updates/what-it-is-why-im-doing-it-now-and-how-it-came-...
325•timhh•3d ago•71 comments

Fedora 44 on the Raspberry Pi 5

https://nullr0ute.com/2026/03/fedora-44-on-the-raspberry-pi-5/
105•jandeboevrie•16h ago•33 comments

Hostile Volume – A game about adjusting volume with intentionally bad UI

https://hostilevolume.com/
101•Velocifyer•17h ago•65 comments

Library of Short Stories

https://www.libraryofshortstories.com/
89•debo_•16h ago•4 comments
Open in hackernews

QueryLeaf: SQL for Mongo

https://github.com/beekeeper-studio/queryleaf
23•tilt•10mo ago

Comments

ttfkam•10mo 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•10mo ago
https://www.ferretdb.com/
VWWHFSfQ•10mo 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•10mo ago
this makes so much sense.

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

etse•10mo 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•10mo 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•10mo ago
Curious if there is something similar that works with sqlite.
maxbond•10mo ago
As of 3.38 (or 3.45 if you meant a binary JSON structure specifically) https://sqlite.org/json1.html
zareith•10mo 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•10mo ago
There is FerretDB v1, which provides MongoDB protocol for SQLite. See https://github.com/FerretDB/FerretDB/tree/main-v1
zareith•10mo 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•10mo ago
FerretDB v2 is built on top of this extension. See https://github.com/FerretDB/FerretDB
gavinray•10mo 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•10mo ago
That driver is read-only
gitroom•10mo 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_•10mo 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.