frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

SenseNova-6.8-Code2Video

https://huggingface.co/sensenova/SenseNova-6.8-Code2Video
1•everygen_studio•1m ago•0 comments

Tiny Computers

https://indieappcatalog.com/app/4940
1•andsoitis•2m ago•1 comments

Leaking Secrets from Air-Gap Computers by Spelling Radio Signals from RAM

https://arxiv.org/abs/2409.02292
1•hapax_legomena•2m ago•0 comments

Show HN: LinkedIn-ops – Zero-dependency CDP automation built for AI agents

https://github.com/shashtag-ventures/linkedin-ops
1•shashtag•3m ago•0 comments

Show HN: TariffPedia – HS code lookup and import duty comparison

https://tariffpedia.com/
1•chuanbuilds•3m ago•0 comments

Make Python Great Again – Free tools and desktop apps built with Python

https://pythongreatagain.com/
1•elharakimm•4m ago•0 comments

Summer of Math Exposition Archive

https://some.3b1b.co/archive
1•agnishom•4m ago•0 comments

Medo: A modern UHD 4K open source Media editor for Haiku OS in less than 1.44MB

https://github.com/smallstepforman/Medo
1•embedding-shape•11m ago•0 comments

What a mother's 1834 letter about measles tells us about MAHA

https://www.statnews.com/2026/10/30/maha-measles-letter-1834-pseudoscience-women/
3•EA-3167•12m ago•1 comments

Elsag SignalTrace maps cars using phone, car radio, headphone, watch, key finder

https://www.leonardocompany-us.com/lpr/elsag-signaltrace
1•rexbee•12m ago•0 comments

The Soft Machine (1961)

https://www.semiovox.com/articles/2026/03/05/the-soft-machine/
1•windows1000•14m ago•0 comments

WiCi: Connecting GPUs over WiFi

https://wici.ai
1•shubham0204•19m ago•1 comments

Design systems for agents

https://design.how
1•handfuloflight•21m ago•1 comments

Show HN: Analog Video Feedback Fractals

https://www.youtube.com/watch?v=znkzM9-FVzw
2•i2pi•24m ago•0 comments

Formalities

https://pluralistic.net/2026/10/31/burn-berne/
2•dgudkov•25m ago•1 comments

Eulogy for the Software Engineer [video]

https://www.youtube.com/watch?v=uuKOXGVIP8I
2•mhsdef•28m ago•0 comments

Ask HN: Old experimental website that made photos sing?

1•jesuisdieu•31m ago•0 comments

RequestRocket Promo Key

https://requestrocket.com
1•geoicons•50m ago•1 comments

Doop

https://doop.design/
1•handfuloflight•53m ago•0 comments

What Happened to the TI-83? Sold to Every Student in 1996 Then Destroyed Itself

https://www.youtube.com/watch?v=X9YqHX0Twg4
2•cable2600•58m ago•1 comments

RustDrop – privacy-first P2P file transfer for your LAN (Rust)

https://github.com/hakuxyz/rustdrop
1•xyzhaku•59m ago•0 comments

How AI may drive union-resistant tech workers to the bargaining table

https://www.theguardian.com/technology/2026/jul/21/ai-tech-workers-unionize
4•civilchaos•1h ago•0 comments

Avoid Public Functions Calling Other Public Functions

https://matklad.github.io/2026/10/29/pub-calls-pub.html
3•birdculture•1h ago•0 comments

Wikimedia Foundation amicus brief regarding OpenAI [pdf]

https://commons.wikimedia.org/w/index.php?title=File%3A26.10.29_WMF_motion_and_amicus_In_re_OAI.p...
1•gnabgib•1h ago•0 comments

Amazon made the AUX input on older Alexa devices less useful

https://www.engadget.com/2300219/amazon-made-alexa-devices-aux-port-less-useful/
3•NordStreamYacht•1h ago•0 comments

The Elephant-Goldfish Model plugin for spec-driven AI development

https://opensource.googleblog.com/2026/10/introducing-elephant-goldfish-model-plugin.html
1•derekleeth•1h ago•0 comments

Show HN: Vela, a New Linux Desktop Environment

https://velade.org/blog/vela-0-1/
3•BrandoDev_it•1h ago•0 comments

Bashttpd: A web server written in bash

https://github.com/avleen/bashttpd
1•denysonique•1h ago•0 comments

Wikimedia Foundation Tries to Save Itself by Brokering AI Copyright Deal

https://gizmodo.com/wikimedia-foundation-tries-to-save-itself-from-oblivion-by-brokering-ai-copyr...
5•CharlesW•1h ago•0 comments

Tell HN: ChatGPT and Codex usage will be combined

4•FergusArgyll•1h ago•3 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