frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AnyFrame – Sandboxes for Your AI Agents

https://github.com/tinyhq/anyframe-python
1•inishchith•36s ago•1 comments

How to Write to SSDs

https://arxiv.org/abs/2603.09927
1•eigenBasis•4m ago•0 comments

Show HN: Map of 90 companies in the co-packaged optics supply chain

https://leoinai.substack.com/p/supply-chain-photonics-and-co-packaged
1•lboquillon•15m ago•0 comments

America's Most-Spoken Languages After English and Spanish

https://www.visualcapitalist.com/mapped-americas-most-spoken-languages-after-english-and-spanish/
2•RyeCombinator•22m ago•0 comments

Which country voted the best at Eurovision?

https://lalitm.com/post/which-country-voted-best-at-eurovision/
2•shintoist•24m ago•0 comments

A Year Late, Claude Beats Pokémon

https://www.lesswrong.com/posts/sehJYg5Yny9fvpbpt/a-year-late-claude-finally-beats-pokemon
2•sambellll•33m ago•0 comments

Show HN: AnyFrame – Sandboxes for AI Agents

https://anyfrm.com
2•inishchith•33m ago•0 comments

Build a Searchable Catalog with Filters, Facets, and Semantic Search

https://manticoresearch.com/blog/manticore-php-demo/
1•snikolaev•33m ago•0 comments

Carbonara Before the Rules [video]

https://www.youtube.com/watch?v=jrz0KhclCWM
1•gadtfly•37m ago•0 comments

Best Proxy for Twitter 2026

https://momoproxy.com/blog/best-proxy-for-twitter-2026
1•xbjamilnz•52m ago•0 comments

Battery-Free 'MicroSparc' That Allegedly Draws Power from the Quantum Vacuum

https://thedebrief.org/free-energy-from-the-vacuum-warp-drive-pioneer-unveils-battery-free-micros...
3•rramadass•1h ago•1 comments

There Is No 'Hard Problem of Consciousness'

https://www.noemamag.com/there-is-no-hard-problem-of-consciousness/
24•ahalbert4•1h ago•39 comments

Building a multi-agent system from scratch: 50 lines of bash and Git

https://en.andros.dev/blog/ed26ea98/building-a-multi-agent-system-from-scratch-50-lines-of-bash-git/
2•thunderbong•1h ago•1 comments

Multiple commencement speakers booed for AI comments during graduation speeches [video]

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

Turn inbound call recordings into structured JSON

https://www.gensail.com/call-data-extraction
1•vartana•1h ago•0 comments

What A.I. Did to My College Class

https://www.nytimes.com/2026/05/17/opinion/chatgpt-ai-college-school-graduation.html
6•mmooss•1h ago•1 comments

Ben Affleck Banned from Hard Rock Casino When Caught Counting Cards (2014)

https://www.yahoo.com/entertainment/ben-affleck-banned-hard-rock-casino-counting-cards-223154372....
1•thunderbong•1h ago•0 comments

LLM Performance by Programming Language

https://gertlabs.com/blog/llm-performance-by-language
4•gertlabs•1h ago•1 comments

First-Ever Tokenized Space Tourism: AI and Space and Blockchain

https://cccforgc.com/
1•cccxtha•1h ago•0 comments

Archivists Turn to LLMs to Decipher Handwriting at Scale

https://spectrum.ieee.org/ai-handwriting-transcription-transkribus-lecun
1•pseudolus•1h ago•0 comments

Dot-Coms That Deliver (2001)

https://books.google.com/
1•Apocryphon•1h ago•3 comments

The American epoch of oil is collapsing. What comes next could be ugly

https://www.theguardian.com/us-news/ng-interactive/2026/may/17/america-china-energy-oil-renewables
7•nithinj•1h ago•0 comments

AI Leak Watch: 435,608 potential AI API key matches in public GitHub code

https://ai-keys-leaks.begimher.com/
4•dan_l2•1h ago•0 comments

The automation of jobs will never end

https://metastable.org/never-end/
1•pbw•1h ago•0 comments

Spirit Airlines Passenger Brings 'Emotional Support' Rotisserie Chicken Thru TSA

https://viewfromthewing.com/spirit-airlines-passenger-brings-emotional-support-rotisserie-chicken...
4•rawgabbit•1h ago•0 comments

Possible atmosphere detected on small trans-Neptunian object

https://www.smithsonianmag.com/smart-news/this-tiny-celestial-body-past-pluto-shouldnt-have-an-at...
3•pavel_lishin•1h ago•0 comments

Slop Bucket Idea – a dataset of AI slop (train AI what not to do)

2•IAmNeo•1h ago•4 comments

Hubris of Timing: Why being right abt the future isnt enough to capitalize on it

https://deciens.com/press-and-insights/epistula-14-the-hubris-of-timing
3•ryan_j_naughton•1h ago•0 comments

How fast is N tokens per second really?

https://mikeveerman.github.io/tokenspeed/
5•hexagr•1h ago•2 comments

Students deserve better than COLLEGE

https://stanforddaily.com/2026/05/14/students-deserve-better-than-college/
3•johntfella•2h ago•2 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•12mo 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