frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Does a Worm Have Thoughts?

https://new.life.com/stories-details/michael-levin-consciousness
1•goatley•48s ago•0 comments

Google Maps vector logo is 4,303,109 bytes

https://www.gstatic.com/images/branding/productlogos/maps_2025/v1/192px.svg
1•bwblabs•2m ago•1 comments

Is this Software Development now?

https://www.alexhyett.com/videos/is-this-software-development-now/
1•surprisetalk•3m ago•0 comments

Mr. Amodei, tear down this wall [video]

https://www.youtube.com/watch?v=f-D4266zN_U
1•doener•6m ago•0 comments

Show HN: Platform for Crowdfunding Forest Restoration

https://greenwedge.eco/en
1•karl_rikhardych•8m ago•0 comments

EntroLUT – 0.84-bit Huffman-to-DP4A CUDA engine (Qwen3.8-27B in 6 GB)

https://github.com/Sceeps/entrolut
1•mdcraftbbb•8m ago•0 comments

Show HN: EtherPK Markdown Notes now has native apps

https://docs.etherpk.com/running-etherpk-on-your-own-computer
1•gb2d_hn•9m ago•0 comments

Apple Backs US Warning over AI Threat to Encryption

https://www.macrumors.com/2026/12/03/apple-backs-warning-ai-threat-encryption/
1•tosh•10m ago•0 comments

SpaceX wants to power Starmind data center by skirting major source air rules

https://finance.yahoo.com/technology/ai/articles/spacex-wants-power-starmind-data-201623548.html
1•GloVin•12m ago•0 comments

Four wallets dormant for 17 years move 50 BTC each after NSA quantum alert

https://www.coindesk.com/markets/2026/12/03/four-satoshi-era-wallets-move-50-btc-each-after-nearl...
1•Aboutplants•12m ago•0 comments

An Update on Customer Privacy from Gleb, Backblaze CEO

https://www.reddit.com/r/backblaze/comments/1ybmz4f/an_update_on_customer_privacy_from_gleb_backb...
1•cube00•13m ago•0 comments

Running 1k Standalone SQLite Databases Inside SQL Server

https://sqlartist.github.io/posts/running-1000-standalone-sqlite-databases-inside-sql-server/
1•sqlartist•14m ago•0 comments

GitHub pull_request_target enforcement begins December 2

https://blog.github.com/changelog/2026-12-02-github-actions-will-block-pull-request-target-by-def...
1•exploraz•20m ago•0 comments

'Ghost' ships revealed by microphone-toting seabirds

https://www.nature.com/articles/d41586-026-03903-5
1•Brajeshwar•22m ago•1 comments

Crypto markets drop after NSA and tech firms issue post-quantum warnings

https://www.reuters.com/legal/government/crypto-prices-sink-us-tech-companies-sound-quantum-secur...
4•pierreneter•22m ago•0 comments

Ask HN: If every LLM disappeared tomorrow, what would your work look like?

1•gouterz•25m ago•0 comments

Bankrupt Character.AI poised to sell user data for $10M to an anonymous bidder

https://techcrunch.com/2026/12/01/once-worth-over-1b-bankrupt-character-ai-is-poised-to-sell-user...
3•nobody9999•26m ago•1 comments

Show HN: A Hybrid post-quantum encryption library

https://crates.io/crates/sare-lib
1•znano•27m ago•0 comments

Chess Openings

https://chess-visualization.joshuadam.com/
1•jonbaer•29m ago•0 comments

Version control is not the same as version numbers

https://devblogs.microsoft.com/oldnewthing/20261130-05/?p=112904/
1•qtqtqt•30m ago•0 comments

XFce3: Now 100% Free Software Linux Gazette #43 (July 1999)

https://linuxgazette.net/issue43/jacobowitz.xfce.html
5•lproven•32m ago•1 comments

Debunking the Myth Around Post-Quantum Cryptography (2024)

https://blogs.iiit.ac.in/quantum-crypto/
2•qtqtqt•32m ago•0 comments

What #4 vs. #8 on Product Hunt meant for our signups and revenue

https://www.kanbanq.app/blog/product-hunt-4-vs-8-retrospective
1•Papanix•35m ago•0 comments

Uruky Discoveries Presents: Signal Kind of Sucks as a Messaging App

https://uruky.com/discoveries/signal-kind-of-sucks-as-a-messaging-app?il=en
1•BrunoBernardino•35m ago•0 comments

How to Fight Vagueposting with Wild Speculation

https://pickipedia.xyz/wiki/User:JMyles/How_to_Fight_Vagueposting_With_Wild_Speculation
1•jMyles•36m ago•0 comments

New materials can beat copper for internal chip wiring

https://arstechnica.com/science/2026/12/building-nanowires-that-conduct-better-as-they-get-thinner/
3•rbanffy•37m ago•0 comments

We measured which LLMs catch real bugs in code review

https://www.codereviewbench.com/
1•eddfreitas•37m ago•0 comments

Amazon just broke its own record for the largest launch contract in history

https://arstechnica.com/space/2026/12/amazon-just-broke-its-own-record-for-the-largest-launch-con...
1•rbanffy•37m ago•0 comments

Build, release, and operate Xbox games from your terminal

https://github.com/xbox/cli
2•therepanic•39m ago•0 comments

Beyond Bits: Analog Computing for Real-Time Control – Communications of the ACM

https://cacm.acm.org/research/beyond-bits-analog-computing-for-real-time-control/
3•rbanffy•40m 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