frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude Code and Codex as one pipeline

https://www.unsiloed.ai/blog/guides/claude-code-codex-one-pipeline
1•ritzaco•1m ago•0 comments

Ask HN: Is Google's AI Mode and AI summaries now gone for everyone in EU?

1•consumer451•4m ago•0 comments

Roar (1981 Film)

https://en.wikipedia.org/wiki/Roar_(film)
1•vismit2000•4m ago•0 comments

Microsoft discovers new lightweight backdoor that steals cryptocurrency

https://www.techsentiments.com/article/2026/06/18/microsoft-discovers-new-lightweight-backdoor-th...
1•rajsuper123•7m ago•0 comments

Ask HN: Please recommend sci-fi books similar to "children of time" or "anathem"

1•rishabhpoddar•7m ago•0 comments

Every independent nation should work on three things

1•manishtiwari09•8m ago•0 comments

Refund: A farce in one act by Frigyes Karinthy

http://rafiq-lis.blogspot.com/2013/02/the-refund-hilarious-literary-play.html
1•rramadass•8m ago•0 comments

My suitcase robot gets high off a real gas sensor wired into the LLM sampler

https://old.reddit.com/r/LocalLLaMA/comments/1u9a17y/my_suitcase_robot_gets_high_now_off_a_real_gas/
1•thunderbong•13m ago•0 comments

Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28

https://www.jvm-weekly.com/p/project-valhalla-explained-how-a
2•philonoist•17m ago•0 comments

Computer Chronicles

https://archive.org/details/computerchronicles
1•modinfo•18m ago•0 comments

Understanding Geometric Algebra for Electromagnetic Theory

https://ieeexplore.ieee.org/document/6474507
1•teleforce•20m ago•0 comments

Future of Software Engineering (2003)

https://web.archive.org/web/20151020012340/http://discuss.fogcreek.com/joelonsoftware1/default.as...
1•tosh•22m ago•0 comments

The Lonely Work of Moderating Hacker News (2019)

https://www.newyorker.com/news/letter-from-silicon-valley/the-lonely-work-of-moderating-hacker-news
2•andsoitis•22m ago•0 comments

GLM 5.2 vs. Opus

https://techstackups.com/comparisons/glm-5.2-vs-opus/
2•sixhobbits•26m ago•1 comments

Climate change: the CO2 emitter you may not know about (2018)

https://www.bbc.com/news/science-environment-46455844
3•downbad_•32m ago•0 comments

Mark Warren's favorite novels about a child's immersion into wilderness

https://bookdna.com/best-books/childs-immersion-into-wilderness
1•bwb•35m ago•0 comments

My favorite classic working-class novels of all time

https://bookdna.com/best-books/classic-working-class-novels-of-all-time
1•bwb•36m ago•1 comments

Iran Delays U.S. Peace Talks over Israeli Attacks in Lebanon

https://maritime-executive.com/article/report-iran-suspends-hormuz-talks-because-of-israeli-attac...
2•consumer451•39m ago•0 comments

Bobby Prince Jr (composer of classic Doom soundtrack) has passed away

https://www.legacy.com/legacy/robert-bobby-prince-lll
3•andystanton•45m ago•1 comments

So You Want to Define a Well-Known URI

https://mnot.net/blog/2026/well_known_uris
7•ingve•48m ago•0 comments

World Cup AI: which AI model is winning the World Cup?

https://worldcupai.org/
1•ValentineC•49m ago•1 comments

Ongoing: Cloudflare customers seeing incorrect invoice payments for 2.5 days

https://www.cloudflarestatus.com/incidents/nq5q2glxd4yw
1•imcotton•49m ago•0 comments

The ISA Doesn't Matter Where It Counts

https://www.chipstrat.com/p/the-isa-doesnt-matter-where-it-counts
2•ksec•50m ago•0 comments

Ask HN: Is anyone else leaving AUR?

2•lordkrandel•53m ago•1 comments

Apple A12 and A13 Chips: New Unpatchable Exploit

https://www.macrumors.com/2026/06/18/a12-and-a13-chips-facing-exploit/
5•tosh•55m ago•0 comments

DNI does press release on Covid-19 origins and coverup

https://www.odni.gov/index.php/newsroom/press-releases/press-releases-2026/4166-pr-11-26
1•anonymousiam•55m ago•2 comments

I reinvented website FAQ sections

https://answerpane.com/
2•MikeCatt•57m ago•0 comments

The comfortable slow boil of LLM assisted coding

https://01max.io/blog/a-comfortable-slow-boil/
2•maxime_•1h ago•0 comments

Renting vs. Buying – A case study for Bangalore

https://bangalore-property-buy-vs-rent.pagey.site/
4•freakynit•1h ago•0 comments

Show HN: `pbi`, an image aware pbcopy/paste for macOS command line users.

https://github.com/fragmede/pbi
1•fragmede•1h ago•0 comments
Open in hackernews

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

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