frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Malaysia orders TikTok explain 'grossly offensive' fake content targeting king

https://apnews.com/article/malaysia-tiktok-king-offensive-content-a9327060bdd4e4ce90c5e6021b8637c7
1•1vuio0pswjnm7•42s ago•0 comments

Jeff Bezos says bottom half of U.S. earners should pay no federal income tax

https://www.cbsnews.com/news/jeff-bezos-zero-federal-income-tax-lower-earners/
1•johnshades•59s ago•0 comments

FBI seeks US-wide access to license plate cameras, wants data in near real time

https://arstechnica.com/tech-policy/2026/05/fbi-seeks-us-wide-access-to-license-plate-cameras-wan...
1•ohjeez•3m ago•0 comments

Emerging Litigation Deploys Time-Tested Tactics Against Data Centers

https://www.law.com/2026/05/21/public-vs-private-nuisance-emerging-litigation-deploys-time-tested...
1•1vuio0pswjnm7•4m ago•0 comments

Cache-Aware Dynamic Classification and Scheduling for Linux (2019)

https://ieeexplore.ieee.org/document/8721355
2•rbanffy•4m ago•0 comments

Launch HN: Runtime (YC P26) – Sandboxed coding agents for everyone on your team

https://www.runtm.com/
1•gustrigos•4m ago•0 comments

Sync-O – Keep Confluence in sync with Jira tickets

https://sync-o.io/
1•kamato92•5m ago•1 comments

Being AI-native matters more than experience

https://posthog.com/blog/ai-native-hiring
2•duck•5m ago•0 comments

IRS barred from probing Trump's tax returns filed before settlement

https://thehill.com/homenews/administration/5885763-irs-trump-tax-returns-settlement-agreement/
2•chmaynard•7m ago•0 comments

Show HN: Proof Loop – I make my coding agents prove they finished the task

https://github.com/LeoStehlik/proof-loop
1•LeoStehlik•7m ago•0 comments

IOpenPod: Open-Source iPod Sync Tool

https://github.com/TheRealSavi/iOpenPod
1•alxjsn•7m ago•0 comments

Show HN: Free One-shot cloud agents with OpenCode and Daytona and Cloudflare

https://oneshot.runcord.com
2•ramonga•8m ago•0 comments

npmfind – Alternative NPM package search

https://npmfind.com
1•stagas•8m ago•0 comments

My Obsidian and Hermes Setup and Use Cases

https://metedata.substack.com/p/013-my-hermes-and-obsidian-set-up
1•young_mete•9m ago•0 comments

How-To Use Hypothesis for Researchers

https://paulopinto.xyz/notes/2026/05/2026-05-21-hypothesis/
1•Tomte•10m ago•0 comments

Building an Online Taxi App Like Uber with Golang – Part 1, Nearby Taxis

https://medium.com/@mhrlife/building-an-online-taxi-app-like-uber-with-golang-part-1-nearby-taxis...
1•juanpabloaj•10m ago•0 comments

Equinox: Light / Dark

https://equinox.netigen.com/
1•Tomte•11m ago•0 comments

Children's reading should prioritise pleasure over learning, says laureate

https://www.theguardian.com/society/2026/may/19/childrens-reading-should-prioritise-pleasure-over...
1•speckx•11m ago•0 comments

A Commencement Address (1960)

https://share.jotbird.com/clever-shimmering-prickly-pear
1•mcone•11m ago•0 comments

Literary AI Scandal Changes Everything

https://www.theatlantic.com/books/2026/05/granta-ai-fiction-book-scandal-changes-everything/687243/
1•Brajeshwar•12m ago•0 comments

CVE-2026-40369: Twelve Bytes to Escape the Browser Sandbox

https://voidsec.com/cve-2026-40369-browser-sandbox-escape/
3•voidsec•13m ago•0 comments

I Spent Months with an AI Companion. It Was Worse Than Being Alone

https://thewalrus.ca/i-spent-months-with-an-ai-companion-it-was-worse-than-being-alone/
1•voxadam•14m ago•0 comments

Record 274 climbers summit Everest from Nepalese side in single day

https://www.theguardian.com/world/2026/may/21/record-climbers-summit-everest-from-nepalese-side-i...
1•tosh•14m ago•0 comments

Show HN: Parseflow, how to parse documents when you're broke

https://docs.parseflow.tech/
1•bollethegoalie•16m ago•0 comments

Evolutionary Data Making – How to train embedding models

https://wafer.systems/blog/edm/
2•GRVYDEV•17m ago•0 comments

Show HN: Segment Tree visualization

https://algo-rhythm.dev/en/segment-tree/
4•bytego•18m ago•0 comments

Ask HN: How are you proving your writing is human made?

2•mavilia•18m ago•2 comments

Museum of Pocket Calculating Devices

https://www.calculators.de/
4•ohjeez•22m ago•0 comments

Anthropic/Blackstone enterprise AI venture acquires Fractional AI

https://www.fractional.ai/press-releases/the-ai-native-enterprise-services-firm-announces-acquisi...
3•mkw5053•22m ago•1 comments

Show HN: Modernizing my old PhD work in an evening with little Qwen3.6 MoE

https://github.com/verdverm/pge-jax
1•verdverm•24m 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•12mo 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