frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenAI and Ginkgo Bioworks (YC S14) used GPT5 to lower protein production costs

https://openai.com/index/gpt-5-lowers-protein-synthesis-cost/
1•snitty•4m ago•0 comments

PPE Stockpile Degradation

https://chillphysicsenjoyer.substack.com/p/ppe-stockpile-degradation
1•crescit_eundo•5m ago•0 comments

What's the hardest thing about tracking your validated learnings?

1•localeyes•5m ago•0 comments

Show HN: Atomic Afterglow – Local-first audio analysis (Librosa/Streamlit)

https://atomic-afterglow.streamlit.app/
1•phasesequencer•7m ago•0 comments

ICE and CBP's Face-Recognition App Can't Verify Who People Are

https://www.wired.com/story/cbp-ice-dhs-mobile-fortify-face-recognition-verify-identity/
1•cdrnsf•8m ago•0 comments

Spotify, a Major Audiobook Provider, Will Soon Offer Physical Books

https://www.wsj.com/business/media/spotify-a-major-audiobook-provider-will-soon-offer-physical-bo...
1•bookofjoe•8m ago•1 comments

Distributed ML training through Web Cams

https://www.sarthakmangla.com/blog/wccl
1•amrrs•9m ago•0 comments

Unlocking a global audience with auto dubbing

https://blog.youtube/news-and-events/youtube-auto-dubbing-expressive-speech/
2•ingve•11m ago•0 comments

Ask HN: Will Crypto Currencies survive past this market downturn?

1•halamadrid•13m ago•1 comments

RMA – Compile Semgrep rules to native Rust/Tree-sitter matchers

https://github.com/bumahkib7/rust-monorepo-analyzer
1•bumahkib7•15m ago•1 comments

AI coding gap: Why senior devs are getting faster and juniors spin their wheels

https://www.zdnet.com/article/why-gen-ai-boosts-productivity-some-developers-not-others/
2•CrankyBear•15m ago•0 comments

Outlawed executable code encoded in a prime number

https://www.cs.cmu.edu/~dst/DeCSS/Gallery/Stego/illegal-primes.html
2•nucatus•16m ago•0 comments

How do you deal with SEO nowadays?

3•jackota•17m ago•6 comments

My bird has a pet hamster

https://brooke.substack.com/p/my-bird-has-a-pet-hamster
1•surprisetalk•18m ago•0 comments

The Gap Between Machines and Citizens

https://llm-politics.foaster.ai/
1•surprisetalk•18m ago•0 comments

Efficient near-telomere-to-telomere assembly of nanopore simplex reads

https://www.nature.com/articles/s41586-026-10105-6
2•bookofjoe•22m ago•0 comments

MatPy – Pure Python linear algebra library with ODE solvers

https://github.com/njryan-boou/matpy
1•njryan20051•22m ago•0 comments

Starlink fuels SpaceX growth with potential phone, more internet services

https://www.reuters.com/business/media-telecom/starlink-fuels-spacex-growth-with-potential-phone-...
1•TMWNN•24m ago•0 comments

OpenClaw (MoltBot) as a Service on DigitalOcean

https://www.digitalocean.com/blog/openclaw-digitalocean-app-platform
1•perelin•26m ago•0 comments

Show HN: Linear MCP Fast – 10x faster Linear MCP reads from local cache

https://github.com/everything-chalna/linear-mcp-fast
1•liabilityuk0•27m ago•0 comments

My Issues with ProtonMail

https://tildeweb.nl/~michiel/protonmail-issues.html
2•roywashere•32m ago•0 comments

Jane Street Blog – What if writing tests was a joyful experience?

https://blog.janestreet.com/the-joy-of-expect-tests/
2•ryanhn•33m ago•1 comments

I accidentally became a FOSS maintainer

https://www.hughrundle.net/i-accidentally-became-a-foss-maintainer-and-all-i-got-was-this-lousy-n...
1•cratermoon•33m ago•0 comments

What Every Programmer Should Know About Memory [pdf]

https://people.freebsd.org/~lstewart/articles/cpumemory.pdf
2•sebg•34m ago•0 comments

I design with Claude more than Figma now

https://blog.janestreet.com/i-design-with-claude-code-more-than-figma-now-index/
1•jsomers•37m ago•0 comments

Show HN: Sop-agents – Write Markdown, get coordinated agents

https://github.com/serverless-dna/sop-agents
1•walmsles•40m ago•1 comments

Binance denies issuing legal threats over insolvency allegations

https://www.theblock.co/post/388578/binance-denies-issuing-legal-threats
1•decimalenough•41m ago•0 comments

Dash0 CLI v1.0.0

https://github.com/dash0hq/dash0-cli
1•puppion•42m ago•0 comments

Merkle trees and build systems with OSTree and ninja

https://lwn.net/Articles/821367/
2•fanf2•43m ago•0 comments

Review of 1984 by Isaac Asimov (1980)

https://www.newworker.org/ncptrory/1984.htm
17•doruk101•45m ago•4 comments
Open in hackernews

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

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