Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
The Scientific Method of Troubleshooting
Blithe Rocher
August 11, 2015
Programming
1
150
The Scientific Method of Troubleshooting
This version of the talk was presented at New Relic on August 10, 2015.
Blithe Rocher
August 11, 2015
Tweet
Share
More Decks by Blithe Rocher
See All by Blithe Rocher
blithe
1
130
blithe
2
540
blithe
0
74
Other Decks in Programming
See All in Programming
chichou
1
840
malvinstn
1
640
azdaroth
0
160
jun0
3
650
hr01
0
1.6k
supikiti
3
1.3k
akkeylab
0
340
ufoo68
1
170
line_developers_tw
0
540
itosho525
1
370
aratayokoyama
0
210
hr01
1
1.2k
Featured
See All Featured
danielanewman
1
470
smashingmag
229
18k
samanthasiow
56
6.3k
shpigford
165
19k
ddemaree
274
31k
samlambert
237
9.9k
deanohume
295
27k
addyosmani
1348
190k
jcasabona
7
520
myddelton
109
11k
chriscoyier
145
19k
chrislema
173
14k
Transcript
The Scientific Method of Troubleshooting
@blithe
None
Scientist
PhD in Physical Chemistry
Physics
Chemistry
6 Years!
Experiments
Scientific Method
Developer < >
StackOverflow
Problem solved?
Learn anything?
Most Important Part
Scientific Method
Set of Techniques For Acquiring Knowledge
Methodical
Systematic
“Has anyone seen string interpolation fail?”
Define the Problem 2 3 4 5 6 7 1
Expected behavior?
Expected behavior? Actual behavior?
Expected behavior? Actual behavior? Criteria for success?
Do Your Research 3 4 5 6 7 Define 2
Know your environment
Read the literature
Discussions
Make it fail!
Establish a Hypothesis 5 6 7 Define Research 4 3
Design the Experiment 6 7 Define Research Hypothesis 5 4
Divide and conquer!
Limit the variables
Try something weird
None
Hierarchy of Blame
Gather Data 6 7 Define Research Hypothesis Experiment 5
Current status?
Read the error message!
Analyze Your Results 7 Define Research Data Hypothesis Experiment 6
Problem solved? Learn anything?
Understand the Why
Future Experiments
Embrace the Success
Keep a Good Lab Notebook Define Research Data Hypothesis Experiment
Analyze 7
None
You won’t remember
Logs aren’t enough
Commit Messages
Update the Docs
Contribute
None
Share the Knowledge
Questions? Thanks! @blithe