frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

It's time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
263•hggh•6h ago•140 comments

My I3-Emacs Integration

https://khz.ac/software/i3-integration.html
19•nosolace•1h ago•4 comments

My two-part desk setup (2025)

https://arslan.io/2025/11/18/my-two-part-desk-setup/
205•James72689•3d ago•124 comments

Sales and Dungeons: Thermal printer TTRPG utility

https://sales-and-dungeons.app/
34•hyperific•1d ago•12 comments

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
346•ravenical•11h ago•106 comments

Green card seekers must leave U.S. to apply, Trump administration says

https://www.nytimes.com/2026/05/22/us/politics/green-card-changes-trump.html
503•tlhunter•1d ago•890 comments

Byrne's Euclid

https://www.c82.net/euclid/
9•layer8•2h ago•3 comments

ICE Awards $25M Iris-Scanning Contract to Bi2 Technologies

https://www.projectsaltbox.com/p/ice-awards-25-million-iris-scanning
23•cdrnsf•1h ago•3 comments

.NET (OK, C#) finally gets union types

https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/
129•ingve•1d ago•108 comments

Hengefinder: Finding when the sun aligns with your street

https://victoriaritvo.com/blog/hengefinder/
105•evakhoury•1d ago•24 comments

Don't Roll Your Own

https://susam.net/do-not-roll-your-own.html
67•adunk•2h ago•50 comments

New map reveals lost roads of the Roman Empire

https://www.scientificamerican.com/article/new-high-resolution-map-transforms-what-we-know-about-...
37•sohkamyung•3d ago•5 comments

Toxic chemical leak at a manufacturing facility in Orange County

https://www.bbc.com/news/articles/c3w2l249j8go
93•borski•2h ago•50 comments

Show HN: Anyone interested in a tool helps to explore C++ ASTs

https://uvic-aurora.github.io/acav-manual/index.html
11•leomicv•2d ago•1 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
80•elpocko•8h ago•15 comments

SpaceX launches Starship v3 rocket

https://www.space.com/space-exploration/launches-spacecraft/spacex-starship-v3-megarocket-first-t...
349•busymom0•1d ago•230 comments

Judson's Last Ride

https://www.realclearpolitics.com/articles/2026/05/22/judsons_last_ride_154150.html
12•NaOH•12h ago•1 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
189•dxs•12h ago•123 comments

80386 microcode disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
217•nand2mario•12h ago•43 comments

PHP's Oddities

https://flowtwo.io/post/php%27s-oddities
94•thejoeflow•4d ago•111 comments

Making deep learning go brrrr from first principles (2022)

https://horace.io/brrr_intro.html
148•tosh•13h ago•57 comments

-​-dangerously-skip-reading-code

https://olano.dev/blog/dangerously-skip/
88•fagnerbrack•15h ago•108 comments

Kindle loyalists scramble as Amazon turns page on old e-readers

https://www.reuters.com/business/retail-consumer/kindle-loyalists-scramble-amazon-turns-page-old-...
113•cf100clunk•4d ago•122 comments

Texas woman arrested for Facebook post about town water quality

https://reclaimthenet.org/texas-woman-arrested-for-facebook-post-about-town-water-quality
610•abawany•6h ago•268 comments

sp.h: Fixing C by giving it a high quality, ultra portable standard library

https://spader.zone/sp/
189•dboon•3d ago•170 comments

Italy moves to Airbus A330 tankers

https://www.euronews.com/my-europe/2026/05/21/italy-moves-to-airbus-a330-tankers-in-major-nato-al...
227•embedding-shape•8h ago•79 comments

Spanish court declines to fine NordVPN over LaLiga piracy blocking order

https://torrentfreak.com/spanish-court-declines-to-fine-nordvpn-over-laliga-piracy-blocking-order/
119•gslin•17h ago•86 comments

A self-powered computer in actual credit-card size (~1mm thick)

https://old.reddit.com/r/electronics/comments/1td7yxl/i_built_a_fully_selfpowered_computer_in_act...
51•gnabgib•3h ago•4 comments

Improving C# Memory Safety

https://devblogs.microsoft.com/dotnet/improving-csharp-memory-safety/
142•soheilpro•2d ago•31 comments

Highest Random Weight in Elixir

https://jola.dev/posts/highest-random-weight-in-elixir
60•shintoist•2d 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.