frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I analyzed the $60B Treasury Judgment Fund – 2020 was 10x a normal year

https://settlementinsight.com/research/federal-government-payments
1•govledger•1m ago•1 comments

Is Woody Brown the Author of His Novel?

https://www.theatlantic.com/books/2026/04/who-really-wrote-autistic-author-woody-brown-novel/686814/
1•paulpauper•1m ago•0 comments

We rebuilt a mobile app from scratch. What it means for work with AI

https://www.slash.com/engineering/blog/new-mobile-app
1•kevinbai0•1m ago•0 comments

Plain Text Accounting and Financial Reporting

https://ztoz.blog/posts/plaintext-accounting-reporting/
1•ingve•2m ago•0 comments

Live Nation Illegally Monopolized Ticketing Market, Jury Finds

https://www.bloomberg.com/news/articles/2026-04-15/live-nation-illegally-monopolized-ticketing-ma...
4•Alex_Bond•4m ago•0 comments

Cinematic Motion, Stuttery Motion, and the Soap Opera Effect

https://www.rtings.com/tv/learn/research/motion-handling
2•dgroshev•6m ago•0 comments

Show HN: BPR – deriving 87 physical constants from 2 integers (MIT, 1,225 tests)

https://github.com/jackalkahwati/BPR-Math-ine
2•iq19zero•7m ago•0 comments

The Bra-and-Girdle Maker That Fashioned the Impossible for NASA

https://nautil.us/the-bra-and-girdle-maker-that-fashioned-the-impossible-for-nasa-1279841
2•Brajeshwar•7m ago•0 comments

I wrote a open source iMessage for your AI agents

https://github.com/Potarix/agent-hub
2•YoungGato•8m ago•1 comments

The Internet Is a Place

https://catskull.net/the-internet-is-a-vast-place.html
2•speckx•9m ago•0 comments

Don't Use A.I. To Do This

https://www.nytimes.com/2026/04/15/opinion/art-artificial-intelligence.html
2•js2•9m ago•1 comments

Interval-Aware Caching for Druid at Netflix Scale

https://netflixtechblog.com/stop-answering-the-same-question-twice-interval-aware-caching-for-dru...
3•wb14123•10m ago•0 comments

AI Could Democratize One of Techs Most Valuable Resources

https://www.wired.com/story/ai-could-democratize-one-of-techs-most-valuable-resources/
3•technoabsurdist•11m ago•0 comments

Meta commits to 1 GW with Broadcom, Hock Tan to leave board

https://www.cnbc.com/2026/04/14/meta-commits-to-one-gigawatt-of-custom-chips-with-broadcom-as-hoc...
3•gmays•11m ago•0 comments

Ask HN: Sanity-check my numbers on EVs and solar power

2•zahlman•12m ago•0 comments

H.R.8250 – To require operating system providers to verify the age of any user

https://www.congress.gov/bill/119th-congress/house-bill/8250
3•Cyclone_•12m ago•0 comments

Show HN: Lookas – Terminal audio visualizer that's aligned for human perception

https://github.com/rccyx/lookas
2•rccyx•18m ago•1 comments

Node.js bindings for Nvidia cuVS > GPU-accelerated vector search

https://github.com/638Labs/cuvs-node
2•gmatt•18m ago•1 comments

A Survey of Workflow Optimization for LLM Agents

https://arxiv.org/abs/2603.22386
2•PaulHoule•18m ago•0 comments

Intel Desk – a live geopolitical and market desk with replayable source chains

https://www.inteldesk.app/
2•wudwerd01•19m ago•0 comments

Taxpayers to spend $477B on tax season

https://www.thecentersquare.com/national/article_27a78f27-ea2a-4adc-809a-aa77befdb3ff.html
2•speckx•21m ago•1 comments

Allbirds shares jump over 400% on plans to pivot to AI from sneakers

https://www.reuters.com/business/allbirds-shares-jump-over-400-plans-pivot-ai-sneakers-2026-04-15/
2•sph•21m ago•1 comments

Escaping the Fork: How Meta Modernized WebRTC Across 50 Use Cases

https://engineering.fb.com/2026/04/09/developer-tools/escaping-the-fork-how-meta-modernized-webrt...
2•ashvardanian•22m ago•0 comments

Empedocles fragments found in Egypt

https://metro.co.uk/2026/04/14/work-lost-philosopher-inspired-plato-aristotle-uncovered-egypt-279...
2•Iuz•25m ago•0 comments

Tesla 'Full Self-Driving' crashed through railroad gate seconds before train

https://electrek.co/2026/04/15/tesla-fsd-railroad-gate-oncoming-train-texas-owner/
4•Bender•25m ago•0 comments

Thomson Reuters Fired Worker for Speaking Out About ICE, Former Employee Says

https://www.404media.co/thomson-reuters-fired-worker-for-speaking-out-about-ice-former-employee-s...
17•Brajeshwar•26m ago•3 comments

Simdutf Can Now Be Used Without Libc++ or Libc++ABI

https://mitchellh.com/writing/simdutf-no-libcxx
3•cdrnsf•27m ago•0 comments

Show HN: Playbach.io, browser rhythm game (desktop)

https://playbach.io/
2•tsterin•28m ago•0 comments

Arm comes to the Framework 13 [video]

https://www.youtube.com/watch?v=CIb87SJ4xwo
5•znpy•29m ago•0 comments

Comparing Compression Tools

https://www.arp242.net/cmp-compress.html
3•ingve•30m 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•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•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