frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Neo – Hugh Howey

https://hughhowey.com/neo-fiction-without-friction/
1•seesthruya•1m ago•1 comments

Show HN: Jev-Like Model Learns to Cook

https://rlafuente.com/posts/2026-9-26-training-a-small-decision-model-to-cook#
1•andes314•3m ago•0 comments

A Programmable Programming Language (2018)

https://cacm.acm.org/research/a-programmable-programming-language/
2•so-cal-schemer•8m ago•1 comments

EV Sales Are Booming in Europe with Gasoline at $10 a Gallon

https://www.bloomberg.com/news/articles/2026-09-24/electric-car-sales-soar-52-in-europe-with-fuel...
3•blondie9x•9m ago•0 comments

Did Anthropic's A.I. Really Make a Scientific Discovery on Its Own?

https://www.nytimes.com/2026/09/27/science/anthropic-biology-enzyme-mestre.html
2•jbegley•10m ago•0 comments

Show HN: Minecraft PvP against DiffusionGemma-as-Jev, 24 ms per decision

https://mc.alexzms.com
1•alexzms•11m ago•0 comments

UFO-core multiplayer agentic environs

https://github.com/ufo-ai/ufo-core
1•handfuloflight•11m ago•0 comments

Cognitive Sanctuaries Or: Manifesto of the Department Chair

https://terrytao.wordpress.com/2026/09/27/cognitive-sanctuaries-or-manifesto-of-the-department-ch...
1•smilelamp•11m ago•0 comments

Cloudflare fixes Containers cross-tenant flaw exposing customer data

https://www.bleepingcomputer.com/news/security/cloudflare-fixes-containers-cross-tenant-flaw-expo...
1•sbulaev•17m ago•0 comments

Lunar Terminator Paradox

https://notes.secretsauce.net/notes/2026/09/27_lunar-terminator-paradox.html
7•dima55•18m ago•0 comments

Session Revocations at Scale

https://www.canva.dev/blog/engineering/session-revocations-at-scale/
1•bucket2015•18m ago•0 comments

Banned from Reddit for my plugin that evades tracking and monetization

5•kookabburrabarr•25m ago•2 comments

Solving a corn puzzle with CP-SAT

https://thill.me/2026/07/16/corn-puzzle-sat-solver.html
2•luu•25m ago•0 comments

Anthropic is a supply chain risk for all of us

https://building138.com/anthropic-is-a-supply-chain-risk-for-all-of-us
1•usernamed7•33m ago•1 comments

App Store review allowed a Meta Muse copycat

https://lapcatsoftware.com/articles/2026/9/8.html
3•krackers•34m ago•1 comments

Show HN: Jevdit – a social network moderated by Jev

https://jevdit.com
3•TN1ck•38m ago•0 comments

Haven: One Privacy App. Zero Compromise

https://havenmessenger.com/
1•cristoperb•39m ago•1 comments

Citrix NetScaler Remote Code Execution

https://support.citrix.com/external/article/CTX697096/citrix-netscaler-adc-and-citrix-netscale.html
2•wylie39•40m ago•0 comments

Cold War

https://en.wikipedia.org/wiki/Cold_War
1•chistev•40m ago•0 comments

Uber CEO says you should answer emails over the weekend

https://fortune.com/article/uber-ceo-dara-khosrowshahi-really-demanding-work-culture-includes-exp...
2•xlayn•42m ago•2 comments

Two Companies Built a $71B Drug Class

https://research.socialcapital.com/p/glp1
1•brandonb•42m ago•0 comments

Raspberry Pi prevents the device from booting if unofficial RAM chip is detected

https://hackaday.com/2026/09/26/the-least-annoying-of-all-evils/
3•Muhammad523•42m ago•0 comments

Procedurally animated koi pond that runs in the browser

https://koi.m4yank.com/
2•kewonit•43m ago•1 comments

Show HN: [Curbwise] Explore crash data and redesign dangerous streets

https://curbwise.org
1•kcirtapfrmspc•49m ago•0 comments

My Recent Woodworking Projects

https://notoriousbfg.com/recent-woodworking-projects/
2•trwhite•50m ago•0 comments

My slides are a TUI app now

https://blog.klobuc.ar/posts/tui-slides/
2•meltmymind•51m ago•1 comments

Show HN: AstraBox – an open-source alternative to Claude Managed Agents

https://github.com/Colton-z/AstraBox
2•coltonz•52m ago•0 comments

The Trouble with Psychological Darwinism

http://cogweb.ucla.edu/Abstracts/Fodor_on_Pinker_98.html
2•Phithagoras•53m ago•0 comments

Australia's Emu War spawns feature film, jokes and memes 90 years on (2022)

https://www.abc.net.au/news/2022-12-10/great-emu-war-90-years-on-army-wheatbelt-battle-history/10...
2•doener•54m ago•0 comments

Bill Gates Says Trump Is Wrong to Hold Out Against AI Safeguards

https://www.bloomberg.com/news/articles/2026-09-27/bill-gates-says-trump-is-wrong-to-hold-out-aga...
5•Betelbuddy•1h ago•2 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