frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: The CTO Game – Scale your infra in real-time, under pressure

https://thectogame.com/
1•frenchmajesty•2m ago•0 comments

Labubu sues 3D printer maker Bambu Lab for items made by its users

https://www.tomshardware.com/3d-printing/labubu-sues-3d-printer-maker-bambu-lab-for-items-made-by...
1•josephcsible•2m ago•0 comments

Amazon Appears to Be Down

https://arstechnica.com/gadgets/2026/03/amazon-appears-to-be-down-with-over-20000-reported-problems/
2•samizdis•2m ago•0 comments

Feeling the Effects of 260k Federal Jobs Lost

https://www.nytimes.com/2026/03/05/climate/climate-forward-science-federal-cuts.html
1•geox•6m ago•0 comments

Show HN: AI Resume Chatbot – recruiters can chat with your resume

https://airesume.chat
1•hanishabsigh•7m ago•0 comments

Surviving the Streaming Dungeon with Kafka Queues

https://rion.io/2026/02/02/surviving-the-streaming-dungeon-with-kafka-queues/
1•rionmonster•11m ago•0 comments

Jemalloc

https://github.com/jemalloc/jemalloc
1•flykespice•12m ago•0 comments

AdonisJS 7.0.0 Has Been Released

https://adonisjs.com/
2•krthr•12m ago•0 comments

U.S. Capabilities Are Showing Signs of Rot

https://www.theatlantic.com/ideas/2026/03/military-failures-trump-iran/686244/
2•Jtsummers•12m ago•1 comments

Sam Altman Wants Elected Officials, Not OpenAI, to Decide How Military Uses AI

https://www.wsj.com/tech/ai/sam-altman-wants-elected-officials-not-openai-to-decide-how-military-...
2•ndkap•12m ago•0 comments

I trained an LLM from loss 11.47 to loss 2.35 on one TPU v5e for $1.16

https://github.com/2001sameersharma/twodollarllm
1•twodollarllm•12m ago•0 comments

The Glaring Oversight in the U.S. War Plan

https://www.theatlantic.com/national-security/2026/03/iran-war-drones-ukraine-pentagon/686249/
2•Jtsummers•12m ago•1 comments

AI Safety Has 12 Months Left

https://mhdempsey.substack.com/p/ai-safety-has-12-months-left
1•gmays•14m ago•0 comments

Imagination Is Work

https://seths.blog/2026/03/imagination-is-work/
2•herbertl•15m ago•0 comments

Show HN: TrueLock – secure messages as encrypted files with unlock rules

https://truelock.pro/
2•dkatsura•16m ago•1 comments

GitHub Having Issues

https://www.githubstatus.com/incidents/g9j4tmfqdd09
5•ZeWaka•17m ago•2 comments

Labor Market Impacts of AI

https://www.anthropic.com/research/labor-market-impacts
3•jjwiseman•20m ago•0 comments

Tapadas Limeñas: Lima's Mysterious Women Revealed

https://blog.viajesmachupicchu.travel/en/tapadas-limenas-limas-mysterious-women-revealed/
2•petethomas•21m ago•0 comments

Shipping System Fonts to Github.com

https://markdotto.com/blog/github-system-fonts
2•rbanffy•22m ago•0 comments

Show HN: Bus Core – a local-first ERP for small manufacturing shops

3•True-Good-Craft•22m ago•0 comments

Show HN: Fitopoly – a fitness app that turns workouts into territory conquest

https://www.fitopoly.app
2•63labs•23m ago•0 comments

Cluely CEO Roy Lee admits to publicly lying about revenue numbers last year

https://techcrunch.com/2026/03/05/cluely-ceo-roy-lee-admits-to-publicly-lying-about-revenue-numbe...
8•minimaxir•25m ago•2 comments

Show HN: Presage – Real-time insider detection for prediction markets

https://www.usepresage.com/
3•Jonsh92•26m ago•0 comments

Opik – An Observability Layer for OpenClaw

https://github.com/comet-ml/opik-openclaw
2•calebkaiser•26m ago•0 comments

(Science paper) Researchers 3D-print elephant figure inside a living, human cell

https://advanced.onlinelibrary.wiley.com/doi/epdf/10.1002/adma.202519286
1•Muhammad523•27m ago•0 comments

ChatGPT 5.4 Pro: A simple 'Hi' cost me $80

https://xcancel.com/Yuchenj_UW/status/2029645361548251271?s=20
3•doener•27m ago•0 comments

Tech firms pledge to pay for AI data centre power costs. But will they?

https://www.bbc.com/news/articles/cx244kdplnzo
3•inaros•28m ago•0 comments

Cognitive Task Partitioning: an architecture for AI-assisted development

https://github.com/UglyEgg/cognitive-task-partitioning
3•majeric•29m ago•0 comments

Netflix is buying Ben Affleck's AI startup

https://www.theverge.com/streaming/889973/netflix-ben-affleck-interpositive-ai
3•ripe•30m ago•0 comments

A Darkly Modern Guide to Betting on War

https://www.bloomberg.com/news/articles/2026-03-03/iran-war-tests-insider-trading-death-wagers-on...
4•smcin•32m ago•1 comments
Open in hackernews

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

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