Re: bar code bit encoding

From: David Mertz <voting-project_at_gnosis_dot_cx>
Date: Tue Sep 16 2003 - 01:45:17 CDT

Jan Karrman <jan@it.uu.se> wrote:
|I don't understand why we should store data in bytes or nibbles.
|Why not store each individual bit as an element in a vector?

See my example recently. If we align on nibbles--or really on digits
for Code128--then during debugging we can recognize quickly, for
example, that digit #17-19 encode the vote in contest #6. It's a lot
quicker and more direct to figure out if and why those digits aren't
getting the right values.

Programmers find it really easy to read decimal digits, but not so easy
to read bits (especially when those bits have an indirect relationship
to the encoded digits).

That said, I don't really care that much. If anyone simply writes a
'votes2digits()' function that does something consistent and
interpretible... I'll happily accept the working code, no matter what
encoding is used (see the "What we need right away" note).

All the best, David (gone for a week in 11 hours)...

--
 mertz@  _/_/_/_/ THIS MESSAGE WAS BROUGHT TO YOU BY: \_\_\_\_    n o
gnosis  _/_/             Postmodern Enterprises            \_\_
.cx    _/_/                                                 \_\_  d o
      _/_/_/ IN A WORLD W/O WALLS, THERE WOULD BE NO GATES \_\_\_ z e
==================================================================
= The content of this message, with the exception of any external 
= quotations under fair use, are released to the Public Domain    
==================================================================
Received on Tue Sep 30 23:17:06 2003

This archive was generated by hypermail 2.1.8 : Tue Sep 30 2003 - 23:17:09 CDT