What it is and why you should always steer clear of programmers sitting at their desk talking to rubber ducks or other little toys.
Rubber duck coding method.
Vlog 46 today i cover rubber duck debugging.
It is precisely this that makes rubber duck debugging effective.
The name is a reference to a story in the book the pragmatic programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it line by line to the duck.
Place rubber duck on desk and inform it you are just going to go over some code with it if that s all right.
The rubber duck debugging method is as follows.
Rubber duck problem solving.
If you don t have a coding buddy but you totally should you can leverage the rubber duck problem solving technique to figure out problems all by yourself or with the benefit of the greater internet community.
While it appears to be an innocuous usb thumb drive when it is plugged into a computer it instead registers itself as a usb keyboard on the system and fires off a keystroke payload at lightning speed.
The act of speaking out loud forces you to slow down and be more precise and thoughtful in your explanations.
Many other terms exist for this technique often involving different usually inanimate objects or pets.
Suddenly you think differently than you were in that rut of brokenness.
Suddenly your perspective is different.
Beg borrow steal buy fabricate or otherwise obtain a rubber duck bathtub variety.
For usb rubber ducky there is a whole website with a friendly interface which lets you create any scripts for your device online.
The usb rubber ducky is an awesome device for penetration testing and general mischief.
The psychological shift outside of yourself and into the rubber ducky changes everything.
After all the rubber duck doesn t know what you know.
At stack exchange.
And that s super important.
In software engineering rubber duck debugging is a method of debugging code.
Fortunately ducky scripts may be converted into binary to embed them then into firmware.
Onward to bigger problems.
This is in addition to the list of finished scripts which are available on the project s github.