Cymen Vig

Software Craftsman

Day 51: More pairing on Backbone.js, Wai Lee presents his challenge at 8th Light University

More pairing on Backbone.js

Mark and I paired in the morning on the internal project that utilizes Backbone.js. The project split into two and we worked on renaming from name A to B in both source and file and directory names. We used some bash scripting along with find, xargs, rename and sed to make the change. We were able to verify success by running our tests.

We also worked some more on Backbone.js views. When rendering a collection of items it can occasionally be confusing as the child item may need to append to DOM that is not yet attached to the document DOM. I think we’re both starting to understand how Backbone.js works internally which is proving to be useful. The source code to Backbone.js is available in annotated format which is quite useful.

Wai Lee presents his challenge at 8th Light University

Wai Lee presented fountain codes at 8th Light University. Fountain codes can be used as a form of error correction on binary streams. With say 5% overhead on the binary stream one can correct missing portions of the stream. The scheme is typically used in digital video transmission so there is a good chance it is used with ATSC or over the air HDTV in the United States. With this form of error correction, a very slight interference that corrupted a small portion of the binary stream that comprises the encoded video shown on the television can be corrected. This is likely also why it seems like one either has a good digital picture or it’s basically not watchable. Analog television broadcasting degraded more gracefully to the white static that most of us today are familiar with but future generation will only see if a device happens to use a recorded loop of static to show an error condition.

I also wondered during the presentation if Parchive uses fountain codes. According to wikipedia, version 1 uses Reed-Solomon error correction but it doesn’t mention what more recent versions use.