frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What does a doctor look like? Asking AI

https://www.bmj.com/content/391/bmj-2025-088968
1•speckx•1m ago•0 comments

Rodney Brooks' Technology Predictions Scorecard

https://rodneybrooks.com/predictions-scorecard-2026-january-01/
1•asafira•1m ago•0 comments

Welcome to the Office. Now Take Off Your Shoes

https://www.nytimes.com/2026/01/02/business/welcome-to-the-office-now-take-off-your-shoes.html
1•pavel_lishin•3m ago•0 comments

Telling the story of Ultima across 2 years and 20 hours+ of documentaries

https://www.pcgamer.com/games/rpg/a-good-idea-infinite-drive-and-lots-of-diet-pepsi-how-youtube-e...
1•CharlesW•3m ago•0 comments

The Emerging AI Society

https://craftyduck.rocks/blog/the-plan
1•goferito•4m ago•1 comments

Show HN: Social platform for sharing wishes validated by community coin tosses

https://coinfountains.com/
1•julienreszka•5m ago•0 comments

In 2025, AI Became My Co-Founder

https://pmfmachine.substack.com/p/in-2025-ai-became-my-co-founder
1•richardblythman•5m ago•0 comments

Show HN: When Agents Write Your Code, Who's Responsible for Security?

https://handsom.ai/blog/when-agents-write-your-code-who-is-responsible-for-security
1•justinThompson•5m ago•0 comments

Skill for 2026: Critical Ignoring

https://www.wsj.com/tech/personal-tech/critical-ignoring-social-media-7e236f52
1•julienchastang•11m ago•0 comments

Acoustic Side Channel Attack on Keyboards (2023)

https://arxiv.org/abs/2308.01074
1•perceptronas•12m ago•0 comments

Change is the root of all evil bugs

https://fhur.me/posts/2026/change-is-the-root-of-all-evil-bugs
1•TheAnkurTyagi•12m ago•0 comments

Tesla's battery cathode order: $7k instead of $2.9B

https://www.heise.de/en/news/Tesla-s-battery-cathode-order-7-000-instead-of-2-9-billion-11126652....
1•doener•12m ago•0 comments

How I use AI in Sublime Text

https://ohdoylerules.com/tricks/how-i-use-ai-in-sublime-text/
1•james2doyle•13m ago•0 comments

Clicks Communicator

https://www.clicksphone.com/en/communicator
17•microflash•14m ago•4 comments

Usury FAQ (2014)

https://zippycatholic.wordpress.com/2014/11/10/usury-faq-or-money-on-the-pill/
1•danielam•15m ago•0 comments

The rise of AI tools that write about you when you die

https://www.washingtonpost.com/technology/2025/08/03/ai-obituaries-funeral-homes/
1•_tk_•16m ago•0 comments

A post-American, enshittification-resistant internet

https://pluralistic.net/2026/01/01/39c3/
3•weliveagain•16m ago•0 comments

Ukrainian soldier's M1 MacBook Air takes direct shrapnel and still works

https://www.tomshardware.com/laptops/macbooks/ukrainian-soldiers-m1-macbook-air-takes-direct-shra...
2•speckx•16m ago•1 comments

Show HN: I made presets for Darktable which mimic Fujifilm's Film Simulations

https://jssfr.de/dtsolve/2026-01-02-darktable-styles-fujifilm.html
3•jssfr•17m ago•0 comments

Taming the internet: From horizontal to vertical, from keyboards to screens

https://www.northsouthnotes.org/p/taming-the-internet
1•pje•18m ago•0 comments

Online Planning Method Integrating LLMs into Nested Rollout Policy Adaptation

https://arxiv.org/abs/2511.21706
1•PaulHoule•19m ago•0 comments

AI can feel you now?

https://synheart.ai
1•henok_ademtew•19m ago•0 comments

Show HN: 100% free data extraction tool for invoices

https://www.digiparser.com/free-tools/data-extraction/invoice-parser
1•thepantales•19m ago•0 comments

The Relational Substrate of Reflective Consciousness

https://zenodo.org/records/18037522
1•llamataboot•22m ago•0 comments

Show HN: Arctic – a terminal-first TUI aggregating multiple AI coding plans

https://github.com/arctic-cli/interface
1•femtobusa•22m ago•0 comments

Clicks Communicator smartphone

https://clicksphone.com/en/communicator
2•ChrisArchitect•26m ago•0 comments

Kotlin 2.3.0

https://blog.jetbrains.com/kotlin/2025/12/kotlin-2-3-0-released/
2•andrewstetsenko•27m ago•0 comments

Show HN: Previewcn – a Shadcn/UI theme previewer directly inside your NextJS app

https://github.com/taishikato/previewcn
2•taishikato•27m ago•0 comments

Tesla's fourth quarter sales fell more than expected, 15.6 percent drop

https://www.theverge.com/news/852649/tesla-q4-2025-sales-production-delivery-elon-musk
3•randycupertino•28m ago•1 comments

The Capybaras of Florida

https://storymaps.arcgis.com/stories/a029f491389241fd87ab7396862447e8
2•ohjeez•28m ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•7mo 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•7mo 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•7mo 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•7mo 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•7mo 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•7mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that