frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I came to write THAT paper with Leslie Lamport

https://lawrencecpaulson.github.io//2026/08/21/Lamport.html
1•baruchel•1m ago•0 comments

US Navy carrier honouring Black war hero to be renamed after Trump

https://www.theguardian.com/us-news/2026/aug/21/navy-carrier-black-war-hero-trump-report
1•Alien1Being•1m ago•0 comments

America's First Legal Psilocybin Program Treated 346 People

https://www.sciencealert.com/americas-first-legal-psilocybin-program-treated-346-people-heres-wha...
1•downbad_•1m ago•0 comments

Chimpanzees Make the Same 'Laugh Faces' When They Emit Laughter and When Silent

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0127337
2•thunderbong•2m ago•0 comments

The List That Forgets

https://chazstevens.substack.com/p/the-list-that-forgets
1•severine•3m ago•0 comments

Pay-to-rank leaderboard exclusively for memecoins

https://www.topmemecoin.cash/
1•btsurgeo•3m ago•0 comments

Show HN: Muteval – mutation testing for your LLM evals

https://github.com/AshwinUgale/muteval
1•Ashwin1121•4m ago•0 comments

Moravec's Paradox

https://en.wikipedia.org/wiki/Moravec%27s_paradox
1•kensai•4m ago•0 comments

Lego color wheels (and why build a grid instead)

https://www.youtube.com/watch?v=7BXFFT0aPpE
1•fanf2•4m ago•0 comments

A two-month calendar on my Desktop

https://leancrew.com/all-this/2026/08/a-two-month-calendar-on-my-desktop/
2•surprisetalk•6m ago•0 comments

Show HN: My thirds steam game (and it failed)

https://store.steampowered.com/app/4943550/NOMSTERS/
2•ibackstrom•6m ago•0 comments

Getting the Steam Deck LCD working on a Raspberry Pi

https://www.jeffgeerling.com/blog/2026/steam-deck-lcd-pi-hat/
3•Brajeshwar•6m ago•0 comments

How HN: Naeos – an open-source engineering framework for AI coding agentsS

https://github.com/NAEOS-foundation/naeos
2•bayu911•7m ago•0 comments

China joins Europe in scrapping Windows for Linux

https://www.zdnet.com/article/china-drops-windows-for-linux/
2•CrankyBear•7m ago•0 comments

Amid intense backlash, people are vandalizing Flock surveillance cameras

https://text.npr.org/nx-s1-5939851
2•DeepLogin•8m ago•0 comments

DDR5 scalper bots outnumber shoppers 10 to 1, scraping hits every 6.5 seconds

https://www.tomshardware.com/pc-components/ddr5/scalper-bots-now-outnumber-human-shoppers-10-to-1...
2•speckx•8m ago•0 comments

Apple paid $17B in taxes to Ireland after court ruling on back levies

https://www.ft.com/content/65fb0ad1-e4d5-43be-9dcf-f7aba1bea3a6
4•geoffbp•9m ago•0 comments

Ask HN: OpenCode no longer including DeepSeek?

3•dv35z•9m ago•0 comments

Cosine similarity is dead. Long live cosine similarity

https://www.lighthousenewsletter.com/p/cosine-similarity-is-dead-long-live
2•j0selit0•9m ago•0 comments

Seeking Work (AI developer, Germany)

https://walter-a-jablonowski.github.io/cv-en/
2•walterjab•10m ago•0 comments

Updates on WireGUI an open source WireGuard Server

https://github.com/bartei/wiregui
2•bartei81•12m ago•1 comments

The Evolution of Beat 'Em Ups: From Arcade Cabinets to Digital Storefronts

https://www.brothers-in-gaming.com/post/the-evolution-of-beat-em-ups-from-arcade-cabinets-to-digi...
2•vinnyita•12m ago•1 comments

Advanced AI Sycophancy

https://www.seangoedecke.com/advanced-ai-sycophancy/
2•gmays•14m ago•1 comments

Familiar Stranger

https://en.wikipedia.org/wiki/Familiar_stranger
2•aragonite•14m ago•0 comments

Show HN: A coding-agent workbench built around Matt Pocock's coding workflow

https://github.com/ticketry-hq/ticketry-downloads/releases/download/0.2.0/Ticketry_0.2.0_aarch64.dmg
2•chandramoulyKK•15m ago•1 comments

Claudette: Make Claude Stop Talking Like a BuzzFeed Article

https://github.com/adnanakil/nobuzz/blob/main/README.md
2•aakil•15m ago•0 comments

The Dimensionality of Spacetime (1997)

https://arxiv.org/pdf/gr-qc/9702052
1•NeOchenHorosho•16m ago•0 comments

Show HN: CLI to Churn Out CLIs

https://github.com/chinmayrelkar/bawarchi
1•Chnmy•16m ago•0 comments

Transformation Failure, POM Before AI – Food for Agile Thought 558

https://age-of-product.com/food-agile-thought-558-transformation-failure/
1•swolpers•16m ago•0 comments

Your Margin Is the AI Labs' Roadmap

https://maxprilutskiy.com/p/your-margin-is-the-ai-labs-roadmap
2•maxpr•17m 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