So I do some posting on Yahoo! Answers under the programming and design section in my spare time. Here is a summary of this mornings question/answer message
Y! Answers Question: How can I write a program to do <whatever>
Me: What language are you going to use?
Y! Answers person: English
Me: <facepalm>
This was to good not to share
Moderator: Mod Squad
-
- Posts: 45
- Joined: Mon Mar 23, 2009 8:37 pm
- Location: Alabama
- Contact:
This was to good not to share
www.quest-ware.net
GreaterMUD & MajorMUD Utilities for users and sysops/mudops
http://www.gigamud.com
The NEW Megamud Project by Merlin (Author of MegaMUD)
http://www.greatermud.com
The Future of MajorMUD
GreaterMUD & MajorMUD Utilities for users and sysops/mudops
http://www.gigamud.com
The NEW Megamud Project by Merlin (Author of MegaMUD)
http://www.greatermud.com
The Future of MajorMUD
Re: This was to good not to share
hey you any good with c psuedo number generation? and i mean truew generation too, i can seed srand all day based on the seconds but if im generating say 5-6 numbers within the same seconds of the minute they replicate.Gardner Denver wrote:So I do some posting on Yahoo! Answers under the programming and design section in my spare time. Here is a summary of this mornings question/answer message
Y! Answers Question: How can I write a program to do <whatever>
Me: What language are you going to use?
Y! Answers person: English
Me: <facepalm>
-
- Posts: 45
- Joined: Mon Mar 23, 2009 8:37 pm
- Location: Alabama
- Contact:
Re: This was to good not to share
Sorry for the delay in replying, things have been kind of hectic for me here. Normally when I need to do this I will create a timer and start the timer before I generate the first number. Then as part of my seed I will include the current value of the timer combined with the current date/time with a 5ms delay between number generation. That always provides me with a unique seed.dspain wrote: hey you any good with c psuedo number generation? and i mean truew generation too, i can seed srand all day based on the seconds but if im generating say 5-6 numbers within the same seconds of the minute they replicate.
www.quest-ware.net
GreaterMUD & MajorMUD Utilities for users and sysops/mudops
http://www.gigamud.com
The NEW Megamud Project by Merlin (Author of MegaMUD)
http://www.greatermud.com
The Future of MajorMUD
GreaterMUD & MajorMUD Utilities for users and sysops/mudops
http://www.gigamud.com
The NEW Megamud Project by Merlin (Author of MegaMUD)
http://www.greatermud.com
The Future of MajorMUD
Re: This was to good not to share
yeah my newest seems to have really good generation, thats pretty 'random'Gardner Denver wrote:Sorry for the delay in replying, things have been kind of hectic for me here. Normally when I need to do this I will create a timer and start the timer before I generate the first number. Then as part of my seed I will include the current value of the timer combined with the current date/time with a 5ms delay between number generation. That always provides me with a unique seed.dspain wrote: hey you any good with c psuedo number generation? and i mean truew generation too, i can seed srand all day based on the seconds but if im generating say 5-6 numbers within the same seconds of the minute they replicate.
before it was alot of lows and now enough mids or highs.