Paste: weird random behavior

Author: darrint
Mode: factor
Date: Thu, 21 May 2009 01:41:25
Plain Text |
$ ./factor.com 
( scratchpad ) USE: random
Loading resource:basis/random/random.factor
Loading resource:basis/random/windows/windows.factor
Loading resource:basis/windows/advapi32/advapi32.factor
before system generator
after system generator
before secure generator
after secure generator
done
Loading resource:basis/random/mersenne-twister/mersenne-twister.factor
Loading resource:basis/specialized-arrays/uint/uint.factor
Loading resource:basis/specialized-arrays/functor/functor.factor
1: USE: random
              ^
The system cannot find the file specified.

Type :help for debugging help.
( scratchpad ) 

Annotation: stack

Author: darrint
Mode: factor
Date: Thu, 21 May 2009 01:47:43
Plain Text |
M\ vocab (load-vocab)
load-source
add-init-hook
[
    [ 32 random-bits ] with-system-random
    -> <mersenne-twister> random-generator set-global
]
[ swap >n call -> ndrop ]
random-integer
M\ windows-rng random-bytes*
windows-crypto-context
attempt-crypto-context
create-crypto-context
(win32-error)
[
    63 getenv error-thread set-global
    continuation -> error-continuation set-global rethrow
]

New Annotation

Summary:
Author:
Mode:
Body: