frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Nodrix – open-source IoT cloud that runs in your own Cloudflare account

https://nodrix.live/
1•decoded_cipher•26s ago•0 comments

Ethereum can quantum-proof accounts for just 7 cents, says Kohaku project leader

https://cointelegraph.com/news/ethereum-quantum-proof-accounts-7-cents-researcher
1•ytNumbers•1m ago•0 comments

Teachers of Reddit: Is the "Gen Alpha can't read" crisis real?

https://old.reddit.com/r/AskReddit/comments/1u5ku71/teachers_of_reddit_is_the_gen_alpha_cant_read/
2•YesBox•2m ago•0 comments

Qed: A verified web front end written in Lean4

https://github.com/JacobAsmuth/qed
1•JacobAsmuth•2m ago•0 comments

Claude Code is dead, the future is open

https://claude-code-is-dead.vercel.app/#second
2•gidellav•4m ago•0 comments

Show HN: Replicant Detector with Datastar, Common Lisp, BKNR Datastore

https://rep-detect.lambda-combine.net/
1•fsmunoz•4m ago•0 comments

Show HN: Solaris the Thinking Ocean Simulator

https://solaris.franzai.com/
2•franze•5m ago•0 comments

Show HN: cuSBF – faster Bloom filter on GPUs for DNA sequences

https://github.com/tdortman/cuSBF
1•tdortman•5m ago•0 comments

'It's a hurricane warning': Guardrails around powerful AI models may be too late

https://www.politico.com/news/2026/06/07/frontier-ai-cybersecurity-china-race-00952786
1•u1hcw9nx•5m ago•0 comments

Ask HN: How do I do marketing for an app I made

1•rohand7•6m ago•0 comments

Setting Node and PNPM Versions in Cloudflare Workers Programmatically

https://senhongo.com/blog/cloudflare-workers-node-pnpm/
2•SenHeng•8m ago•0 comments

List of RL Env and Human Data Startups

https://aidata.runruntime.dev/
1•warthog•9m ago•0 comments

Farside: Alternative front ends to many sites

https://farside.link/
1•memalign•9m ago•0 comments

Kronotop: Distributed, transactional document database on FoundationDB

https://github.com/kronotop/kronotop
1•mastabadtomm•10m ago•0 comments

Show HN: RAIF – an experimental structured I/O format for LLMs

https://github.com/skrrt-sh/raif-standard
1•truehazker•14m ago•1 comments

Abu Fanous

https://en.wikipedia.org/wiki/Abu_Fanous
4•joebig•16m ago•0 comments

Zinnia: A modular 64-bit Unix-like kernel written in Rust

https://zinnia-os.org/
7•mrunix•18m ago•0 comments

Brains And LLMs Converge On A Shared Conceptual Space Across Different Languages

https://arxiv.org/abs/2506.20489
2•optimalsolver•20m ago•0 comments

Proteus the Infinite Fractal Object

https://sand-morph.up.railway.app/proteus-2
2•echohive42•20m ago•0 comments

The Visa Empire: Borders as a Business

https://www.lighthousereports.com/investigation/the-visa-empire-borders-as-a-business/
1•karakoram•21m ago•0 comments

Angry Meta employee hijacks company presentation unleash profanity-laced tirade

https://www.dailymail.com/news/article-15897199/Meta-employee-hijacks-company-presentation-unleas...
4•Bender•21m ago•0 comments

More Expensive, Somehow Worse [video]

https://www.youtube.com/watch?v=5k-j4VVCVR8
1•Bender•22m ago•0 comments

Hillock – Local, brain-inspired AI memory using SQLite and HDC

https://github.com/roandejager/Hillock
1•roandejager•23m ago•0 comments

Fermat's last theorem in the natural ring of ordinals

https://www.infinitelymore.xyz/p/fermats-last-theorem-in-the-ordinals
2•FillMaths•23m ago•0 comments

Show HN: Buildtopia1 – A sandbox game where an AI builds for you with chat

https://buildtopia1.com
1•dtran24•24m ago•0 comments

SillyTavern provides a single unified interface for many LLM APIs

https://github.com/SillyTavern/SillyTavern
1•doener•25m ago•0 comments

Multimodal Neurons in Artificial Neural Networks

https://distill.pub/2021/multimodal-neurons/
1•montyanderson•26m ago•0 comments

Changing Careers, Cutting Expenses: Software Engineers Contend with AI

https://www.wsj.com/lifestyle/careers/changing-careers-cutting-expenses-software-engineers-conten...
2•variety8675•27m ago•1 comments

RhinoCollab a plugin for real-time editing for Rhino 3D

https://rhinocollab.com
1•Ashxius•39m ago•0 comments

The APLR(1) algorithm for compact LR(1) parsers is simpler and more capable than

https://branchtaken.com/reports/aplr1/aplr1
4•fanf2•40m 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