frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Petition against Meta's employee training data collection for ML models

https://mcipetition.com/
1•reasonableklout•3m ago•0 comments

Show HN: Lupen – an itemized, verified receipt for Claude Code and Codex spend

https://github.com/momoraul/Lupen
1•momoraul•5m ago•0 comments

Riddle solved: Why was Roman concrete so durable? (2023)

https://news.mit.edu/2023/roman-concrete-durability-lime-casts-0106
1•Jakob•7m ago•0 comments

Tech Workers Are Fighting Against Silicon Valley's AI Push

https://www.techpolicy.press/tech-workers-are-fighting-against-silicon-valleys-ai-push/
2•reasonableklout•7m ago•0 comments

Falcon GX the most powerful brand engineering tool

https://falcon.so/
1•cts-i-cts-d•8m ago•0 comments

China's Z.ai open-sourced a frontier coding model as Washington bans it rival

https://startupfortune.com/chinas-zai-open-sourced-a-frontier-coding-model-the-same-day-washingto...
1•insanetech•9m ago•1 comments

Machine Studying

https://jacobxli.com/blog/2026/machine-studying/
1•meander_water•11m ago•0 comments

PivCo-Huffman "Merge" Operations

https://fgiesen.wordpress.com/2026/06/21/pivco-huffman-merge-operations/
1•luu•12m ago•0 comments

Against the Survival of the Prettiest

https://worksinprogress.co/issue/against-the-survival-of-the-prettiest/
1•Jimmc414•12m ago•0 comments

The Parent Uprising Against Screen Time at School

https://www.wsj.com/us-news/education/school-technology-screens-parents-9fc7384b
1•JumpCrisscross•13m ago•0 comments

Lithp.py (~2008)

https://fogus.me/fun/lithp/
2•wglb•14m ago•0 comments

Keystone – deterministic execution vault with replay‑verifiable proof

https://github.com/cryptictyrant519/keystone-proof
1•DevTyrant519•15m ago•0 comments

TimeFlies – convert flight info to calendar

https://ozgur.ca/projects/time-flies
1•sedatk•15m ago•0 comments

AI is making answers cheap. Curiosity is priceless

https://www.fastcompany.com/91556703/ai-is-making-answers-cheap-curiosity-is-priceless
1•ohjeez•16m ago•0 comments

An In-Browser Visualizer for GPS Satellites

https://hackaday.com/2026/06/18/an-in-browser-visualizer-for-gps-satellites/
1•gnabgib•16m ago•0 comments

PostmarketOS v26.06 (Alpen Avocado) released

https://postmarketos.org/blog/2026/06/21/v26.06-release/
2•kokada•19m ago•0 comments

Give the Baby Peanut Butter

https://www.thefp.com/p/give-the-baby-peanut-butter-allergy
1•mhb•21m ago•0 comments

The Cult of LK99

https://www.youtube.com/watch?v=fj3WwMxUDZ8
2•EwanG•24m ago•1 comments

Norway Bans AI for Kids 6-13 in Schools

https://yipzap.com/norway-bans-ai-for-kids-6-13-in-schools-a-bold-move-against-tech-dependency/
1•noida•25m ago•1 comments

Exhaustive and Definitive Ranking of All NES Games Released in North America

https://8bitnintendo.science/
2•CharlesW•26m ago•0 comments

Fast-tracked power plants fuel AI boom, with little public scrutiny

https://www.reuters.com/business/energy/fast-tracked-power-plants-fuel-ai-boom-with-little-public...
1•JumpCrisscross•26m ago•0 comments

Freelance Hiring, Without the Chaos

https://hight.ai
1•YinkaIyiola•27m ago•0 comments

Futuristic Japanese Warship Is on the Market and Winning Fans

https://www.wsj.com/world/asia/this-futuristic-japanese-warship-is-on-the-market-and-winning-fans...
3•JumpCrisscross•27m ago•0 comments

Bill that would mandate AI chip location tracking gains industry support

https://www.nbcnews.com/tech/tech-news/chips-security-act-gains-industry-support-letter-rcna350500
3•elliotbnvl•34m ago•0 comments

Welcome to America, World Cup visitors. Don't forget to tip

https://www.axios.com/2026/06/21/world-cup-service-fees-tipping-culture
3•rguiscard•37m ago•0 comments

The Wheel of Life

https://dsernst.com/writing/2026/wheel-of-life
1•dsernst•37m ago•0 comments

Good results fine tuning a local LLM like Qwen 3:0.6B to categorize questions

https://www.teachmecoolstuff.com/viewarticle/fine-tuning-a-local-llm-to-categorize-questions
2•dev-experiments•42m ago•0 comments

The Revolution Will Not Be Digitized

https://lareviewofbooks.org/article/social-codes-tech-workers-class-identity-digital-capitalism/
1•colinb•43m ago•0 comments

Simple hard way to conjugate Japanese verbs

https://underreacted.leaflet.pub/3mmevu6woys27
4•valzevul•43m ago•1 comments

Show HN: Real-Life Deception Detection Without Uploading Video

https://github.com/WhissleAI/lie_detection_binary
1•ksingla025•46m 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