Re: ecc, error correcting code insertion
> ?? How do you expect to recover from an error reading/writing a
> pipe? You have EAGAIN, and SIGPIPE to catch. Also, a segment
> written to a pipe will never got lost unless the OS is fubar'ed
> or one of the ends has closed the stream in which case, there's
> probably nothing to do about it (except catch SIGPIPE).
I agree with your analysis of the state of the OS. But the poster did
not say what he was wanting it for and was probably not needing it for
a system problem. And actually I can think of several cases where
this would be useful in addition to the bad encryptor example I posted
Let's say I have a packet radio data stream coming into a serial port.
If I can insert FEC (forward error correction) bits into the data
stream at the transmit end then I might be able to extract good data
at the receive end without needing to retransmit the packets. Timing
out and retransmitting packets causes huge performance penalties with
Or you might want to use this in a remote control application. This
might get your commands to your battlebot more reliably than your
opponent's in a EM noisy environment.
Or you might have a document you want to print to be scanned in later.
You can improve the odds of scanning a correct copy by adding FEC at
the input side. Print the code in a book and then export the book.
Scan it in later. Fortunately the need for the PGP OCR project has
I am sure I could think up more examples given a few more moments of
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com