frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Agentic AI Security

https://www.straiker.ai/
1•noashavit•13s ago•0 comments

Show HN: PatchWork extracts your full career history and writes resumes for you

https://usepatch.work/
1•mcohrs•24s ago•0 comments

U.S. Mint Buys Drug Cartel Gold and Sells It as 'American'

https://www.nytimes.com/2026/04/26/world/americas/us-mint-gold-drug-cartel-colombia.html
4•mikhael•3m ago•0 comments

Butterflies are in decline across North America, a look at the Western Monarch

https://www.smithsonianmag.com/science-nature/butterflies-are-in-dramatic-decline-across-north-am...
6•1659447091•4m ago•0 comments

Security issues found within rust-coreutils

https://discourse.ubuntu.com/t/an-update-on-rust-coreutils/80773
2•birdculture•5m ago•0 comments

Kitty-graphics.el v0.5.0: tmux support for images inside terminal Emacs

https://cashmere.rs/blog/kitty-graphicsel-v050-tmux-support-sixel-performance-typst-support
1•cashmere1337•10m ago•0 comments

Ask HN: Anyone want to collaborate on a local-first AI-based research assistant

2•venkatram-s•11m ago•0 comments

Humanoid Data

https://www.technologyreview.com/2026/04/21/1135656/humanoid-data-robot-training-ai-artificial-in...
1•gnabgib•14m ago•0 comments

Rapunzel: Tree style tabs for codex, Claude Code and Gemini

https://github.com/salmanjavaid/rapunzel/tree/main
1•WasimBhai•16m ago•1 comments

If an AI tutor that adapts to your learning style

https://tutoraimvp.netlify.app/index.html
1•Avia_Studio•19m ago•0 comments

1:59:30: Sabastian Sawe Shatters the 2-Hour Barrier at 2026 London Marathon

https://www.letsrun.com/news/2026/04/15930-sabastian-sawe-shatters-the-2-hour-barrier-at-2026-lon...
6•nradov•19m ago•1 comments

Remembering the 1984 Unix PC. Why did it fail so hard?

https://tech.slashdot.org/story/26/04/26/2038235/remembering-the-1984-unix-pc-why-did-it-fail-so-...
2•MilnerRoute•20m ago•0 comments

Claude Design Is Real Design

https://diverging.run/checkpoints/claude-design-is-real-design/
1•shay_ker•21m ago•0 comments

TRELLIS.2: Native and Compact Structured Latents for 3D Generation

https://microsoft.github.io/TRELLIS.2/
4•stavros•21m ago•0 comments

Two Athletes Break Sub-2-HR Marathon in Adizero Adios Pro Evo 3

https://news.adidas.com/running/two-adidas-athletes-sabastian-sawe-and-yomif-kejelcha-break-the-s...
2•canucker2016•23m ago•0 comments

New HEIC to JPG/PNG Converter

https://heyc.runtime-hub.com/
1•RunTimeZero•23m ago•0 comments

Charity Guiness record - 9 day stream raised almost 70mln USD for cancer

https://streamer.guide/blog/latwogang-breaks-guinness-record-charity-stream-2026
2•halonn•24m ago•0 comments

The New Linux Kernel AI Bot Uncovering Bugs Is a Local LLM on Framework Desktop

https://www.phoronix.com/news/Clanker-T1000-AMD-Ryzen-AI-Max
4•guerby•27m ago•0 comments

Anonymous IRQ Handlers

https://trident64.github.io/anonymous-irq-handlers/
2•adunk•28m ago•0 comments

Show HN: Tiao, A two-player turn-based board game

https://playtiao.com
1•trebeljahr•28m ago•0 comments

Show HN: AI memory with biological decay (52% recall)

https://github.com/sachitrafa/YourMemory
8•SachitRafa•29m ago•3 comments

Forcing Scammers to Pass a "Face Captcha" [video]

https://www.youtube.com/watch?v=odFq0xgTrko
1•akavel•31m ago•0 comments

Sawe smashes two-hour mark to 'move goalposts for marathon running'

https://www.bbc.com/sport/athletics/articles/crm1m7e0zwzo
17•berkeleyjunk•31m ago•0 comments

The Preservation Sequences, Part 1: Less Dead

https://nectome.substack.com/p/the-preservation-sequences-part-1
1•bcjordan•33m ago•0 comments

Show HN: Mdlens – Reduce token spend and boost retrieval on Markdown-heavy repos

https://github.com/Dreeseaw/mdlens
1•dreeseaw•33m ago•0 comments

At SpaceX, AI is burning the cash that Starlink earns

https://www.reuters.com/business/finance/spacex-ai-is-burning-cash-that-starlink-earns-2026-04-24/
8•JumpCrisscross•34m ago•0 comments

DeepSeek's new models are so efficient they'll run on a toaster by which we mean

https://www.theregister.com/2026/04/24/deepseek_v4/
3•Bender•35m ago•1 comments

More ancient Linux device support faces the chop

https://www.theregister.com/2026/04/24/ancient_linux_drivers_going/
2•Bender•36m ago•1 comments

I brought my husband back for his funeral as a hologram

https://www.bbc.com/news/articles/cm29qj3e294o
1•Brajeshwar•36m ago•0 comments

Microsoft tackles quality control issues. Just kidding

https://www.theregister.com/2026/04/24/microsoft_seeks_quality_improvements_by/
7•Bender•37m ago•1 comments
Open in hackernews

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

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