frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

All code will converge on Rust

https://mainmatter.com/blog/2026/10/08/all-code-will-converge-on-rust/
1•marcoow•1m ago•0 comments

Allow-List Architecture

https://samueljsb.co.uk/blog/posts/2026/10/allow-list-architecture/
1•meshy•4m ago•0 comments

Solo Developer Rebuilds Adobe Creative Suite in Rust Using Claude

https://www.tomshardware.com/software/video-editing-graphic-design/solo-developer-rebuilds-adobe-...
1•ianbooker•4m ago•0 comments

Show HN: ScreenCI – Tutorial videos as E2E tests, written by your coding agent

https://screenci.com/
1•ollipal•4m ago•0 comments

Extract charts and diagrams as vectors from PDF to SVG

https://misha.brukman.net/blog/2025/11/extract-vectors-from-pdf-to-svg/
2•ankitg12•6m ago•0 comments

Tensorlake is compromised using mini Shai Hulud

https://safedep.io/tensorlake-npm-compromise-mini-shai-hulud/
1•Sudhanshu231020•6m ago•0 comments

Show HN: BerryDB – Open-source macOS database client written in Swift and AppKit

https://github.com/berry-apps/berrydb-desktop
1•berryhubapp•7m ago•0 comments

Show HN: Kahawai – An open source, modular media system

https://kahawai.net/
2•berm_•8m ago•0 comments

It's Probably Time to Start Worrying About the 4G LTE Shutdown Bricking Cars

https://www.thedrive.com/news/its-probably-time-to-start-worrying-about-the-4g-lte-shutdown-brick...
2•speckx•9m ago•0 comments

Mellum2.1 Gets to Work: A Fast Open Model for Coding Agents

https://blog.jetbrains.com/ai/2026/10/mellum2-1-gets-to-work-a-fast-open-model-for-coding-agents/
1•acossta•9m ago•0 comments

Preach+ – AI-assisted sermon prep for preachers (EN/ES)

https://apps.apple.com/us/app/preach/id6806718726
1•kenevester•9m ago•0 comments

How Musk, Thiel, and Altman Misread Science Fiction

https://www.theatlantic.com/books/2026/08/silicon-valley-science-fiction-jill-lepore-book-review/...
1•vrganj•9m ago•1 comments

Show HN: Bot Bowl Bench – Benchmarking LLMs with Blood Bowl

https://botbowlbench.com/
1•crimsoneer•12m ago•0 comments

Neat trick to make big PRs readable: reslicing them into small commits

https://www.i-kh.net/p/neat-trick-to-make-big-prs-readable
1•bucket2015•12m ago•0 comments

Making np.searchsorted up to 25× Faster in NumPy 2.5

https://blog.scientific-python.org/numpy/searchsorted/
1•sebg•13m ago•0 comments

Show HN: Etchv – API for invisible watermarks in images, PDFs and videos

https://etchv.com
3•agurha•14m ago•1 comments

Telnet BBS Guide

https://www.telnetbbsguide.com/
2•kmstout•15m ago•0 comments

Pivot – Real-time analytics on Iceberg, faster than ClickHouse on benchmarks

https://github.com/pivotlake/pivot
1•ntur1337•15m ago•0 comments

How HN: Dialtrace – see where the time goes on a voice AI phone call

https://github.com/shahin-hu/dialtrace
1•shahinhuseyngul•17m ago•0 comments

Introducing XP

https://news.xbox.com/en-us/2026/10/08/introducing-xp/
2•HelloUsername•18m ago•1 comments

What Are the Monkeys Typing? We can see what AI does. We can't tell why

https://macanorak.com/what-are-the-monkeys-typing/
1•ReturnoftheHack•18m ago•0 comments

Show HN: Get YouTube Text – free YouTube transcript tool, no signup or ads

https://getyoutubetext.com
1•mkapoor26•20m ago•0 comments

Man vs. 'Terminator'-Like Robot in a Cage. California Called It Illegal

https://www.nytimes.com/2026/10/08/technology/human-robot-cage-fights-california-rek.html
3•mistersquid•20m ago•0 comments

SSHing to my reMarkable from anywhere

https://blog.danieljanus.pl/connecting-to-remarkable/
1•nathell•21m ago•0 comments

SpacetimeDB Ax Audit: A Review for AI Agents

https://techstackups.com/articles/spacetimedb-ax-audit/
1•ritzaco•21m ago•0 comments

Colleges need to teach last-mile knowledge

https://hollisrobbinsanecdotal.substack.com/p/colleges-need-to-teach-last-mile
1•HR01•22m ago•1 comments

From Relic to Infrastructure: Can India's Historic Water Systems Work Again?

https://www.archdaily.com/1186222/from-relic-to-infrastructure-can-indias-historic-water-systems-...
1•bryanrasmussen•23m ago•0 comments

Distilling Stockfish with One Billion Positions

https://blog.lukesalamone.com/posts/distilling-stockfish/
3•sebg•23m ago•0 comments

The Rise and Fall of the Plasma Screen

https://www.construction-physics.com/p/the-rise-and-fall-of-the-plasma-screen
3•thedreammachine•24m ago•0 comments

Senator tried to ban gambling on prediction markets–now she's a Kalshi lobbyist

https://arstechnica.com/tech-policy/2026/10/a-senator-tried-to-ban-gambling-on-prediction-markets...
3•thehoff•25m ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•1y ago
Just joined a new company and they run a multi tenant database in postgres where each tenant is distinguished by their account ID. I'd like to be able to dump the data of a single account to my local instance to assist in debugging.

Problem is, many of the entities do not include an account ID. For example, a user can have an account ID but a user post will not but it will be tied to a user ID.

Also foreign keys aren't really implemented fully.

Are there any tools or techniques that could help make this process easier to do?

Comments

tudorg•1y ago
You can try with data subsetting tools, a few that I know are: greenmask, jailer, tonic condenser, and I think there are more. They are not exactly for your use case, but might help you a bit. The problem is most of these tools can walk foreign keys, but only in one directions.

Also, since you said FK are not fully implemented, then there just won't be enough information for them to work with. So you can either work on fixing the foreign keys or have more complex scripts.

polishdude20•1y ago
Thanks for the suggestions!

Yeah due to the unavailability of FK's, I'd have to somehow map certain ID columns to the tables they're for, accounting for slight naming convention differences.

woyten•1y ago
In case you don’t have FKs you could specify virtual foreign keys in Greenmask.

Check out docs for details

https://docs.greenmask.io/latest/database_subset/#virtual-re...

abhisek•1y ago
This is poor design. Multi-tenant data model design must have a tenant or segment ID for every tenant segmented tables. While it may not be a problem initially but as the business grows, you may need to move tenant data to separate DBs or even different regions based on compliance requirements. IMHO it is a good idea to run DB migrations and have a tenant ID populated in all tenant segmented tables
polishdude20•1y ago
Oh yes I agree with you. It may become a big push to convince my org to do that