frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I Tried and Failed to Rebuild the 1996 Space Jam Website with Claude

https://j0nah.com/i-failed-to-recreate-the-1996-space-jam-website-with-claude/
1•thecr0w•55s ago•0 comments

India's Biggest Airline Falls into Chaos, Canceling More Than 1k Flights

https://www.nytimes.com/2025/12/05/business/india-indigo-airline-cancelations.html
2•bookofjoe•2m ago•1 comments

Prosopometamorphopsia and Facial Hallucinations [pdf]

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(14)61690-1/fulltext
1•thunderbong•2m ago•0 comments

Sega Dreamcast port of Star Fox 64

https://github.com/jnmartin84/sf64-dc
1•Venn1•4m ago•0 comments

Endangered bottlenose whale population begins to recover off Canada's east coast

https://news.mongabay.com/2025/12/a-rare-bright-spot-for-whales-decades-of-conservation-pay-off-f...
1•randycupertino•5m ago•0 comments

The Quest to Replace Passwords: a comparative evaluation of Web authn schemes

https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-817.html
1•BinaryIgor•10m ago•0 comments

Show HN: Why I built (yet another) AI writing app for macOS

https://textwisely.ai/
1•EdgarsHQ•11m ago•0 comments

MYRA stack – Modern Java FFM based libraries

https://www.roray.dev/blog/myra-stack/
1•clanky•12m ago•0 comments

Apple's chief chip architect has reportedly talked to CEO Tim Cook about leaving

https://www.tomshardware.com/tech-industry/apples-chief-chip-architect-for-the-last-decade-has-re...
1•gloxkiqcza•13m ago•1 comments

Crash, bang, wallop what a picture – Shane Black's film writing techniques

https://www.theguardian.com/film/2009/may/22/shane-black-12-rounds
1•lifeisstillgood•14m ago•0 comments

Australian teens are planning to get around their social media ban

https://www.newscientist.com/article/2507241-how-australian-teens-are-planning-to-get-around-thei...
1•ironyman•14m ago•1 comments

Semantic Compression (2014)

https://caseymuratori.com/blog_0015
3•tosh•24m ago•0 comments

What the heck is going on at Apple?

https://www.cnn.com/2025/12/06/tech/apple-tim-cook-leadership-changes
3•methuselah_in•25m ago•1 comments

Fluently AI English app review, by a qualified English teacher [video]

https://www.youtube.com/watch?v=B5hQkrOGnmY
2•runarberg•26m ago•1 comments

SigmaTest: A no-holds, < 60KB C testrunner with memleak detection

https://github.com/Quantum-Override/sigma-test/tree/v1.0.0-release
1•thebadkraft•28m ago•1 comments

Domain Modeling Made Denumerable

https://github.com/sgoguen/DenseCheck/blob/main/docs/2025/12/02-Happy-FS-Advent.md
1•dread88•29m ago•0 comments

Tech hopefuls are listing SF in their online bios even if they don't live there

https://www.businessinsider.com/tech-hopefuls-list-san-francisco-online-bios-live-elsewhere-2025-10
1•randycupertino•31m ago•1 comments

Chatting about Shadow DOM

https://thehistoryoftheweb.com/chatting-about-shadow-dom/
1•Brajeshwar•34m ago•0 comments

SQL Murder Mystery Solved

https://kick.com/implabinash
2•implabinash•34m ago•1 comments

Ziglings: Learn the Zig programming language by fixing tiny broken programs

https://codeberg.org/ziglings/exercises/#ziglings
3•tosh•35m ago•0 comments

When AI coding crossed the speed threshold

https://betweentheprompts.com/speed-threshold/
2•scastiel•36m ago•0 comments

The AI Wildfire Is Coming. It's Going to Be Painful and Healthy

https://ceodinner.substack.com/p/the-ai-wildfire-is-coming-its-going
2•LordAtlas•36m ago•0 comments

Scaling by "delegation" isn't good enough (2015)

https://longform.asmartbear.com/delegation/
2•Brajeshwar•37m ago•0 comments

Ask HN: Why don't we teach technical founders to sell their vision?

1•jclopezsDS•38m ago•1 comments

Show HN: A Vaadin 24, Spring algebra calculator with dynamic variable buttons

1•bellaOxmyx•39m ago•1 comments

Europe Is Under Siege

https://www.noahpinion.blog/p/europe-is-under-siege
2•mpbart•39m ago•1 comments

Teenagers Circumvent Australia Social Media Ban

https://www.bbc.co.uk/news/articles/crk7xgzj8y8o
1•microsoftedging•39m ago•0 comments

P-computers can solve spin-glass problems faster than quantum systems

https://news.ucsb.edu/2025/022239/new-ucsb-research-shows-p-computers-can-solve-spin-glass-proble...
2•magoghm•41m ago•0 comments

I Have a Human Arm

https://world.hey.com/ricardo.tavares/i-have-a-human-arm-75d11858
2•rickdg•43m ago•1 comments

Critical flaws found in AI development tools are dubbed an 'IDEsaster'

https://www.tomshardware.com/tech-industry/cyber-security/researchers-uncover-critical-ai-ide-fla...
2•prng2021•44m ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that