frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Dev snapshot: Godot 4.8 dev 4

https://godotengine.org/article/dev-snapshot-godot-4-8-dev-4/
1•__natty__•28s ago•0 comments

AI Feels Like the Pandemic All over Again

https://bejofo.com/blog/ai-feels-like-the-pandemic
1•YannickR•2m ago•0 comments

Changes to Sourcehut's terms of service regarding LLMs

https://sourcehut.org/blog/2026-08-27-tos-changes-and-llms/
2•progval•8m ago•0 comments

Spice-ts: a TypeScript-native SPICE circuit simulator

https://github.com/mfiumara/spice-ts
1•j0selit0•8m ago•0 comments

Cowanomics – A fun stock trading party game that uses web sockets

https://cowanomics.com/
1•etoxin•9m ago•0 comments

300mg of morning caffeine didn't improve mood or cognitive measures in males

https://www.mdpi.com/2072-6643/18/17/2771
1•giuliomagnifico•12m ago•0 comments

PrepIQ – AI kitchen intelligence for Hospitality prep planning

https://prepiq.net
1•HilqiaKM•13m ago•0 comments

Show HN: It's always been about size contests

https://epenis.lol/
1•MajorBaguette•13m ago•0 comments

Remove Hardcoded Subtitles. Keep Videos Clean

https://subtitleremover.com/
1•horanv•14m ago•0 comments

I don't worry about cost of AI models and you shouldn't too

https://davletd.medium.com/cost-of-ai-models-is-not-what-you-shoud-be-worried-about-e6439498bae7
2•davletdz•21m ago•0 comments

The Dutch are filling gas wells with cement

https://www.siliconcontinent.com/p/the-dutch-are-filling-gas-wells-with
2•Gijs4g•24m ago•0 comments

Troubleshooting and Preventing Task Deadlocks in Apache DolphinScheduler

https://medium.com/https://medium.com/@ApacheDolphinScheduler/when-workflows-get-stuck-troublesho...
1•DSOfficial•26m ago•1 comments

Show HN: I built an agent-first productivity bridge for all your agents

https://www.taskshell.app/
1•Frederick_22xAI•28m ago•0 comments

Show HN: TCP vs. UDP speed test – real transports, no simulation

https://tcp-vs-udp.com/
1•ilyassanida•30m ago•0 comments

Simon Weckert creates Digital Camouflage shirt to avoid AI video surveillance

https://www.dezeen.com/2026/08/25/digital-camouflage-shirt-ai-video-surveillance-simon-weckert/
2•u1hcw9nx•30m ago•2 comments

Two German airport workers die of malaria after 'mosquito arrives on plane'

https://www.bbc.co.uk/news/articles/cz6zwgg9y8go
3•zeristor•31m ago•0 comments

X users are speculating that YC is funding and expanding "visa factories"

https://twitter.com/afpost/status/2092762104407204095
2•Tabular-Iceberg•32m ago•0 comments

New Twitter launches, says Musk's X gave up the name

https://arstechnica.com/tech-policy/2026/08/new-twitter-launches-says-musks-x-gave-up-the-name/
3•rajtilakjee•33m ago•0 comments

Ask HN: Why Rust?

1•luxshan_t•35m ago•1 comments

Ask HN: As a Software Dev, how do you hedge for a world where AI takes your job?

1•vcanhoto•36m ago•1 comments

SDETs Changing Tide

https://quashbugs.com/blog/state-of-test-maintenance
1•pr_khar•40m ago•0 comments

How to escape AI pilot purgatory

https://medium.com/quantumblack/escaping-ai-pilot-purgatory-from-poc-to-p-l-1216d30ec4d0
1•stichers•40m ago•0 comments

Adehun – Simplifying Legality

https://www.adehun.com
1•CodePapi_•42m ago•0 comments

Why OOP Exists

https://mathspp.com/blog/why-oop-exists
2•lumpa•43m ago•0 comments

MIT just called for an educational revolution

https://lernerpython.com/2026/08/26/mit-just-called-for-an-educational-revolution/
3•lumpa•44m ago•0 comments

West Point Climate Professor Says He Was Fired for Refusing to 'Defy Science'

https://www.nytimes.com/2026/08/26/us/politics/west-point-climate-professor-lawsuit.html
3•OutOfHere•45m ago•0 comments

Motorola's GrapheneOS phones will launch in 2027 priced higher than Pixels

https://arstechnica.com/gadgets/2026/08/motorolas-grapheneos-phones-will-launch-in-2027-priced-hi...
2•birdculture•46m ago•0 comments

Authors Together (A Book Apart)

https://authors-together.org/
2•bjhess•48m ago•0 comments

Orphanogenesis

https://www.gregegan.net/DIASPORA/01/Orphanogenesis.html
1•stickynotememo•50m ago•0 comments

Analyzing the Infrastructure Used by Cyberleek

https://alzze.xyz/posts/analyzing-the-infrastructure-used-by-cyberleek/
1•notracks•50m 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