![]() |
Re: Portable, self-contained replacements for RANDOM_STUFF()
Adobe is NOT standard post script, it's a proprietory format which sucks. To view standard post script documents, get these apps from here
http://www.cs.wisc.edu/~ghost/index.htm I just tested the tiny random algo and it seems to work very well. It's supposed to generate a uniform distribution and is at least as good as rand(). |
Re: Portable, self-contained replacements for RANDOM_STUFF()
well, i think Pagemaker has a PostScript import option, and you might look for other programs that can read PostScript as well.
|
Re: Portable, self-contained replacements for RANDOM_STUFF()
k, I'm getting GhostView and GS 8.11 right now. WTF, they weight LESS than the zipped Acrobat Reader and they do so much more !!!
|
Re: Portable, self-contained replacements for RANDOM_STUFF()
lol - corporate software design for you there ;)
|
Re: Portable, self-contained replacements for RANDOM_STUFF()
btw, I liked this book so much I downloaded the whole thing
http://www.ma.utexas.edu/documentation/nr/bookc/ It is not just about random number generation and has a lot of really usefull programming info. |
Re: Portable, self-contained replacements for RANDOM_STUFF()
yes, I was scared off just when I saw that word: "Knuth" ;)
|
Re: Portable, self-contained replacements for RANDOM_STUFF()
Quote:
Of course! The best comes from Austin! |
Re: Portable, self-contained replacements for RANDOM_STUFF()
This may sound stupid, but should I set the seed more than once to ensure a more random result, or is setting it once enough (as in the numbers are random enough)?
|
Re: Portable, self-contained replacements for RANDOM_STUFF()
You set the seed once before using the rand() function for the first time. Note that the same seed always produces the same line of "random" numbers.
|
Re: Portable, self-contained replacements for RANDOM_STUFF()
Alright thanks, I've been doing it the right way then :)
|
All times are GMT +2. The time now is 20:00. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.