frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

My story on how I created my own open source project

1•packetsniffer•1m ago•0 comments

Google is first hyperscaler to promise GW-scale power demand response

https://blog.google/innovation-and-ai/infrastructure-and-cloud/global-network/demand-response-dat...
1•khofo•7m ago•1 comments

Show HN: BallotGuessr – Guess the 2024 election margin from a Street View photo

https://ballotguessr.com
2•jiratickets•8m ago•0 comments

Constructing an LLM-Computer

https://www.percepta.ai/blog/constructing-llm-computer
1•Philpax•10m ago•0 comments

Show HN: Stella Foster – iMessage on Any Phone

https://stellafoster.com/
1•jacobgc•10m ago•0 comments

An open source benchmarking framework for IT automation

https://github.com/itbench-hub/ITBench
1•pranay01•11m ago•0 comments

A Former Anthropology Student from Los Angeles Might Be the George Lucas of AI

https://www.hollywoodreporter.com/movies/movie-news/gossip-goblin-zack-london-ai-films-watch-1236...
2•Kaibeezy•11m ago•0 comments

Air Force tanker tore up asphalt at Alaska airport with engine test

https://taskandpurpose.com/news/air-force-tanker-asphalt-accident/
1•ilamont•14m ago•0 comments

Making React ProseMirror Fast

https://handlewithcare.dev/blog/making_react_prosemirror_really_really_fast/
1•smoores•17m ago•1 comments

5 AIs. One Answer on iOS

https://apps.apple.com/us/app/pingpongit/id6758229301
1•husky8•19m ago•0 comments

Show HN: Rick – Open-source AI CEO that autonomously runs your startup

https://meetrick.ai
1•MeetRickAI•20m ago•0 comments

Running Tesla Model 3's Computer on My Desk Using Parts from Crashed Cars

https://bugs.xdavidhu.me/tesla/2026/03/23/running-tesla-model-3s-computer-on-my-desk-using-parts-...
3•driesdep•20m ago•0 comments

Ancient DNA reveals 4000 years of grapevine diversity and viticulture in France

https://www.nature.com/articles/s41467-026-70166-z
1•layer8•29m ago•0 comments

The Military Failures of Fascism

https://acoup.blog/2024/02/23/fireside-friday-february-23-2024-on-the-military-failures-of-fascism/
2•JumpCrisscross•29m ago•0 comments

Brad Feld – Quality (Essay on Zen and the Art of Motorcycle Maintenance)

https://feld.com/archives/2026/03/quality/
1•rmason•32m ago•0 comments

Health NZ staff told to stop using ChatGPT to write clinical notes

https://www.rnz.co.nz/news/national/590645/health-nz-staff-told-to-stop-using-chatgpt-to-write-cl...
15•billybuckwheat•33m ago•1 comments

Specula: A framework for finding deep bugs in system code using TLA+

https://github.com/specula-org/Specula
1•matt_d•35m ago•0 comments

Nonfiction Publishing, Under Threat, Is More Important

https://newrepublic.com/article/207659/non-fiction-publishing-threat-important-ever
1•Hooke•35m ago•0 comments

Show HN: Text2troff – automatically converts plain text to TROFF format

https://github.com/jazzfan2/text2troff
1•robtoscani•35m ago•0 comments

Silence is the KPI: agents that don't talk

https://diegodella1.github.io/chango-daily/2026/03/03/silence-is-the-kpi-agents-that-do-not-talk/
1•changobot_dg•36m ago•0 comments

China is mass-producing hypersonic missiles for $99,000

https://kdwalmsley.substack.com/p/on-sale-now-china-is-mass-producing
35•zdw•36m ago•3 comments

RedSwarm Adversarial AI security scanner, one file, zero deps

https://github.com/beee003/redswarm
1•bee003•37m ago•1 comments

UK bans crypto donations to political parties in bid to curb foreign influence

https://apnews.com/article/uk-political-donations-cryptocurrency-ban-4deae8e71d664a042363fa79d617...
2•toomuchtodo•37m ago•1 comments

FairPhone: Industry First Nature Report

https://www.fairphone.com/stories/we-just-released-the-industrys-first-ever-nature-report
1•kruffalon•38m ago•1 comments

A lawyer won Anthropic's hackathon – what everyone missed

https://hadleylab.org/blogs/2026-03-22-the-lawyer-who-won/
2•idrdex•38m ago•1 comments

Creating Your First React Component Is Easy

https://www.youtube.com/watch?v=lVzYw35oRrk
1•stormsidali2001•39m ago•1 comments

Moon: The Lonely Life of a Man on the Moon

https://reactormag.com/moon-the-lonely-life-of-a-man-on-the-moon/
1•mindracer•39m ago•0 comments

Supreme Court rules ISPs aren't liable for subscribers' music piracy

https://www.engadget.com/entertainment/streaming/supreme-court-rules-isps-arent-liable-for-subscr...
6•zdw•40m ago•1 comments

Show HN: Whorl – Fingerprinting LLMs as horrible password generators

http://bountyplz.xyz/ai,/security/2026/03/15/Model-Fingerprinting-With-Whorl.html
1•tehryanx•41m ago•0 comments

Meta Lays Off 700 Employees, While Rewarding Top Executives

https://www.nytimes.com/2026/03/25/technology/meta-layoffs-ai-executives.html
4•nickvec•42m ago•3 comments
Open in hackernews

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

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