frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Lessons from Pyre That Shaped Pyrefly

https://pyrefly.org/blog/lessons-from-pyre/
1•PaulHoule•1m ago•0 comments

Pairwise Order of a Sequence of Elements

https://morwenn.github.io//presortedness/2026/04/11/TSB010-pairwise-order-of-a-sequence-of-elemen...
1•ibobev•2m ago•0 comments

Myth: A High-Performance, WGPU-Based Rendering Engine for Rust

https://github.com/panxinmiao/myth
1•rectalogic•2m ago•0 comments

Random Hexagon Fractal

https://www.johndcook.com/blog/2026/04/09/random-hexagon-fractal/
1•ibobev•3m ago•0 comments

U.S. set to launch tariff refund system on April 20

https://www.nbcnews.com/business/business-news/us-set-launch-tariff-refund-system-april-20-rcna33...
1•tantalor•3m ago•0 comments

Official Clojure Documentary page with Video, Shownotes, and Links

https://clojure.org/about/documentary
2•adityaathalye•4m ago•0 comments

Claude Opus 4.7 Is Now Available in Puter.js

https://developer.puter.com/blog/claude-opus-4-7-puter-js/
1•ent101•5m ago•0 comments

Europe has 'maybe six weeks of jet fuel left', energy boss warns

https://www.bbc.com/news/articles/czjw2kz0l22o
1•tartoran•5m ago•0 comments

OpenData Timeseries: Prometheus-compatible metrics on object storage

https://www.opendata.dev/blog/introducing-timeseries
3•apurvamehta•6m ago•0 comments

Artemis and Apollo: The Systems That Took Them to the Moon and Brought Them Home

https://www.flyingbarron.com/2026/04/artemis-and-apollo-systems-that-took.html
1•flyingbarron•6m ago•0 comments

California ISO Symposium Sponsorship Opportunities

https://www.caiso.com/about/news/energy-matters-blog/stakeholder-symposium-registration-and-spons...
1•offmycloud•8m ago•1 comments

How Secure Is Tap to Pay? [video]

https://www.youtube.com/watch?v=PPJ6NJkmDAo
1•apparent•9m ago•0 comments

Kelsey Hightower: What the AI Hype Machine Won't Tell You [video]

https://www.youtube.com/watch?v=tNhCkJ-SzOw
1•mooreds•9m ago•0 comments

Show HN: Making Apple Neural Engine work in a custom inference stack

https://engineering.drawthings.ai/p/making-apple-neural-engine-work-in
1•liuliu•10m ago•0 comments

German Dog Commands

https://www.fluentu.com/blog/german/german-dog-commands/
2•rolph•10m ago•0 comments

GPT‑Rosalind for life sciences research

https://openai.com/index/introducing-gpt-rosalind/
1•babelfish•11m ago•0 comments

Assembly vs. Intrinsics

https://danluu.com/assembly-intrinsics/
1•tosh•12m ago•0 comments

Efficient Memory Sharing for Multi-Agent Systems via KV Cache Compaction

https://twitter.com/RampLabs/status/2042660310851449223
1•gmays•12m ago•0 comments

Who replaces senior engineers if we stop hiring juniors?

https://www.digitalclubb.com/writing/graduate-pipeline
2•digitalclubb•12m ago•1 comments

SIMD Population Count

https://github.com/WojciechMula/sse-popcount
1•tosh•14m ago•0 comments

GetX author's account was possibly hacked

https://medium.com/@yurinovicow/flutter-the-getx-package-was-deleted-from-github-422b7edabd1d
1•Onavo•15m ago•1 comments

Opus 4.7 dominates agentic benchmark, 15% more expensive than Opus 4.6

https://app.uniclaw.ai/arena/visualize?via=hn&
3•skysniper•16m ago•1 comments

App Stores Push Users Toward Nudify Apps, New Research Shows

https://www.404media.co/app-stores-apple-google-nudify-undress-deepfakes/
2•lschueller•17m ago•0 comments

Whoami Wiki – Your personal encyclopedia, written by agents

https://whoami.wiki/
1•amai•17m ago•0 comments

Lessons from Building Mercury

https://www.thespl.it/p/the-future-of-banking-remote-work
1•highfrequency•17m ago•0 comments

A Tiny Yellow Handheld Changed How Duke University Teaches Game Design

https://news.play.date/news/duke-playdate-education/
1•Ivoah•18m ago•0 comments

The Horror of Fallout (Game) Isn't the Bombs. It's the Decline Before Them

https://ben1777.substack.com/p/the-real-horror-of-fallout-isnt-the
3•webworker•18m ago•1 comments

Show HN: Maven plugin to enable hot reload on JSF projects

https://github.com/basteez/jsf-autoreload
1•basteez•19m ago•0 comments

Om Malik – Newbird.ai or Loony.ai

https://om.co/2026/04/15/newbirds-ai-is-really-loonybirds-ai/
2•rmason•22m ago•0 comments

The Case for Semi-Autonomous Nonprofits

https://emresarbak.com/semi-autonomous-nonprofits.html
1•sarbak•23m ago•0 comments
Open in hackernews

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

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