frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why xor eax, eax?

https://xania.org/202512/01-xor-eax-eax
106•hasheddan•1h ago•30 comments

Self-hosting a Matrix server for 5 years

https://yaky.dev/2025-11-30-self-hosting-matrix/
101•the-anarchist•2h ago•39 comments

Search tool that only returns content created before ChatGPT's public release

https://tegabrain.com/Slop-Evader
574•dmitrygr•10h ago•224 comments

Games using anti-cheats and their compatibility with GNU/Linux or Wine/Proton

https://areweanticheatyet.com/
112•doener•7h ago•117 comments

Detection of triboelectric discharges during dust events on Mars

https://gizmodo.com/weve-detected-lightning-on-mars-for-the-first-time-2000691996
74•domofutu•4d ago•39 comments

It’s been a very hard year

https://bell.bz/its-been-a-very-hard-year/
181•surprisetalk•8h ago•192 comments

Trifold is a tool to quickly and cheaply host static websites using a CDN

https://www.jpt.sh/projects/trifold/
56•birdculture•1w ago•11 comments

A Love Letter to FreeBSD

https://www.tara.sh/posts/2025/2025-11-25_freebsd_letter/
355•rbanffy•16h ago•221 comments

Writing a good Claude.md

https://www.humanlayer.dev/blog/writing-a-good-claude-md
591•objcts•20h ago•218 comments

Advent of Sysadmin 2025

https://sadservers.com/advent
279•lazyant•12h ago•80 comments

DeepSeekMath-V2: Towards Self-Verifiable Mathematical Reasoning

https://huggingface.co/deepseek-ai/DeepSeek-Math-V2
185•victorbuilds•5h ago•61 comments

SmartTube Compromised

https://www.aftvnews.com/smarttubes-official-apk-was-compromised-with-malware-what-you-should-do-...
103•akersten•9h ago•81 comments

Dancing rope and braid into being (2017) [pdf]

https://archive.bridgesmathart.org/2017/bridges2017-523.pdf
16•surprisetalk•6d ago•0 comments

1GB Raspberry Pi 5, and memory-driven price rises

https://www.raspberrypi.com/news/1gb-raspberry-pi-5-now-available-at-45-and-memory-driven-price-r...
82•shrx•2h ago•52 comments

N-Body Simulator – Interactive 3 Body Problem and Gravitational Physics

https://trisolarchaos.com/?pr=lagrange&n=3&s=5.0&so=0.01&im=verlet&dt=5.00e-4&rt=1.0e-6&at=1.0e-8...
79•speckx•6d ago•13 comments

X210Ai is a new motherboard to upgrade ThinkPad X201/200

https://www.tpart.net/about-x210ai/
124•walterbell•11h ago•44 comments

Historic Engineering Wonders: Photos That Reveal How They Pulled It Off

https://rarehistoricalphotos.com/engineering-methods-from-the-past/
8•dxs•6d ago•0 comments

Algorithms for Optimization [pdf]

https://algorithmsbook.com/optimization/files/optimization.pdf
296•Anon84•14h ago•26 comments

Advent of Code 2025

https://adventofcode.com/2025/about
1061•vismit2000•1d ago•342 comments

Victorian-style lines for the web: Elements of identical width

https://jacobfilipp.com/victorian-line/
10•surprisetalk•6d ago•1 comments

Google Antigravity just deleted the contents of whole drive

https://old.reddit.com/r/google_antigravity/comments/1p82or6/google_antigravity_just_deleted_the_...
331•tamnd•9h ago•248 comments

UK Government plans new powers to label dissenting movements as 'subversion'

https://netpol.org/2025/11/28/government-plans-new-powers-to-label-dissenting-movements-as-subver...
106•robtherobber•2h ago•84 comments

Windows drive letters are not limited to A-Z

https://www.ryanliptak.com/blog/windows-drive-letters-are-not-limited-to-a-z/
464•LorenDB•1d ago•235 comments

Engineers repurpose a mosquito proboscis to create a 3D printing nozzle

https://techxplore.com/news/2025-11-repurpose-mosquito-proboscis-3d-nozzle.html
70•T-A•4d ago•30 comments

Migrating Dillo from GitHub

https://dillo-browser.org/news/migration-from-github/
387•todsacerdoti•1d ago•194 comments

GitHub to Codeberg: my experience

https://eldred.fr/blog/forge-migration/
300•todsacerdoti•22h ago•113 comments

Replacing My Window Manager with Google Chrome

https://foxmoss.com/blog/dote/
76•foxmoss•3d ago•17 comments

WhatsApp will become interoperable with other messaging apps

https://tuta.com/blog/whatsapp-interoperable-in-europe
19•marvinborner•49m ago•10 comments

Accenture dubs 800k staff 'reinventors' amid shift to AI

https://www.theguardian.com/business/2025/dec/01/accenture-rebrands-staff-reinventors-ai-artifici...
40•n1b0m•3h ago•23 comments

Ly – A lightweight TUI (ncurses-like) display manager for Linux and BSD

https://codeberg.org/fairyglade/ly
74•modinfo•13h ago•11 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.