frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

MAGA loyalists who collectively lost billions buying Trump stocks and crypto

https://www.msn.com/en-us/money/economy/the-greatest-theft-con-job-he-has-ever-done-maga-loyalist...
1•petethomas•1m ago•0 comments

New OllamaMQ v0.3.0

1•chleba•2m ago•0 comments

OpenAI lays out new security changes after its AI hacked Hugging Face

https://www.theverge.com/ai-artificial-intelligence/981640/openai-security-changes-ai-hugging-fac...
2•sbulaev•2m ago•0 comments

The Art of Prototyping

https://www.proofofconcept.pub/p/the-art-of-prototyping
1•herbertl•4m ago•0 comments

Obligatory one month without social media on my phone Substack essay

https://www.late-review.com/p/obligatory-one-month-without-social
1•herbertl•9m ago•0 comments

Whistleblower alleges political pressure,lack of evidence in antisemitism probes

https://apnews.com/article/trump-harvard-justice-department-brown-columbia-3e2519fac8b1d85caa74b7...
1•petethomas•9m ago•0 comments

Artificial intelligence boosts automated biolabs

https://knowablemagazine.org/content/article/technology/2026/ai-boosts-biofoundries-synthetic-bio...
1•knowablemag•10m ago•0 comments

Show HN: Interactive, animated architecture of any HuggingFace models

https://modelmap.cc
2•lizhaoliu•12m ago•0 comments

The Official History of Arm

https://newsroom.arm.com/blog/arm-official-history
1•stmw•14m ago•1 comments

Solo – a .so loader for static Linux binaries

https://github.com/pg83/solo
2•zX41ZdbW•18m ago•0 comments

Have an Agent Babysit Your Deployments

https://blog.exe.dev/athena-deploys-exe
1•indigodaddy•23m ago•1 comments

Mastodon 5.0: Laying the Foundation

https://blog.joinmastodon.org/2026/08/5.0-laying-the-foundation/
4•dredmorbius•24m ago•1 comments

Made a Lightweight Markdown Reader

https://www.thesis.do/galley
3•jessiesalas•26m ago•0 comments

Sci-Fi Author Jeffrey A Carver Passed Away

https://sfwa.org/2026/05/09/in-memoriam-jeffrey-a-carver/
1•unnamed76ri•27m ago•0 comments

Minimal Zlang bytecode runtime booting in a bare-metal x86_64 kernel

https://github.com/high-cde/ZDOS/tree/main/os/x86_64
1•High-cde•29m ago•0 comments

The Mullet Stack: Syncing Types Between FastAPI/Pydantic and TypeScript

https://seanhelvey.com/mullet-stack/guide/
1•Lambda11•38m ago•0 comments

Soaring Diesel Prices Rip Across US Economy

https://www.ft.com/content/8a5cd515-191d-42f9-9b0c-1b817a1bc044
5•karakoram•38m ago•2 comments

Selective Applicative Functors

https://blog.veritates.love/selective-applicatives-theoretical-basis
2•birdculture•41m ago•0 comments

Running Ultrix 4.5 (2019)

https://astr0baby.wordpress.com/2019/03/16/running-vax-ultrix-4-5-on-simh/
1•walrus01•42m ago•0 comments

The 400-Ton Linchpin of American Electrical Power

https://www.nytimes.com/interactive/2026/08/17/magazine/transformers-power-electric-grid.html
2•jdnier•43m ago•0 comments

Children with More Screen Time Score Better on Cognitive Tests, Not Worse

https://www.inc.com/lucia-auerbach/children-with-more-screen-time-did-not-score-worse-on-cognitiv...
1•MitPitt•44m ago•0 comments

Cursor capitalizes on GitHub frustration, launches rival hosting platform

https://techcrunch.com/2026/08/18/cursor-capitalizes-on-github-frustration-launches-rival-hosting...
3•jnord•45m ago•1 comments

Stanford's deterministic CUDA kernel verifier

https://2026.splashcon.org/details/oopsla-2026/96/Equivalence-Checking-of-ML-GPU-Kernels
2•ggboimoney•46m ago•2 comments

Spot X with Bluetooth

https://www.rei.com/product/172306/spot-x-with-bluetooth
1•Bondi_Blue•47m ago•0 comments

Inference Engineering by Philip Kiely – Digital Download

https://www.baseten.co/inference-engineering/
1•ajhai•48m ago•0 comments

An inside look at Hetzner's Datacenters [video]

https://www.youtube.com/watch?v=MQeJYEN_lrg
1•lwhsiao•50m ago•0 comments

Ask HN: How should I price an AI infrastructure platform?

1•aqibkhan026•50m ago•1 comments

Unitree Robotics IPO: "Embodied AI" Valuation Bubble?

https://www.cnn.com/2026/08/18/tech/china-unitree-ipo-intl-hnk
2•dvk13•51m ago•0 comments

Software Engineering Humble Book Bundle

https://www.humblebundle.com/books/software-engineering-manning-books
2•teleforce•51m ago•1 comments

Show HN: Particle – Extract and save articles in a clean, self-hosted reader

https://particle.crnst8.com/try/
2•flowerpil•55m 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