<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I ought to clarify something I said that was misleading to whomever
read this. I think normally people think of "being in the queue" as
forthcoming momentarily. To myself, it means I am planning to work
on it as soon as the stack is whittled down, being the short-term
task manager. In other words, the stack is short-term, the queue is
medium-term and the pool is long-term. The stack is interruptible,
the queue is one of priority and the pool is re-entrant. I try to
frame my mind to work this way but I didn't want to raise the wrong
expectations through old miscommunication - it's common.<br>
<br>
<br>
regards,<br>
Robert<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/21/2015 04:07 PM, Robert Withers
wrote:<br>
</div>
<blockquote cite="mid:56786A06.7040202@gmail.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Yes, the first step is to write a bunch of tests. You are testing
the math with (a * (1/a)) == 1, a good test. It's in the queue,
especially the multiply, divide and monomials testing, as you
suggest. All of it, not just the outer layer with something this
complex.<br>
<br>
thank you,<br>
Robert<br>
<br>
<div class="moz-cite-prefix">On 12/21/2015 04:01 PM, Nicolas
Cellier wrote:<br>
</div>
<blockquote
cite="mid:CAKnRiT5_GjALN5DgCzsTKAtyu9tHOmEgMW4tHiS4RUS8cNB4Vw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Since GF is all about algebra and arithmetic it
should be possible to write tests and check some
invariants...<br>
</div>
For example, this works with SecureSession-rww.70:<br>
<br>
| gf |<br>
GenericGF xxinitialize.<br>
gf := GenericGF RS_256_A.<br>
1 to: gf size - 1 do: [:a | <br>
self assert: (gf multiply: a scalar: (gf inverse:
a)) = 1]<br>
<br>
</div>
One could test polynom product vs division for example, for
some monomials...<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-12-21 1:19 GMT+01:00 Robert
Withers <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:robert.w.withers@gmail.com" target="_blank">robert.w.withers@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi Nicolas, <br>
<br>
I tried the fixes you suggested (1 and 3) and it still
isn't working. I published tothe repository with these
changes, though the pipeline is broken as I rewire my
skull (intro frames). This will take several days to
complete, I think, although progress is being made. Then
I will be able to turn my full attention back to RS and
Arrays for starters. Please pardon the delay, but I
think frames will bring an advantage, perhaps not
performance but design and flexibility.<br>
<br>
Many thanks for taking a close look at RS,<br>
robert
<div>
<div class="h5"><br>
<br>
<div>On 12/20/2015 12:18 PM, Nicolas Cellier wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>After a first glimpse, I noted these:<br>
<br>
1) GenericGFPoly evaluateAt: does not set
the result in the loop...<br>
</div>
2) why using an OrderedCollection for the
coefficients ? an Array is faster.<br>
</div>
<div> same for exp and log tables of GenericGF<br>
</div>
3) GenericGF>>multiply:scalar: you changed
<= size into < size but shouldn't...<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-12-15 12:30
GMT+01:00 Robert Withers <span dir="ltr"><<a
moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:robert.w.withers@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:robert.w.withers@gmail.com">robert.w.withers@gmail.com</a></a>></span>:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi
all, sticking with the distribution for
discussing Crypto in the base, I am
currently trying to stabilize a port of
Reed-Solomon such that FEC can be added to
SecureSession. I am doing this work in
SecureSession. I just posted an update of
the GenericGF class, with the Java
implementation attached here. <br>
<br>
I need this critical code reviewed and
tested. You need Cryptography and
SecureSession to be included in the
catalog. If you can help me with the
former, I could help with the latter, if
that suits you. Please let me know!<br>
<br>
Please load Cryptography(-Pharo) and
SecureSession.23 for review. <br>
<blockquote>"ported & refactored
GenericGF from the java code. This
includes reindexing from 0 to 1. Having
no tests, hopefully someone can give a
review of this specific class. Where
some tests to be developed at this
scope, that would be stellar."<br>
</blockquote>
<br>
I appreciate.<span><font color="#888888"><br>
<div>-- <br>
<div align="center">. .. .. ^,^
best, robert </div>
</div>
</font></span></div>
<br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
</div>
<span class="HOEnZb"><font color="#888888">
<div>-- <br>
<div align="left">. .. .. ^,^ robert </div>
</div>
</font></span></div>
<br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
. .. ... ^,^ robert
Go Panthers!</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
. .. ... ^,^ robert
Go Panthers!</pre>
</body>
</html>