frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why is the Indian Railways abandoning Tatkal?

https://finshots.in/archive/indian-railways-abandoning-tatkal/
1•vismit2000•47s ago•0 comments

Minecraft2Shell Vulnerability

https://wurst.wiki/minecraft2shell
1•exploraz•3m ago•0 comments

Agentic Manipulation Policies

https://apple-aiml-research.github.io/ml-amp/
1•v9v•4m ago•0 comments

Study: Sit-stand desks boost active work time by 43 minutes/day

https://stories.tamu.edu/news/2026/11/11/want-to-be-more-productive-at-work-show-your-boss-this-s...
1•giuliomagnifico•6m ago•0 comments

Computer Science Achievement and Writing Skills Predict Vibe Coding Proficiency

https://arxiv.org/abs/2603.14133
1•rzk•7m ago•0 comments

RIEMANN a Mathematical Field Guide

https://alexisdpc.github.io/riemann/technical.html
2•Bluestein•11m ago•0 comments

Show HN: Plinth – Publish HTML from any coding agent and choose who can see it

https://github.com/mr0b0t0/plinth
1•germanvoronin•11m ago•0 comments

Show HN: Just Dashboard, open-source Linux management dashboard

https://just-dashboard.com/
1•Wayy10•15m ago•0 comments

Are we over-optimizing AI SRE agents instead of solving the context problem?

https://www.elastic.co/observability-labs/blog/elastic-streams-telemetry-pipeline-s3
1•Devansh2920•17m ago•0 comments

The Riemann Hypothesis Proof as a Mediaeval Fantasy RPG Map

https://marioschlosser.org/riemann/
1•Guestmodinfo•18m ago•0 comments

Typographers Discuss the Euro (1996)

https://www.evertype.com/standards/euro/eurotypo.html
2•robin_reala•24m ago•0 comments

EU plans €50B tech fund to close gap with US and China

https://www.ft.com/content/53d4b629-7ae4-4d63-ac37-e773b1dd3af0
2•doener•24m ago•0 comments

Nvidia Seeded Pirated Books and Shared Them with Adobe, Authors Allege

https://torrentfreak.com/nvidia-seeded-pirated-books-and-shared-them-with-adobe-authors-allege/
2•HieronymusBosch•24m ago•0 comments

Show HN: ScarScript – A statically typed language that compiles to Go

https://github.com/ScarfazeCompany/scar-script
1•aimabaig•25m ago•0 comments

Show HN: SlayArcade – free browser arcade, daily puzzle, works offline

https://slayarcade.com
2•slayarcade•28m ago•0 comments

Show HN: Running a ESMC protein language model as a single C++ binary

https://github.com/AnanyaP-WDW/esmc.cpp
1•Ananya_Pathak•30m ago•0 comments

HTTP/Minimal: like Gemini protocol but standard

https://httpmini.com/
2•shdx•34m ago•0 comments

GitHub Lifelines – your repos drawn as lines from first day to last push

https://pravin.github.io/lifelines/
1•pravinp•35m ago•0 comments

Code review was never mostly about catching bugs

https://hrih.si/articles/who-teaches-the-reviewer/
1•DonAtimator•38m ago•0 comments

Beyond Linux: A Journey Through the Open Source Ecosystem

https://it-notes.dragas.net/2026/11/17/beyond-linux-a-journey-through-the-open-source-ecosystem/
1•birdculture•39m ago•0 comments

Incremental Queries in Triplox

https://triplox.xyz/blog/triplox-log-2-incremental-queries-in-triplox/
2•fiv0•41m ago•0 comments

Measuring and mitigating agent sandbox escape with Siren

https://safeguards.anthropic.com/2026/siren/
1•DonAtimator•43m ago•0 comments

P8 1.0 – PICO-8 Lua fantasy console on MiSTer FPGA bare-metal version [video]

https://www.youtube.com/watch?v=sutLdo-J3-k
1•retro_guy•44m ago•1 comments

How do you stop retries from restoring deleted agent memories?

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

Show HN: Agent Debugger – local-first failure debugger for AI agents

https://github.com/woxlo1/agent-debugger
2•woxloi•50m ago•0 comments

Meatware (Human Labour Heritage Center) Browser Game

https://ribalba.github.io/meatware/
1•maikhoepfel•51m ago•1 comments

Parable of the Polygons

https://ncase.me/polygons/
1•hiohio•52m ago•1 comments

Show HN: Sweeflow – Stream your Mac apps to your Linux machine

https://sweeflow.app
2•herunan•52m ago•1 comments

Google Files Patent for a TV Channel of AI-Made Videos Built Around You

https://patentlyze.com/patent/google-ai-made-tv-channel-built-around-you/
2•DeepLogin•55m ago•0 comments

Companies that skip Black Friday

https://no-blackfriday.com/
3•rouuuge•56m ago•1 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