frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Spinifex: The open, AWS-compatible cloud you run yourself

https://github.com/mulgadc/spinifex
1•santiago-pl•7m ago•1 comments

Merging With An LLM: Can an LLM reconstruct my values from small data?

https://chillphysicsenjoyer.substack.com/p/merging-with-an-llm
1•crescit_eundo•7m ago•0 comments

Writing code by hand is over, forever

https://eliocapella.com/blog/writing-code-by-hand-is-over/
3•aray07•9m ago•0 comments

Scorched Planets: "Scorched Earth" but in space with planetary gravity effects

https://www.scorchedplanets.com
1•hexer303•9m ago•1 comments

When Does Automating AI Research Produce Explosive Growth? [pdf]

https://basilhalperin.com/papers/singularities.pdf
1•marojejian•10m ago•1 comments

Building the Human Layer of AI

https://publicai.io/
1•measurablefunc•13m ago•0 comments

Lobsters Interview with Sjamaan

https://alexalejandre.com/interviews/peter-bex/
1•birdculture•13m ago•0 comments

OpenAI safety leader quits, warning AI company's culture is 'broken'

https://www.theguardian.com/technology/2026/oct/03/openai-safety-leader-quits-warning-ai-companys...
6•jethronethro•14m ago•0 comments

Can AI self-improvement overcome diminishing returns?

https://www.rameznaam.com/p/ai-rsi-isnt-leading-to-super-intelligence
2•marojejian•14m ago•1 comments

Show HN: ML News – ML-Focused Hacker News Projection with RSS

https://mlnews.online/
1•lostmsu•15m ago•0 comments

Show HN: Swami Samarth Bhakti Seva – Fast, 100% Offline Devotional on Playstore

https://play.google.com/store/apps/details?id=io.kodular.patilkomal6679.Shree_Swami_Samarth&hl=en_US
1•kvmsolutionscon•15m ago•0 comments

Show HN: Focus Tool for ADHD

https://git.talksik.com/FlowyLabs/adhd
1•talksik•15m ago•0 comments

Clib4 – C runtime library for AmigaOS4

https://github.com/AmigaLabs/clib4
1•doener•15m ago•0 comments

We ported the original Doom to SQL

https://cedardb.com/blog/sqldoom/
2•Vaslo•18m ago•3 comments

FAA says Boeing 737 MAX software glitch not a flight-safety issue

https://www.cnbc.com/2026/10/02/faa-says-boeing-737-max-10-software-glitch-not-a-flight-safety-is...
3•Betelbuddy•22m ago•0 comments

America's data center fight a preview of what's to come for rest of the world

https://www.cnbc.com/2026/10/03/data-center-backlash-europe-asia-africa.html
1•Betelbuddy•23m ago•0 comments

Federal judge calls Flock 'indiscriminate mass surveillance'

https://techcrunch.com/2026/10/03/federal-judge-calls-flock-indiscriminate-mass-surveillance/
22•sbulaev•25m ago•5 comments

Strength Tests from Around the World

https://www.nytimes.com/2026/10/03/well/move/world-strength-tests.html
1•ajay-d•26m ago•0 comments

Police search using Flock was a form of mass surveillance, judge rules

https://www.msn.com/en-us/news/other/a-police-search-using-flock-was-a-form-of-mass-surveillance-...
4•pseudolus•28m ago•0 comments

Nikon 'Re-Reviewing' Winner of Small World in Motion Contest After AI Accusation

https://petapixel.com/2026/10/01/nikon-re-reviewing-winner-of-small-world-in-motion-contest-after...
1•pseudolus•29m ago•0 comments

Is Mathematics Over, or Just Graduating?

https://docs.google.com/document/d/e/2PACX-1vTSh-pyNP3Gi99WMmsinnLmE9V5CDI0HEm6WGbIPMNt3V5SGlClHF...
1•caaqil•35m ago•1 comments

The System for Using Evidence to Improve Federal Programs Has Been Gutted

https://donmoynihan.substack.com/p/the-system-for-using-evidence-to
4•hn_acker•40m ago•0 comments

Ascendara

https://www.ascendara.app/
1•tago22•40m ago•0 comments

Monkey Island Ported to the Apple Lisa

https://www.youtube.com/watch?v=MJzeJgvB3tY
1•hyperhello•41m ago•0 comments

Theaster Gates bets on fine China

https://text.npr.org/nx-s1-5977069
1•mooreds•42m ago•0 comments

The University of Cambridge opposes Turnitin AI training plans

https://www.varsity.co.uk/news/32158
2•qifzer•44m ago•0 comments

Tell HN: I Hate Codex with Passion

3•dingdong2026•46m ago•2 comments

Don't Write with AI, Say People Who Write with AI

https://www.theatlantic.com/technology/2026/10/meet-the-ai-writing-hypocrites/688872/
4•FinnLobsien•47m ago•0 comments

Kent Beck: Software Engineering in the Age of AI [video]

https://www.youtube.com/watch?v=F8fBgDCf2Y4
1•quick_brown_fox•54m ago•0 comments

Introducing Temporal Resources | Ash Framework

https://ash-hq.org/blog/introducing-temporal-resources
2•sevenseacat•57m 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