frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Raspberry Pi Home Server: Back Up Your Files Locally for Under $100 DescriçãO

https://spiritcode.blog/vue-2-to-vue-3-migration-stop-rewriting-migrate-smart/
1•spiretcodeblog•12s ago•0 comments

Dead Button Syndrome

https://em-tg.github.io/dedbutt/
1•em-tg•18s ago•1 comments

Boomers are hoarding most of America's wealth and power

https://finance.yahoo.com/economy/articles/golden-years-not-golden-boomers-113000201.html
3•randycupertino•8m ago•0 comments

What Are Tokens in LLMs?

https://bearisland.dev/posts/tokens-and-tokenization/
2•s1monb•8m ago•0 comments

Jorge Luis Borges Lecture April 9th, 1976 [video]

https://www.youtube.com/watch?v=lMn4_iTqoJI
1•marysminefnuf•8m ago•0 comments

Criblate – Help your favorite creators speak every language

https://criblate.com/
1•ravenical•9m ago•0 comments

The Tinker Pledge

https://tinkerpledge.org
1•norcalkc•11m ago•1 comments

Xaml.io Compiles to Native Apps in the Browser

https://www.i-programmer.info/news/89-net/18906-xamlio-compiles-to-native-apps-in-browser.html
1•croes•13m ago•0 comments

Easter egg in new Lego Batman game contains working C64 code [video]

https://bsky.app/profile/cabel.panic.com/post/3mnpxqsbwok2i
1•minimaxir•13m ago•0 comments

The architecture of the internet creates risks for democracy

https://www.science.org/doi/10.1126/science.aei2409
1•Anon84•15m ago•0 comments

Show HN: Hardbar – compile-time defined i3bar

https://github.com/pjz/hardbar
1•pjz•16m ago•0 comments

Ask HN: Job market for SDMs/Engineering Managers. Any reliable data?

3•ed_balls•18m ago•0 comments

Loss of Prefrontal Cortical Higher Cognition with Uncontrollable Stress (2019)

https://pmc.ncbi.nlm.nih.gov/articles/PMC6562841/
4•nativeit•18m ago•0 comments

Show HN: Nightwatch, The open-source, read-only AI SRE

https://github.com/ninoxAI/nightwatch
1•egorferber•19m ago•0 comments

Mesoscale carbon fiber lattices with foam-like weight and bulk strength

https://www.nature.com/articles/s41467-026-72105-4
1•PaulHoule•20m ago•0 comments

Behind Every Dad Bod Is a Healthy Dad Brain

https://www.nytimes.com/2026/06/06/opinion/dad-brain-health-fatherhood.html
1•mutator•25m ago•0 comments

Modular morals: Mapping the organization of the moral brain (2024)

https://www.sciencedirect.com/science/article/pii/S0278262624000782
1•nativeit•25m ago•1 comments

I built a Discord status for Claude Code

https://www.npmjs.com/package/vibecoder-discord-presence
2•yunexx•29m ago•0 comments

1982 World Championship Double Decker Bus Racing (1982) [video]

https://www.youtube.com/watch?v=7QFhuunZH2E
1•austinallegro•29m ago•0 comments

Try out my version of 1M checkboxes

https://joeheyming.github.io/checkboxes/
1•joeheyming•30m ago•1 comments

Agentic AI solved coding and exposed every other problem in SE

https://venturebeat.com/technology/agentic-ai-solved-coding-and-exposed-every-other-problem-in-so...
1•msolujic•30m ago•0 comments

China has approved the first invasive brain-computer chip

https://www.technologyreview.com/2026/06/01/1138133/china-world-first-brain-chip/
2•sudo_cowsay•33m ago•0 comments

We May Be Entering a Second Axial Age

https://www.noemamag.com/we-may-be-entering-a-second-axial-age/
1•simonebrunozzi•35m ago•1 comments

AI friends too cheap to meter

https://jasmi.news/p/ai-friends
2•simonebrunozzi•39m ago•0 comments

Oxford Uni student data pwned yet again, this time via career platform breach

https://www.theregister.com/security/2026/06/06/oxford-university-data-pwned-again-by-career-plat...
3•Bender•42m ago•0 comments

Show HN: A List of AI Neolabs

https://neolabs-7o2.pages.dev/
2•warthog•42m ago•0 comments

Ask HN: I made an image watermarking tool. What are the issues open-sourcing it?

2•minimaxir•42m ago•0 comments

UK exam watchdog frets over smart specs turning GCSEs into Google searches

https://www.theregister.com/personal-tech/2026/06/07/uk-exam-watchdog-frets-over-smart-specs-turn...
1•Bender•43m ago•0 comments

Stronger Search Architectures Can Substitute for Larger LLMs

https://ttanv.github.io/levi/
1•ttanv•43m ago•0 comments

Do GLP-1 pills work as well as injections? Here's what studies show

https://ktla.com/news/nationworld/do-glp-1-pills-work-as-well-as-injections-heres-what-studies-sh...
1•Bender•44m 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