frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A raycasting engine in 7 easy steps

https://austinhenley.com/blog/raycasting.html
1•ibobev•4m ago•0 comments

Constraint Propagation for Fun

https://eli.li/constraint-propagation-for-fun
1•ibobev•5m ago•0 comments

Python Syntax compiles to Java source code – meet Java++

https://github.com/CrimsonDemon567PC/JavaPP
1•CrimsonDemon567•5m ago•0 comments

Jony Ive Designed Ferrari Luce EV Interior

https://www.topgear.com/car-news/electric/official-ferraris-first-ev-called-luce-interior-apples-...
2•elxr•5m ago•0 comments

OCapN and Structural Authority in Agentic AI

https://serefayar.substack.com/p/ocapn-and-structural-authority-in-agentic-ai
2•serefayar•5m ago•0 comments

Added OTEL Observability to OpenClaw agents full GenAI spec support

https://github.com/openclaw/openclaw/pull/11100
3•draismaa•8m ago•2 comments

Learn Weird Programming Languages

https://okienko.day/posts/2026-02-06-weird-languages.html
2•hubertmalkowski•8m ago•0 comments

Japan LLC has been trading its way out of a fiscal hole

https://www.ft.com/content/f7d3f20c-b303-4f6c-b4a0-8ee8906ae155
2•throwaway2037•8m ago•1 comments

Vending-Bench 2

https://andonlabs.com/evals/vending-bench-2
2•samdung•9m ago•0 comments

Danish Red Street Lighting Solves a Problem Every City Has

https://www.newsweek.com/denmark-red-street-lighting-gladsaxe-11488484
2•sohkamyung•10m ago•0 comments

Show HN: Speaklone – Native voice cloning for Mac, runs on-device

https://speaklone.com
2•SciFiDev•10m ago•1 comments

Extract Audio from Video

https://www.eranol.com/tools/extract-audio
2•harshalone•10m ago•0 comments

The Claude Code plugin that replaced my visual workflow

https://twitter.com/omarsar0/status/2020546189536399568
2•pretext•11m ago•0 comments

The Styx Architecture for Distributed Systems (1999)

https://inferno-os.org/inferno/papers/styx.html
1•luismedel•12m ago•0 comments

Are you a digital sharecropper? (2009)

https://blog.codinghorror.com/are-you-a-digital-sharecropper/
1•zeckalpha•13m ago•0 comments

Show HN: Simulation Studio Inside ArchtSoft

https://archtsoft.com
1•SougataAS•14m ago•0 comments

SpaceX prioritizes lunar 'self-growing city' over Mars project

https://www.reuters.com/science/musk-says-spacex-prioritise-building-self-growing-city-moon-2026-...
1•janpot•14m ago•0 comments

Profiling Swift Applications on Windows and macOS with Tracy

https://compositorapp.com/blog/2026-02-07/Tracy/
1•serhack_•14m ago•0 comments

React-based TUI framework based on Yoga and react-reconciler. Full Flexbox

https://github.com/nick-skriabin/glyph
1•nicholasrq•15m ago•0 comments

Botkeeper Shuts Down

https://www.botkeeper.com/to-the-botkeeper-community
2•danso•16m ago•1 comments

Show HN: Browser Terminal Use – A Local-to-Cloud Execution Bridge for LLM Agents

https://github.com/chaokunyang/browser-terminal-use
1•chaokunyang•19m ago•0 comments

Show HN: Claude-Pipe – A 1k LOC Bridge from Claude Code to Telegram/Discord

https://github.com/georgi/claude-pipe
1•mmgeorgi•21m ago•0 comments

Usage_rules makes agents better at Elixir [video]

https://www.youtube.com/watch?v=W_qO7ouLQz4
1•borromakot•21m ago•0 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•quanweidu•21m ago•0 comments

Self-Management Tips for Remote Workers to Avoid Burnout in 2026

https://saveku.com/blog/5-self-management-tips-for-remote-workers-to-avoid-burnout
1•roywj•23m ago•0 comments

Building an Open-Source Claude Code-Style Agent in Python

https://blog.wiseprobe.io/posts/building-patchpal/
1•wiseprobe•23m ago•0 comments

Why Canvas Breaks Your Screen Recorder (and What to Do Instead)

https://sendrec.eu/blog/why-canvas-breaks-your-screen-recorder/
1•alexneamtu•24m ago•0 comments

First Proof

https://1stproof.org/
1•burrito_brain•26m ago•0 comments

Ask HN: Will Tesla ever be truly self driving?

1•roschdal•26m ago•2 comments

Show HN: Codesession-CLI – Teach your AI agent to track its own token costs

1•nesh23•27m ago•1 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