[sf-lug] Ex 11.7 Exponentiation (understandable) & RSA algorithm (not so!)
jim
jim at well.com
Mon Jan 12 21:12:04 PST 2009
we had a quiet little python get-together this
evening. i came up with the quaint idea of creating
some broken python programs for newcomers to fix.
i'm thinking one program covering basics of two
or three chapters for a total of maybe five or so
programs.
typos are easy to invent, likewise notational
errors (e.g. = vs == and [] vs () and so on). more
difficult are semantic errors: it's easy for me to
be a ditz, but not predictable; it's not easy for
me to imagine what a ditz would do to write valid
code that hangs or is otherwise errant (i can do it,
just not on command).
next monday is sf-lug meeting night (as well as
MLK's b'day).
On Mon, 2009-01-12 at 20:40 -0800, Asheesh Laroia wrote:
> On Mon, 12 Jan 2009, jim wrote:
>
> >
> > i assume the crazy world of mod, which is
> > not an operator, is part of integer-land.
> > extrapolating, i take it that 3 * 8 is 2.
>
> (in mod 11)
>
> > if the above is correct, maybe i get it.
>
> You do get it.
>
> -- Asheesh.
>
More information about the sf-lug
mailing list