frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Using AI to write better code more slowly

https://nolanlawson.com/2026/05/25/using-ai-to-write-better-code-more-slowly/
181•signa11•3h ago•68 comments

Taking a walk may lead to more creativity than sitting, study finds (2014)

https://www.apa.org/news/press/releases/2014/04/creativity-walk
84•bilsbie•4h ago•36 comments

Norway's 2 petabytes of Huawei flash storage and LLM training

https://www.blocksandfiles.com/flash/2026/05/22/norways-2-petabytes-of-huawei-flash-storage-and-l...
169•rbanffy•7h ago•78 comments

How Shamir's Secret Sharing Works

https://ente.com/blog/how-shamirs-secret-sharing-works/
62•subract•4h ago•6 comments

Exit IP VPN servers mitigation rollout

https://mullvad.net/en/help/exit-ip-vpn-servers-mitigation-rollout
281•Cider9986•9h ago•45 comments

Ferrari Luce

https://www.ferrari.com/en-EN/auto/ferrari-luce
92•jumploops•5h ago•207 comments

Does Anybody Actually Like React?

https://jsx.lol
64•brazukadev•57m ago•62 comments

California moves to exempt Linux from its age-verification law after backlash

https://www.tomshardware.com/software/linux/california-moves-to-exempt-linux-from-its-upcoming-ag...
681•rbanffy•8h ago•303 comments

Squares in Squares

https://kingbird.myphotos.cc/packing/squares_in_squares.html
34•carlos-menezes•1d ago•2 comments

Toshifumi Suzuki, founder of Seven-Eleven Japan, has died

https://www.referenceforbusiness.com/biography/S-Z/Suzuki-Toshifumi-1932.html
138•L_Rahman•10h ago•56 comments

Performance of Rust Language [pdf]

https://github.com/yugr/rust-slides/
22•tanelpoder•3h ago•3 comments

Hacker News front page as a site

https://thefrontpage.dev/
134•thatxliner•6h ago•49 comments

Show HN: Write your BPF programs in Go, not C

https://github.com/boratanrikulu/gobee
62•boratanrikulu•4d ago•30 comments

CVE-2026-28952: Apple macOS 26.5 Kernel Vuln found by Claude

https://support.apple.com/en-us/127115
82•dragonsenseiguy•3h ago•29 comments

Nobody cracks open a programming book anymore

https://unix.foo/posts/nobody-cracks-open-a-programming-book/
100•zdw•3h ago•130 comments

Show HN: OpenBrief – Local-first video downloader/summarizer

https://github.com/tantara/openbrief
31•tantara•5h ago•3 comments

Microsoft Copilot Cowork Exfiltrates Files

https://www.promptarmor.com/resources/microsoft-copilot-cowork-exfiltrates-files
194•Kneenex•5h ago•41 comments

Browser-based file encryption tool using WebCrypto

https://secvant.com/
5•unixlor•1h ago•6 comments

What we lost when we stopped letting kids leave the front yard

https://stevemagness.substack.com/p/the-cost-of-safetyism
78•obscurette•12h ago•68 comments

Our Warming Planet Is a Petri Dish for New and Deadly Microbes

https://www.newyorker.com/magazine/2026/06/01/our-warming-planet-is-a-petri-dish-for-new-and-dead...
6•littlexsparkee•2h ago•0 comments

C extensions, portability, and alternative compilers

https://lemon.rip/w/6-c-extensions-compilers/
140•xngbuilds•12h ago•49 comments

Weave (YC W25) is hiring ML, AI, product, & design engineers

https://jobs.ashbyhq.com/workweave
1•adchurch•8h ago

Jensen–Shannon Divergence

https://en.wikipedia.org/wiki/Jensen%E2%80%93Shannon_divergence
76•teleforce•3d ago•13 comments

Mathematical Patterns in African American HAIRSTYLEs

https://math.buffalo.edu/mad/special/gilmer-gloria_HAIRSTYLES.html
6•marysminefnuf•1d ago•0 comments

The Lottery – Shirley Jackson (1948)

https://www.newyorker.com/magazine/1948/06/26/the-lottery
14•jxmorris12•3d ago•7 comments

A successful Japanese trial of a ramjet engine designed for Mach‑5 aircraft

https://www.bgr.com/2178211/japan-hypersonic-engine-ramjet-2-hour-flights-to-us/
103•rmason•7h ago•91 comments

Yoti age checks share facial photos and device fingerprints with third parties

https://techxplore.com/news/2026-05-online-age-pointless-privacy.html
128•Lihh27•6h ago•25 comments

Gnutella: A Protocol Outliving the World That Created It

https://rickcarlino.com/notes/p2p/gnutella-explanation.html
218•rickcarlino•4d ago•69 comments

Everyone Against Us (2023)

https://www.chicagomag.com/chicago-magazine/april-2023/everyone-against-us/
56•NaOH•5d ago•9 comments

IBM Spins Off the First Pure-Play Quantum Chip Foundry

https://futurumgroup.com/insights/2-billion-chips-act-investment-in-quantum-bets-on-ibms-300mm-su...
144•rbanffy•17h ago•61 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.