frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

GPON vs. EPON vs. XGS-PON: Complete Comparison Guide 2026

https://www.langzhichina.com/gpon-vs-epon-vs-xgs-pon-comparison-guide
1•langzhi•29s ago•0 comments

Telegram Adds Guest AI Bots, Bot-to-Bot Chats, Chat Automation

https://telegram.org/blog/ai-bot-revolution-11-new-features
1•sharpshadow•1m ago•0 comments

Conversation Branching in AI Chat

https://ably.com/blog/conversation-tree-branching-ably-ai-transport
1•zknill•2m ago•0 comments

Tesla's screwup involves making the font size of braking system too small (2024)

https://www.theverge.com/2024/2/2/24059114/tesla-recall-brake-system-font-size-power-steering
1•gurjeet•2m ago•0 comments

Ask HN: How do we handle the rise of low quality "This is LLM" comments?

1•shantnutiwari•5m ago•0 comments

Young and old men are leaving the labor force, fueling a record decline

https://www.washingtonpost.com/business/2026/05/08/men-labor-force-drop-outs/
3•littlexsparkee•5m ago•1 comments

Show HN: Slate – agentic pre-production studio for solo Youtubers

https://useslate.app/
2•jcfontecha•5m ago•0 comments

Why Don't Lowercase Letters Come Right After Uppercase Letters in ASCII?

https://tylerhillery.com/blog/why-dont-lowercase-chars-come-after-upper/
2•SpyCoder77•6m ago•1 comments

Pentagon Releases Files on U.F.O.s (Gift Article)

https://www.nytimes.com/2026/05/08/us/politics/pentagon-ufo-files.html
1•SpyCoder77•7m ago•0 comments

Block Guard: Spam Call Blocker

https://play.google.com/store/apps/details?id=com.radstormtech.blockguard&hl=en_US
2•BlockGuardApp•8m ago•0 comments

People who care are having the hardest time

https://www.rawsignal.ca/newsletter-archive/the-people-who-care-are-having-the-hardest-time/
1•nanderson_•9m ago•0 comments

The Washing-Machine Tragedy (1981)

https://www.newyorker.com/magazine/1981/11/30/the-washing-machine-tragedy
2•chromaton•10m ago•1 comments

How to use food to help your mood (2022)

https://psyche.co/guides/how-to-use-food-to-help-reduce-your-risk-of-depression
1•herbertl•10m ago•0 comments

What If Ed Tech Peaked 200 Years Ago?

https://www.educationdaly.us/p/what-if-peak-ed-tech-was-200-years
1•dan_sbl•11m ago•0 comments

How we made Notion available offline

https://www.notion.com/blog/how-we-made-notion-available-offline
3•birdculture•12m ago•0 comments

International cyber attack disrupts swathe of universities and schools

https://www.bbc.com/news/articles/ce3pq0136eqo
1•neversaydie•12m ago•0 comments

Brain motion is driven by mechanical coupling with the abdomen

https://www.nature.com/articles/s41593-026-02279-z
1•PaulHoule•12m ago•0 comments

The companies making billions from the Iran war

https://www.bbc.com/news/articles/ce8pyyz5e0ro
2•breve•12m ago•0 comments

How are you handling prompt injection across multi-step agent workflows?

https://msukhareva.substack.com/p/prompt-injection-is-not-just-one
3•AnViF•13m ago•0 comments

Notes on Incidents

https://www.seangoedecke.com/notes-on-incidents/
2•swah•14m ago•0 comments

Four stable kernels with partial fixes for Dirty Frag

https://lwn.net/Articles/1071775/
1•Brajeshwar•15m ago•0 comments

Foundation Model Engineering: From theory to production

https://sungeuns.github.io/foundation-model-engineering/
2•sungeuns•16m ago•0 comments

Show HN: Coord – atomic task claims for parallel AI coding agents

https://github.com/DmarshalTU/coord
2•V1291l•17m ago•0 comments

Scaling, Stretching and Shifting Sinusoids

https://eli.thegreenplace.net/2026/scaling-stretching-and-shifting-sinusoids/
1•ibobev•18m ago•0 comments

Show HN: Git for AI Agents

https://github.com/regent-vcs/re_gent
2•doshay•18m ago•0 comments

Mesh LLM to build private personal AI, using open models

https://www.anarchai.org
2•phillc73•18m ago•0 comments

PC Engine CPU

https://jsgroth.dev/blog/posts/pc-engine-cpu/
1•ibobev•19m ago•0 comments

Data Race Freedom in OxCaml

https://kcsrk.info/ocaml/oxcaml/x-ocaml/blogging/2026/05/07/data-race-freedom-in-oxcaml/
1•ibobev•19m ago•0 comments

Reflections on NetBSD 11

3•morpheos137•20m ago•0 comments

Lime Files for IPO

https://techcrunch.com/2026/05/08/lime-the-uber-backed-micromobility-company-files-for-ipo/
3•tylerc230•20m 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