<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: “Banners, Google and Anguish” or “No random numbers please, we’re Google.”</title>
	<atom:link href="http://blog.vandenoostende.com/2009/%e2%80%9cbanners-google-and-anguish%e2%80%9d-or-%e2%80%9cno-random-numbers-please-we%e2%80%99re-google%e2%80%9d/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vandenoostende.com/2009/%e2%80%9cbanners-google-and-anguish%e2%80%9d-or-%e2%80%9cno-random-numbers-please-we%e2%80%99re-google%e2%80%9d/</link>
	<description>My blog</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:52:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Joeri</title>
		<link>http://blog.vandenoostende.com/2009/%e2%80%9cbanners-google-and-anguish%e2%80%9d-or-%e2%80%9cno-random-numbers-please-we%e2%80%99re-google%e2%80%9d/comment-page-1/#comment-500</link>
		<dc:creator>Joeri</dc:creator>
		<pubDate>Tue, 19 Oct 2010 08:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenoostende.com/?p=4#comment-500</guid>
		<description>&quot; The policy of no random numbers, I would say, is more for consistency and quality assurance rather than a security issue. &quot;

So a dice has more quality if we know the sequence it&#039;s producing?
Weird point of view. 


Anyway...
But I&#039;d go for a random number table and pick a number by time.
Here&#039;s one: http://stattrek.com/Tables/Random.aspx</description>
		<content:encoded><![CDATA[<p>&#8221; The policy of no random numbers, I would say, is more for consistency and quality assurance rather than a security issue. &#8221;</p>
<p>So a dice has more quality if we know the sequence it&#8217;s producing?<br />
Weird point of view. </p>
<p>Anyway&#8230;<br />
But I&#8217;d go for a random number table and pick a number by time.<br />
Here&#8217;s one: <a href="http://stattrek.com/Tables/Random.aspx" rel="nofollow">http://stattrek.com/Tables/Random.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Kawa</title>
		<link>http://blog.vandenoostende.com/2009/%e2%80%9cbanners-google-and-anguish%e2%80%9d-or-%e2%80%9cno-random-numbers-please-we%e2%80%99re-google%e2%80%9d/comment-page-1/#comment-480</link>
		<dc:creator>Daniel Kawa</dc:creator>
		<pubDate>Tue, 05 Oct 2010 15:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenoostende.com/?p=4#comment-480</guid>
		<description>Managed to find the problem, making a quick search in caurina/transitions/Tweener.as for &quot;Math.random&quot; and I found this line:

var randomDepth:Number = Math.floor(Math.random() * 999999);

Change to:

var randomDepth:Number = Math.floor(1 * 999999);

And it works...</description>
		<content:encoded><![CDATA[<p>Managed to find the problem, making a quick search in caurina/transitions/Tweener.as for &#8220;Math.random&#8221; and I found this line:</p>
<p>var randomDepth:Number = Math.floor(Math.random() * 999999);</p>
<p>Change to:</p>
<p>var randomDepth:Number = Math.floor(1 * 999999);</p>
<p>And it works&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gillesv</title>
		<link>http://blog.vandenoostende.com/2009/%e2%80%9cbanners-google-and-anguish%e2%80%9d-or-%e2%80%9cno-random-numbers-please-we%e2%80%99re-google%e2%80%9d/comment-page-1/#comment-188</link>
		<dc:creator>Gillesv</dc:creator>
		<pubDate>Thu, 08 Apr 2010 07:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenoostende.com/?p=4#comment-188</guid>
		<description>Hey Leland, thanks for commenting.

Yeah, it&#039;s a bullshit measure, but if you like Tweener, you should check out TweenLite/TweenMax. It&#039;s got a very similar API to Tweener, is also AS2/AS3 compatible, is smaller (4KB when compiled) AND outperforms Tweener.</description>
		<content:encoded><![CDATA[<p>Hey Leland, thanks for commenting.</p>
<p>Yeah, it&#8217;s a bullshit measure, but if you like Tweener, you should check out TweenLite/TweenMax. It&#8217;s got a very similar API to Tweener, is also AS2/AS3 compatible, is smaller (4KB when compiled) AND outperforms Tweener.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leland Hodgkins</title>
		<link>http://blog.vandenoostende.com/2009/%e2%80%9cbanners-google-and-anguish%e2%80%9d-or-%e2%80%9cno-random-numbers-please-we%e2%80%99re-google%e2%80%9d/comment-page-1/#comment-156</link>
		<dc:creator>Leland Hodgkins</dc:creator>
		<pubDate>Wed, 10 Mar 2010 03:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenoostende.com/?p=4#comment-156</guid>
		<description>I&#039;m also experiencing the &quot;random number&quot; rejection message on loading my swf into AdWords, and through trial and error I believe I&#039;ve narrowed it down to the use of the caurina Tweener class in - specifically the initial import command (import caurina.transitions.Tweener) at the top of my script. Even if I don&#039;t actually call a property like addTween anywhere in the script, adWords will reject the ad.

I checked the Tweener.as file and found Math.random used ONCE in a PRIVATE function. Really? Is this what&#039;s breaking my ad? I can&#039;t believe Google would prevent flash dev using the gloriously useful caurina Tweener class. I use it for all kinds of non-ad work, in both AS2/3, and I&#039;m flabbergasted that Google won&#039;t let me use this powerful tool in banner ad work. Any ideas for a workaround that doesn&#039;t involve abandoning caurina? Or worse, reverting to flashmxTween? (Or worse - timeline tweens - come on Google...)</description>
		<content:encoded><![CDATA[<p>I&#8217;m also experiencing the &#8220;random number&#8221; rejection message on loading my swf into AdWords, and through trial and error I believe I&#8217;ve narrowed it down to the use of the caurina Tweener class in &#8211; specifically the initial import command (import caurina.transitions.Tweener) at the top of my script. Even if I don&#8217;t actually call a property like addTween anywhere in the script, adWords will reject the ad.</p>
<p>I checked the Tweener.as file and found Math.random used ONCE in a PRIVATE function. Really? Is this what&#8217;s breaking my ad? I can&#8217;t believe Google would prevent flash dev using the gloriously useful caurina Tweener class. I use it for all kinds of non-ad work, in both AS2/3, and I&#8217;m flabbergasted that Google won&#8217;t let me use this powerful tool in banner ad work. Any ideas for a workaround that doesn&#8217;t involve abandoning caurina? Or worse, reverting to flashmxTween? (Or worse &#8211; timeline tweens &#8211; come on Google&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Love</title>
		<link>http://blog.vandenoostende.com/2009/%e2%80%9cbanners-google-and-anguish%e2%80%9d-or-%e2%80%9cno-random-numbers-please-we%e2%80%99re-google%e2%80%9d/comment-page-1/#comment-56</link>
		<dc:creator>Daniel Love</dc:creator>
		<pubDate>Mon, 24 Aug 2009 12:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenoostende.com/?p=4#comment-56</guid>
		<description>The policy of no random numbers, I would say, is more for consistency and quality assurance rather than a security issue.
If your code produces a random affect, then Google, or Central in this case, cannot ensure your advert will not break the end-users experience.

Completely understand from both points of view, as an advertiser you want to be able to produce an advert to sell the product/service to the end user, if that is via a unique, or time sensitive experience, then so be it.
Unfortunately, Google/Central has to put their name to the advert via the &quot;Ads by Google&quot;, or a similar tag line, therefore they don&#039;t want to take any chances whereby an Advert might explode and leave a bad impression of Google Adverts in the end-users mind.</description>
		<content:encoded><![CDATA[<p>The policy of no random numbers, I would say, is more for consistency and quality assurance rather than a security issue.<br />
If your code produces a random affect, then Google, or Central in this case, cannot ensure your advert will not break the end-users experience.</p>
<p>Completely understand from both points of view, as an advertiser you want to be able to produce an advert to sell the product/service to the end user, if that is via a unique, or time sensitive experience, then so be it.<br />
Unfortunately, Google/Central has to put their name to the advert via the &#8220;Ads by Google&#8221;, or a similar tag line, therefore they don&#8217;t want to take any chances whereby an Advert might explode and leave a bad impression of Google Adverts in the end-users mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerome</title>
		<link>http://blog.vandenoostende.com/2009/%e2%80%9cbanners-google-and-anguish%e2%80%9d-or-%e2%80%9cno-random-numbers-please-we%e2%80%99re-google%e2%80%9d/comment-page-1/#comment-35</link>
		<dc:creator>Jerome</dc:creator>
		<pubDate>Wed, 22 Jul 2009 13:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vandenoostende.com/?p=4#comment-35</guid>
		<description>Hello,

Had the same issue today. Math.random() * (max - min) + min; was rejected. I re-submitted using date.getMilliseconds()%(max - min) + min;

Fingers crossed, I&#039;ll let you know if that worked!

Cheers,

JJ.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Had the same issue today. Math.random() * (max &#8211; min) + min; was rejected. I re-submitted using date.getMilliseconds()%(max &#8211; min) + min;</p>
<p>Fingers crossed, I&#8217;ll let you know if that worked!</p>
<p>Cheers,</p>
<p>JJ.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 1/10 queries in 0.021 seconds using disk
Object Caching 236/240 objects using disk

Served from: blog.vandenoostende.com @ 2012-02-06 14:27:18 -->
