Hi Mark,

Factor was not designed with multiuser Windows systems in mind. It would be
best to have each user install their own copy of Factor in their home
directory. We could try to fix all of the problems for .98 if make a list
of them in an issue on github.

For the second issue, are you using .96 or the latest download? Factor .96
initialized the Mersenne Twister PRNG with a number from the system PRNG.
Lately, it's been changed to initialized from the ``nano-count`` word and
the latest Win64 download contains the new code. However, we still
initialize a system PRNG and a secure PRNG, but those are supposed to
initialize to ``f`` if the system calls fail. We don't explicitly create
keys, the system calls do that I guess.

The code is at
https://github.com/slavapestov/factor/blob/master/basis/random/windows/windows.factor
if you have any suggestions on what to change.

I would love to fix any problems you find as the course progresses if you
decide to teach Factor.

Cheers,
Doug


On Tue, Aug 19, 2014 at 9:37 AM, Mark Green <m...@antelope.nildram.co.uk>
wrote:

> Hi,
>
> I am considering introducing Factor to students as an example of a
> concatenative language, but I am having some problems with the way Factor
> is set up which make it very hard to deploy onto a Windows network such as
> the one we use.
>
> 1. Factor's default work directory is a subdirectory of its install
> directory which normally would not be writable for users. Although work
> directories can be added it seems that the default cannot be changed
> permanently. Is there a way to alter the default work directly?
>
> 2. As Factor starts up it generates an encryption key and saves it to the
> All Users profile (I'd really like to know why it is doing this!). However
> it does not actually set the ACL to give all users access to the file, and
> if Factor is started by a user who cannot access this file it immediately
> halts. Is there a way to prevent this and why is Factor doing it anyway?
>
> Mark Green
> m...@antelope.nildram.co.uk
>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to