frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Hired to Code, He Built Hudson River Trading and a $27B Fortune

https://www.bloomberg.com/news/features/2026-09-10/how-jason-carroll-built-hudson-river-trading-a...
1•aanet•2m ago•1 comments

Vivaldi 8.2 for mobile: the browser. Your rules. Your extensions

https://vivaldi.com/blog/vivaldi-on-mobile-8-2/
1•thunderbong•2m ago•0 comments

A mini-game around fake news

https://unspin.hidden-pond-5e6a.workers.dev/
1•azermite•4m ago•0 comments

How My Students Think About AI

https://www.lesswrong.com/posts/ySXuvJcqRindQwAk7/how-my-students-think-about-ai
2•paulpauper•5m ago•0 comments

In Japan, Television Viewing Doesn't Have to Take a Back Seat (2013)

https://www.wsj.com/articles/SB10001424127887323296504578397020440247856
1•libpcap•6m ago•0 comments

How do Necco wafers, paper receipts, and farmers almanacs still exist?

https://thehustle.co/newsletters/09-09-2026
2•paulpauper•6m ago•0 comments

AI #185: Preference Cascade

https://thezvi.substack.com/p/ai-185-preference-cascade
1•paulpauper•7m ago•0 comments

Allow Carriers on Planes

https://www.jefftk.com/p/allow-carriers-on-planes
2•luu•12m ago•0 comments

Sky sphere representation in language models (29 Jul 2026)

https://arxiv.org/abs/2607.27092
1•throwaway81523•15m ago•0 comments

Show HN: Benzi – A Code Intillegence/Harness Beating Claude Code and CodeGraph

https://benzi.fly.dev/benchmark
3•tweedler290•15m ago•2 comments

A fossil feather in dinosaur poop may explain why birds survived mass extinction

https://phys.org/news/2026-09-fossil-feather-dinosaur-poop-birds.html
1•wglb•17m ago•1 comments

Continuous video of black hole radio observations challenges shock wave theory

https://phys.org/news/2026-09-video-black-hole-radio-theory.html
1•wglb•21m ago•1 comments

Zero heap allocation chess engine in OxCaml

https://github.com/ericlovesmath/oxcaml-chess
2•0xsn3k•21m ago•0 comments

Developer created an app to detect nearby Meta glasses

https://www.businessinsider.com/zuckoff-app-detects-meta-ai-smart-glasses-recording-privacy-2026-9
3•CarbonCycles•22m ago•1 comments

A galaxy with almost no stars? New Cloud-9 observations strengthen the case

https://phys.org/news/2026-09-galaxy-stars-cloud-case.html
1•wglb•22m ago•0 comments

I built a simulator for the iPhone Duo

https://progressier.com/iphone-duo-simulator
2•kbst•25m ago•1 comments

PanoDrop

https://www.panodrop.app/
1•dueffects•26m ago•0 comments

GE Acquires NBC – 1985

https://www.s-1.site/s/ge-acquires-rca-1985.html
1•anthonybourdain•28m ago•0 comments

OpenAI Is Open to Slowing Cutting-Edge AI, CEO Sam Altman Tells Staff

https://www.bloomberg.com/news/articles/2026-09-11/openai-is-open-to-slowing-cutting-edge-ai-ceo-...
3•mfiguiere•32m ago•1 comments

YouTuber, or someone, wants to send nice emails to active military personnel

https://mic.sandboxx.us/
5•tempestrose•34m ago•4 comments

Towards a taxonomy of cliches in Space Opera

https://www.antipope.org/charlie/blog-static/2016/03/towards-a-taxonomy-of-cliches-.html
2•rznicolet•37m ago•0 comments

Mexican student creates an acoustic fire extinguisher to put out fire in seconds

https://www.upsocl.com/en/16-year-old-mexican-student-creates-an-acoustic-fire-extinguisher-that-...
3•rguiscard•37m ago•0 comments

Show HN: TIL in AI

https://buildyard.ai/til
1•buildyard•38m ago•0 comments

The Poisoned Chalice and the Court of the Opened Eye

https://danverbraganza.com/writings/the-poisoned-chalice-and-the-court-of-the-opened-eye
1•nvader•39m ago•0 comments

SmartDB Todo tu trabajo con datos, en el contexto de tu proyecto

https://smartdb.bytss.com/
1•luiscasasanchez•40m ago•0 comments

Show HN: Botbin.io – Pastebin for AI agent artifacts with MCP

https://botbin.io/?mcp=true
1•obilgic•42m ago•0 comments

Herdr Studio

https://powerfooI.github.io/herdr-studio/
3•throwaway888abc•44m ago•0 comments

Identity Verification in Japan: What Happens Behind the Scenes

https://www.tokyodev.com/articles/identity-verification-in-japan
2•pwim•44m ago•0 comments

I built a margin tracker for builders after watching them guess in spreadsheets

https://tryobra.com/
1•mytinyrocket•48m ago•0 comments

Donald Trump boxed his party in

https://www.economist.com/united-states/2026/09/10/how-donald-trump-boxed-his-party-in
2•Anon84•49m ago•1 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