( ** Go back to PARENTPAGE ../Tying-Attributes-to-UNIX-urandom-Device.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

Stream from UNIX urandom by tying group attributes to UNIX device

ASPL set variables can have their attributes tied to UNIX devices. In this example, we show how ... When a set variable has its attributes tied to the UNIX urandom device, then it is updated everytime it is sourced.

ASPL 1> P = ggtierandomdevices(grp1,Randg1,points,30)
get in P the 30 random points by streaming them from the UNIX uramdom device

ASPL 2> sleep 1
sleep 1 second

ASPL 3> ?5,1 P
interrogate P in a loop, iterating five times with one second delay between each iteration

ASPL 4> @ P
display the differential group variable P showing all its temporal instances

ASPL 5> gU, @P
show the group union in the differential group variable P

ASPL 6> playsim P
show the dissimilarity rate of change in P

ASPL 7> playchanges P
show the rate of change in P

ASPL 8> intermittentarc 1
set intermittentarc to 1

ASPL 9> playchanges P
show the rate of change in P between all its intermittent temporal changes

ASPL 10> playop gU, P
play the group union operation on P

ASPL 11> ans
print the answer stack

ASPL 12> ggtierandomdevices(points,5,aggregate,1)
run the GG function ggtierandomdevices() to gather five points

ASPL 13> ans
print the answer stack

ASPL 14> jF 1
set jF flag to 1, so GG function can go verbose

ASPL 15> ggtierandomdevices(points,5,aggregate,1)
run the GG function ggtierandomdevices() to gather five points

ASPL 16> bye