frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: YOLO Corp – LeetCode × real-world prod × text adventure × The Office

https://yolocorp.dev
1•err0r500•2m ago•0 comments

Show HN: Autoschematic is a Rust-y ops layer that works with existing infra [video]

https://www.youtube.com/watch?v=Jd6e6YKZm0E
1•pfnsec•4m ago•0 comments

Taildrop · Tailscale Docs

https://tailscale.com/kb/1106/taildrop
1•tambourine_man•4m ago•0 comments

Startup built a Fitbit for your brain to combat chronic stress

https://techcrunch.com/2025/12/05/this-startup-built-a-fitbit-for-your-brain-to-combat-chronic-st...
2•fcpguru•6m ago•1 comments

Growing transgenic plants in weeks instead of months

https://phys.org/news/2025-11-transgenic-weeks-months-hijacking-natural.html
3•PaulHoule•7m ago•0 comments

Launch HN: Nia (YC S25) – Give better context to coding agents

https://www.trynia.ai/
2•jellyotsiro•7m ago•0 comments

The U.S. Gave Mexico a List of Russian Spies. Mexico Let Them Stay

https://www.nytimes.com/2025/12/08/world/americas/mexico-russia-spies.html
2•vinni2•8m ago•0 comments

RIP Tetsu Yamauchi (Former Free and Faces Bassist)

https://www.loudersound.com/bands-artists/former-free-and-faces-bassist-tetsu-yamauchi-dead-at-79
1•pauseandplay•9m ago•0 comments

A Compelling Articulation of Forth's Practical Strengths and Eternal Usefulness

https://im-just-lee.ing/forth-why-cb234c03.txt
1•fallat•9m ago•0 comments

Putting Claude in Container Jail: My Localdev Setup

https://blog.herlein.com/post/localdev-container-jail/
1•speckx•10m ago•0 comments

Synt-E

https://github.com/NeuroTinkerLab/synt-e-project
1•NeuroTinkerLab•10m ago•1 comments

A Pre-Built A2A Agent Executor for the OpenAI Agents JavaScript SDK

https://github.com/a2anet/a2anet-js
1•benclarkeio•11m ago•0 comments

Show HN: Kill Your Low-ROI Projects

https://www.vector-amp.com
1•xZA•13m ago•0 comments

Show HN: I built an AI copilot for SEO

https://www.seoblab.com
1•adamclarke•13m ago•0 comments

Show HN: PyAtlas - Interactive map of the 10,000 most popular PyPI packages

https://pyatlas.io/
1•flo12392•15m ago•0 comments

Wash Post: "Trump's Attack on DEI May Hurt College Men, Particularly White Men"

https://reason.com/volokh/2025/12/08/washington-post-trumps-attack-on-dei-may-hurt-college-men-pa...
4•crackercrews•16m ago•4 comments

Do These AI-Generated Food Images Look Appetizing to You?

https://sf.eater.com/restaurant-news/210033/forkable-ai-generated-food-photos-catering
1•bobbiechen•16m ago•0 comments

Microsoft has a problem: nobody wants to buy or use its shoddy AI products

https://www.windowscentral.com/artificial-intelligence/microsoft-has-a-problem-nobody-wants-to-bu...
49•mohi-kalantari•23m ago•12 comments

Lyria Camera: Soundtrack your life

https://magenta.withgoogle.com/lyria-camera-announce
1•xnx•23m ago•0 comments

Building Communities of Practice That Amplify Learning Across Organisations

https://emilywebber.co.uk/building-communities-of-practice-that-amplify-the-flow-of-learning-acro...
1•mooreds•24m ago•0 comments

Soaring lettuce costs force restaurant to drop salads

https://www.kcci.com/article/eddyville-restaurant-lettuce-price-increase/69491047
2•mooreds•25m ago•0 comments

I Built a Commodore 64 Laptop That Never Existed – The Portable 64 [video]

https://www.youtube.com/watch?v=H5QQ0ECfwyE
2•amichail•25m ago•0 comments

A roadmap to build the SoTA for RAG

https://lexifina.com/blog/build-the-state-of-the-art-for-domain-specific-rag
1•alansaber•25m ago•0 comments

Show HN: A1 – compiler for AI agents into maximally deterministic code

https://github.com/stanford-mast/a1
2•calebhwin•25m ago•1 comments

Don't know what to wear? Design your outfit with gen AI and then shop it

https://apps.apple.com/us/app/seen-make-shop-share-looks/id6752500965
1•Jonovono•25m ago•1 comments

Solving SQL Bolt

https://www.twitch.tv/implabinash
1•implabinash•26m ago•1 comments

The Rome Statute in the Digital Age

https://www.justsecurity.org/118463/rome-statute-digital-age-cyber/
3•mooreds•26m ago•0 comments

Show HN: Tampermonkey/Stylus but with prompts instead of code (open source)

https://github.com/alentodorov/clickremix-byok
2•alentodorov•27m ago•0 comments

Programming in English – A Cursor command to write personalized tutorials

http://arcturus-labs.com/blog/2025/12/07/programming-in-english/
1•JnBrymn•28m ago•0 comments

Ask HN: Are there any viable Android phones for a power user to buy nowadays?

2•gooob•28m 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