frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Longest Straight Line Paths on Water or Land on the Earth (2018)

https://arxiv.org/abs/1804.07389
28•joebig•1h ago•5 comments

Arbitrary code execution in QubesOS via copy-to-VM error reporting backchannel

https://www.qubes-os.org/news/2026/08/29/qsb-118/
12•vntok•55m ago•1 comments

RISC-V is now officially supported by CPython

https://blog.python.org/2026/08/riscv-now-officially-supported/
164•lumpa•5d ago•34 comments

Xcena and Samsung's Near Memory Compute CXL Device

https://chipsandcheese.com/p/hot-chips-2026-xcena-and-samsungs
7•klelatti•2h ago•0 comments

Hy4 preview

https://www.tencent.com/tencent-releases-and-open-sources-tencent-hy4-preview/
296•shenli3514•14h ago•189 comments

Bug Blindness

https://danluu.com/bug-blind/
254•davidmckenna•9h ago•143 comments

FreeCORE TrueNAS Core – Continued

https://freecore.org/
97•sashk•8h ago•57 comments

California lawmakers unanimously pass Linux exemption from age-verification law

https://www.tomshardware.com/software/linux/california-lawmakers-unanimously-pass-linux-exemption...
280•shscs911•6h ago•109 comments

The Einstein-Szilard Refrigerator

https://invention.si.edu/invention-stories/einstein-szilard-refrigerator
22•EndXA•3d ago•3 comments

Tether: iMessage, SMS, etc. on Linux

https://zackbartel.com/blog/2026/08/tether/
460•zackb•6d ago•180 comments

Benjamin Franklin's Alter Egos Gave Him the Most Freedom

https://www.smithsonianmag.com/history/among-all-great-things-benjamin-franklin-invented-discover...
64•cisc•8h ago•26 comments

Nancy Grace Roman Space Telescope

https://science.nasa.gov/mission/roman-space-telescope/
196•JumpCrisscross•17h ago•79 comments

Benchmarking Pocket-Scale Inference

https://artificialanalysis.ai/hardware-inference-stack/mobile-phones
46•sys42590•2d ago•4 comments

Brits would quite like their private messages to stay private

https://www.theregister.com/security/2026/08/30/turns-out-brits-would-quite-like-their-private-me...
10•defrost•21m ago•2 comments

Creating Teensy ELF Executables for Linux (Or, "Size Is Everything") (1999)

https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
44•Bluestein•4d ago•11 comments

The Rise and Fall of Agent Civilizations

https://www.dwarkesh.com/p/openai-huggingface
111•consumer451•10h ago•52 comments

Lawmakers added $1 to car insurance policies. That money paid for Flock cameras

https://www.texastribune.org/2026/08/28/texas-flock-cameras-auto-insurance-fee-mvcpa-grants/
299•DeepLogin•10h ago•170 comments

SQLite as a Document Database (2020)

https://dgl.cx/2020/06/sqlite-json-support
213•lioeters•5d ago•49 comments

Orbs

https://ampcode.com/notes/orbs-explained
5•tosh•4d ago•0 comments

EVE Online moves to Python 3

https://www.eveonline.com/news/view/the-move-to-python-3-begins
355•TylerJaacks•4d ago•196 comments

Functional State Machines in Rust: Typestate and Newtype Patterns

https://dl.acm.org/doi/10.1145/3830438.3830958
88•matt_d•14h ago•35 comments

Glacier Mice

https://en.wikipedia.org/wiki/Glacier_mice
301•ostacke•5d ago•59 comments

Calibrate Before You Accelerate: Bias Toward Action in a New Role

https://tucker.wales/writing/bias-towards-action/
160•tuckerwales•16h ago•62 comments

Is it safe to call print in a Python signal handler?

https://iafisher.com/2026/08/sigprint
47•hellerve•3d ago•26 comments

Open Oscar Server: open-source server compatible with AIM and ICQ clients

https://github.com/mk6i/open-oscar-server
38•gregsadetsky•9h ago•13 comments

Iceland rejects reopening talks on EU entry

https://www.ft.com/content/53b5abd8-2919-4dc6-8dd6-81fc054e8b6f
29•JumpCrisscross•1h ago•14 comments

Pop-2000, a lingua-franca POP-2 dialect

https://hitogata.neocities.org/POP-2000
13•surprisetalk•3d ago•1 comments

Samsung's Processing-in-Memory (PIM)

https://chipsandcheese.com/p/hot-chips-2026-samsungs-processing
261•ingve•1d ago•103 comments

Algorithmic rent-pricing litigation expands under new state and local laws

https://www.morganlewis.com/pubs/2026/08/algorithmic-rent-pricing-litigation-expands-under-new-st...
78•toomuchtodo•7h ago•45 comments

Boot a Virtual iPhone via Apple's Virtualization.framework

https://github.com/Lakr233/vphone-cli
402•hentrep•1d ago•108 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.