News for hackers. Stuff that matters.
Re:Yak Shaving: A Short Lesson on Staying Focused (2018) by zelos on Wednesday September 07, 2022 @02:53AM (#32747321)
That’s not the definition of yak shaving I’ve ever used. I’ve always thought of it more like: - I find a bug - I track it down to a library I’m using. The fix is in a later release. - I go to upgrade the library, but that brings in some transitive dependency upgrades that accidentally broke an API used elsewhere.

So now instead of fixing my bug I’m rewriting API call sites across my project.

Re:Yak Shaving: A Short Lesson on Staying Focused (2018) by vertis on Wednesday September 07, 2022 @03:01AM (#32747381)
I think my understanding of yak-shaving was more, can't get to the thing you were trying to do because of cascading blockers. Less distraction, and more unknown scope and complexity.

I quite like the Malcolm in the Middle[0] example of yak-shaving, though it's a combination of both blockers and distraction.

[0]: https://www.youtube.com/watch?v=8fnfeuoh4s8

Re:Yak Shaving: A Short Lesson on Staying Focused (2018) by itronitron on Wednesday September 07, 2022 @03:13AM (#32747465)
My understanding of yak shaving is that if you need to create a system for selling ads then you'll start by developing a graph layout algorithm that produces a set of optimal layouts for routing power in a data center (because you don't want to be called out if your system doesn't scale.)
Re:Yak Shaving: A Short Lesson on Staying Focused (2018) by logandk on Wednesday September 07, 2022 @08:59AM (#32749956)
That's a much more correct example than the one in the article. The "real-world example" in the article describes doing something completely different than intended, not out of necessity but by distraction.
Re:Yak Shaving: A Short Lesson on Staying Focused (2018) by detaro on Wednesday September 07, 2022 @03:18AM (#32747502)
Indeed:

> yak shaving - Any seemingly pointless activity which is actually necessary to solve a problem which solves a problem which, several levels of recursion later, solves the real problem you're working on.