frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

BLLM / ALLM – before and after LLM

1•orian•2m ago•0 comments

VMware Intros Private AI Cloud

https://www.nextplatform.com/cloud/2026/09/01/vmware-intros-private-ai-cloud-ai-factory-as-worklo...
1•jonbaer•10m ago•1 comments

I was offered money to scare you of AI [video]

https://www.youtube.com/watch?v=lPdmYMHrWKg
1•nomilk•11m ago•1 comments

Show HN: Laterbot – an anti-todo app for all the stuff you save for later

https://laterbot.app/
1•blitzritz•13m ago•1 comments

More of the universe appears to be more playable than we expected

https://contraptions.venkateshrao.com/p/the-curiously-playable-universe
1•thedreammachine•14m ago•0 comments

The Psychological Warfare of the Modern Sterile Interior

https://lussoarchive.substack.com/p/the-psychological-warfare-of-the
1•evo_9•17m ago•0 comments

Show HN: SetDPI – Change image DPI without re-encoding (runs in browser)

https://setdpi.com/
1•caseymarlin•18m ago•0 comments

The importance of stupidity in scientific research

https://fermatslibrary.com/s/the-importance-of-stupidity-in-scientific-research
1•wslh•18m ago•0 comments

Show HN: Say Toucan – my feedback board 3x'd its price, so I built my own

https://saytoucan.com
1•artoonie•23m ago•0 comments

AI-Assisted Design of a Post-Quantum Cryptographic Accelerator

https://arxiv.org/abs/2609.04058
1•sbulaev•25m ago•0 comments

AI Stock Research Assistant · Streamlit

https://ai-stock-research-kiaan.streamlit.app
2•KiaanKothari•25m ago•0 comments

Routed: Local, zero-token hybrid router for AI agent skills (<20ms)

https://github.com/bshea-1/Routed
2•bshea1•27m ago•0 comments

Boston, 1960s Video

https://www.youtube.com/watch?v=v23f7rQ4E6Q
1•sheri•28m ago•0 comments

Make infectious disease data boring again

https://www.statnews.com/2026/09/04/pennsylvania-measles-deaths-data-cdc-director-rfk-jr/
2•EA-3167•34m ago•0 comments

The Innovative HP Computer Behind a Hedge Fund Pioneer

https://thechipletter.substack.com/p/the-innovative-hp-computer-behind
1•chmaynard•35m ago•0 comments

What Linux does when you malloc()?

https://medium.com/@ankitadhiman650/what-linux-actually-does-when-you-malloc-162caa460052
1•syumei•38m ago•0 comments

Nvidia Personal AI Router (Pair)

https://github.com/NVIDIA/Personal-AI-Router
2•ystad•38m ago•0 comments

Spike – alerts when a competitor's YouTube video hits N views in T hours

https://spike.yt
1•astarostenkov•39m ago•0 comments

Accelerating LLM Inference with Lossless Speculative Decoding Algorithms (2025)

https://arxiv.org/abs/2502.05202
1•wslh•41m ago•0 comments

Title: A local signed notebook for AI agents, with CLI and MCP interfaces

https://github.com/davidnichols-ops/aafp-commons
1•davidnicholsops•43m ago•1 comments

Show HN: Slicky – a desktop robot for macOS that opens your apps

https://github.com/ananthasharma/Slicky
1•apsharma•43m ago•0 comments

How to sideload apps onto Android Auto

https://www.engadget.com/2246259/how-to-sideload-android-auto-apps/
1•cf100clunk•46m ago•0 comments

Show HN: Read Binary from Screenshots in the Browser

https://onlinebinarytranslator.com/
1•jackking1•48m ago•1 comments

Teardown: DeepSeek Harness

https://github.com/jimy-r/agent-workspace-architecture/blob/main/teardowns/2026-09-05-deepseek-ha...
2•jimyr•49m ago•0 comments

I Missed Tilix, So I Built the Terminal I Wanted

https://medium.com/@yalovoy/i-missed-tilix-so-i-built-the-terminal-i-wanted-ccd7535f4c94
2•zero-ground-445•50m ago•0 comments

Show HN: ChessNotate – Fix a broken PGN without branching into a new variation

https://chessnotate.app/
2•gantengx•51m ago•0 comments

The ZZZ backup page was a response to a wiki outage

https://mob.so/darkforest/p/f609e41e-57f6-476f-9210-6ffb28755c08
1•david_shi•51m ago•0 comments

The Logic of Surveillance (2013)

https://www.ianwelsh.net/the-logic-of-surveillance/
1•bediger4000•55m ago•0 comments

EvoMind: A local-first cognitive AI architecture with runtime safety gates

https://zenodo.org/records/20580153
1•Salt19•56m ago•0 comments

Disruption of the OTP in the adult male forebrain reveals its diverse functions

https://academic.oup.com/endo/article-abstract/167/4/bqag029/8525632?redirectedFrom=fulltext&logi...
3•wslh•57m 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