frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Racket Syntax: The Great, the Good and the Back-to-the-Drawing-Board (2024) [video]

https://www.youtube.com/watch?v=ZtTqRH1uwu4
1•so-cal-schemer•45s ago•1 comments

MacKenzie Scott's $26B Sugar Pile

https://garryslist.org/posts/mackenzie-scott-s-26-billion-sugar-pile
1•gmays•1m ago•0 comments

Game developers and pixel artists are losing their jobs

https://www.sprite-ai.art
1•tjco•2m ago•1 comments

What would a "permissions-first ORM" look like? Looking for spec feedback

https://typescript-superapp.bunnytech.app/docs
1•iosifnicolae2•2m ago•1 comments

Instagram boss says 16 hours of daily use is 'problematic' not addiction

https://www.bbc.com/news/articles/cn71mgmzljlo
1•pseudolus•4m ago•0 comments

Earthquake Magnitude Scale

https://www.mtu.edu/geo/community/seismology/learn/earthquake-measure/magnitude/
1•teleforce•7m ago•0 comments

India's 'AI Impact Summit' Promises Little More Than Spectacle

https://internetfreedom.in/indias-ai-impact-summit-promises-little-more-than-spectacle/
1•akbarnama•8m ago•0 comments

AI Writes Code in Seconds. Why Do Your Tests Take Minutes?

http://stumpy.ai/blog/your-ai-writes-code-in-seconds
1•bluesnowmonkey•8m ago•2 comments

Robert Duvall, Oscar-winning actor and 'Godfather' mainstay, dead at 95

https://www.cnbc.com/2026/02/16/robert-duvall-dies-at-95.html
2•pseudolus•12m ago•1 comments

Rare Pokemon card sets record with $16.5M sale

https://www.japantimes.co.jp/life/2026/02/16/digital/pokemon-card-sale-most-expensive-pikachu-ill...
1•anigbrowl•13m ago•0 comments

Beating GPT-2 for less than $100 – Andrej Karpathy

https://github.com/karpathy/nanochat/discussions/481
2•logicprog•17m ago•0 comments

Show HN: Bulwark – Open-source governance layer for AI agents (Rust, MCP-native)

https://github.com/bpolania/bulwark
1•bpolania•20m ago•2 comments

Ask HN: Best roles in tech where I can be in meetings mostly?

2•general_reveal•22m ago•2 comments

Vulnerabilities in cloud-based password managers [pdf]

https://eprint.iacr.org/2026/058.pdf
3•leobdkr•24m ago•1 comments

Ask HN: Which password manager do you use / would you recommend?

3•unodonut•26m ago•4 comments

Linux CVE Assignment Process

http://www.kroah.com/log/blog/2026/02/16/linux-cve-assignment-process/
2•LorenDB•28m ago•1 comments

Lack of measurement invariance in mental health across intelligence levels

https://www.sciencedirect.com/science/article/abs/pii/S0160289625000662
1•i7l•29m ago•0 comments

Show HN: Krea iPad – real-time editing model with Apple Pencil input

https://twitter.com/venturetwins/status/2023107207500566675
1•dvrp•29m ago•0 comments

Dark web agent spotted bedroom wall clue to rescue girl from abuse

https://www.bbc.com/news/articles/cx2gn239exlo
40•colinprince•32m ago•3 comments

Meta: Messenger.com is no longer available for messaging

https://www.facebook.com/help/messenger-app/804132271957789
3•ddxv•33m ago•1 comments

OddsRabbit- Reddit Alternative that doesn't allow politics. Only hobbies

https://play.google.com/store/apps/details?id=com.oddsrabbit.app&hl=en_US
1•Gothypink•34m ago•2 comments

The AWS Marketplace Race Condition Nobody Warns You About

https://sidshome.wordpress.com/2026/02/16/the-aws-marketplace-race-condition-nobody-warns-you-about/
1•sijain2•34m ago•1 comments

Humanoids go mainstream as China's robotics champions appear at CCTV spectacle

https://www.scmp.com/tech/big-tech/article/3343634/chinas-tech-companies-vie-attention-cctvs-fest...
2•akyuu•34m ago•0 comments

The claws are open, until they close around you, out of your control

https://blog.inconsistentrecords.co.uk/blog/the-claws-are-open-until-they-close-around-you/
2•circadian•35m ago•0 comments

Friday CLI: The first multi-modal CLI Agent (chat/voice/video/images)

https://www.npmjs.com/package/@tryfridayai/cli
1•datacog•36m ago•1 comments

Is End-to-End Encryption Optional for Large Groups?

https://soatok.blog/2026/02/14/is-end-to-end-encryption-optional-for-large-groups/
1•birdculture•37m ago•1 comments

Nimslo stereo camera

https://en.wikipedia.org/wiki/Nimslo
1•petethomas•40m ago•0 comments

Cowork: Claude Code Power for Knowledge Work

https://claude.com/product/cowork
2•Anon84•43m ago•0 comments

More macOS 26.3 Finder column view silliness

https://lapcatsoftware.com/articles/2026/2/4.html
5•JumpCrisscross•44m ago•0 comments

This Is What Destroying the Vaccine Market Looks Like

https://www.thebulwark.com/p/this-is-what-destroying-the-vaccine-market-looks-like-moderna-flu-pr...
5•hn_acker•47m ago•4 comments
Open in hackernews

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

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