frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: FocusStreak – Fast, offline habit tracker without account walls

1•vigneshnu•9m ago•0 comments

Show HN: nfltr-send Transfer Files over the Internet

1•abbiya•11m ago•0 comments

Surviving the AI Squeeze

https://justin.searls.co/links/2026-11-20-surviving-the-ai-squeeze/
1•quantiq•11m ago•0 comments

Show HN: Borderdraw (Web Mini-Game)

https://crux.quest/games/borderdraw/
1•saretup•11m ago•0 comments

I Think Mathematicians and Software Engineers Will Be the Same in the Future

1•dennysora-main•12m ago•0 comments

HAproxy lead: On the use of AI-based tools to find bugs in open source software

https://www.haproxy.com/blog/on-the-use-of-ai-based-tools-to-find-bugs-in-open-source-software
1•Aissen•12m ago•0 comments

19-Passenger Electric Aircraft Flies, Capable of 400 Km Range

https://aktualita.co/en/international/china-electric-aircraft-breakthrough
1•helsinkiandrew•15m ago•0 comments

Hearthly. Your Home Listening

https://jikol1906.github.io/Hearthly/
1•jllyhill•16m ago•0 comments

Novartis rejects AI industry hopes to cure cancer in five to 10 years

https://www.ft.com/content/1e5a9d70-221d-461d-ae03-dc235b1db340
1•JumpCrisscross•16m ago•1 comments

The useless computer – Programming is Fun

https://bitfieldconsulting.com/posts/useless-computer
2•rbanffy•22m ago•0 comments

SeaStore: Redesigning Ceph's Storage Back End for CPU-Efficient NVMe Performance

https://dl.acm.org/doi/10.1145/3828523.3857112
2•shraddhaag•28m ago•0 comments

GRA 6 Shatters Entertainment Box Office Records with $3.79B Day One Sales

https://www.take2games.com/ir/news/grand-theft-auto-vi-shatters-entertainment-box-office-records
4•OkGoDoIt•33m ago•2 comments

Probabilistic data structures in Go, part 2

https://antonz.org/probabilistic-data-structures-2/
2•signa11•34m ago•0 comments

Microsoft 365 Outage – Post Incident Report [pdf]

https://tianyin.github.io/misc/pir_microsoft_365_11-12-2026.pdf
3•signa11•35m ago•0 comments

America Loves Mahjong. Chinese Americans Hardly Recognize It

https://www.nytimes.com/2026/11/22/world/asia/mahjong-american-chinese-controversy.html
2•_tk_•35m ago•0 comments

SiniPrompt – TelePrompter for Creators

https://apps.apple.com/us/app/siniprompt/id6819835347
2•dogano•35m ago•0 comments

The LSP Game Architecture

https://misha.software/blog/game-language-server/
2•eatsleepmonad•36m ago•1 comments

Towards Understandable Software

https://gracefulliberty.com/articles/towards-understandable-software/
1•signa11•37m ago•0 comments

Show HN: Smartesto – Run custom prompts on webpages and text with Apple devices

https://www.giuliomagnifico.dev/apps/smartesto/
1•giuliomagnifico•45m ago•0 comments

Can a TV be too large? An investigation

https://techcrunch.com/2026/11/22/can-a-tv-be-too-large-an-investigation/
2•jomon003•55m ago•2 comments

Ask HN: How much did an 8 TB SSD hard cost before the AI race?

1•illidan1000•58m ago•5 comments

Show HN: AI code review in VS Code with your own API key or Ollama, no account

https://marketplace.visualstudio.com/items?itemName=puzaricloud.ai-code-review-any-model
1•ritomconnect•58m ago•0 comments

Is selling an AI version of your face to this startup the future of Hollywood?

https://techcrunch.com/2026/11/21/is-selling-an-ai-version-of-your-face-to-this-microdrama-startu...
1•jaredwiener•1h ago•0 comments

How the Y2Y2R AI music video was made, shot by shot, with the prompts

https://directthemachine.com/Y2Y2R/index.html
1•slyall•1h ago•0 comments

The court said stop. The army said it doesn't have to. [video]

https://www.youtube.com/watch?v=lgcq1R9sCzY
1•burnt-resistor•1h ago•1 comments

COP31 climate talks fail to reach deal amid fossil fuel and money rows

https://www.bbc.com/news/articles/cqwy06zrd26lo
4•tosh•1h ago•2 comments

Show HN: Open-source MCP server to check AI search crawler readiness

https://github.com/alicexixi85/geo-seo-mcp-pro
1•alicechendejun•1h ago•0 comments

Fossjobs: Job Board for Free and Open Source Jobs

https://www.fossjobs.net/
1•rendx•1h ago•1 comments

Show HN: SlayArcade – 70 original browser games, no sign-up, works offline

https://slayarcade.com
2•slayarcade•1h ago•0 comments

America cannot destroy Iran's or China's missiles

https://www.aspistrategist.org.au/america-cannot-destroy-irans-missiles-chinas-will-be-a-far-grea...
3•Alien1Being•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