Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
var r = new Random(new DateTime.now().millisecondsSinceEpoch);
call random_seed (size=k)
allocate (seed(k))
call date_and_time (values=val)
seed = [(173*i**2+4567,i=1,k)]
m = min(8,k)
seed(1:m) = seed(1:m) + val(m:1:-1)
call random_seed (put=seed)
Math.random ()
(setf *random-state* (make-random-state t))
math.randomseed( os.time() )
srand(time());
Randomize;
srand time;
Random.new