frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AI and the ironies of automation – Part 2

https://www.ufried.com/blog/ironies_of_ai_2/
93•BinaryIgor•3h ago•24 comments

Apple Maps claims it's 29,905 miles away

https://mathstodon.xyz/@dpiponi/115651419771418748
87•ColinWright•2h ago•57 comments

Europeans' health data sold to US firm run by ex-Israeli spies

https://www.ftm.eu/articles/europe-health-data-us-firm-israel-spies
332•Fnoord•4h ago•148 comments

Illuminating the processor core with LLVM-mca

https://abseil.io/fast/99
13•ckennelly•1h ago•0 comments

Vacuum Is a Lie: About Your Indexes

https://boringsql.com/posts/vacuum-is-lie/
17•birdculture•3h ago•4 comments

Shai-Hulud compromised a dev machine and raided GitHub org access: a post-mortem

https://trigger.dev/blog/shai-hulud-postmortem
54•nkko•6h ago•34 comments

Linux Sandboxes and Fil-C

https://fil-c.org/seccomp
295•pizlonator•17h ago•98 comments

Kimi K2 1T model runs on 2 512GB M3 Ultras

https://twitter.com/awnihannun/status/1943723599971443134
82•jeudesprits•3h ago•45 comments

Efficient Basic Coding for the ZX Spectrum

https://blog.jafma.net/2020/02/24/efficient-basic-coding-for-the-zx-spectrum/
19•rcarmo•4h ago•4 comments

Compiler Engineering in Practice

https://chisophugis.github.io/2025/12/08/compiler-engineering-in-practice-part-1-what-is-a-compil...
53•dhruv3006•8h ago•7 comments

Willison on Merchant's "Copywriters reveal how AI has decimated their industry"

https://simonwillison.net/2025/Dec/14/copywriters-reveal-how-ai-has-decimated-their-industry/
33•planckscnst•6h ago•16 comments

Update Now: iOS 26.2 Fixes 20 Security Vulnerabilities, 2 Actively Exploited

https://www.macrumors.com/2025/12/12/ios-26-2-security-vulnerabilities/
4•akyuu•12m ago•0 comments

Using e-ink tablet as monitor for Linux

https://alavi.me/blog/e-ink-tablet-as-monitor-linux/
202•yolkedgeek•5d ago•79 comments

I fed 24 years of my blog posts to a Markov model

https://susam.net/fed-24-years-of-posts-to-markov-model.html
249•zdw•20h ago•99 comments

Private Equity Finds a New Source of Profit: Volunteer Fire Departments

https://www.nytimes.com/2025/12/14/us/fire-department-software-private-equity.html
8•7402•35m ago•4 comments

Show HN: Cargo-rail: graph-aware monorepo tooling for Rust; 11 deps

https://github.com/loadingalias/cargo-rail
23•LoadingALIAS•3d ago•1 comments

Getting into Public Speaking

https://james.brooks.page/blog/getting-into-public-speaking
37•jbrooksuk•4d ago•20 comments

Cat Gap

https://en.wikipedia.org/wiki/Cat_gap
156•Petiver•4d ago•36 comments

Recovering Anthony Bourdain's Li.st's

https://sandyuraz.com/blogs/bourdain/
252•thecsw•19h ago•120 comments

I tried Gleam for Advent of Code

https://blog.tymscar.com/posts/gleamaoc2025/
316•tymscar•23h ago•184 comments

The Gorman Paradox: Where Are All the AI-Generated Apps?

https://codemanship.wordpress.com/2025/12/14/the-gorman-paradox-where-are-all-the-ai-generated-apps/
91•ArmageddonIt•4h ago•120 comments

Baumol's Cost Disease

https://en.wikipedia.org/wiki/Baumol_effect
33•drra•3h ago•23 comments

Lean theorem prover mathlib

https://github.com/leanprover-community/mathlib4
67•downboots•14h ago•3 comments

An Implementation of J (1992)

https://www.jsoftware.com/ioj/ioj.htm
74•ofalkaed•15h ago•27 comments

Dagger: Define software delivery workflows and dev environments

https://dagger.io/
56•ahamez•5d ago•40 comments

An off-grid, flat-packable washing machine

https://www.positive.news/society/flat-pack-washing-machine-spins-a-fairer-future/
163•ohjeez•17h ago•84 comments

Closures as Win32 Window Procedures

https://nullprogram.com/blog/2025/12/12/
85•ibobev•16h ago•18 comments

Mystery Science Theater 3000: The Definitive Oral History of a TV Masterpiece

https://www.wired.com/2014/04/mst3k-oral-history/
81•indigodaddy•6d ago•22 comments

Useful patterns for building HTML tools

https://simonwillison.net/2025/Dec/10/html-tools/
324•simonw•3d ago•90 comments

Building a Modern C64 Assembly AI Toolchain

https://medium.com/@gianlucabailo/building-a-modern-c64-assembly-ai-toolchain-using-google-gemini...
20•094459•5d ago•2 comments
Open in hackernews

QueryLeaf: SQL for Mongo

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

Comments

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

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

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