frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: View GitHub attachments in a gallery (HTML explainers, screen videos)

https://twitter.com/plannotator/status/2077798652974874940
1•ramoz•27s ago•0 comments

I built a game for Claude and Fable to fight

https://twitter.com/simonvc/status/2077806793447674304
1•simonvc•41s ago•1 comments

Fireworks – Announcing our Series D and $1B ARR

https://fireworks.ai/blog/series-d-announcement
1•verdverm•1m ago•0 comments

I made LLMs think spatially before generating prompts

https://github.com/dilidin2/tic
1•dilidin•1m ago•0 comments

Tracing Digital Links Between Viory and Ruptly

https://www.bellingcat.com/news/2026/06/04/viory-ruptly-rt-russia-uae-propaganda-video-news/
1•Jimmc414•1m ago•0 comments

Curie: A fast, minimal build tool for Java, Kotlin, and Groovy, written in Rust

https://curie-build.org
1•arto•2m ago•0 comments

Context Graphs in Production: Happy Writers, Happy Readers

https://materialize.com/blog/happy-writers-happy-readers/
2•nate_stewart•2m ago•0 comments

Atlassian wants developers to finally like Jira

https://thenewstack.io/atlassian-jira-coding-agents/
1•Brajeshwar•3m ago•0 comments

Washington Law Says to Alert the Public When Doctors Are Accused of Misconduct

https://www.propublica.org/article/washington-doctor-misconduct-failed-disclosure
2•Jimmc414•4m ago•0 comments

Orram: An OpenROAD-Integrated RAM Generator Using Standard Cells

https://arxiv.org/abs/2607.12244
1•Jimmc414•4m ago•0 comments

Young adults are poor despite every metric which suggests otherwise

https://becomingnoble.substack.com/p/young-adults-are-poor-despite-every
1•takoid•5m ago•0 comments

CD Sales Growth Outpaced Vinyl in the First Half of 2026

https://consequence.net/2026/07/the-cd-revival-is-getting-hard-to-ignore/
1•speckx•8m ago•0 comments

The causal influence of brain size on human intelligence (2019)

https://pmc.ncbi.nlm.nih.gov/articles/PMC7440690/
2•measurablefunc•8m ago•0 comments

Mesh Gradient Editor

https://colorflow.ls.graphics/
1•marvel_boy•8m ago•1 comments

Show HN: APIWatermark – Automation Tool for Image, Video and PDF Watermarking

https://apiwatermark.com
1•ryant123•8m ago•0 comments

Show HN: WordRank: A Word Frequency Game

https://timd73.github.io/word-rank/
1•edan•11m ago•0 comments

Show HN: Latch – Lightweight hybrid post-quantum proxy (X25519M-KEM-768)

https://github.com/itsVentie/Latch
1•ventie•14m ago•0 comments

42% of adults rely on their parents for financial support

https://www.cnbc.com/2026/07/16/42percent-of-adults-rely-on-their-parents-for-financial-supportth...
4•root-parent•15m ago•0 comments

I built a Mac app that turns native-language drafts into natural English

https://www.echoo.ai/
1•mike-el•18m ago•1 comments

The Growing Compute Shortage

https://www.apollo.com/wealth/insights-news/insights/2026/06/growing-compute-shortage
1•dmitriy_ko•18m ago•0 comments

Harnessing Harnesses

https://blog.zsec.uk/harnessing-harnesses/
1•wslh•20m ago•0 comments

The Mind-Bending Company That Gets a Million Job Applications–and Rejects 99.9%

https://www.wsj.com/business/bending-spoons-jobs-hiring-stock-eaed2b8e
2•simonebrunozzi•20m ago•0 comments

Bokal – An open-source cookie editor that asks for no host permissions up front

https://bokal.dev
1•bolalapp•22m ago•0 comments

ChatGPT Has Merch

https://openai.com/supply/shop/
2•mrmarket•22m ago•2 comments

Should I Use an Agent?

https://shouldiuseanagent.com/
1•gregsadetsky•22m ago•0 comments

California Steps Back From Dangerous Expansion of its Age-Gating Law

https://www.eff.org/deeplinks/2026/07/california-steps-back-dangerous-expansion-its-age-gating-law
2•Brajeshwar•24m ago•0 comments

Reverse Engineering the Firmware of an MP3 Player with LLMs

https://im.not.ci/echo-mini-rse/
1•uneven9434•24m ago•0 comments

Chinese filing implies DeepSeek valuation of around $52B

https://www.reuters.com/world/asia-pacific/chinese-filing-implies-deepseek-valuation-around-52-bi...
1•01-_-•25m ago•0 comments

Energy IPOs surge as investors hunt for ways to play AI boom

https://arstechnica.com/information-technology/2026/07/energy-ipos-surge-as-investors-hunt-for-wa...
2•joozio•25m ago•0 comments

Anthropic CEO gives $1M to super PAC amid battle of AI big-money groups

https://www.politico.com/news/2026/07/16/anthropics-ceo-gives-1-million-to-super-pac-amid-feud-of...
3•01-_-•25m 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