frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Replace your boss before they replace you

https://replaceyourboss.ai/
43•_tk_•40m ago•1 comments

Same-day upstream Linux support for Snapdragon 8 Elite Gen 5

https://www.qualcomm.com/developer/blog/2025/10/same-day-snapdragon-8-elite-gen-5-upstream-linux-...
178•mfilion•2h ago•77 comments

The Input Stack on Linux: An End-to-End Architecture Overview

https://venam.net/blog/unix/2025/11/27/input_devices_linux.html
50•venamresm__•2h ago•3 comments

Quake Engine Indicators

https://fabiensanglard.net/quake_indicators/index.html
88•liquid_x•3d ago•11 comments

Abuse of the nullish coalescing operator in JS/TS

https://fredrikmalmo.com/blog/js-ts-nullish-empty-string-coalescing
27•fred_•6d ago•34 comments

Linux Kernel Explorer

https://reverser.dev/linux-kernel-explorer
452•tanelpoder•13h ago•69 comments

The VanDersarl Blériot: a 1911 airplane homebuilt by teenage brothers

https://www.historynet.com/vandersarl-bleriot/
19•ForHackernews•2h ago•8 comments

Tell HN: Happy Thanksgiving

178•prodigycorp•13h ago•46 comments

Penpot: The Open-Source Figma

https://github.com/penpot/penpot
601•selvan•17h ago•140 comments

Show HN: Runprompt – run .prompt files from the command line

https://github.com/chr15m/runprompt
60•chr15m•4h ago•24 comments

Pakistan says rooftop solar output to exceed grid demand in some hubs next year

https://www.reuters.com/sustainability/boards-policy-regulation/pakistan-says-rooftop-solar-outpu...
67•toomuchtodo•2h ago•43 comments

Why Strong Consistency?

https://brooker.co.za/blog/2025/11/18/consistency.html
6•SchwKatze•21h ago•2 comments

Show HN: MkSlides – Markdown to slides with a similar workflow to MkDocs

https://github.com/MartenBE/mkslides
46•MartenBE•6h ago•7 comments

The current state of the theory that GPL propagates to AI models

https://shujisado.org/2025/11/27/gpl-propagates-to-ai-models-trained-on-gpl-code/
126•jonymo•6h ago•151 comments

Mixpanel Security Breach

https://mixpanel.com/blog/sms-security-incident/
168•jaredwiener•12h ago•97 comments

Coq: The World's Best Macro Assembler? (2013) [pdf]

https://nickbenton.name/coqasm.pdf
117•addaon•14h ago•51 comments

TPUs vs. GPUs and why Google is positioned to win AI race in the long term

https://www.uncoveralpha.com/p/the-chip-made-for-the-ai-inference
99•vegasbrianc•5h ago•127 comments

DIY NAS: 2026 Edition

https://blog.briancmoses.com/2025/11/diy-nas-2026-edition.html
334•sashk•16h ago•205 comments

Ray Marching Soft Shadows in 2D (2020)

https://www.rykap.com/2020/09/23/distance-fields/
152•memalign•11h ago•26 comments

Show HN: SyncKit – Offline-first sync engine (Rust/WASM and TypeScript)

https://github.com/Dancode-188/synckit
41•danbitengo•4h ago•13 comments

Move Expressions

https://smallcultfollowing.com/babysteps/blog/2025/11/21/move-expressions/
3•ibobev•3d ago•0 comments

Seagate achieves 6.9TB storage capacity per platter

https://www.tomshardware.com/pc-components/hdds/seagate-achieves-a-whopping-6-9tb-storage-capacit...
40•elorant•2h ago•31 comments

Interactive λ-Reduction

https://deltanets.org/
98•jy14898•2d ago•21 comments

Technical Deflation

https://benanderson.work/blog/technical-deflation/
51•0x79de•3d ago•47 comments

Music eases surgery and speeds recovery, study finds

https://www.bbc.com/news/articles/c231dv9zpz3o
163•1659447091•14h ago•77 comments

We're losing our voice to LLMs

https://tonyalicea.dev/blog/were-losing-our-voice-to-llms/
275•TonyAlicea10•4h ago•309 comments

Memories of .us

https://computer.rip/2025-11-11-dot-us.html
4•sabas_ge•1d ago•0 comments

G0-G3 corners, visualised: learn what "Apple corners" are

https://www.printables.com/model/1490911-g0-g3-corners-visualised-learn-what-apple-corners
112•dgroshev•4d ago•56 comments

The Concrete Pontoons of Bristol

https://thecretefleet.com/blog/f/the-concrete-pontoons-of-bristol
31•surprisetalk•6d ago•1 comments

Feedback doesn't scale

https://another.rodeo/feedback/
4•ohjeez•1d ago•0 comments
Open in hackernews

QueryLeaf: SQL for Mongo

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

Comments

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

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

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