frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Compile-Time Improvements in LLVM 23

https://aengelke.net/llvm23-ct.html
1•matt_d•33s ago•0 comments

AI's potential climate benefits outweighed by role in boosting fossil fuels

https://www.theguardian.com/technology/2026/aug/11/ai-will-do-more-to-boost-fossil-fuel-productio...
1•bryanrasmussen•1m ago•0 comments

While government reviews aged care algorithm, waitlists are growing

https://www.abc.net.au/news/2026-08-23/independent-assessment-tool-four-corners-mark-butler-aged-...
1•ahonhn•1m ago•0 comments

Drop_file_cache: Evict cached data for files/directories without root

https://github.com/shenwei356/drop_file_cache
1•shenwei356•4m ago•0 comments

Humanoid robots surpass human records in 100M, high jump

https://www.espn.com/olympics/story/_/id/49692320/humanoid-robots-surpass-human-records-100m-high...
1•geox•4m ago•0 comments

Who is the founder of 0x Alpha?

https://openrouter.ai
1•LYFMail•5m ago•0 comments

Show HN: Mokup – Backend not ready? Mock API responses in Chrome DevTools

https://chromewebstore.google.com/detail/mokup-mock-apis-in-devtoo/pemnjopjhbagogaojfgcfamailepnebb
1•pxdev•7m ago•0 comments

Quantum Mathematics for Modeling BioPhysics (including BioOS v2 software)

https://zenodo.org/records/22064550
1•GeometryKernel•7m ago•0 comments

Show HN: TDILEARNED – a rabbit-hole machine

https://til-seven.vercel.app/
1•mythiix•17m ago•0 comments

T&T Homes Elite Rivera

https://www.facebook.com/groups/ttvinhlong.chinhthuc/posts/1053828987263728/
1•phuocphamrealty•17m ago•0 comments

Andreessen Horowitz Focus of DOJ Probe over Board Directors

https://finance.yahoo.com/technology/ai/articles/andreessen-horowitz-focus-doj-probe-171350711.html
1•ah27182•20m ago•0 comments

SpliceKit for Final Cut Pro – Command Palette and MCP Server

https://splicekit.fcp.cafe/
1•danboarder•22m ago•0 comments

StageX: Eliminating Single Points of Failure in Linux Distributions [pdf]

https://codeberg.org/stagex/whitepapers/raw/branch/main/out/stagex.pdf
1•networked•22m ago•0 comments

Four Years Ago, a Crypto Boss Went Missing. Now His Successor Has

https://www.nytimes.com/2026/08/23/world/europe/poland-estonia-cryptocurrency.html
4•ilamont•23m ago•0 comments

Activity Monitor for AI Application on Mac OS X

https://popy.app/apps/corral
1•kulekci•28m ago•0 comments

Hundreds of leaked AWS keys give full control over corporate accounts

https://www.bleepingcomputer.com/news/security/hundreds-of-leaked-aws-keys-give-full-control-over...
2•Brajeshwar•32m ago•0 comments

Cyberleek Viewer based on-chain (no browser needed)

https://github.com/ZeroHackz/cyberleek-viewer
1•zerolines•33m ago•0 comments

The Covid-19 scandal is still unfolding

https://www.economist.com/united-states/2026/08/20/the-real-covid-19-scandal-is-still-unfolding
6•bediger4000•35m ago•0 comments

Show HN: One portal for all your MCP servers

https://onemcp.dev/
2•ddoronin•40m ago•0 comments

Palantir's Karp – frontier AI labs that are 'trying to drug addict us'

https://www.cnbc.com/2026/08/03/palantir-karp-open-ai-anthropic-open-weight.html
6•rishabhd•48m ago•1 comments

Liberal Families Are Looking Pretty Traditional

https://www.theatlantic.com/ideas/2026/08/democrat-liberal-conservative-traditional-family/688369/
2•loughnane•49m ago•0 comments

The Decline of America's Public Pools

https://www.theatlantic.com/health/archive/2024/08/america-is-ignoring-its-public-pools/679428/
2•loughnane•50m ago•1 comments

TrustLens – Detect Fake News and Verify Claims

https://trustlens.lyfmail.com/
2•LYFMail•51m ago•0 comments

Shelve Secret Management

https://github.com/hugorcd/shelve
2•handfuloflight•59m ago•0 comments

Java's String.indexOf can be slow (quadratic)

https://lemire.me/blog/2026/08/22/javas-string-indexof-can-be-slow-quadratic/
2•mfiguiere•59m ago•0 comments

Show HN: Dictata – Local Whisper dictation with LLM cleanup

https://github.com/AntoineChatry/Dictata
2•AntoineC_•1h ago•0 comments

In 2000, Ted Kaczynski advised against math career due to future AI progress

https://twitter.com/subcountability/status/2091164267827327042
4•MrBuddyCasino•1h ago•0 comments

What is the future of the meta game genre?

https://icely.neocities.org/articles/what-is-the-future-of-the-meta-game-genre
2•icely•1h ago•0 comments

Microsoft Blames Windows Gaming Issues on RGB Lighting Devices

https://www.bleepingcomputer.com/news/microsoft/microsoft-blames-windows-gaming-issues-on-rgb-lig...
8•m463•1h ago•0 comments

The Golden Rule for Becoming a Better Writer

https://nappertime.com/the-golden-rule-of-becoming-a-better-writer/
5•andsoitis•1h 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