See Visually Graphic Bugs and Enjoy!

  • Thread starter Thread starter anorlunda
  • Start date Start date
  • Tags Tags
    Graphic
Click For Summary
SUMMARY

This discussion highlights the visibility of software bugs through a video that effectively illustrates the complexities of debugging. It also recounts a real-world incident involving a Digitape electronics module used in a linear servo application, where a reversed increment/decrement switch led to a catastrophic failure. The incident underscores the importance of understanding hardware revisions and their operational parameters. Such experiences emphasize the need for thorough testing and verification in both software and hardware environments.

PREREQUISITES
  • Understanding of software debugging techniques
  • Familiarity with electronics modules and their configurations
  • Knowledge of linear servo systems and their operation
  • Awareness of hardware revision impacts on functionality
NEXT STEPS
  • Research effective software debugging tools and methodologies
  • Explore the functionality and configuration of Digitape electronics modules
  • Study linear servo systems and their operational parameters
  • Investigate best practices for hardware revision management
USEFUL FOR

Software developers, hardware engineers, and quality assurance professionals seeking to enhance their understanding of debugging processes and hardware interactions.

anorlunda
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Messages
11,326
Reaction score
8,754
Most software bugs are so obscure, that only the person who fixes the bug truly understands what went wrong and why. I love this video because it makes bugs marvelously visible.

I can almost imagine the lines of incorrect code, or the unstated incorrect assumptions, or the failures to foresee interactions while watching it. The video may be enjoyable to programmers and non programmers alike.

 
  • Like
Likes   Reactions: Asymptotic, QuantumQuest, berkeman and 1 other person
Technology news on Phys.org
Oops! o0)
 
Nowhere near as graphic or physically destructive, but this is the display on a credit card reader add-on that was recently placed on some of the vending machines in our kitchen area at work. A couple weeks after they were installed on the vending machines, a few of them ended up with scrambled displays (no, we are not in Japan). Would you trust a credit card reader to work for you with a display like that? o0)

PHD Drink Machine Confused.jpg
 

Attachments

  • PHD Drink Machine Confused.jpg
    PHD Drink Machine Confused.jpg
    40.7 KB · Views: 366
  • Like
Likes   Reactions: Asymptotic and anorlunda
Not a coding bug per se, but a "Digitape" with 2 micron resolution and electronics module that emulated quadrature encoder output was used to shuttle a half ton mold base between two work place positions (~ 1.5 seconds per move) with a linear servo. The electronics module had an array of DIP switches to set operational parameters, and the manufacturer had reversed operation of the increment/decrement 'direction' switch from the original to newer hardware revisions.

Didn't know that. The first time it came for the module to be replaced (and after carefully checking DIP switch positions were identical between the pull and new module) the machine was powered up. On the first 'move' command it promptly shot the (fortunately, toolless) permanent magnet table through a Lexan safety window, across a (fortunately, unoccupied) aisle where it came to rest halfway penetrating an adjacent concrete block wall.
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
5K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
Replies
28
Views
8K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K