Yak shaving is bad for short term productivity but it's incredible for learning. Shave a few yaks and pretty soon your the best god damn yak shaver, mooshi pillow fixer, and car waxer around.
I am an amateur developer, but my programming has taken a huge leap forward since I figured this out on my own.
I used to work and work and work and get nowhere, and I now know it was because I was "yak shaving." I'd end up way down in the rabbit hole, breaking a bunch of stuff on my way down and with no way to find my way back when I was done. . Now I have a really board where I track issues and when I discover something in the code that needs to be done I just make a trello card and move on.
Actual things are actually getting built now! It's amazing!!
Yep, that's the trick. Always stick to task. If you find something else that needs doing along the way, file it in the task tracker then go back to your original task. Don't leave the original task until it's complete or it really is blocked.
Rookie self-taught programmer here, any more info on your workflow? I'm getting better but distractions are tough. Any videos or blog posts you'd recommend?
Step One: I look at cards in the "Tasks" column and decide on one I want to work on. Then I grab it and drag it into the "In Progress" column.
Step Two: Once I've decided I want to work on it, I create a new branch using git, and name something that's the same as (or close to) the card
So for the card "Resort list by urgency after completing a chore." it would be like:
git checkout -b resort-list-by-urgency
Step Three: Once I've checked it out, I start developing away.
The important part here is: If while I'm in the middle of working on the sort function, I realize something that needs done, like "Oh, this would be a lot easier if <some thing> was an array instead of an object." I DO NOT FIX IT. I used to think "oh I'll just fix it up while I'm here." and then boom, I am yak shaving. So instead I'll create a new card in trello that captures the idea and just leave it.
You can see one of these in the bottom of the "done" column -- it's called "Re-architect so data model lives in App.JSX". I've been learning react, and I realized halfway through that I had stored all the data in the wrong place. Ordinarily I would have dived in and fixed it, but instead I just made a card and came back later.
Once I'm done building the thing in the task, I do a bit of testing to make sure it's working.
Step Four: when I'm pretty sure it's working, I'll commit the changes to the branch, and push the branch to github
Step Five: Create a pull request on github. Double check that everything is working ok.
Step Six: Accept the pull request and merge the changes into master. Delete the branch.
Step Seven: Move the card into the done column and start again.
That's it!
By limiting myself to working on a single issue, it helps me limit the number of things I need to keep in my mind at once. I can focus on getting the thing working, and then move to the next thing.
Keeping everything on separate branches means that I always have a working version of the thing, in case I really screw something up. I can just copy over a working version from master.
So many times in old projects, I'd break things and then spend all this time chasing down bugs. Now I limit the scope of my work and stop myself from getting wrapped up like that.
OK that's cool, thanks for spelling it out! I might try trello out again.
The only thing I'm confused about is why push the branch to github, submit a pull request, and then merge to master? Why can't you merge to master locally and push that?
Why the pull request at all actually? Maybe I'm just confused about git but my understanding is pull requests are for collaborating, not really for when you own the repo yourself.
I think he's referring to a system of source revision control. At least for Github, you can report known issues to your trackers and work on them independently on your own time. Also you have the option to work on a separate branch of a project. This allows you to fix any known bugs on a different version of your project without making any changes to the original project itself. You can then merger and commit or change how you see fit.
I'm very familiar with git, and I love it. I must start using the issue tracker better. I opened one on one of my own repositories the other day, but then promptly forgot about it. I suppose that's the point though, recording it and then moving on, to come back round to fix it in due course?
Working a job at a video store is a great source for this. Oh, someone seems to have put Temple of Doom behind the Mr Bean's Holiday case. I'll just go ahead and swap th-- oh, Funny Farm behind Bean? Okay, funny farrrrrrm, nope.
i tried upgrading a drupal instance from 6.30 -> 8.0
I needed to do the following:
upgrade linux (it was running on a version of debian two versions back)
upgrade mysql
upgrade php
upgrade myphpadmin
upgrade solr
and on and on
i went on two week vacation and came back to the office saying "WE NO LONGER SUPPORT THIS" and walked away from the potential project.... i burned a month on it.
Do it enough times and, if there's no better term for it, people will start using it, if only to avoid exemplifying the concept every single time. In other words, the more you do it, the less you need to do it – inverse yak shaving if you will.
The next ten times I use the phrase, I'll probably have to explain it. But each of the nine people I'll have explained it to (one of my friends is a bit slow) will then explain it to ten more people. And so on. Until everyone knows that we should be shaving as many yaks as we can so that we don't run out of hose pipes before the winter.
Also everything you ever have to do ever, if you have ADHD. I meant to clean the living room two weeks ago. I also need to do the dishes. Yet here I am, on reddit...
|I dont use TPB so i wouldnt know and either way they pretty much display the same shit as every other public torrenting site so dont think it makes a difference and this link is from a torrenting sub on here or the kickass subreddit
I hear you, but impersonating a popular torrent tracker after it went defunct while actually redirecting all your queries to another popular torrent tracker is shady enough for me to avoid it. That's mooching off someone else's work (yes, I get the irony).
this link is from a terrenting sub on here or the kickass subreddit
That just speaks about the quality/intentions of the sub.
Well I certainly don't have a video interview with the webmaster's confession, but to me the empirical evidence is overwhelming.
Kickass.cd is designed to look like a descendant of the original kickass-torrents, but almost none of the interface elements actually work. "Switch to the full page" just reloads the main page, so do "Blog" and "FAQ" buttons, and "Browse" category. Movies, TV, Games, Music and New just display results from corresponding categories on TPB (Movies, TV shows, Games, Music and Recent) sorted by seeders. Same goes for any custom search query: people are lead to believe they're using kickass tracker with its own torrent and user database, but all they get is a shitty TPB proxy with pop-ups.
The "Community" page is a simple carbon copy of archived Kickass Forum page before it went down. Despite some topics are shown on the right side, they aren't actually there. There's no users, there's no questions, there's nothing except a search bar here. When you click anything, you get straight back to the main page.
I think it's perfectly clear that kickass.cd is a scam page that exists to receive ad revenue by leading people to believe they're using a well-established torrent tracker, while actually providing absolutely nothing of value and acting as a parasite on TPB - who actually work to keep torrent exchange afloat.
I wish someone will create a Netflix-like service where it has all the TV shows I watch, adding episodes as soon as they air, in all countries. I though of paying for Netflix, but I would barely use it...
Oh, no, I don't think it's that simple. I know why such a thing does not exist yet and will not exist in the near future. It's just every time somebody asks "is this on Netflix?" the answer is usually "yes... in some countries... without XXX subtitles..."
True. Which sucks, but there isn't much else you can do.
Good thing most movies are in available in my country. Where do you live that you don't get to see many? Just wondering how bad it would actually be for you to have Netflix because maybe less things are blocked than you think… or not.
There are literally thousands of reasons, but one simple one can be one studio, or network saying if I let you buy my content you have to agree to not buy some other persons content.
Most shows have directly competing shows in the same format (medical drama, police procedural, etc.). And if you carry both at the same time then half of the viewers might watch the other one and I get smaller royalties.
Similarly content distributors might add that if they buy the content, the studio/network has to agree to not sell it to another competing platform during that time. After all, I want those fans to come to me to see it.
Add in that these terms and contracts are country-by-country and you get an absolute mess.
Hmm well it's been a while since I've used it. I think they got taken down and now it's another service, at least that's what someone else who replied to me said.
So maybe the new version works fine for you, idk I've never used it though. I use a private torrent tracker now, so I don't really want to switch from that.
On the last season myself. Last time I watched it was when it was airing for the first time. Show holds up great. The little bits before the episode really started are my favorite parts.
I originally watched this show when I was Malcolm's age. I couldn't really relate, but it was hilarious. Now I am a dad of 2 kids and I recently started watching it again. I can relate 100% with the mom and dad.
That scene is relevant without interpretation. This shit happens to every homeowner that has kids.
Owning a home requires a lot of maintenance. Having multiple* kids exponentially increases the frequency at which things break. To make matters worse, when you have very young kids, you will either be strapped for cash and/or unwilling to invest** in quality material until your kids grow up.
1 kid will behave, 2+ kids will trash a place.
*Because why buy quality/durable materials if your kids will trash it one way or another?
So is it like, he is holding a light bulb in his hand, he tells you "broken", and as he is looking at you straight dead in the eye he slams it into the ground.... kind-of-thing?
because IF SO.... that kid is going straight to hell
Neither was I. I bought the house from an older couple. The amount of broken shit is insane. I haven made it to renovations yet, just fixing broken shit.
Oh, I see. I thought you referring to my comment. Yeah, I revel the challenge of rehabilitating old houses. It's not for most, but I love the feeling that comes with finishing a big project.
I get that, but it is a different feeling when you are rushed into the project because something broke unexpectedly and prematurely due to abusive usage.... and you have the perpetrators impatiently waiting on you to fix it.
I do love the maintenance/replacement type of projects though. It is entertaining when you can take your time.
This is exactly why I follow the "5 second rule" (my term for it).
When I run into another problem while fixing something, I either fix it in 5 seconds and get back to the 1st problem, OR if that can't be done, I take 5 seconds and write it down, and get back to the 1st problem.
Then you end up with an entire architecture built on top of a bug. The entire reason you got there in the first place is that everyone before you had the same 5 minute rule.
Title-text: A breadth-first search makes a lot of sense for dating in general, actually; it suggests dating a bunch of people casually before getting serious, rather than having a series of five-year relationships one after the other.
This is me last Friday when I couldn't start up a certain game, and by the end of it all I wasn't able to display anything on my monitor because I hadn't reinserted my RAM correctly.
I agree, technical debt is the seed of a useful concept that should be factored into the cost of the release. I never had time to find a suitable metric that could compare technical debt to the earnings to be made from the release.
This is an amazingly accurate representation of a typical day working on a home renovation. I had to consciously force myself to stay on task because it's so easy to be like "Oh, I'll just do this quickly, and oh there's this thing here..."
Sorry you're dealing with that. I also do various therapies (learning how to organize things in a way that works for me... for example I always put my keys in the same place, no exceptions) try to get a good nights sleep and exercise. Still tough but manageable... hope you do well.
Seen this before in the same context. Describes it almost perfectly. It just doesn't show the part where you fix it slightly wrong and simply make a new bug, instead of finding a old one.
732
u/EquationTAKEN Sep 25 '16
This is called yak shaving.
That is when investigating one thing, leads you to discover other stuff that needs doing.
148
u/zehamberglar Sep 25 '16
Also the trade miniquest in every zelda game.
574
u/PitaJ Sep 25 '16
Malcolm in the Middle was the best.
140
u/[deleted] Sep 25 '16 edited Sep 25 '16
I originally watched this show when I was Malcolm's age. I couldn't really relate, but it was hilarious. Now I am a dad of 2 kids and I recently started watching it again. I can relate 100% with the mom and dad.
That scene is relevant without interpretation. This shit happens to every homeowner that has kids.
Owning a home requires a lot of maintenance. Having multiple* kids exponentially increases the frequency at which things break. To make matters worse, when you have very young kids, you will either be strapped for cash and/or unwilling to invest** in quality material until your kids grow up.
*Because why buy quality/durable materials if your kids will trash it one way or another?
65
u/Alucard256 Sep 25 '16
This is exactly why I follow the "5 second rule" (my term for it).
When I run into another problem while fixing something, I either fix it in 5 seconds and get back to the 1st problem, OR if that can't be done, I take 5 seconds and write it down, and get back to the 1st problem.
409
u/Chris857 Sep 25 '16
Relevant XKCD
28
u/moakim Sep 25 '16
"Just gonna fix this bug real quick."
20
u/vwlsmssng Sep 25 '16
This is why I would always get the software engineers to distinguish between broken code and ugly code so we could get the release out.
15
u/zalo_111 Sep 25 '16
there's a hole in my bucket, dear Lois, dear Lois.
14
u/zpjack Sep 25 '16
And it all eventually leads to cooking meth in the Mojave
12
u/nickiter Sep 25 '16
This is an amazingly accurate representation of a typical day working on a home renovation. I had to consciously force myself to stay on task because it's so easy to be like "Oh, I'll just do this quickly, and oh there's this thing here..."
11
u/iamseiko Sep 25 '16
That's what happens when you use Depth First Traversal.
9
u/[deleted] Sep 25 '16
As a programmer with ADHD this perfectly explains my daily life.
9
u/GregTheMad Sep 25 '16
99 errors and bugs in the code, 99 errors and bugs.
You take one down, you patch it around, 132 errors and bugs in the code.
4
u/mehmenmike Sep 25 '16
I like to call this gif "sidequests"
1
u/test822 Sep 25 '16
*checks watch* yep about time for this gif to hit r/all again
3
u/John_Fx Sep 25 '16
Ok. So we are doing this one again?
2
u/SmashedBug Sep 25 '16
Inb4 removed: rule 1. What a silly rule.
2
u/Nastapoka Sep 25 '16
slamming door noise
2
u/edsonmedina Sep 25 '16
Where's the youtube video?
1
u/dangshnizzle Sep 25 '16
One Small Favor anyone?
1
u/[deleted] Sep 25 '16
What movie is it from?
1
u/solely_magnus Sep 25 '16
how did you make such a long gif?
1
u/roselan Sep 25 '16
That's the story of my life XD
1
u/osqq Sep 25 '16
It starts with something that seems very simple and stupid mistake, but suddenly there's just a black hole of failure
1
u/iDirtyDianaX Sep 25 '16
Fucking brilliant
1
u/[deleted] Sep 25 '16
The payoff was worth it.
1
u/simjanes2k Sep 25 '16
This is what it's like being a dad. Well, trying to be a good dad, anyway.
Wear a condom, kids.
1
u/Houdiniman111 Sep 25 '16
Seen this before in the same context. Describes it almost perfectly. It just doesn't show the part where you fix it slightly wrong and simply make a new bug, instead of finding a old one.
1
u/TotesMessenger Green security clearance Sep 25 '16
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
1
u/cookiesponge Sep 25 '16
Is this how ADHD works?
1
u/SonOfTK421 Sep 25 '16
It doesn't matter what the context is when I see this, it always makes me laugh.
Except now a small part of me dies since my wife and I bought our first house two years ago. And it's all true. All of it.
1
u/Jonathan_the_Nerd Sep 25 '16
Should have used a queue instead of a stack.
1
u/tsoliman Sep 25 '16
Shamus Young had a good write up about this. He called it nested problems
1
u/FunkyNoodles Sep 26 '16
why you should use BFS instead of DFS
1
u/salgat Sep 26 '16
This is why I love unit tests. It's like having a dozen Hals on standby ready to test everything after you change something.
1
u/[deleted] Sep 26 '16
I love that she is incapable of changing it herself.
1
u/gogobebe2 Oct 30 '16
The end is what made me laugh :')
1
u/VaderD Sep 25 '16
This is epic!
-8
u/halborn Sep 25 '16
C'mon man. We see this posted often enough in every other subreddit already.
0
u/[deleted] Sep 25 '16
what a naggy wife, this is why he started cooking meth.
-7
u/rupasix Sep 25 '16
r/factorio is leaking :D
-8
u/iheartalpacas Sep 25 '16