frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

PHP2Shell: What Fortirix's External PHP Inventory Reveals

https://blog.fortirix.com/blog/php2shell/
1•SecurityNinjaGu•2m ago•0 comments

Show HN: ReBirth 338 in Browser

https://margeux.com/rb338.html
1•vegnus•3m ago•0 comments

Agent Memory benchmarks should measure task success, not retrieval alone

https://x.com/AgentMemoryL
1•IreneAI•6m ago•0 comments

Exstill: The frontier model's co-processor

https://exstill.ai/co-processor
2•porridgeraisin•9m ago•0 comments

Verify, Then Vote: Overturning Wrong Majorities in Multi-Agent LLMs

https://github.com/grainulation/papers
3•aid-ninja•12m ago•0 comments

Show HN: Trifecta Checker – a pre-flight safety check for AI agents

https://meta-global-ai-hackathon-trifecta-c.vercel.app/
1•moruku36•12m ago•0 comments

Tech Firms Dismantle Botnet That Turned 1.3M TV Boxes into Proxies

https://krebsonsecurity.com/2026/11/tech-firms-dismantle-botnet-that-turned-1-3m-tv-boxes-into-pr...
1•chmaynard•14m ago•0 comments

Shutting the Door on the XCPE Botnet

https://cloud.google.com/blog/topics/threat-intelligence/shutting-the-door-on-the-xcpe-botnet
1•nopakos•17m ago•1 comments

Ask HN: Any tool to remove AI Watermark from image?

1•zerodollar•25m ago•0 comments

How AI is creating a lopsided US economy

https://www.abc.net.au/news/2026-10-19/ai-stock-market-concentration-data/107261078
3•gmays•30m ago•0 comments

Show HN: SFXMint – CC0 game SFX with a keyless API and MCP for coding agents

https://sfxmint.com
1•flreey•34m ago•0 comments

Proxyman MCP

https://proxyman.com/docs/mcp
1•Austin_Conlon•37m ago•0 comments

The worst month for ships in the Strait of Hormuz

https://interactive.aljazeera.com/aje/2026/hormuz-journey-seafarer/
2•gmays•40m ago•0 comments

The Attack, the Ransom and the Unexpected Outcome

https://blogbychris.net/archives/1091
2•wmchen•41m ago•0 comments

Y Combinator's Garry Tan uses AI agents so much

https://techcrunch.com/2026/11/02/y-combinators-garry-tan-uses-ai-agents-so-much-he-spends-up-to-...
2•saikatsg•41m ago•1 comments

The Nordic Token Tax

https://research.klang.ai/papers/the-nordic-token-tax
1•silfverstrom•41m ago•0 comments

Mav AI | FULL MATCH. FULL INSIGHT. UNDER 30 MIN.

https://www.mavai.tech
1•mikile•45m ago•0 comments

Show HN: Hacker GitHub – the GitHub repos HN links to most

https://hackergithub.novian.works/
2•reverseblade2•52m ago•2 comments

A founding document of mechanistic interpretability [Elhage et al. 2021]

https://transformer-circuits.pub/2021/framework/index.html#summary-of-results
3•philipfweiss•54m ago•0 comments

"This Is Fine": How Clean Rooms Train Agents to Close the Books on Fire

https://archytas-ai.com/blog/this-is-fine
2•nlpnerd•54m ago•0 comments

Cobbly – Write one line. Get a website, or a 3D object you can print

https://cobbly.online/
2•dotmanish•57m ago•0 comments

Show HN: Bitcoin-rs – An independent Bitcoin full node in Rust

https://github.com/gosuda/bitcoin-rs
7•dreamcacao02183•57m ago•0 comments

Vercel: Computer use CLI for AI agents

https://agent-browser.dev/desktop
1•soltanov•1h ago•0 comments

A unusual sight catches the eye of those passing through the town

https://www.facebook.com/reel/1654659392879719
1•moltean•1h ago•0 comments

Show HN: Run xv6-riscv(64Bit,MMU) with RP2350

https://github.com/kamisori-daijin/pico-rv64-emu
1•kamisori-daijin•1h ago•0 comments

Show HN: Open a 300k-row XLSX in the browser in ~300ms, no server

https://github.com/p10node/office-engine
14•pierreneter•1h ago•1 comments

Test and verification technique effectiveness with GPT-6 Astra

https://danluu.com/astra-testing/
2•surprisetalk•1h ago•0 comments

Kenneth Boulding's Sonnets on Numbers

https://crab.rutgers.edu/users/goertzel/bouldingsonnets.htm
1•pkress2•1h ago•0 comments

Show HN: MCPgraphy – a proxy that learns when your agent's MCP tools work

https://github.com/hemanth1999k/mcpgraphy
1•hemanth2k•1h ago•0 comments

Six Companies Adopt the Accessible Games Initiative Tags

https://accessiblegames.com/news/six-companies-adopt-the-tags/
2•rbits•1h 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