Things learned today.
Melting plastic with a soldering iron at 9:45 am causes people to say "what's burning?" in unison.
this c code:
int byte, a, n;
a = (byte >> n) && 0x01;
will not correctly set a to the n'th bit of the byte.
(hint: & is the binary and operator, && is the logical and operator.)
Nobody at Shure complains if a software guy and an intern spend an entire day trying to debug an analog circuit.
John Halverson can calculate the 3dB point of a simple RC filter in his head to within 4%.
Making a garden hose combiner requires: a length of hose, one splitter, and two female hose terminations, no males are required. Oops.
this c code:
int byte, a, n;
a = (byte >> n) && 0x01;
will not correctly set a to the n'th bit of the byte.
(hint: & is the binary and operator, && is the logical and operator.)
Nobody at Shure complains if a software guy and an intern spend an entire day trying to debug an analog circuit.
John Halverson can calculate the 3dB point of a simple RC filter in his head to within 4%.
Making a garden hose combiner requires: a length of hose, one splitter, and two female hose terminations, no males are required. Oops.
1 Comments:
This comment has been removed by a blog administrator.
Post a Comment
<< Home