frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Running Shoes Have Evolved – From Ancient Greece to Record-Breaking Marathons

https://www.nytimes.com/2026/05/01/sports/running-shoe-history-adidas-sneakers-london-marathon.html
1•y1n0•2m ago•0 comments

Why do crabs walk sideways? Scientists trace it back 200M years

https://www.sciencedaily.com/releases/2026/05/260501052844.htm
1•y1n0•7m ago•0 comments

US Navy signs deal with AI firm for training underwater drones

https://www.tomshardware.com/tech-industry/artificial-intelligence/us-navy-signs-deal-with-ai-fir...
1•y1n0•9m ago•0 comments

New Netflix documentary reexamines Winnie Mandela's divisive legacy

https://www.npr.org/2026/05/02/nx-s1-5800681/netflix-winnie-mandela
1•andsoitis•13m ago•0 comments

Reaching for the stars: enduring symbols of Soviet science in pictures

https://www.theguardian.com/artanddesign/gallery/2026/may/03/symbols-of-soviet-science-in-pictures
1•andsoitis•16m ago•0 comments

I touched a ZX Spectrum for the first time in decades

https://www.theguardian.com/games/2026/may/01/zx-spectrum-retro-games-dominik-diamond
1•andsoitis•18m ago•0 comments

The Wayfinders

https://longreads.com/2026/04/21/marshall-islands-soccer-team/
1•mooreds•18m ago•0 comments

How to prepare to be a startup founder (2021)

https://letterstoanewdeveloper.com/2021/11/22/how-to-prepare-to-be-a-startup-founder/
1•mooreds•20m ago•0 comments

Care Homes and Hotels in Japan Shut as Expansion Strategy Unravels

https://www.newsonjapan.com/article/149075.php
1•mikhael•23m ago•0 comments

Training language models to be warm can reduce accuracy and increase sycophancy

https://www.nature.com/articles/s41586-026-10410-0
1•0in•28m ago•0 comments

Why Nostr Will Win Where Mastodon and Bluesky Failed

https://primal.net/a/naddr1qvzqqqr4gupzqgycd7urua6ajmgc3jjunhcseekkz0swkljhdzs0pvftxlx6cgdnqq2hwv...
3•nout•28m ago•0 comments

A Common Proof of the Riemann Hypothesis and the Collatz Conjecture

https://www.academia.edu/166172334/A_Common_Proof_of_the_Riemann_Hypothesis_and_the_Collatz_Conje...
2•kristintynski•37m ago•2 comments

Maryland Is First to Ban A.I.-Driven Price Increases in Grocery Stores

https://www.nytimes.com/2026/05/01/business/surveillance-pricing-groceries-maryland.html
13•doener•37m ago•3 comments

Treat Agent Output Like Compiler Output

https://skiplabs.io/blog/codegen_as_compiler
1•azhenley•38m ago•0 comments

Clandestine network smuggling Starlink tech into Iran to beat internet blackout

https://www.bbc.com/news/articles/cvgzk91leweo
2•1659447091•39m ago•0 comments

The math behind how LLMs are trained and served

https://www.dwarkesh.com/p/reiner-pope
1•stopachka•40m ago•0 comments

ORBA: Orthogonal Reflection Bounded Ablation

https://huggingface.co/blog/grimjim/orthogonal-reflection-bounded-ablation
1•pyinstallwoes•42m ago•0 comments

Wyoming celebrates 'nuclear Renaissance' as feds approve license for a reactor

https://text.npr.org/nx-s1-5798892
2•mooreds•44m ago•0 comments

Show HN: Lisa a live dynamic wavetables synth you play and program in real-time

https://github.com/dr-schlange/LISA
1•drschlange•48m ago•0 comments

Virtual Scrolling

https://www.nicbarker.com/virtual-scrolling
1•azhenley•55m ago•0 comments

A Falcon 9 rocket will hit the Moon this summer at 7 times the speed of sound

https://arstechnica.com/space/2026/04/a-falcon-9-upper-stage-will-strike-the-moon-in-august/
1•bookofjoe•1h ago•0 comments

Intel Inside the Micro Revolution: 8008 Origins

https://thechipletter.substack.com/p/intel-inside-the-micro-revolution
1•ibobev•1h ago•0 comments

About St Helena, in the South Atlantic Ocean

https://sainthelenaisland.info/index.htm
1•Redoubts•1h ago•0 comments

Batteries: The game has changed – and it's not what you think

https://pv-magazine-usa.com/2026/05/01/batteries-the-game-has-changed-and-its-not-what-you-think/
1•xbmcuser•1h ago•0 comments

Class Variance Authority

https://cva.style/docs
1•doener•1h ago•1 comments

Am I the only one who hates delivery robots?

https://www.latimes.com/entertainment-arts/story/2026-04-14/delivery-robots-creating-problems-gle...
12•robotlaunch•1h ago•1 comments

Driverless cars can now get citations; autonomous trucks approved for testing CA

https://abc7.com/post/california-dmv-issues-new-regulations-autonomous-vehicles-including-getting...
1•robotlaunch•1h ago•0 comments

OpenAI's o1 correctly diagnosed 67% of ER patients vs. 50-55% by triage doctors

https://www.theguardian.com/technology/2026/apr/30/ai-outperforms-doctors-in-harvard-trial-of-eme...
3•donsupreme•1h ago•0 comments

Show HN: A (de)compiler and parser/engine for custom Magic: The Gathering cards

https://chiplis.com/ironsmith/
1•nicolas-siplis•1h ago•0 comments

Introducing Advanced Account Security

https://openai.com/index/advanced-account-security/
1•Cider9986•1h ago•0 comments
Open in hackernews

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

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