frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Can Psychedelics Improve Decision-Making?

https://nautil.us/can-psychedelics-improve-decision-making-1286863
1•the-mitr•4m ago•0 comments

The Engineering Manager's role is under attack (again)

https://www.manager.dev/newsletter/the-engineering-manager-s-role-is-under-attack-again
1•fagnerbrack•8m ago•0 comments

Ask HN: Is Anthropic being public better or worse for your org?

2•ares623•9m ago•0 comments

Web Search on Amazon Bedrock expands language support and country-aware search

https://aws.amazon.com/about-aws/whats-new/2026/11/web-search-amazon-bedrock/
1•yackrru•14m ago•0 comments

Notes on the discrete Fourier transform (DFT)

https://eli.thegreenplace.net/2026/notes-on-the-discrete-fourier-transform-dft/
3•kouosi•17m ago•0 comments

Show HN: App Pixel3D – Dream to 3D Reality

https://apps.apple.com/hu/app/pixel3d-dream-to-3d-reality/id6479245806
1•cflsdf•17m ago•0 comments

Postgres 19 is out: try it on Neon

https://neon.com/blog/postgres-19-is-out-try-it-on-neon
2•yackrru•18m ago•0 comments

Show HN: iOS App Dancing Particle is an interactive app

https://apps.apple.com/us/app/dancing-particle/id6444665083
1•cflsdf•18m ago•0 comments

Amazon is complaining about NYC Council on shipping labels, too

https://www.theverge.com/tech/1039564/amazon-nyc-council-packages-shipping-label
2•burnt-resistor•23m ago•0 comments

Show HN: Prompt Upgrader – a no-signup tool that scores and rewrites AI prompts

https://madgpt1.github.io/prompt-upgrader/
1•MadGPT•28m ago•0 comments

AI resolved all null pointer dereferences in C

https://kapteko.com/ai-resolved-all-null-pointer-dereferences/
1•fessguid•32m ago•1 comments

The Indignity of Makework

https://poisonandoak.wordpress.com/2026/11/21/the-indignity-of-makework/
1•wburglett•39m ago•0 comments

IronWAL: High performance, high durability, deterministic WAL

https://github.com/excsn/ironwal
1•excsn•44m ago•1 comments

How to read a CVSS score and decide what to patch

https://p99log.com/reading-cvss-scores/
1•collinstonui•48m ago•0 comments

Why agent swarms get better at optimizing code as they grow

https://frontier.replit.com/throwing-headcount-at-the-problem/
1•DonAtimator•49m ago•0 comments

Stephen Wolfram "Live CEOing" videos of Wolfram Language feature development

https://www.youtube.com/playlist?list=PLxn-kpJHbPx14mHrB5BlhImVOWo5Geg6f
1•alok-g•1h ago•0 comments

OpenRouter requests to MiniMax models may have been read

https://www.reddit.com/r/LocalLLaMA/comments/1y1we95/openrouter_requests_to_minimax_models_may_have/
2•ksec•1h ago•0 comments

AWS local emulator created by AI agents

https://aws.amazon.com/blogs/aws/test-your-applications-against-aws-locally-with-aws-emulator/
2•wenbert•1h ago•0 comments

The quantum computing race is becoming a deployment race

https://www.techradar.com/pro/the-quantum-computing-race-is-becoming-a-deployment-race
3•jonbaer•1h ago•0 comments

'I was shaking, crying, having trouble breathing': the uncharted trauma

https://www.theguardian.com/technology/ng-interactive/2026/nov/21/shaking-crying-trouble-breathin...
1•user20180120•1h ago•1 comments

Show HN: The Riemann Proof Handbook

https://github.com/tamnd/riemann-handbook
10•tamnd•1h ago•3 comments

WikiLLM: Browse language model weights like an encyclopedia

https://github.com/eagleclaw0075/wikillm/
2•havemurci•1h ago•0 comments

Show HN: Npx.tools, a keyboard-friendly index of developer tools

https://npx.tools/
1•hasnainkhagan•1h ago•0 comments

AI as a Lifestyle Choice

https://grahamdumpleton.me/posts/2026/11/ai-as-a-lifestyle-choice/
1•Karrot_Kream•1h ago•0 comments

California Nvidia Probe Covers Potential Criminal Law Violations

https://www.bloomberg.com/news/articles/2026-11-21/california-nvidia-probe-covers-potential-crimi...
2•petethomas•1h ago•0 comments

Ask HN: What made you pivot your interest to the field of AI?

5•learner_yearner•1h ago•4 comments

The Explorer Pattern for product invention and development

https://lethain.com/explorer-pattern/
1•gpi•1h ago•0 comments

Replaced PTX with MLIR, cutting asm regions from 499 to 81 across 20 kernels

https://vxlang.org/blog/handing-the-ptx-back-to-the-compiler.html
4•reshabh•1h ago•1 comments

San Francisco Braces for Record Tides as Mayor Urges Residents to Stay Put

https://kfn.one/news/san-francisco-braces-for-record-tides-as-mayor-urges-1d795047
2•reena•1h ago•0 comments

Back Pain (2021)

https://www.thomas-huehn.com/back-pain/
1•Curiositry•1h 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