Embedded

38: Blame the Monkey


Listen Later

Producer Chris White (@stoneymonster) and Elecia discuss some insurmountable problems and some strategies for approaching them. 

  • Google it (or look on Stack Exchange).
  • Explain the problem to someone else… even if they aren't there (use a stuffed animal or write a really detailed email, anticipating potential questions).
  • Draw a picture (system/subsystem architecture or code block diagram or a doodle).
  • Make sure you are running what you think you are, start over from a blank slate, making no assumptions about how your hardware is programmed.
  • Identify and verify your assumptions about the all the pieces involved.
  • Get scientific: define the problem, create a hypothesis, run an experiment, record the results. Small steps! Also: get methodological and write everything down.
  • Return to first principals: how is this supposed to work?
  • Revert to last known good and diff to find the cause of a new issue.
  • Logging functions: they take time but can lead to a better trace, better picture.
  • Make it reproducible: there is information in the solution if you can find the steps to repro. Step by step, reduce the steps until you can nab it in the act. Remove the voodoo.
  • Avoidance: accept the bug (it's a feature!) and go on.
  • Sleep, go for a walk, or work on something else.
...more
View all episodesView all episodes
Download on the App Store

EmbeddedBy Logical Elegance

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

185 ratings


More shows like Embedded

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

283 Listeners

The Amp Hour Electronics Podcast by The Amp Hour (Chris Gammell and David L Jones)

The Amp Hour Electronics Podcast

229 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

265 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

593 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

624 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

213 Listeners

Late Night Linux by The Late Night Linux Family

Late Night Linux

154 Listeners

Home Assistant Podcast by HK Media

Home Assistant Podcast

65 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

7,873 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

189 Listeners

Hackaday Podcast by Hackaday

Hackaday Podcast

64 Listeners

Self-Hosted by Jupiter Broadcasting

Self-Hosted

135 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

140 Listeners

2.5 Admins by The Late Night Linux Family

2.5 Admins

92 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

47 Listeners