frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Megalodon: Mass GitHub Repo Backdooring via CI Workflows

https://safedep.io/megalodon-mass-github-repo-backdooring-ci-workflows/
1•pabs3•8m ago•0 comments

Vince Is Dead (2023)

https://tildas2.tildas.org/art/sad/dead.htm
1•kniffy•10m ago•1 comments

Instant YouTube channel analysis using public metrics

1•Aafy•13m ago•0 comments

Draft – Teams of BYOA Collaborating and Building

https://foundryworks.dev/
1•trilobyte•15m ago•1 comments

Didgeridoo playing as alternative treatment for obstructive sleep apnea(2006)

https://pmc.ncbi.nlm.nih.gov/articles/PMC1360393/
2•kelseyfrog•15m ago•0 comments

Google is currently struggling to define words like disregard, stop and ignore

https://www.engadget.com/2179762/google-is-currently-struggling-to-define-words-like-disregard-st...
2•mattas•23m ago•5 comments

Show HN: 1 big microfilm of WAR.GOV/UFO files - 332,144 pages

https://hypergrid.systems/war.gov-ufo-viewer/microfilm5
1•keepamovin•26m ago•0 comments

Malicious Postinstall Hook Found in 700 GitHub Repos, Including Node Projects

https://socket.dev/blog/malicious-postinstall-hook-found-across-700-github-repos
2•882542F3884314B•33m ago•1 comments

FigMirror – Plot your data in a reference paper's style

https://github.com/VILA-Lab/FigMirror
1•xiaohan_zhao•34m ago•0 comments

Shelf – Describe a tool in plain English, get a local app forever

https://getmyshelf.app/
2•nagabandaru•38m ago•2 comments

94% companies will keep spending on AI even when it fails

https://readuncut.com/94-will-keep-spending-on-ai-even-when-it-fails/
3•jslat•42m ago•0 comments

Trump directs legal migrants to return to home country to apply for green cards

https://thehill.com/homenews/administration/5891580-legal-migrants-green-cards/
6•KnuthIsGod•43m ago•2 comments

Laravel-Lang Supply Chain Attack

https://github.com/Laravel-Lang/http-statuses/issues/277
1•varunsharma07•47m ago•1 comments

Nano: Coding agent in under 200 lines

https://github.com/pnegahdar/nano
1•kristianp•47m ago•0 comments

The abstractions in SICP need a revisit

https://www.khola.blog/p/sicp-an-architectural-trace-of-pointer
4•bcapchickadee•49m ago•1 comments

Denuvo has been cracked day 1

https://old.reddit.com/r/CrackWatch/comments/1tkvwbb/legobatmanlegacyofthedarkknightvoices38/
1•lazylion2•56m ago•0 comments

The Prehistory of A.I. Slop

https://www.newyorker.com/magazine/2026/05/25/the-prehistory-of-ai-slop
2•fortran77•58m ago•0 comments

Frustrated franchisee sues Pizza Hut over crappy kitchen AI

https://www.theregister.com/ai-ml/2026/05/19/frustrated-franchisee-sues-pizza-hut-over-crappy-kit...
4•gnabgib•1h ago•1 comments

WordPress 7.0

https://wordpress.org/download/releases/7-0/
1•Curiositry•1h ago•0 comments

Show HN: Claude Code for Customer Support

3•darweenist•1h ago•0 comments

SF Bay Ferry

https://sanfranciscobayferry.com/
1•Austin_Conlon•1h ago•0 comments

FBI director's Based Apparel site has been spotted hosting a 'ClickFix' attack

https://www.pcmag.com/news/kash-patels-apparel-site-is-trying-to-trick-visitors-into-installing-m...
33•bilalq•1h ago•9 comments

Why Your Calls to Congress Matter More Than You Think [Video]

https://odysee.com/@techlore:3/why-your-calls-to-congress-matter-more:6
1•Cider9986•1h ago•0 comments

Notiqo – Visual analytics tracking validation directly from Figma

https://notiqoapp.com/
1•abeltarazona•1h ago•0 comments

Is the Government Running a Dragnet on VPN Users? [video]

https://www.youtube.com/watch?v=hV9QEVf6CgI
1•Cider9986•1h ago•0 comments

The Resilience Premium

https://artsabintsev.substack.com/p/the-resilience-premium
1•Arts86•1h ago•0 comments

Show HN: Agentikus

https://agentikus.com
1•Modecir•1h ago•0 comments

Show HN: 24/7 AI Pet Assistant – Pookie by Purr

https://play.google.com/store/apps/details?id=com.nem.purr&hl=en_US
1•mehtapaxshal•1h ago•0 comments

Dopamine drives persistent remodelling of the maternal brain

https://www.nature.com/articles/s41586-026-10509-4
2•bookofjoe•1h ago•0 comments

Ask HN: What to learn and do, that makes me least affected by AI in STEM?

3•s3arch•1h 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