frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Learn the Rust Programming Language – 1-hour Bootcamp for beginners [video]

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

Iconography of the X Window System: The Boot Stipple (2024)

https://matttproud.com/blog/posts/x-window-system-boot-stipple.html
2•KomoD•2m ago•0 comments

Can China-Japan Relations Be Saved?

https://thediplomat.com/2025/11/can-china-japan-relations-be-saved/
1•donsupreme•5m ago•0 comments

Show HN: AnimBits – 50 Framer Motion–powered animation components for React

https://www.animbits.dev/
1•m1racle•7m ago•0 comments

I Went to an Anti-Vaccine Conference. Medicine Is in Trouble

https://www.nytimes.com/2025/11/25/opinion/children-health-defense-kennedy.html
1•Anon84•10m ago•0 comments

Nvidia says its GPUs are a 'generation ahead' of Google's AI chips

https://www.cnbc.com/2025/11/25/nvidia-says-its-gpus-are-a-generation-ahead-of-googles-ai-chips.html
1•kjhughes•11m ago•1 comments

The Sights and Sounds of Bhutan

https://waitbutwhy.com/2025/11/bhutan.html
1•dsr12•16m ago•0 comments

Doctor Critical of Vaccines Appointed as CDC's Second in Command

https://www.nytimes.com/2025/11/25/health/cdc-ralph-lee-abraham-vaccines.html
2•doener•24m ago•0 comments

Stop looking at CPU usage; start looking at Linux PSI

https://parth21shah.substack.com/p/stop-looking-at-cpu-usage-start-looking
1•parth21shah•24m ago•1 comments

Orion 1.0 for macOS

https://orionbrowser.com
2•slymax•26m ago•2 comments

Show HN: TripMeter – Analyze your Uber data with interactive visualizations

https://tripmeter.gigacore.workers.dev/
1•Gigacore•28m ago•0 comments

Computer Science from Scratch:Build Interpreter, Art, Emulators and ML in Python

https://nostarch.com/computer-science-from-scratch
2•teleforce•29m ago•0 comments

Show HN: Vizier – Codifying My Agent Development Workflow

https://github.com/JTan2231/vizier
1•JTan2231•29m ago•0 comments

The myth of reflected power (2017)

https://www.iz2uuf.net/wp/index.php/2017/07/29/the-myth-of-reflected-power/
2•pera•40m ago•0 comments

Modder who put Thomas the Tank Engine into Skyrim flips the bird at lawyers

https://www.gamesradar.com/games/the-elder-scrolls/modder-who-first-put-thomas-the-tank-engine-in...
8•perihelions•41m ago•1 comments

Show HN: MidiToolbox – MIDI Utilities for Conversion, Analysis, and Editing

https://miditoolbox.com
1•wangaileen•42m ago•0 comments

Is This a CoreGraphics Framework Bug in macOS Tahoe?

https://lgug2z.com/articles/is-this-a-coregraphics-framework-bug-in-macos-tahoe/
2•todsacerdoti•47m ago•0 comments

Medicare Negotiates 71% Discount on Novo's Ozempic, Wegovy

https://www.bloomberg.com/news/articles/2025-11-25/medicare-negotiates-71-discount-on-novo-s-ozem...
4•toomuchtodo•53m ago•1 comments

Acontext, Turn Your Agent's Task History into Reusable Skills (SOPs)

https://github.com/memodb-io/Acontext
1•jinqueeny•56m ago•0 comments

Show HN: Rsync Made It on Jpm

https://youtu.be/jJ3x_BlbL24
1•sunnykentz•57m ago•0 comments

Fei-Fei Li and Justin Johnson, World Labs: Spatial Intelligence and World Models [video]

https://www.youtube.com/watch?v=60iW8FZ7MJU
2•Tsarp•1h ago•1 comments

Crumb: A Cartoonist's Life

https://www.lrb.co.uk/the-paper/v47/n21/j.-hoberman/desperate-character
2•mitchbob•1h ago•1 comments

Space Truckin' – The Nostromo (2012)

https://alienseries.wordpress.com/2012/10/23/space-truckin-the-nostromo/
18•exvi•1h ago•4 comments

Polar Signals is 70% faster by switching from Parquet to Vortex

https://www.polarsignals.com/blog/posts/2025/11/25/interface-parquet-vortex
3•SchwKatze•1h ago•0 comments

TMLR Beyond PDF:Journal of Machine Learning Research Now Accept HTML Submissions

https://tmlr-beyond-pdf.org/about
1•lnyan•1h ago•0 comments

ClipEgg: We Confused Copying with Hoarding

2•DaaaaveATX•1h ago•2 comments

Lawsuit alleges social media giants buried research on teen mental health harms

https://www.cnn.com/2025/11/25/tech/social-media-youth-mental-health-lawsuit-meta-tiktok-snap-you...
4•anonymousiam•1h ago•1 comments

The final evolution of agentic memory

https://manthanguptaa.in/posts/towards_human_like_memory_for_ai_agents/
1•manthangupta109•1h ago•0 comments

Klarna to launch dollar-backed stablecoin as race in digital payments heats up

https://www.reuters.com/business/finance/klarna-launch-dollar-backed-stablecoin-race-digital-paym...
1•krrishd•1h ago•1 comments

Optimzing Our Jax LLM RL Pipeline

https://notes.kvfrans.com/7-misc/rl-infra.html
1•lnyan•1h ago•0 comments
Open in hackernews

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

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