frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Screen time at ages 1 and 6 may matter more than parents realize

https://www.sciencedaily.com/releases/2026/08/260823094152.htm
1•01-_-•1m ago•0 comments

All AI Data Centers Under Construction Could Emit as Much CO₂ as 24M Cars

https://www.gadgetreview.com/all-ai-data-centers-under-construction-could-emit-as-much-co%e2%82%8...
1•01-_-•2m ago•0 comments

Ask HN: Coding is a solved problem. What is left for experienced engineers?

1•gokuljs•2m ago•0 comments

China's Oil Demand 'Likely' Peaked Last Year, Sinopec Says

https://www.bloomberg.com/news/articles/2026-08-24/china-s-oil-demand-very-likely-peaked-last-yea...
1•xbmcuser•5m ago•1 comments

What happens when you benchmark 1B logs on ClickHouse vs. OpenObserve?

https://openobserve.ai/blog/openobserve-vs-clickhouse-one-billion-logs-benchmark/
1•smkumari•6m ago•0 comments

Show HN: Tsiolkovsky's 51k-page archive, machine-read with measured accuracy

https://beskvladimir-create.github.io/tsiolkovsky-papers/
1•vladimirbesk•18m ago•0 comments

Show HN: Planetary Energy Routing Protocol (PERP)

https://github.com/WVGlobal/Planetary-Energy-Routing-Protocol
1•WVGlobal•19m ago•0 comments

Show HN: Submit your good SaaS for free

https://goodsaas.xyz
2•its_ajseven•24m ago•0 comments

Post-scarcity abundance begins by manifesting first as youth unemployment

https://twitter.com/i/status/2092041265781277007
5•Michelangelo11•31m ago•0 comments

"Functional unemployment" nearing 25% in U.S., analysis finds [video]

https://www.youtube.com/watch?v=-y2gKIGFTns
2•mgh2•31m ago•0 comments

Graphene can be made using a kitchen blender, a mobile phone and a newspaper

https://theconversation.com/the-wonder-material-graphene-can-be-made-using-a-kitchen-blender-a-mo...
3•geox•33m ago•0 comments

New technology lets cloud AI models process your data without privacy leaks

https://plugos.net/blog/2026/08/confidential-ai-how-plugclaw-keeps-your-ai-work-private/
4•ElowenWinslet•33m ago•0 comments

'Don't ask me to print your ChatGPT birthday card': Hitting back at AI 'slop'

https://www.bbc.co.uk/news/articles/cq89jpjeq7ko
2•erehweb•33m ago•0 comments

Hot Chips 2026: Intel's Wildcat Lake

https://chipsandcheese.com/p/hot-chips-2026-intels-wildcat-lake
2•ingve•36m ago•0 comments

Open-Weight Masked Introspection: Measuring What LMs Can Report About Their Own

https://arxiv.org/abs/2608.20569
2•sbulaev•38m ago•0 comments

Actually Queryable Executables

https://fzakaria.com/2026/08/24/actually-queryable-executables
3•ingve•38m ago•0 comments

DefCon 34 – Stalking the Wily Hacker: 40 years later – Cliff Stoll [video]

https://www.youtube.com/watch?v=656058JxTM0
4•ericd•46m ago•0 comments

Comparing the two holograms on the Windows 95 box

https://devblogs.microsoft.com/oldnewthing/20260824-00/?p=112643
1•st_goliath•49m ago•0 comments

Show HN: CookWing, an AI chef that doesn't hallucinate quantities

https://play.google.com/store/apps/details?id=com.redwing.vibecooking&hl=en_US
2•BananeDeRungis•51m ago•0 comments

Shazam.el

http://yummymelon.com/devnull/announcing-shazam-el.html
1•Tomte•51m ago•0 comments

Omarchy Exploit

https://www.youtube.com/watch?v=pgNvD9DaZxY
1•krehwell•53m ago•0 comments

Speculative Programmatic Tool Calling

https://alexzhang13.github.io/blog/2026/spec-ptc/
2•iamwil•56m ago•0 comments

Show HN: ShrinkRay – HandBrake for TinyML

https://github.com/TarulAhsan/ShrinkRay
1•EmonAhsan•59m ago•0 comments

Five spending categories absorbed 88% of the US middle fifth's raise (2013-2023)

https://efficientdollar.com/blog/leftover-money-after-essentials/
1•lundj•1h ago•0 comments

LLMPanel Deploy vLLM to RunPod or Vast.ai Without Kubernetes

https://llmpanel.io
1•SquidJack•1h ago•0 comments

Silence Is a Feature

https://aradar.top/posts/silence-is-a-feature/
3•aradar46•1h ago•0 comments

Beyond China's humanoid robots, a quieter machine revolution is unfolding

https://www.bbc.com/news/articles/c62m4zn1q6mo
2•nairteashop•1h ago•0 comments

National Police Union Blasts Flock CEO for Turning Against Police

https://ipvm.com/reports/union-who-flock
1•jhonovich•1h ago•0 comments

Artificial Intelligence Market (2026 – 2033)

https://www.grandviewresearch.com/industry-analysis/artificial-intelligence-ai-market
1•Rutujad•1h ago•0 comments

Show HN: Tmtail – Multi-log tail with coloring, search, and history via tmux

https://github.com/themadsens/tmtail
1•themadsens•1h 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