frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Delegation as an OS Primitive

https://mz.attahri.com/posts/delegation-as-os-primitive/
1•mohamedattahri•45s ago•0 comments

Stop Paying the JSON Tax

https://columnar.tech/blog/stop-paying-the-json-tax//
1•ianmcook•1m ago•0 comments

Moving On

https://marcg.net/moving-on/
1•speckx•2m ago•0 comments

Google taps Sergey Brin to lead a specialized AI strike team to take on Claude

https://www.msn.com/en-in/money/news/google-taps-sergey-brin-to-lead-a-specialized-ai-strike-team...
1•rantingdemon•3m ago•0 comments

Mhdybnb

https://blog.cloudflare.com/post-quantum-warp/
1•mhdybnb•3m ago•0 comments

One unusual thing in SV is the topics of billboard ads

https://101ads.org/
1•mihaichiorean•4m ago•0 comments

U.S. Attorney's Office Filed 143 Border-Related Cases This Week

https://www.justice.gov/usao-sdca/pr/us-attorneys-office-filed-143-border-related-cases-week
1•737min•6m ago•1 comments

The Spitfire

https://www.youtube.com/watch?v=B6a9_bEebYM
1•fallinditch•6m ago•0 comments

Indianapolis councilman says shots fired at home and 'No Data Centers' note left

https://www.pbs.org/newshour/nation/indianapolis-councilman-says-shots-fired-at-home-and-no-data-...
1•rmason•7m ago•0 comments

10k-watt GPU meet 40-watt lump of meat

https://daverupert.com/2026/04/if-i-could-watt-10-000-florps/
2•speckx•9m ago•0 comments

Usage of psychedelic psilocybin rises after state decriminalization

https://medicalxpress.com/news/2026-03-usage-psychedelic-psilocybin-state-decriminalization.html
1•PaulHoule•10m ago•0 comments

Mozilla Used Anthropic's Mythos to Find and Fix 271 Bugs in Firefox

https://www.wired.com/story/mozilla-used-anthropics-mythos-to-find-271-bugs-in-firefox/
3•cpeterso•10m ago•0 comments

Running full coding loop on DGX Spark

https://mihaichiorean.com/blog/closing-the-loop/
3•mihaichiorean•13m ago•1 comments

Show HN: Million Dollar Homepage, 21 years later, priced in satoshis

https://twentyonebitcoinhomepage.com/
1•bigryanhacks•13m ago•0 comments

Wells Fargo, Citi and Goldman lead in AI venture investment

https://www.americanbanker.com/news/wells-fargo-citi-and-goldman-lead-in-ai-venture-investment
1•petethomas•14m ago•0 comments

Elite law firm Sullivan and Cromwell admits to AI 'hallucinations'

https://www.ft.com/content/657d86df-5e0d-4d03-bf0c-cb768a58e758
2•petethomas•15m ago•1 comments

Native Apps with ClojureScript, React and Static Hermes

https://romanliutikov.com/blog/native-apps-with-clojurescript-react-and-static-hermes
1•luckymate•16m ago•0 comments

Show HN: Humanoid.js – One HTML file that scores how human your clicks look

https://humanoid-js.bensontech.dev/
1•informal007•17m ago•0 comments

ChatGPT Images 2.0

https://chatgpt.com/images/
12•pretext•18m ago•4 comments

Assault at Antarctic base could be a warning for future travellers to Mars

https://www.cbc.ca/radio/quirks/antarctic-base-assault-1.7489637
4•devonnull•18m ago•2 comments

Wrkflw v0.8.0 – Validate and Run GitHub Actions Locally

https://github.com/bahdotsh/wrkflw
1•bahdotshxx•18m ago•0 comments

The $400M Machine That Spawned the Most Coveted Toy

https://www.wsj.com/lifestyle/asml-lego-set-euv-machine-61dd93c6
2•ethanpil•20m ago•0 comments

I can never talk to an AI anonymously again

https://www.theargumentmag.com/p/i-can-never-talk-to-an-ai-anonymously
2•maxutility•21m ago•0 comments

How to Program Computers

https://fall.tr/kos
1•tosh•24m ago•0 comments

Testing a Local LLM

https://lzon.ca/posts/other/local-llm-testing/
1•jpmitchell•26m ago•0 comments

Blue Origin rocket grounded after satellite 'mishap'

https://www.bbc.com/news/articles/cjr9vwz48npo
4•jethronethro•26m ago•0 comments

Show HN: A simple intermittent fasting tracker and meditation timer

https://apps.apple.com/us/app/fasting-tracker-fast-timer/id6760658061
1•rkj93•29m ago•0 comments

The problem with Europe's Big Tech breakup: It's still hooked

https://www.politico.eu/article/europe-big-tech-donald-trump-alexander-scholtes-breakup-still-hoo...
6•andrewstetsenko•33m ago•0 comments

PAI

https://github.com/nirholas/PAI
1•nlch•33m ago•0 comments

Show HN: Resumemind – A developer-first resume builder

https://resumemind.com
1•bryden_cruz•35m 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•11mo 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