yak shaving

Best definition
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.
origin: MIT AI Lab, after 2000: orig. probably from a Ren & Stimpy episode.