frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Fastsleep.app – Imagine micro-scenarios to get sleepy

https://fastsleep.app/
1•greybox555•1m ago•1 comments

Weird licenses and the new open source

https://dustri.org/b/weird-licenses-and-the-new-open-source.html
2•theanonymousone•5m ago•0 comments

The World's first self valued asset is here

https://tokenmobiles.live/
1•elykcim•6m ago•0 comments

Ant Group's Robbyant open-sources tactile AI model for robot hands

https://technode.com/2026/11/10/ant-groups-robbyant-open-sources-tactile-ai-model-for-robot-hands/
1•yogthos•9m ago•0 comments

Native-American point of view on data centers

https://nativenewsonline.net/opinion/demanding-better-conversations-about-data-centers/
1•mark336•9m ago•0 comments

Tim peters has passed away

https://www.reddit.com/r/Python/s/2Cm5dBcvQw
1•kapilvt•10m ago•1 comments

Popcorn: The Only Grain That Performs

https://bolesblogs.com/2026/08/23/popcorn-the-only-grain-that-performs/
1•CoffeeOnWrite•14m ago•0 comments

Show HN: A trim size and margin calculator for self-published books

https://storiesden.com/trim-size-calculator
1•wilgrobe•22m ago•0 comments

Microsoft Will Retire Free Office 365 A1 Email for Schools

https://www.ghacks.net/2026/11/10/microsoft-will-retire-free-office-365-a1-email-for-schools-movi...
3•geox•23m ago•0 comments

How Voting Is Like a Klein Bottle

https://www.quantamagazine.org/how-voting-is-like-a-klein-bottle-20261026/
1•colinprince•29m ago•1 comments

The Apple Support Community will permanently close on November 20, 2026

https://discussions.apple.com/welcome
12•tech234a•29m ago•2 comments

A Microfactory That Stores Data in DNA

https://www.unige.ch/medias/en/2026/une-micro-usine-pour-stocker-des-donnees-dans-ladn
1•pseudolus•32m ago•0 comments

Tech Consultant Is Sentenced to 16 Years to Life in Cash App Founder's Killing

https://www.nytimes.com/2026/11/10/us/bob-lee-cash-app-murder-sentencing.html
2•pseudolus•34m ago•1 comments

The Unbearable Mediocrity of Microdramas

https://www.theatlantic.com/culture/2026/11/microdramas-festival-vertical-entertainment/689361/
1•petethomas•38m ago•0 comments

Controlling your AI agents from a game handheld

https://blog.codepipes.com/llms/ai-agents-handheld.html
1•kkapelon•44m ago•0 comments

Non-axisymmetric MHD equilibria with an arbitrary number of field periods

https://arxiv.org/abs/2611.07672
1•simonpure•45m ago•0 comments

Show HN: Crayon, the web's first personalized newspaper (1995), relaunched

https://crayon.net/relaunch
1•mayyah42•46m ago•0 comments

IBM ending visa and green cards in consulting division

https://www.reuters.com/technology/ibm-end-visa-green-card-sponsorship-most-roles-its-consulting-...
3•rooftopzen•47m ago•2 comments

Show HN: Caramel: a speech-to-speech conversation model trained only on audio

https://naklecha.com/research/caramel-1
2•naklecha•50m ago•0 comments

To deter bioterrorism, U.S. imposes new rules on ordering synthetic DNA

https://www.science.org/content/article/deter-bioterrorism-u-s-imposes-new-rules-ordering-synthet...
9•Metacelsus•58m ago•3 comments

Memory Safety Bugs in Rust Standard Library

https://forge-blog.github.io/posts/rust-std-memory-safety/
2•maxloh•1h ago•0 comments

Leica Cyclone REGISTER 360 2026.1.1 download

1•asksoft•1h ago•0 comments

Stomachion Puzzle – Play Online

https://puzzlewhere.com/solve/stomachion
2•bkevitt•1h ago•0 comments

Show HN: Daily GPU Rental Prices Across AWS, Azure, RunPod and Vast.ai

https://taipeiledger.com/gpu/
3•khoonie•1h ago•0 comments

How the Wildlife Black Market Works [video]

https://www.youtube.com/watch?v=6_oMb90boiU
1•gmays•1h ago•0 comments

Matching product records with a decision model

https://codecut.ai/typesafe-jev-vs-rapidfuzz-sentence-transformers/
1•khuyentran1401•1h ago•0 comments

Virtual Surveyor 10.3 drone-surveying and mapping

1•asksoft•1h ago•0 comments

DiffX – Next-Generation Extensible Diff Format (2025)

https://diffx.org/
2•zenincognito•1h ago•0 comments

Freya: Build cross-platform, performant, accessible and unique apps with Rust

https://freyaui.dev/
2•andunie•1h ago•0 comments

Qwen4-Max is now in Preview

https://twitter.com/Alibaba_Qwen/status/2120335993643684315
14•potwinkle•1h ago•1 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