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

188 ratings


More shows like Embedded

View all
Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

Software Engineering Radio - the podcast for professional software developers

274 Listeners

Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

383 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

288 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

625 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

269 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

580 Listeners

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

The Amp Hour Electronics Podcast

230 Listeners

Home Assistant Podcast by HK Media

Home Assistant Podcast

70 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

989 Listeners

Unnamed Reverse Engineering Podcast by Jen Costillo and Alvaro Prieto

Unnamed Reverse Engineering Podcast

40 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,069 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

188 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

62 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

141 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

66 Listeners