frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Shrugflation Triangle: How AI, Oil, and Treasuries Are Impacting the Economy

https://kyla.substack.com/p/the-shrugflation-triangle-how-ai
1•rafaelc•46s ago•0 comments

US fired over 600 missile interceptors defending Israel in three years

https://www.stephensemler.com/p/us-fired-over-600-missile-interceptors
1•0x54MUR41•1m ago•0 comments

Website for Photos

https://idk34-di.github.io/photos/
1•idk34•3m ago•0 comments

Neovim Markdown Viewer

https://bobjansen.net/neovim-markdown-viewer/
1•Bootvis•3m ago•0 comments

Spate: Britain's rivers, tides and storm overflows, live

https://spate.mk.gg/
1•ascorbic•4m ago•0 comments

iPhone Duo Livestream: How Many Folds Can Apple's Phone Take? [video]

https://www.youtube.com/watch?v=Y4DjuNHZfFU
1•juliann•4m ago•0 comments

Anthropic S-1: A visual guide to the filing

https://ant-s1.surge.sh/
2•wslh•6m ago•0 comments

Early NASA diapers forced astronauts to disclose the size of their manhood

https://www.chron.com/news/strange-weird/article/Early-NASA-diapers-forced-astronauts-to-disclose...
1•Bluestein•6m ago•0 comments

AI agents have few qualms with log tampering

https://www.manifold.security/blog/agent-log-tampering
2•codyznash•6m ago•0 comments

English, rewritten in Rust

https://github.com/Aaryan-Kapoor/english-rs
1•g0xA52A2A•8m ago•0 comments

Ted Lindgreen

https://nlnet.nl/people/TedLindgreen/
1•jacquesm•8m ago•0 comments

"We Want to Dominate" – How Nik Storonsky of Revolut Built a Fintech Giant

https://www.youtube.com/watch?v=hT_MAAwFLIc
1•p1anecrazy•9m ago•1 comments

Grand theft AI: Highway thieves are stealing millions in data center gear

https://www.nbcnews.com/tech/security/grand-theft-ai-highway-thieves-are-stealing-millions-data-c...
18•supertrope•9m ago•1 comments

Agent of Whom

https://www.economist.com/business/2026/09/23/agent-of-whom
1•mooreds•11m ago•0 comments

elfmudhra: Scan Firmware for eMudhra CA Certificates

https://nrfcloud.nordicsemi.com/elfmudhra/
1•hasheddan•15m ago•0 comments

U.S. birth rate drops to record low, but older women are having more babies

https://text.npr.org/nx-s1-6012804
1•mooreds•15m ago•1 comments

Cheap code, precious trust: Code modernization at scale

https://commandline.microsoft.com/agentic-software-engineering-large-scale-code-migration-languag...
1•doomroot13•17m ago•0 comments

WILD!!!, Fovea-4B model Outperforms ImaJev-4B

https://huggingface.co/Sivasuthan/fovea-4b
3•hack-ngx•18m ago•0 comments

Argus – Open-Source Agentic Security Platform – MIT

https://argusone.online
14•letsplayhosckey•20m ago•2 comments

Poles and polars in spherical, plane, and projective geometry

https://www.johndcook.com/blog/2026/10/25/poles-and-polars/
2•ibobev•21m ago•0 comments

Computing polar triangles with linear algebra

https://www.johndcook.com/blog/2026/10/24/computing-polar-triangles/
2•ibobev•21m ago•0 comments

Neiman Marcus – The 2026 Fantasy Gifts Star Wars Legacy Experience

https://www.neimanmarcus.com/p/prod293940005
20•stasomatic•22m ago•0 comments

Seiko TV Watch from 1982

https://www.ablogtowatch.com/no-longer-made-seiko-tv-watch-from-1982/
1•adunk•23m ago•0 comments

Write Once, Run Anywhere: Java for Retro Computers?

https://retrogamecoders.com/java-for-retro/
1•ibobev•24m ago•0 comments

A Claude Artefact that turns vanilla chat into a shared desktop

https://github.com/moldandyeast/claude-computer
1•rmrmrm•24m ago•0 comments

Circuitera

https://circuitera.org/
1•yuliniooo•24m ago•1 comments

Partial Operator Precedence (Zig Devlog)

https://ziglang.org/devlog/2026/#2026-10-24
1•dverlaeckt80•25m ago•0 comments

Navigating the Current Job Seeker Landscape (Event in Denver, CO, USA)

https://www.eventbrite.com/e/4-perspectives-navigating-the-current-job-seeker-landscape-tickets-2...
1•mooreds•25m ago•0 comments

A faster way to compute signed 64-bit floor division by constants

https://www.benjoffe.com/fast-floordiv
2•dverlaeckt80•26m ago•0 comments

Show HN: Vesalius, an on-device code graph for Claude Code

https://github.com/haplollc/Vesalius
1•bigman1113•26m 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