/ Hathaway Weblog / Reed-Solomon Python Extension

Shane :: Python :: March 15, 2005 # Reed-Solomon Python Extension

I just put together and released a Reed-Solomon Python extension module. Reed-Solomon is a forward error correction (FEC) encoding method. RS encoding adds efficient redundancy that allows you to recover from data transmission or storage errors.

Only a few weeks ago, I was under the impression that all error correction technology was either extremely application-specific or shrouded by patents. It turns out that RS coding is common and simple to use. It was invented 45 years ago, so any patents are probably expired.

I also studied other FEC methods. Some are probably covered by patents. Some are faster, but less predictable. The failure tolerance for RS codes is a simple equation. Given these factors, I decided RS coding was the best way to get started.

I'm pretty happy with how the module turned out. As I wrote the tutorial on how to use the module (see README.txt), I discovered it was hard to explain some of the details. In most cases, rather than agonize over wordsmithing, I simply changed the code to make it easier to explain. This seems to happen every time I write a tutorial. Writing a tutorial, as agonizing as it can be, seems to be an excellent way to improve code.

Hopefully, others will also find the module useful.

No further comments may be added.

2 Thessalonians 2:1-3 (Click below to fill in the blanks.)
Your browser is not able to display the scripture fill-in program. To see it, enable Javascript or use Mozilla 1.0 or better.

Church: lds scriptures provident games pearls kzion shiblon film chancellor gateway cumorah byutv happiness nephi
Zope: freezope org com zen labs newbies zettai warnes
Python: home pyzine daily icanprogram
Genealogy: cyndi
Weblogs: jeffrey paul jon joel another-shane guido barry jeremy windley chrism zac
News: quakes lwn dc weather deseret zeitgeist softwarelivre
Zaurus: software developer
Tech: tango spintronics thin
Semantic: aaron sean
Reference: css rdf html4 javascript geckodom iecss emacs phrases acronyms
Reverse: advogato slashdot
Misc: gimp-savvy directory soda jokes shouldexist pdphoto