Talk:Constrained random points on a circle: Difference between revisions

m (→‎C code: done)
 
(3 intermediate revisions by 2 users not shown)
Line 23:
: You could have a good RNG and yet get exactly 100 points by simply checking for duplicates and continuing until you have 100 points (or alternatively, make a list of all points, random-shuffle it, and take the first 100 items from the resulting list).
: BTW, the revised description isn't quite right: The points don't overlap; you get the ''same'' point several times. --[[User:Ce|Ce]] 16:31, 3 September 2010 (UTC)
 
:: The Algol68 example has 257 points plotted, ... for the life of me, I couldn't find where it restricted the number of points to 100.
 
:: The PL/I example has only 39 points plotted, it's overly restricting the points (choosing a random point, and THEN see it the point is in the annulus).
Am I following the proper protocol for drawing attention to an example's deficiencies, or should I live by the motto: "people in glass houses shouldn't throw stones"? -- [[User:Gerard Schildberger|Gerard Schildberger]] 16:59, 23 April 2012 (UTC)
-- [[User:Gerard Schildberger|Gerard Schildberger]]
 
== How to check the code ==
Line 143 ⟶ 149:
 
<s>The C code logic is incorrect due to its "not choosing same point twice to speed up" idea. I'll mark it so, and if noone wants to do it I'll rewrite it later.</s> Done --[[User:Ledrug|Ledrug]] 20:09, 28 June 2011 (UTC)
 
 
==Main formulae rendered invisible to many browsers by cosmetic edits==
 
Cosmetic edits made to the task page at 07:56, 30 April 2016, including the injection of spaces around expressions in &lt;math&gt; tags, have left the main formulae completely invisible to all browsers which display the graphic file version of formulae rather than processing the MathML (this is, in fact, the majority of browsers). The MediaWiki processor does not currently expect such spaces, and generates syntactically ill-formed HTML if they are introduced. Other aspects of these cosmetic edits may further compound the problem. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 09:12, 21 September 2016 (UTC)
 
: Visibility of formulae now restored by reverting the task description to its state before the inadvertently destructive edit of 07:56, 30 April 2016. (Simply removing redundant white space in &lt;math&gt; tags, and redundantly doubled &lt;big&gt; tags, did not prove enough to restore the visibility of server-side formula graphics in this case) [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 00:32, 16 November 2016 (UTC)
9,655

edits