frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

YC-backed AI company can now prescribe psychiatric drugs, first in world

https://nypost.com/2026/03/27/business/artificial-intelligence-can-now-prescribe-mental-health-dr...
1•sizzle•55s ago•0 comments

Unbiased Guide to the Smartest AIs

https://helloai.com/
1•HelloAi•2m ago•0 comments

Show HN: Mycellm – BitTorrent for LLMs, pool GPUs into federated networks

https://mycellm.ai
1•mijkal•2m ago•0 comments

Sycophantic Chatbots Cause Delusional Spiraling, Even in Ideal Bayesians

https://arxiv.org/abs/2602.19141
1•Anon84•7m ago•0 comments

State of DLES 2026

https://dles.gg/blog/state-of-dles-2026
1•trizoza•7m ago•0 comments

Show HN: Local RAG on 25 Years of Teletext News

https://github.com/r-follador/TeletextSignals/
2•folli•8m ago•0 comments

Rick Dangerous

https://www.simonphipps.com/games/rickdangerous/
1•tie-in•11m ago•0 comments

Show HN: Happy Passover – Passover Game

https://ben.cates.fm/happy-passover/
1•benja123•11m ago•0 comments

You're still signing data structures the wrong way

https://blog.foks.pub/posts/domain-separation-in-idl/
5•malgorithms•11m ago•0 comments

Dario Amodei – Machines of Loving Grace

https://darioamodei.com/essay/machines-of-loving-grace
2•Anon84•14m ago•0 comments

I built the best PGP toolset on Chrome

https://chromewebstore.google.com/detail/pgp-tools-encrypt-decrypt/pgpcdgggohpbombhkffjoiiafdlfcpgp
1•acorn221•16m ago•1 comments

Finetuning Activates Verbatim Recall of Copyrighted Books in LLMs

https://arxiv.org/abs/2603.20957
1•wesammikhail•16m ago•0 comments

Show HN: Roadie – An open-source KVM that lets AI control your phone

https://github.com/VibiumDev/roadie
2•hugs•16m ago•0 comments

Assaulted, robbed: Refugees abused on Bosnia-Croatia border

https://www.aljazeera.com/features/2026/4/1/on-bosnian-croatian-border-migrants-face-untold
1•tacheiordache•17m ago•0 comments

Jonathan, the oldest living land animal, has passed away

https://twitter.com/joehollinsvet/status/2039377310839624069
2•telotortium•18m ago•2 comments

Fujitsu One Compression (LLM Quantization)

https://FujitsuResearch.github.io/OneCompression/
2•measurablefunc•18m ago•0 comments

Real Python: Quiz: Hands-On Python 3 Concurrency with the Asyncio Module

https://realpython.com/quizzes/python-3-concurrency-asyncio-module/
1•PaulHoule•19m ago•0 comments

What Retail AI and Compute Infrastructure Looks Like in 2026

https://www.servethehome.com/what-retail-ai-and-compute-infrastructure-actually-looks-like-in-2026/
1•speckx•20m ago•0 comments

Show HN: 4D business analysis with parallel AI agents (AofA-inspired)

https://wasaconf.org/
1•marctossip•20m ago•0 comments

Artemis II astronauts arrive at launch pad 39B in an astrovan

https://techfixated.com/artemis-ii-astronauts-arrive-at-launch-pad-39b-in-an-astrovan/
2•benlarweh•20m ago•0 comments

Lilly's weight-loss pill wins US approval, sets up next battle with Novo Nordisk

https://www.reuters.com/business/healthcare-pharmaceuticals/lillys-weight-loss-pill-wins-us-appro...
2•onemoresoop•21m ago•0 comments

Why did Harvey choose a top-down enterprise GTM while Cursor went bottom-up?

2•iiTsEddy•23m ago•1 comments

The WebAIM Million report 2026

https://webaim.org/projects/million/
1•pier25•23m ago•0 comments

Product-led growth best practices and guidance

https://www.revturbine.com/resources
1•millereffect•23m ago•0 comments

Paperweight, an April Fool's Prank from 40 years ago

https://www.goto10retro.com/p/paperweight-an-april-fools-prank
2•rbanffy•24m ago•0 comments

ReactOS to reverse engineer Linux Kernel A.I. Pull Requests, helping Linux-Libre

2•pqlfvn•25m ago•0 comments

Ad Economicum Is a Thing

https://gmalandrakis.com/writings/ad-economicum.html
1•plethon•25m ago•0 comments

Placing U.S. Troops in Middle East Hotels May Violate Laws of War

https://www.nytimes.com/2026/04/01/us/politics/troops-iran-hotels.html
2•Betelbuddy•26m ago•0 comments

Jax's true calling: Ray-Marching renderers on WebGL

https://benoit.paris/posts/jax-ray-marcher/
5•BenoitP•27m ago•0 comments

Elon Musk's SpaceX files to go public

https://www.axios.com/2026/04/01/spacex-elon-musk-ipo
4•rurp•29m ago•1 comments
Open in hackernews

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

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