<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Choosing Random Numbers</title>
	<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers</link>
	<description>Luck is the residue of good design.</description>
	<pubDate>Tue, 06 Jan 2009 15:30:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-89494</link>
		<pubDate>Mon, 08 Oct 2007 18:37:15 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-89494</guid>
					<description>Tim,

You're welcome!  :)  Glad to help.</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>You&#8217;re welcome!  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Glad to help.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tim</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-89384</link>
		<pubDate>Mon, 08 Oct 2007 15:38:54 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-89384</guid>
					<description>Yes, thanks for taking the time to write this. I wrote a yahtzee game using math.round and I noticed 1's and 6's were hard to get, and thus the distribution at the upper and lower bounds of my range were 1/2 as likely to occur.

Thanks for all the contributions!!!</description>
		<content:encoded><![CDATA[<p>Yes, thanks for taking the time to write this. I wrote a yahtzee game using math.round and I noticed 1&#8217;s and 6&#8217;s were hard to get, and thus the distribution at the upper and lower bounds of my range were 1/2 as likely to occur.</p>
<p>Thanks for all the contributions!!!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: NSurveyor</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-75138</link>
		<pubDate>Thu, 23 Aug 2007 23:39:48 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-75138</guid>
					<description>I think I know what Gs is getting at.

I recall in True BASIC, if you tried using random calls without &quot;randomize&quot; you would get the same numbers every time you ran the program.

When you think about it, how is it possible to generate a truly random number? AFAIK, they aren't... rather they are pseudorandom numbers. I believe the algorithm uses a timer and some complex mathemetical formula. 

If for example, the &quot;mathematical formula&quot; were a simply a polynomial, then we can determine the polynomial and all subsequent &quot;random&quot; numbers, given one more than the degree of the polynomical. Example, if random tells us f(0) = 2, f(1) = 3, f(2) = 6, we can determine that f(x) = x^2+2, assuming we are dealing with a 2nd degree polynomial. And then generate the random numbers manually.

But anyways, I think the algorithm would be too complex to foretell the random numbers, nor would there ever be an opportunity to exploit it.</description>
		<content:encoded><![CDATA[<p>I think I know what Gs is getting at.</p>
<p>I recall in True BASIC, if you tried using random calls without &#8220;randomize&#8221; you would get the same numbers every time you ran the program.</p>
<p>When you think about it, how is it possible to generate a truly random number? AFAIK, they aren&#8217;t&#8230; rather they are pseudorandom numbers. I believe the algorithm uses a timer and some complex mathemetical formula. </p>
<p>If for example, the &#8220;mathematical formula&#8221; were a simply a polynomial, then we can determine the polynomial and all subsequent &#8220;random&#8221; numbers, given one more than the degree of the polynomical. Example, if random tells us f(0) = 2, f(1) = 3, f(2) = 6, we can determine that f(x) = x^2+2, assuming we are dealing with a 2nd degree polynomial. And then generate the random numbers manually.</p>
<p>But anyways, I think the algorithm would be too complex to foretell the random numbers, nor would there ever be an opportunity to exploit it.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-17361</link>
		<pubDate>Fri, 09 Feb 2007 18:56:42 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-17361</guid>
					<description>Gs,

&lt;blockquote&gt;Yeah Next five numbers also random number between 1 to 100…but what are that possible numbers…&lt;/blockquote&gt;

Didn't we cover this?  ;)

&lt;blockquote&gt;Is there any equation or formula to find next 5 numbers by calculating or using given five numbers…&lt;/blockquote&gt;

Sure.  :)  If you can think of an equation to generate a &lt;em&gt;specific sequence&lt;/em&gt; of numbers, it can almost certainly be codified in ActionScript 2.0.  But by definition, then, the sequence wouldn't be random, so maybe I'm misunderstanding your question.</description>
		<content:encoded><![CDATA[<p>Gs,</p>
<blockquote><p>Yeah Next five numbers also random number between 1 to 100…but what are that possible numbers…</p></blockquote>
<p>Didn&#8217;t we cover this?  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<blockquote><p>Is there any equation or formula to find next 5 numbers by calculating or using given five numbers…</p></blockquote>
<p>Sure.  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   If you can think of an equation to generate a <em>specific sequence</em> of numbers, it can almost certainly be codified in ActionScript 2.0.  But by definition, then, the sequence wouldn&#8217;t be random, so maybe I&#8217;m misunderstanding your question.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gs</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-17360</link>
		<pubDate>Fri, 09 Feb 2007 18:53:05 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-17360</guid>
					<description>David,

Yeah Next five numbers also random number between 1 to 100...but 
what are that possible numbers...
Is there any equation or formula to find next 5 numbers by calculating 
or using given five numbers...</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Yeah Next five numbers also random number between 1 to 100&#8230;but<br />
what are that possible numbers&#8230;<br />
Is there any equation or formula to find next 5 numbers by calculating<br />
or using given five numbers&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-17311</link>
		<pubDate>Fri, 09 Feb 2007 14:16:11 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-17311</guid>
					<description>Gs,

If the next five numbers are random, then they would be five numbers between (or including) 1 and 100.</description>
		<content:encoded><![CDATA[<p>Gs,</p>
<p>If the next five numbers are random, then they would be five numbers between (or including) 1 and 100.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gs</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-17253</link>
		<pubDate>Fri, 09 Feb 2007 07:10:18 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-17253</guid>
					<description>Suppose, If my first five numbers are 88,73,95,68,55 Between 1 to 100.
What will be possible next 5 numbers for me…..??</description>
		<content:encoded><![CDATA[<p>Suppose, If my first five numbers are 88,73,95,68,55 Between 1 to 100.<br />
What will be possible next 5 numbers for me…..??
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-3823</link>
		<pubDate>Sun, 15 Oct 2006 16:28:51 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-3823</guid>
					<description>Denis,

Thanks!  Glad to hear you enjoy the content.  In the case of this particular article, make sure you read the &lt;a href=&quot;http://www.quip.net/blog/2006/flash/choosing-random-numbers-redux&quot; target=&quot;_blank&quot;&gt;updated companion piece&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Denis,</p>
<p>Thanks!  Glad to hear you enjoy the content.  In the case of this particular article, make sure you read the <a href="http://www.quip.net/blog/2006/flash/choosing-random-numbers-redux" target="_blank">updated companion piece</a>.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Denis Ivanov</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-3813</link>
		<pubDate>Sun, 15 Oct 2006 01:28:25 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-3813</guid>
					<description>This has been infinitely helpful, I thoroughly appreciate both your efforts. I am  just sure a lot more of us starting web developers applaud bits like this, so I express this on behalf of all those who didn't have time to.

Thank You.</description>
		<content:encoded><![CDATA[<p>This has been infinitely helpful, I thoroughly appreciate both your efforts. I am  just sure a lot more of us starting web developers applaud bits like this, so I express this on behalf of all those who didn&#8217;t have time to.</p>
<p>Thank You.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-3455</link>
		<pubDate>Thu, 05 Oct 2006 05:50:24 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/choosing-random-numbers#comment-3455</guid>
					<description>NSurveyor,

Ahh, man!  Thank you.  :-D  For real, thanks for that input!  As soon as I hit the Publish button on this post, a thought flitted across my brain.  The thought said, &quot;Hey, wait a minute ... the lowest and highest numbers are only half as likely to be chosen ...&quot; &amp;#8212; and you've already pointed out the issue in detail, as well as the correction.

I hate to admit it, but I was simply too tired (yes, even at 9PM!) to go back and rethink/rewrite the post.  But I should have.  You're absolutely right.

Humble pie makes a good meal.</description>
		<content:encoded><![CDATA[<p>NSurveyor,</p>
<p>Ahh, man!  Thank you.  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />   For real, thanks for that input!  As soon as I hit the Publish button on this post, a thought flitted across my brain.  The thought said, &#8220;Hey, wait a minute &#8230; the lowest and highest numbers are only half as likely to be chosen &#8230;&#8221; &mdash; and you&#8217;ve already pointed out the issue in detail, as well as the correction.</p>
<p>I hate to admit it, but I was simply too tired (yes, even at 9PM!) to go back and rethink/rewrite the post.  But I should have.  You&#8217;re absolutely right.</p>
<p>Humble pie makes a good meal.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
