.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   Portable, self-contained replacements for RANDOM_STUFF() (http://forums.bots-united.com/showthread.php?t=244)

botmeister 08-01-2004 04:17

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().

dav 08-01-2004 04:20

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.

Pierre-Marie Baty 08-01-2004 05:00

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 !!!

dav 08-01-2004 05:04

Re: Portable, self-contained replacements for RANDOM_STUFF()
 
lol - corporate software design for you there ;)

botmeister 08-01-2004 08:22

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.

Pierre-Marie Baty 08-01-2004 08:37

Re: Portable, self-contained replacements for RANDOM_STUFF()
 
yes, I was scared off just when I saw that word: "Knuth" ;)

Austin 08-01-2004 09:07

Re: Portable, self-contained replacements for RANDOM_STUFF()
 
Quote:

Originally Posted by botmeister
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.

utexas.edu ??

Of course!
The best comes from Austin!

Bert 08-01-2004 13:11

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)?

Killaruna 08-01-2004 14:03

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.

Bert 08-01-2004 14:23

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.