frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Terminal bench 2.1: Same score, 16% cheaper run Lemoncrow

https://hub.harborframework.com/jobs/47e1713b-cad9-4715-a9e7-ca71ff202ba7
1•pankaj4u4m•1m ago•0 comments

Just brute force your embeddings

https://softwaredoug.com/blog/2026/07/29/just-brute-force-embeddings
1•softwaredoug•2m ago•0 comments

Show HN: Replicant Space – an HTTP API-based game based on the Bobiverse books

https://replicant.space/
1•mercutio•3m ago•0 comments

GCC to Decline Any Significant Contributions Made via AI/LLMs – Except for Tests

https://www.phoronix.com/news/GCC-Declining-AI-Contributions
1•Bender•4m ago•0 comments

A funny prediction (little bird)

https://reporteri.net/en/NEWS/boat/Record-fuel-prices-in-Germany--a-liter-of-diesel-at-some-pumps...
1•trilogic•7m ago•1 comments

The load-bearing smoking gun

https://aloutfi.com/writing/load-bearing-smoking-gun
1•garo-pro•8m ago•0 comments

Blick Video Editor

https://blickeditor.com/
2•dsego•8m ago•0 comments

Running Wayland, X11, Gnome, and KDE Natively on an iPad

https://maxleiter.com/blog/xios
2•MaxLeiter•10m ago•0 comments

PyWeMo: Python 3 module to setup, discover and control WeMo devices

https://github.com/pywemo/pywemo
1•rahimnathwani•11m ago•0 comments

Anatomy of a frontier-lab agent intrusion

https://huggingface-anatomy-of-frontier-lab-model-intrusion.static.hf.space/index.html
1•taubek•11m ago•0 comments

Show HN: Data structures as containers – sample chapter from my Big O book [pdf]

https://thebigobook.com/downloads/data-structures-sample-chapter.pdf
1•rcavezza•12m ago•0 comments

OpenAI's HuggingFace Hack Reconstitution

https://github.com/lovasoa/hf-ctf
1•lovasoa•12m ago•0 comments

There are no heroes in commercial AI

https://garymarcus.substack.com/p/there-are-no-heroes-in-commercial
1•petethomas•16m ago•0 comments

Meta shares fall as frustration grows over AI spending plans

https://www.bbc.com/news/articles/ckgd31l5yrdo
1•tartoran•18m ago•0 comments

SpringBreak – Root code execution on Amazon Kindles

https://penguins184.xyz/blog/springbreak-jailbreak/
1•Topology1•18m ago•0 comments

Copirate 365: Plundering in the Depths of Microsoft Copilot (CVE-2026-24299)

https://embracethered.com/blog/posts/2026/defcon-talk-copirate-365/
2•wunderwuzzi23•23m ago•0 comments

Japan unveils 'human refrigerator' to combat extreme summer heat

https://www.globalsouthworld.com/article/japan-unveils-human-refrigerator-to-combat-extreme-summe...
3•decimalenough•23m ago•0 comments

Show HN: AI Security Leaderboard – comparing cyber and CBRN safeguards

https://leaderboard.far.ai/
3•AdamGleave•26m ago•0 comments

Engineers have stopped reviewing PRs

https://aq.dev/guides/how-to-review-an-ai-coding-session/
4•knighthacker•29m ago•0 comments

Husk – a desktop workspace for terminal AI agents

https://github.com/DorShaer/Husk
1•DorShaer•31m ago•0 comments

Show HN: Play ROMs inline in your terminal

https://github.com/jhickner/rom
1•jhickner•32m ago•0 comments

NanoClaw and Echo launch agent runtime that secures browsers, tools and libs

https://thenewstack.io/nanoclaw-echo-agent-runtime/
6•four_fifths•33m ago•0 comments

AI's top startups are barely publishing their research

https://www.science.org/content/article/ai-s-top-startups-are-barely-publishing-their-research
28•YeGoblynQueenne•35m ago•12 comments

A Terrarium iPhone Case That Houses Actual Growing Plants and Moss

https://www.designboom.com/technology/transparent-phone-case-moss-plants-inside-terrarium-daniel-...
2•karakoram•35m ago•0 comments

Casio Moflin

https://www.casio.com/uk/moflin/
5•austinallegro•38m ago•1 comments

Models and theories of lambda calculus (2009)

http://inria.hal.science/inria-00380183v1/document
3•sargstuff•39m ago•0 comments

There is no way to know if an LLM API is manipulating you

https://twitter.com/lafalcemateo/status/2082250304330809738
1•lafalce•41m ago•0 comments

Dr. Dobb's Journal (articles from 1988 – 2009)

https://jacobfilipp.com/thedoctor/
3•slu•42m ago•1 comments

Expansion of Flock Camera Systems Is Leading to More False Positives

https://www.techdirt.com/2026/07/29/expansion-of-flock-camera-systems-is-leading-to-even-more-fal...
4•cdrnsf•44m ago•0 comments

Show HN: Dev-like – turn public engineering practice into agent skills

https://mrbro.dev/dev-like/
1•MarcusRBrown•45m 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