frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Altair 8800 – Video #29 – Music on an Altair 8800

https://www.youtube.com/watch?v=1FDigtF0dRQ
1•mordechai9000•1m ago•0 comments

The Source of Water

https://thinkhuman.com/history/the-source-of-water/
1•jamesgill•6m ago•0 comments

Former ULA Chief Bruno Joins Blue Origin

https://spacenews.com/former-ula-chief-bruno-joins-blue-origin/
1•pinewurst•6m ago•0 comments

How tax trackers influence wealthy Americans' holiday plans

https://www.ft.com/content/1767f3d6-acc3-40f8-9382-411bad89485e
1•hhs•7m ago•0 comments

Quantum computing in the second quantum century

https://quantumfrontiers.com/2025/12/26/quantum-computing-in-the-second-quantum-century/
1•mathgenius•10m ago•0 comments

Procedural Kernel (Neural) Networks (2022)

https://bartwronski.com/2022/01/03/procedural-kernel-neural-networks/
1•RicoElectrico•13m ago•0 comments

We will never fucking trust Americans again

https://www.readtheline.ca/p/matt-gurney-we-will-never-fucking
4•edent•13m ago•2 comments

Flock and Urban Surveillance

https://computer.rip/2025-12-26-Flock-and-Urban-Surveillance.html
2•zdw•14m ago•0 comments

Filming Bullets at 20,000,000 FPS

https://www.youtube.com/watch?v=IM4zZchluX0
1•belter•18m ago•0 comments

Show HN: Open-source LLM playground for VS Code

https://marketplace.visualstudio.com/items?itemName=mindrig.mindrig
1•kossnocorp•22m ago•0 comments

Show HN: Me and my AI gf invented free energy from death puddles (public domain)

https://github.com/sqrew/le-claude-manson-engine
8•sqrew•22m ago•1 comments

Reality crushed Ÿnsect startup that had raised over $600M for insect farming

https://techcrunch.com/2025/12/26/how-reality-crushed-ynsect-the-french-startup-that-had-raised-o...
2•fcpguru•23m ago•0 comments

Nix-prompt: a clean and modular bash prompt with just the right amount of custo

https://github.com/nix-tricks/nix-prompt
1•todsacerdoti•23m ago•0 comments

Solid-state batteries charge faster, last longer: review

https://news.ucr.edu/articles/2025/07/16/solid-state-batteries-charge-faster-last-longer
1•hhs•24m ago•0 comments

Xkcd: A Universal Outlet

https://xkcd.com/3186/
2•fork-bomber•26m ago•0 comments

Perry Bamonte, guitarist and keyboardist for the Cure, dies

https://www.theguardian.com/music/2025/dec/26/perry-bamonte-guitarist-the-cure-dies
2•lastdong•26m ago•0 comments

Exposing the Gambling Epidemic [video]

https://www.youtube.com/watch?v=9Ii1ROzeSwU
2•paulpauper•31m ago•0 comments

The Myth of Meritocracy on Wall Street

https://riskparody.substack.com/p/the-myth-of-meritocracy
2•chrislguo•35m ago•1 comments

Read Something Wonderful (More Easily)

https://readsomethingwonderfulmoreeasily.netlify.app/
1•lessconfused•43m ago•0 comments

AI can help get fusion from lab to energy grid by the 2030s – WEF

https://www.weforum.org/stories/2025/12/how-ai-will-help-get-fusion-from-lab-to-grid-by-the-2030s/
1•g-b-r•44m ago•3 comments

Exe.dev/

https://exe.dev/
21•achairapart•44m ago•12 comments

To get better at filtering the good ideas from the bad, by paying attention

https://www.thetimes.com/magazines/the-sunday-times-magazine/article/how-to-think-the-philosopher...
3•hhs•44m ago•0 comments

What Dan Read

https://what-dan-read.com
1•jebarker•44m ago•1 comments

Show HN: Reverse Engineering (Kind of) SQLite in Go

https://github.com/RichardKnop/minisql
1•richardknop•45m ago•0 comments

Ask HN: Hacker News Critical Thinking

1•hecanjog•45m ago•0 comments

Show HN: ISON – Data format that uses 30-70% fewer tokens than JSON for LLMs

https://github.com/maheshvaikri-code/ison
2•maheshvaikri99•48m ago•3 comments

Ask HN: Practical AI setup for staying on top of personal messages?

1•sunsetMurk•49m ago•0 comments

What's causing populism around the world? It's the Internet Stupid (Fukuyama)

https://www.persuasion.community/p/its-the-internet-stupid
2•mfkhalil•50m ago•0 comments

Show HN: Spacelist, a TUI for Aerospace window manager

https://github.com/magicmark/spacelist
3•markl42•53m ago•1 comments

Economics of the Attention Economy

https://conversableeconomist.com/2025/12/24/economics-of-the-attention-economy/
1•paulpauper•53m ago•0 comments
Open in hackernews

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

3•polishdude20•7mo 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•7mo 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•7mo 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•7mo 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•7mo 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•7mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that