frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Bodega Cats Are Some of New York City's Most Beloved Employees

https://www.smithsonianmag.com/travel/theyre-not-on-the-payroll-but-bodega-cats-are-some-of-new-y...
1•cybermango•1m ago•0 comments

Your Mouth Is a Disaster

https://www.newyorker.com/culture/the-weekend-essay/your-mouth-is-a-disaster
1•petethomas•1m ago•0 comments

Heretic LLM Abliteration tool author found dead

https://www.reddit.com/r/LocalLLaMA/comments/1y9gv9p/creator_of_ai_uncensoring_tool_heretic_dound...
1•Onavo•2m ago•1 comments

Fairy Tales Could Be Older Than You Ever Imagined

https://www.smithsonianmag.com/smart-news/fairy-tales-could-be-older-ever-imagined-180957882/
1•cybermango•2m ago•0 comments

Show HN: MergeLock – Zero-LLM PR gate that blocks coding-agent test sabotage

https://darkvectorcognition.ai/mergelock/
1•marinerk9•3m ago•0 comments

Show HN: Robotype – visual touch typing tutor

https://robotype.vercel.app/
1•mrbrts•3m ago•0 comments

U.S. Forest Service Publishes Supposed Sightings of Bigfoot over 62 Years

https://www.smithsonianmag.com/smart-news/the-us-forest-service-just-published-three-bigfoot-docu...
1•cybermango•3m ago•0 comments

I dare you to make a "best content algorithm" for your blog

https://lordmatt.co.uk/technology/the-internet/blogs-and-blogging/i-dare-you-to-make-a-best-conte...
2•speckx•7m ago•0 comments

Show HN: ClimbLab-Ja and ClimbMix-Ja: Japanese LLM Pretraining Datasets

https://kantahayashiai.github.io/posts/climblab-ja-and-climbmix-ja/
1•kantahayashi•10m ago•0 comments

Qentra – one agent per server for VPS, Docker, Proxmox and K8s monitoring

https://qentra.it.com/server-monitoring
1•mike_murango•10m ago•0 comments

After 25 Years GIMP Adds a Shape Tool

https://www.gimp.org/news/2026/11/29/dev-update-shape-tool/
1•Venn1•11m ago•0 comments

Top Viewed Kubecon Talk: Hidden Pod Startup Latency: Container Image Pull

https://kbcn.OmerOz.fyi
1•farukozderim•11m ago•1 comments

Show HN: Color TV from almost any microcontroller [video]

https://www.youtube.com/watch?v=D9kGSuBCQdQ
1•andrewstuart•11m ago•0 comments

Contra Scott on SURA

https://vitalik.eth.limo/general/2026/11/28/contra_scott_on_sura.html
1•mikeleeorg•11m ago•0 comments

Pure-neuronal spiking networks for online self/other distinction in MuJoCo

https://www.gnesios.io/evidence/
1•thembamichael•14m ago•0 comments

Cheaters Are Innovators

https://lemire.me/blog/2026/11/24/cheaters-are-innovators/
1•ibobev•15m ago•0 comments

Show HN: VexFlow 5.11 released – Music notation rendering API

https://vexflow.com
1•zeroxfe•16m ago•1 comments

I needed a tool to for an LLM the design of the app, so I made Mermaid Sketcher

1•jorgeleo•18m ago•0 comments

CrowdGPT – A Collaboratively Trained AI

https://www.crowdgpt.net/
2•Vxtzq•20m ago•0 comments

Beyond the prompt: Creative intent requires more than words

https://labs.adobe.com/research/beyond-the-prompt
1•whascii•22m ago•0 comments

Griffin by Tavus: The First AI to Pass the Video Turing Test

https://www.youtube.com/watch?v=_ZZrSujMl-E
1•Betelbuddy•23m ago•0 comments

How I made a 3D game in 1KB of JavaScript [video]

https://www.youtube.com/watch?v=rFjkGBYDIP0
1•KilledByAPixel•25m ago•1 comments

You might not need more compute

https://struo.run/productivity
1•pepibumur•27m ago•0 comments

Protect Your Web Forms Against Spam Bots

https://blog.miguelgrinberg.com/post/protect-your-web-forms-against-spam-bots
2•ibobev•28m ago•0 comments

Philip Emanuel Weidmann, developer of Heretic, found dead in Bhopal

https://www.thehawk.in/news/states-and-uts/madhya-pradesh/mp-german-it-engineer-found-dead-in-bhopal
5•jumploops•28m ago•2 comments

Air France A321 landed with its stabilizer trimmed near the nose-down stop

https://aerocorner.com/news/air-france-af1749-a321-stabilizer-jam-bea-report/
3•u-pump•28m ago•0 comments

How does GPS work? [video]

https://www.youtube.com/shorts/tAjPjzMDVo0
1•maxloh•29m ago•0 comments

History of John Backus's functional programming project

https://softwarepreservation.computerhistory.org/FP/
1•pmcjones•29m ago•0 comments

Quantum Quasi-polynomial algorithms for lattice problems

https://scottaaronson.blog/?p=10405
8•adamkurkiewicz•30m ago•1 comments

How does a language model decide what a word means?

https://bitilia.com/blog/how-a-language-model-decides-what-a-word-means/
2•bitilia•30m ago•1 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