frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Meta Superintelligence Labs acquires Manus AI for –$4B, 9 months after launch

https://news.smol.ai/issues/25-12-29-meta-manus/
1•swyx•57s ago•0 comments

Walmart Leaving the New York Stock Exchange for Nasdaq in Rebranding Effort

https://www.npr.org/2025/12/02/nx-s1-5619786/walmart-leaving-the-new-york-stock-exchange-for-nasd...
1•LopRabbit•7m ago•0 comments

China's Push to Master the Arctic Opens an Alarming Shortcut to U.S.

https://www.wsj.com/world/china-arctic-military-submarines-b4e988b9
3•JumpCrisscross•9m ago•0 comments

My 2025 AI Developer Year in Review

https://scottw.com/2025-ai-developer-year/
1•Kerrick•13m ago•0 comments

Chinese AI 'tiger' Zhipu edges towards Hong Kong listing expected to raise $300M

https://www.scmp.com/business/article/3337171/chinese-ai-tiger-zhipu-edges-towards-hong-kong-list...
1•doppp•24m ago•0 comments

My Self

2•yigojpnyc•31m ago•1 comments

Baltimore homicides declined furthest, fastest, could reach a 48-year low

https://www.thebanner.com/community/criminal-justice/baltimore-homicides-decline-48-year-low-U3UF...
2•xqcgrek2•32m ago•0 comments

Show HN: I built an MCP server to trade Robinhood through Claude Code

https://github.com/trayders/trayd-mcp
2•teamtrayd•35m ago•1 comments

Show HN: Endpoint State Policy – Policy as Data

https://github.com/scanset/Endpoint-State-Policy
1•scanset•38m ago•1 comments

Show HN: Signing Room – Stateless Bitcoin Multisig Coordinator

https://signingroom.io
3•scarlin90•40m ago•0 comments

I made a simple API testing framework [Alpha]

https://github.com/cd-4/yapitest
1•cd-4•43m ago•1 comments

Value Investing Is Struggling to Remain Relevant (2020)

https://www.economist.com/briefing/2020/11/14/value-investing-is-struggling-to-remain-relevant
1•jcartw•47m ago•1 comments

Next-Gen Big Data Dashboards – For All Industries

https://dashtera.com/
1•abhimattoria•50m ago•0 comments

The Prime IDs of Hacker News

https://dosaygo-studio.github.io/prime-news/?filter=fermat&p=1
1•keepamovin•50m ago•0 comments

Decades-old mystery solved as scientists identify what makes ice slippery

https://www.thebrighterside.news/post/decades-old-mystery-solved-as-scientists-identify-what-real...
1•thunderbong•51m ago•0 comments

Meta to acquire Chinese startup Manus to boost advanced AI features

https://www.reuters.com/world/china/meta-acquire-chinese-startup-manus-boost-advanced-ai-features...
2•testrun•52m ago•0 comments

The human fingerprint of medicinal plant species diversity

https://www.cell.com/current-biology/fulltext/S0960-9822(25)01250-3
2•PaulHoule•53m ago•0 comments

Compile JavaScript to C with Static Hermes

https://devongovett.me/blog/static-hermes.html
2•rexpan•55m ago•0 comments

Transform Your Data Effortlessly

https://documain.ai/
1•abahjat•56m ago•1 comments

Converting between geographic and geocentric latitude

https://www.johndcook.com/blog/2025/12/29/geographic-vs-geocentric-latitude/
2•ibobev•59m ago•0 comments

Freedom from Incompetence

https://lemire.me/blog/2025/12/29/freedom-from-incompetence/
3•ibobev•1h ago•0 comments

Pharmaicy

https://www.pharmaicy.store
1•erhuve•1h ago•0 comments

U-Boot Has Joined Software Freedom Conservancy

https://sfconservancy.org/news/2025/dec/29/u-boot-has-joined-sfc/
3•pabs3•1h ago•0 comments

Seed Factories and Self-Improving Systems

https://en.wikibooks.org/wiki/Seed_Factories
2•o4c•1h ago•0 comments

Ask HN: Why did Python fail to evolve?

4•fud101•1h ago•0 comments

State of GPU Hardware (End of Year 2025)

https://asawicki.info/articles/state_of_gpu_hardware_2025.php
2•ibobev•1h ago•0 comments

Why I'm Leaving Harvard

https://www.compactmag.com/article/why-im-leaving-harvard/
6•typeofhuman•1h ago•1 comments

Sam Altman offers $555k salary to fill most daunting role in AI

https://www.theguardian.com/technology/2025/dec/29/sam-altman-openai-job-search-ai-harms
3•devonnull•1h ago•3 comments

How can they claim millions in ARR under a year?

1•haebom•1h ago•0 comments

Innovative ways the world used AI in 2025

https://restofworld.org/2025/ai-innovation-global-2025/
4•billybuckwheat•1h ago•0 comments
Open in hackernews

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

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