frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Wandering Spleen Condition: Spleen migrating to different location in the body

https://radiopaedia.org/articles/wandering-spleenwanderingspleen
1•cybermango•1m ago•0 comments

AI vendors' response to security flaws: It wasn't me

https://www.theregister.com/2026/04/19/ai_vendors_response_to_security/
1•beardyw•1m ago•0 comments

Real-Time Visualization of Human Finger Joint Cavitation (2015)

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0119470
1•bookofjoe•1m ago•0 comments

HTMX 4.0: Hypermedia finds a new gear

https://www.infoworld.com/article/4150864/htmx-4-0-hypermedia-finds-a-new-gear.html
1•asplake•3m ago•0 comments

New HUDIMM memory specification debuts with goal of slashing DDR5 prices

https://www.tomshardware.com/pc-components/ddr5/new-hudimm-memory-specification-debuts-with-goal-...
1•giuliomagnifico•3m ago•0 comments

GitHub Reports DMCA Takedown Record and Surging Anti-Circumvention Claims

https://torrentfreak.com/github-reports-dmca-takedown-record-and-surging-anti-circumvention-claims/
1•Brajeshwar•5m ago•0 comments

Full algorithm chain I used to implement a sigma rules engine in Linux Kernel

https://cybereason-public.github.io/owLSM/architecture/rule-evaluation.html
1•SilverPlate3•9m ago•0 comments

Neo-Feudalism With Good UX – handful of AI companies became land we all work on

https://www.gailweiner.com/post/neo-feudalism-with-good-ux-how-a-handful-of-ai-companies-became-t...
1•bilsbie•12m ago•0 comments

Ultra-Processed Foods and Muscle Fat Infiltration at Thigh MRI

https://pubs.rsna.org/doi/10.1148/radiol.251129
1•bilsbie•13m ago•0 comments

Education research is weak and sloppy. Why?

https://www.theargumentmag.com/p/education-research-is-weak-and-sloppy
2•cebert•19m ago•0 comments

Show HN: Claude-codex-proxy – Use Claude Code with ChatGPT subscription

https://github.com/raine/claude-codex-proxy
5•rane•25m ago•0 comments

Atlassian's new data collection policy protects rich customers while AI eats

https://www.theregister.com/2026/04/18/atlassians_new_data_collection_policy/
2•latein•26m ago•0 comments

0: I built an app that creates AI real estate videos

https://www.tourestateai.com/en
1•jojomasala•26m ago•0 comments

Show HN: Donbar – A dead-simple way to design and send professional emails

https://www.donbar.org/
2•ShmuelT•27m ago•0 comments

What Figma's 7.7% Drop Is Telling You

https://www.bhusalmanish.com.np/blog/posts/figma-drop-claude-design-saas.html
2•okchildhood•29m ago•0 comments

Robot runners beat humans in Beijing half-marathon

https://www.dw.com/en/robot-runners-beat-humans-in-beijing-half-marathon/a-76846520
2•pseudolus•29m ago•0 comments

Plexus P/20 Emulator

https://spritetm.github.io/plexus_20_emu/
2•hggh•30m ago•0 comments

Contact Lens Uses Microfluidics to Monitor and Treat Glaucoma

https://spectrum.ieee.org/smart-contact-lens-glaucoma-microfluidics
1•pseudolus•30m ago•0 comments

What temperature are you coding at?

https://chrisloy.dev/post/2026/03/29/what-temperature-are-you-coding-at
1•chrisloy•32m ago•0 comments

Principle of Charity

https://en.wikipedia.org/wiki/Principle_of_charity
1•chistev•39m ago•0 comments

A portable OS for emergency situations and extreme privacy needs

https://github.com/Ganso/refugiOS
2•SrTopete•41m ago•0 comments

Show HN: Proposly – AI-generated client proposals for freelancers

https://proposly.org
1•Jafer070•44m ago•0 comments

Everyone needs own their own machine that is an extension of their intelligence

https://twitter.com/beffjezos/status/2045719076644040991
2•bilsbie•44m ago•0 comments

I built a personality-to-hobby matching algorithm using 16 lifestyle dimensions

https://hobbystack.net/
1•thorninanearcor•48m ago•1 comments

High-Fidelity KV Cache Summarization Using Entropy and Low-Rank Reconstruction

https://jchandra.com/posts/hae-ols/
3•jchandra•48m ago•1 comments

America wakes up to AI's dangerous power

https://www.economist.com/leaders/2026/04/16/america-wakes-up-to-ais-dangerous-power
2•runeks•50m ago•1 comments

Wine 11.7 – Run Windows Applications on Linux, BSD, Solaris and macOS

https://www.winehq.org/announce/11.7
2•neustradamus•51m ago•0 comments

Forecastr – RFC 3161 timestamps for AI forecasts, verifiable with OpenSSL

https://www.forecastr.dev/
2•dnsreicht•51m ago•0 comments

Mitit.org/Blogs/4

https://mitit.org/Blogs/4
1•yetercom•52m ago•0 comments

Cannabis criminal law in Germany in 2026

https://www.ferner-alsdorf.com/cannabis-criminal-law-in-germany-in-2026/
1•slow_typist•53m ago•0 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