News for hackers. Stuff that matters.
Re:Yt-Dlp Sequence Diagrams by meindnoch on Sunday July 12, 2026 @09:17AM (#48880975)
Auto-generated sequence diagrams are almost always useless. This one is no different.
Re:Yt-Dlp Sequence Diagrams by nikisweeting on Sunday July 12, 2026 @11:19AM (#48881839)
Strong disagree, I use tools like DeepWiki, Mintlify, Cubic daily to analyze complex codebases. Their diagrams on PRs and generated docs have made it much easier to quickly drop into a complex codebase and understand how it works / make meaningful changes. Especially DeepWiki's diagrams + interactive "Deep Research" / Codemap feature are amazing at building flow diagrams to answer specific questions.

I recently did a complete rewrite of our browser driver codebase by deeply analyzing playwright, puppeteer, selenium, and the chromium source code, relying heavily on auto generated diagrams to decide which parts to read myself / dive deeper on. Yes they occasionally leave things out if the underlying codebase hides the complexity or has no docs, but they're great for thoroughly documented mature codebases.

Re:Yt-Dlp Sequence Diagrams by tcp_handshaker on Sunday July 12, 2026 @12:04PM (#48882182)
And if they are GenAI they are probably wrong...
Re:Yt-Dlp Sequence Diagrams by chongli on Sunday July 12, 2026 @10:22AM (#48881427)
Why are people upvoting this? I thought I was missing something.
Re:Yt-Dlp Sequence Diagrams by tcp_handshaker on Sunday July 12, 2026 @12:07PM (#48882205)
The ones upvoting are not people...
Re:Yt-Dlp Sequence Diagrams by bt1a on Sunday July 12, 2026 @09:25AM (#48881035)
"Auto-generated"? As in... a defined translation from one abstraction layer to another? Disagree
Re:Yt-Dlp Sequence Diagrams by Bjartr on Sunday July 12, 2026 @10:19AM (#48881415)
As in not authored by a human who knows which details are important and which are noise for a given level of abstraction.
Re:Yt-Dlp Sequence Diagrams by perching_aix on Sunday July 12, 2026 @10:09AM (#48881355)
A mechanistically generated diagram, i.e. a program reading in something and then emitting a diagram, following a specific algorithm.

> a defined translation from one abstraction layer to another

A solution like the aforementioned cannot reliably present a view with a raised level of abstraction, as that necessitates either making unsound assumptions, or being provided with hints (which can be wrong or expire). Just like with code (because they are code).

And so if this is indeed just a rote visualization like that, sticking to the same level of abstraction (thereby not encountering this issue), then they stipulate it is "almost certainly useless, just like they usually are".

I personally find this agreeable, but then I rarely find diagrams particularly illuminating in general, so...