frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The longest possible chess game

https://wismuth.com/chess/longest-game.html
1•ntnbr•28s ago•0 comments

Clipper Chip

https://en.wikipedia.org/wiki/Clipper_chip
1•GaryBluto•2m ago•0 comments

Casio's expressive guitar strap controller was inspired by a chopstick case

https://cdm.link/casios-expressive-guitar-strap-controller/
1•glitcher•3m ago•0 comments

Social media addiction trials unsealed docs show platforms designed to hook kids

https://dispatch.techoversight.org/historic-social-media-addiction-trials-begins-jury-selection-u...
1•speckx•4m ago•0 comments

Hexagonal Grids

https://www.redblobgames.com/grids/hexagons/
1•vinhnx•5m ago•0 comments

Sometimes Your Job Is to Stay the Hell Out of the Way

https://randsinrepose.com/archives/sometimes-your-job-is-to-stay-the-hell-out-of-the-way/
2•vinhnx•6m ago•0 comments

Bitbucket Down?

https://status.atlassian.com
2•CrzyLngPwd•6m ago•2 comments

Remote Code Execution in Command&Conquer: Generals

https://www.atredis.com/blog/2026/1/26/generals
2•jordan9001•6m ago•0 comments

Show HN: I built a mesh network for Coding agent sessions called Repowire

https://github.com/prassanna-ravishankar/repowire
4•nomadic-coder•6m ago•0 comments

Blocking Claude

https://aphyr.com/posts/403-blocking-claude
2•vinhnx•6m ago•0 comments

Asthma-related depression may be biologically distinct from primary depression

https://medicalxpress.com/news/2026-01-asthma-depression-biologically-distinct-primary.html
2•PaulHoule•6m ago•0 comments

SQLite in Production? Not So Fast for Complex Queries

https://yyhh.org/blog/2026/01/sqlite-in-production-not-so-fast-for-complex-queries/
2•marcobambini•8m ago•1 comments

It is now 85 seconds to midnight

https://thebulletin.org/doomsday-clock/2026-statement/
4•gbugniot•8m ago•0 comments

Moltbot-safe: a minimal, permissioned, sandboxed execution engine for AI agents

https://github.com/titanicprime/moltbot-safe
2•andredelima•9m ago•1 comments

Show HN: LZW-X – improving classic LZW compression with edit-scripts

https://github.com/DO-SAY-GO/LZW-X
1•keepamovin•9m ago•1 comments

AI Software as Props for Social Media Creators

https://seanthielen.substack.com/p/ai-software-as-props-for-social-media
1•sthielen•9m ago•0 comments

Beyond FTS5: Building Transactional Full-Text Search in TursoDB

https://turso.tech/blog/beyond-fts5
1•cyndunlop•10m ago•0 comments

Kite – Stripe checkout with automatic PPP pricing by country

1•DennisLH•11m ago•0 comments

100% open source MCP server for PostgreSQL – beta 2 out now, beta 3 on the way

https://www.pgedge.com/blog/what-s-new-in-the-pgedge-postgres-mcp-server-beta-2-and-beta-3
1•pgedge_postgres•12m ago•0 comments

There is no secure AI enclave

https://johncodes.com/archive/2026/01-28-there-is-no-secure-ai-enclave/
1•jpmcb•13m ago•0 comments

Monoliths were faster when humans were the bottleneck. AI changes that

https://jpaldea.substack.com/p/the-end-of-the-monolith-argument
2•jpaldea•14m ago•3 comments

Superpowers – An agentic skills framework for Claude Code, Codex, OpenCode

https://github.com/obra/superpowers
1•rob•15m ago•0 comments

Celibacy taught me I'm too clever to find love

https://www.telegraph.co.uk/news/2026/01/27/too-clever-to-find-love/
2•mraniki•16m ago•1 comments

Continued influence of AI-generated deepfake vids despite transparency warnings

https://www.nature.com/articles/s44271-025-00381-9
1•bookofjoe•18m ago•0 comments

Show HN: I gamified a productivity app to help my ADHD friends get things done

https://www.tryhypermonkey.com/
1•jcylim21•19m ago•0 comments

Paty: The most human-like AI agent you'll ever use

https://github.com/gjtorikian/paty
1•gjtorikian•19m ago•0 comments

Despite AI chip boom and record high stock price, ASML to lay off employees

https://www.tomshardware.com/tech-industry/asml-to-lay-off-employees-despite-ai-chip-boom-and-rec...
1•speckx•20m ago•0 comments

Lightweight Sentry.io Alternative with Session Replay

https://rejourney.co/
4•mrashiddev•20m ago•4 comments

Show HN: I Gave Claude Code a Job as a Quant Researcher

https://staunch.ai/docs/guides/eth-hourly-mean-reversion
2•irasigman•20m ago•0 comments

GE-Proton10-29

https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton10-29
1•linux4dummies•21m ago•0 comments
Open in hackernews

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

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