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
160
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
550
blithe
0
79
Other Decks in Programming
See All in Programming
techharmony
0
200
mathetake
7
2.2k
yosuke_furukawa
PRO
1
420
borkdude
1
190
hyodol2513
2
1.1k
doyaaaaaken
1
330
kilometer
2
290
uhyo
19
9.2k
drumato
1
260
daiki_0816
0
190
dunglas
5
6k
kulkarniankita09
0
280
Featured
See All Featured
morganepeng
95
14k
pauljervisheath
195
15k
holman
448
140k
carmenhchung
35
1.6k
michaelherold
226
8.7k
maltzj
502
36k
bermonpainter
343
26k
gr2m
84
11k
stephaniewalter
262
11k
reverentgeek
28
2.1k
sachag
267
17k
lemiorhan
629
48k
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