frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

How Will OpenAI Compete?

https://www.ben-evans.com/benedictevans/2026/2/19/how-will-openai-compete-nkg2x
1•libraryofbabel•2m ago•0 comments

China's brain-computer interface industry is racing ahead

https://techcrunch.com/2026/02/22/chinas-brain-computer-interface-industry-is-racing-ahead/
1•pseudolus•5m ago•0 comments

Combatting NIMBYs via direct democracy and Coasean bargains

https://worksinprogress.co/issue/the-nimby-problem/
1•marojejian•6m ago•1 comments

Show HN: Engram – Persistent memory for AI coding agents (open source)

https://github.com/tstockham96/engram
1•tstockham•6m ago•0 comments

Show HN: I built an async Telegram bot to snipe 80%+ retail price errors

1•MauricioML•7m ago•0 comments

Apple TV partners with IMAX to show Formula 1 races live in theaters

https://9to5mac.com/2026/02/19/apple-tv-imax-formula-1-theaters/
2•geox•9m ago•0 comments

Functioning Vector Brain

https://github.com/LampFish185/-PLIC-
1•Time-Walker•12m ago•1 comments

Monitoring Events That Carry Data

https://imiron.io/post/fotl/
1•agnishom•12m ago•0 comments

Climate Physicists Face the Ghosts in Their Machines: Clouds

https://www.quantamagazine.org/climate-physicists-face-the-ghosts-in-their-machines-clouds-20260220/
1•pseudolus•14m ago•0 comments

EVs are making your air cleaner

https://grist.org/solutions/evs-are-already-making-your-air-cleaner/
1•pseudolus•14m ago•0 comments

AI Chatbots Still Can't Render Code Properly (and How to Fix It)

https://barish.me/blog/ai-chatbots-still-cant-render-code-properly/
1•barishnamazov•16m ago•0 comments

Show HN: Bundling Linux inside an Android app to run OpenClaw

https://github.com/coderredlab/andClaw
1•coderredlab•22m ago•0 comments

Show HN: Karl, expression-first language with built-in concurrency (playground)

https://karl-lang.org/
1•broyeztony•25m ago•0 comments

Show HN: Raya – TypeScript-like language with Go-like concurrency model

https://github.com/rizqme/raya
1•rizqme•27m ago•0 comments

Attacker gets into France's database listing all bank accounts

https://www.theregister.com/2026/02/22/french_bank_hack/
2•jjgreen•28m ago•0 comments

Maintenance Release: Godot 4.6.1

https://godotengine.org/article/maintenance-release-godot-4-6-1/
1•__natty__•28m ago•0 comments

PocketAgents, a single-binary runtime for Vercel AI SDK apps

https://github.com/treyorr/pocket-agents
1•trey-orr•28m ago•1 comments

Show HN: Franklin Prompt Studio – Structured prompts for serious AI decisions

https://dfrankstudioz.gumroad.com/l/franklin-prompt-studio
1•dfstudioz•30m ago•0 comments

Show HN: Vocab Top – AI-powered vocabulary builder with visual mnemonics

https://www.vocab.top/
1•Jaber_Said•30m ago•0 comments

Show HN: AIO Checker – See what ChatGPT and Claude see on your website

https://aiochecker.vercel.app
1•solskede•33m ago•1 comments

Will Iran be here in the morning?

1•ShermFrederick•35m ago•1 comments

IT Staffing Firms (TCS, Cognizant, Infosis Underpay Developers by 80–100%

https://h1bdatahub.com/blog/cognizant-tcs-infosys-low-h1b-salaries-exposed
2•buildwithmanju•35m ago•4 comments

Show HN: Deeper – Open-Source Beeper Analytics App for macOS

https://github.com/f/deeper
1•fka•38m ago•0 comments

A minimal CLI for managing TCP ports

https://github.com/odysa/portit
1•agentforce•38m ago•0 comments

New York's Robotaxi Plan Pulled in Blow to Waymo Expansion

https://www.bloomberg.com/news/articles/2026-02-19/new-york-s-robotaxi-plan-pulled-in-setback-to-...
2•1vuio0pswjnm7•40m ago•0 comments

Man in Sicily trained his dog to illegally dump rubbish

https://news.sky.com/video/man-in-sicily-trained-his-dog-to-illegally-dump-rubbish-13509984
1•austinallegro•41m ago•0 comments

Show HN: Treni – single-binary GPU runtime for uncertainty-aware agents 5ms TTFT

https://treni-docs.pages.dev/docs/
1•andrewmonostate•43m ago•1 comments

The possibilities for micro-intelligent fungus

1•justellemno•43m ago•0 comments

Redefining the Software Engineering Profession for AI

https://dl.acm.org/doi/10.1145/3779312
2•dnw•44m ago•0 comments

Simulating fusion reactors in C++ [video]

https://www.youtube.com/watch?v=IaiYxnLrs_8
2•linkdd•51m ago•0 comments
Open in hackernews

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

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