frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

"The original URL for this prediction will no longer be available in 11 years." (2011)

https://longbets.org/601/
49•doubletwoyou•1h ago•9 comments

My server is a phone now

https://seg6.space/posts/phone-server/
219•seg6•7h ago•84 comments

Os8088: A powerful Mac-like OS for the IBM XT, 286, 386

https://os8088.com/
112•jggonz•6h ago•44 comments

Improving Heuristics for A* Pathfinding

https://www.redblobgames.com/pathfinding/heuristics/differential.html
158•bobbiechen•1w ago•17 comments

Dithered QR Codes

https://www.andrewt.net/dithered-qr-codes/wtf/
115•jmusall•6h ago•13 comments

Shopify replaced Redis with MySQL for inventory reservations–and it scaled

https://shopify.engineering/scaling-inventory-reservations
125•adletbalzhanov•7h ago•75 comments

Fastmail offers EU data region

https://www.fastmail.com/blog/fastmail-offers-eu-data-region/
362•groomlake•13h ago•178 comments

Incentives are for losers

https://www.experimental-history.com/p/incentives-are-for-losers
46•bkudria•4h ago•16 comments

Melatonin impairs morning cognition in healthy young adults

https://academic.oup.com/sleep/article/46/Supplement_1/A34/7181621
42•bohaska•4h ago•16 comments

Unexpected events and prosocial behavior: the Batman effect (2025)

https://www.nature.com/articles/s44184-025-00171-5
39•davidbarker•6d ago•5 comments

_for-sale DNS records

https://specification.website/spec/foundations/for-sale-dns/
376•shaunpud•16h ago•140 comments

Illinois just told every operating system to start reporting your kid's age

https://itsfoss.com/news/illinois-age-verification-bill/
36•WaitWaitWha•1h ago•10 comments

Making difficulty curves in games

http://www.davetech.co.uk/difficultycurves
95•hakkikonu•3d ago•34 comments

Open-source interactive map for the Aug 12 total solar eclipse

https://eclipsefan.org/?v=2&t=max&layers=eclipse%2Cbesselian%2Cumbra-live%2Cshadow-3d%2Ccloud-pro...
119•MarcoDewey•10h ago•26 comments

Retraction: The App Store Rejection of the Week That Was a Correct Rejection

https://daringfireball.net/2026/08/retraction_app_store_rejection_of_the_week
82•minimaxir•2h ago•5 comments

TheoremDB · A public workspace for machine mathematics

https://theoremdb.org/
19•frozenseven•4h ago•0 comments

Finding zombies in our systems: A real-world story of CPU bottlenecks

https://medium.com/pinterest-engineering/finding-zombies-in-our-systems-a-real-world-story-of-cpu...
37•fagnerbrack•6d ago•5 comments

Triton: DirectX 11 Driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
159•electricant•16h ago•30 comments

The Sound and Music of 'Hyper Light Drifter' [video]

https://gdcvault.com/play/1024135/The-Sound-and-Music-of
37•hyperific•3d ago•7 comments

Real-time MCP interceptor that blocks .env reads and dangerous commands agents

https://marketnow.site/
4•eddyflores•2h ago•0 comments

Building a local positioning system to track runners using Ultra-Wideband

https://zeus.ugent.be/blog/25-26/12urenloop-uwb/
59•robinpdev•1w ago•4 comments

Fixing my tooltip accessibility mistake

https://jakearchibald.com/2026/my-tooltip-a11y-mistake/
17•robin_reala•1w ago•1 comments

Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

https://twitter.com/un1c0rnioz/status/2084686552299634805
261•ilamont•1d ago•186 comments

Message your other Claude Code sessions

https://code.claude.com/docs/en/cross-session-messaging
98•mfiguiere•14h ago•41 comments

DDisasm: Reversible (bi-directional) Disassembler

https://github.com/GrammaTech/ddisasm
32•aboardRat4•6d ago•5 comments

Should you stop cracking your knuckles?

https://www.bbc.com/future/article/20260807-should-i-stop-cracking-my-knuckles
39•tchalla•7h ago•39 comments

When Feature Flags Do and Don't Make Sense

https://software.rajivprab.com/2019/12/19/when-feature-flags-do-and-dont-make-sense/
19•whack•5d ago•16 comments

ChatGPT starts blocking direct requests to copy an author's style

https://arstechnica.com/ai/2026/07/chatgpt-stops-cloning-famous-writers-voices-but-may-capture-a-...
39•Eloissssss•3h ago•19 comments

Preventing Misfolding by Preventing Folding

https://www.science.org/content/blog-post/preventing-misfolding-preventing-folding
55•surprisetalk•4d ago•3 comments

“Code was never the hard part” is an insult to all programmers

https://blog.senko.net/code-was-never-the-hard-part-is-an-insult-to-all-programmers
662•senko•15h ago•407 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.