Re:The greatest bug I never fixed (2010)
by Serow225 on Wednesday May 21, 2014 @12:48PM
(#7779230)
For detection, have the receiver echo back and check that sent == received.
[ Parent
| on HN ]
Re:The greatest bug I never fixed (2010)
by wingerlang on Wednesday May 21, 2014 @01:06PM
(#7779361)
But if the reciever echoes "sho" (drunken "so") that would just be "sho" again wouldn't it?
Server sends 'so'
Receiver receives 'sho'
Receiver sends back 'sho'
Sender receives 'sho', compares it to the 'so' it thought it sent, and correctly deduces something went wrong in the communication.
But what if both are drunk?!
If the drunk transformation is 's' -> 'sh'
Sender sends 's'
Receiver receives 'sh'
Receiver sends back 'sh'
Sender receives 'shh', compares it to the 's' it thought it sent, and correctly deduces something went wrong in the communication.
It is overzealous in that it would fail if the sender wasn't drunk but the receiver was.