frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Mark Bennett on Using Claude Code for Application Development

https://www.skmurphy.com/blog/2025/12/11/mark-bennett-on-using-claude-code-for-application-develo...
1•skmurphy•1m ago•0 comments

Why Everyone Is a DJ Now

https://kottke.org/25/12/this-is-why-everyone-is-a-dj-now
1•sieste•1m ago•0 comments

Amazon pulls AI recap from Fallout TV show after it made several mistakes

https://www.bbc.com/news/articles/c3r77j5nze5o
2•speckx•2m ago•0 comments

Socialism AI: A historic advance in the political education of the working class

https://ai.wsws.org/en
1•K7PJP•5m ago•0 comments

The choice between Rust and C-derived languages is not only about memory safety

https://bbuyukliev.blogspot.com/2025/12/the-choice-between-rust-and-c-derived.html
1•bluetomcat•6m ago•0 comments

Advice on Raising Seed Capital?

https://gotchafinder.ai
1•FWKevents•7m ago•1 comments

VMware kills vSphere Foundation in parts of EMEA

https://www.theregister.com/2025/12/11/vmware_kills_vsphere_foundation_parts_emea/
1•abdelhousni•10m ago•0 comments

Pre-PEP: Rust for CPython

https://discuss.python.org/t/pre-pep-rust-for-cpython/104906
2•BiteCode_dev•11m ago•0 comments

Remote Code Execution on a $1B Legal AI Tool

https://www.promptarmor.com/resources/casebreak-ai-phishing-and-rce-in-vlex
6•skcheetah•14m ago•0 comments

GNU Unifont

https://unifoundry.com/unifont/index.html
15•remywang•15m ago•2 comments

Noah Palansky Found PMF and the Road to a Successful Series A Raise [video]

https://www.youtube.com/watch?v=0UzJ4_EOl1g
1•rchachra•19m ago•0 comments

Tesla US sales drop to nearly 4-year low in November

https://www.reuters.com/business/autos-transportation/tesla-us-sales-drop-nearly-3-year-low-novem...
2•doener•19m ago•0 comments

Can something artificial create something real [video]

https://www.youtube.com/watch?v=a3hzuCLjQVo
1•rchachra•21m ago•0 comments

AI based hacking compared to humans

https://arxiv.org/abs/2512.09882
1•mriguy•24m ago•0 comments

Early-stage growth ideas for a new product-discovery app?

1•bazenda•25m ago•0 comments

The Yoneda Perspective: Systems Defined by Their Interfaces

https://ibrahimcesar.cloud/blog/categorical-solutions-architect-part-3/
1•ibrahimcesar•25m ago•0 comments

Letting the mind wander may aid passive learning

https://www.psypost.org/neuroscientists-discover-that-letting-the-mind-wander-may-aid-passive-lea...
2•sundarurfriend•27m ago•0 comments

Democracy in the Workplace: Co-ops [video]

https://www.youtube.com/watch?v=dQMZR64G_eM
1•oldfuture•30m ago•1 comments

macOS 26.2 enables fast AI clusters with RDMA over Thunderbolt

https://developer.apple.com/documentation/macos-release-notes/macos-26_2-release-notes#RDMA-over-...
4•guiand•31m ago•0 comments

Testing a cheaper laminar flow hood

https://chillphysicsenjoyer.substack.com/p/testing-a-cheaper-laminar-flow-hood
1•surprisetalk•32m ago•0 comments

Do Not Optimize Away

https://matklad.github.io/2025/12/09/do-not-optimize-away.html
2•surprisetalk•32m ago•0 comments

Smol share – for sharing ephemeral encrypted snippets of text or links

https://cblgh.org/smolshare/
2•surprisetalk•33m ago•0 comments

Ask HN: What is your go-to breakfast?

3•schmuckonwheels•35m ago•4 comments

The Swatting Database / Leo [pdf]

https://vault.fbi.gov/fbi-swatting-database-final/fbi-swatting-database-final.pdf/at_download/file
1•sans_souse•35m ago•0 comments

University of Nebraska-Lincoln Collection of Astronomy Simulations & Animations

https://astro.unl.edu/animationsLinks.html
1•NaOH•35m ago•0 comments

Show HN: Verani – Socket.io-like realtime SDK for Cloudflare

https://github.com/v0id-user/verani
3•v0id_user•42m ago•0 comments

Opus 4.5 yields the best precision of any model tested for code review

https://blog.macroscope.com/blog/opus-4.5-code-review
3•curiouska•43m ago•0 comments

Security issues with electronic invoices

https://invoice.secvuln.info/
22•todsacerdoti•44m ago•9 comments

A Stable Eyelid Angle Metric for Driver Drowsiness Detection, Data Augmentation

https://arxiv.org/abs/2511.19519
1•PaulHoule•45m ago•0 comments

The Line Between Good and Evil

https://thinkhuman.com/the-line-between-good-and-evil/
1•jamesgill•45m 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•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•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