frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
26•sleepingNomad•1h ago•1 comments

Auto Polo

https://en.wikipedia.org/wiki/Auto_polo
41•canjobear•2d ago•10 comments

Show HN: Perfect Bluetooth MIDI for Windows

3•mayerwin•5m ago•0 comments

How Mark Klein told the EFF about Room 641A [book excerpt]

https://thereader.mitpress.mit.edu/the-whistleblower-who-uncovered-the-nsas-big-brother-machine/
595•the-mitr•17h ago•195 comments

New copy of earliest poem in English, written 1,3k years ago, discovered in Rome

https://www.tcd.ie/news_events/articles/2026/caedmons-hymn-discovery/
61•giuliomagnifico•1d ago•27 comments

For Linux kernel vulnerabilities, there is no heads-up to distributions

https://www.openwall.com/lists/oss-security/2026/04/30/10
500•ori_b•17h ago•393 comments

If I Could Make My Own GitHub

https://matduggan.com/if-i-could-make-my-own-github/
34•vinhnx•3h ago•27 comments

Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library

https://semgrep.dev/blog/2026/malicious-dependency-in-pytorch-lightning-used-for-ai-training/
396•j12y•17h ago•137 comments

Opus 4.7 knows the real Kelsey

https://www.theargumentmag.com/p/i-can-never-talk-to-an-ai-anonymously
346•ilamont•1d ago•183 comments

Grok 4.3

https://docs.x.ai/developers/models/grok-4.3
52•simianwords•1h ago•50 comments

Maladaptive Frugality

https://herbertlui.net/maladaptive-frugality/
102•herbertl•2d ago•82 comments

Softmax, can you derive the Jacobian? And should you care?

https://idlemachines.co.uk/essays/softmax
45•smaddrellmander•3d ago•2 comments

CPanel and WHM Authentication Bypass – CVE-2026-41940

https://labs.watchtowr.com/the-internet-is-falling-down-falling-down-falling-down-cpanel-whm-auth...
106•zikani_03•11h ago•40 comments

Claude Code refuses requests or charges extra if your commits mention "OpenClaw"

https://twitter.com/theo/status/2049645973350363168
1163•elmean•19h ago•636 comments

How an oil refinery works

https://www.construction-physics.com/p/how-an-oil-refinery-works
423•chmaynard•20h ago•130 comments

I built a Game Boy emulator in F#

https://nickkossolapov.github.io/fame-boy/building-a-game-boy-emulator-in-fsharp/
276•elvis70•16h ago•65 comments

Can I disable all data collection from my vehicle?

https://rivian.com/support/article/can-i-disable-all-data-collection-from-my-vehicle
633•Cider9986•13h ago•258 comments

Canonical/Ubuntu have been under DDoS for more than 15h

https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQEHpOd8VQ40ZQs-K...
44•jtlebigot•2h ago•9 comments

You can beat the binary search

https://lemire.me/blog/2026/04/27/you-can-beat-the-binary-search/
318•vok•3d ago•142 comments

Roboticist-Turned-Teacher Built a Life-Size Replica of Eniac

https://spectrum.ieee.org/roboticist-turned-teacher-eniac-replica
29•oldnetguy•1d ago•7 comments

The Hearts of the Super Nintendo

https://fabiensanglard.net/snes_hearts/
26•droppedasbaby•7h ago•5 comments

Reverse Engineering SimTower

https://phulin.me/blog/simtower
201•patrickhulin•2d ago•43 comments

Using a 1978 terminal in 2026 (DEC VT-100)

https://nikhiljha.com/posts/vt100/
34•ninjha•2d ago•11 comments

New mechanical panoramic film camera from Jeff Bridges

https://wideluxx.com
146•armadsen•2d ago•68 comments

Apple Says Mac Studio and Mac Mini Will Be in Short Supply for Months

https://www.macrumors.com/2026/04/30/mac-studio-mac-mini-constrained-months/
73•tosh•3h ago•56 comments

We Run iSCSI over the Internet

https://scsipub.com/blog/how-we-run-iscsi-over-the-internet
7•qdotme•1d ago•5 comments

Belgium stops decommissioning nuclear power plants

https://dpa-international.com/general-news/urn:newsml:dpa.com:20090101:260430-930-14717/
821•mpweiher•21h ago•830 comments

Full-Text Search with DuckDB

https://peterdohertys.website/blog-posts/full-text-search-w-duckdb.html
135•ethagnawl•15h ago•30 comments

It’s Toasted

https://yadin.com/notes/toasted/
42•dryadin•3h ago•30 comments

Your Biggest Vulnerability is your Shitty Compensation

https://green.spacedino.net/your-biggest-vulnerability-is-your-shitty-compensation/
19•jfil•6h ago•6 comments
Open in hackernews

QueryLeaf: SQL for Mongo

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

Comments

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

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

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