frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Control a 3D avatar with English instead of buttons

https://programasweights.com/avatar
3•cloudyclouds•4m ago•0 comments

Everyone Has Something

https://seangeiger.substack.com/p/everyone-has-something
1•benjaminmaccini•5m ago•0 comments

The Pain of Caring for a Parent Who Abused You

https://www.nytimes.com/2026/06/15/magazine/elder-care-parent-abuse.html
1•gmays•6m ago•0 comments

Show HN: https://bill.today –> use a local folder to do your billing

https://bill.today
1•PhilKunz•7m ago•0 comments

How LLMs Work

https://arpitbhayani.me/blogs/how-llms-work/
1•devx711_123•8m ago•0 comments

AI Warfare Is at the Point of No Return. What Now?

https://www.wsj.com/world/ai-warfare-ukraine-russia-anthropic-29945df9
1•JumpCrisscross•9m ago•0 comments

One AI, two AI, red AI, blue AI

https://soniafpearson.substack.com/p/one-ai-two-ai-red-ai-blue-ai
1•paulpauper•10m ago•0 comments

New Air Force One

https://www.af.mil/News/Article-Display/Article/4522274/vc-25b-bridge-aircraft-arrives-at-joint-b...
1•bear_with_me•10m ago•0 comments

Liberalism in the Age of Weaponized Interdependence

https://www.liberalism.org/p/liberalism-in-the-age-of-weaponized-interdependence
1•paulpauper•10m ago•0 comments

Show HN: slash-agent – Native LLM copilot for your terminal

https://github.com/akatzmann/slash-agent
1•akatzmann•10m ago•0 comments

Colorado's Funeral Mistake

https://marginalrevolution.com/marginalrevolution/2026/06/colorados-funeral-mistake.html
1•paulpauper•11m ago•0 comments

Introducing ChatGPT (2022)

https://openai.com/index/chatgpt/
1•pr337h4m•11m ago•0 comments

Coding a Brick Tower [video]

https://www.youtube.com/watch?v=DAMiS2PGTEE
1•tobr•11m ago•0 comments

Stem cells banish autoimmune disease for 15 years

https://www.nature.com/articles/d41586-026-01925-7
1•Brajeshwar•13m ago•0 comments

What Happens to Platform Teams?

https://curlewis.co.nz/posts/what-happens-to-platform-teams/
1•gpi•14m ago•0 comments

I Ditched Traditional Linux for NixOS

https://chrisdell.info/why-i-ditched-traditional-linux-for-nixos/
1•speckx•15m ago•0 comments

Amazon drops Sam Altman movie after announcing OpenAI partnership

https://www.the-independent.com/arts-entertainment/films/news/sam-altman-biopic-amazon-openai-dea...
3•theanonymousone•15m ago•0 comments

PreFlight – Not Another AI code review agent

https://medium.com/@jaspreetsingh_35555/code-review-used-to-work-then-the-agents-arrived-34b1572d...
1•jsingh2525•15m ago•0 comments

Show HN: Terminal UI for WG and OVPN with real time telemetry and leak guarding

https://github.com/Harry-kp/vortix
1•harrykp•16m ago•0 comments

Indiefediactivitymastoweb

https://www.gordonmclean.co.uk/2026/06/18/on-the-indiefediactivitymastoweb/
1•snowgoon•16m ago•0 comments

Russian Spam and Profanities Are Now Plaguing the Arch Linux AUR

https://www.phoronix.com/news/Arch-Linux-AUR-Russian-Spam
2•2OEH8eoCRo0•16m ago•0 comments

'We created a monster': companies rein in AI usage as costs strain budgets

https://www.ft.com/content/1d37cc08-e0aa-45a4-a45d-4ad282529314
3•fandorin•21m ago•0 comments

Continental Baths

https://en.wikipedia.org/wiki/Continental_Baths
1•davedx•21m ago•0 comments

AI Slop Cannons

https://www.augmentedswe.com/p/ai-slop-cannons-and-their-consequences
2•wordsaboutcode•22m ago•1 comments

Eater, the Verge and SB Nation Sold to Penske Media

https://www.hollywoodreporter.com/business/business-news/eater-verge-sbnation-sold-penske-media-1...
4•speckx•25m ago•0 comments

Show HN: Jumpjet – a WASM runtime for game developers

https://jumpjet.dev
1•lwansbrough•25m ago•0 comments

A terminal Markdown editor that links like Obsidian – editxr

https://editxr.org/blog/obsidian-in-the-terminal/
1•mromanuk•27m ago•0 comments

Illegal excavation reveals grand Roman villa with elaborate mosaics

https://www.cnn.com/2026/06/19/science/roman-villa-mosaics-illegal-dig-scli-intl
2•1659447091•30m ago•0 comments

The Rise of Single-Node Processing: Challenging the Distributed-First Mindset

https://www.pracdata.io/p/the-rise-of-single-node-processing
1•b-man•30m ago•0 comments

AI Agent on Android

https://github.com/ExTV/rikkahub-agent
2•excp•30m 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