<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blue Topaz Games</title>
	<atom:link href="http://www.bluetopazgames.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bluetopazgames.com</link>
	<description>A developers blog.</description>
	<lastBuildDate>Sun, 11 Mar 2012 15:15:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Switching to Oauth 2.0 on facebook</title>
		<link>http://www.bluetopazgames.com/coding/php/switching-to-oauth-2-0-on-facebook/</link>
		<comments>http://www.bluetopazgames.com/coding/php/switching-to-oauth-2-0-on-facebook/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 15:15:37 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=540</guid>
		<description><![CDATA[So yeah maybe this post is a little late. Facebook deprecated fbml ages ago. I finally had to get around to switching over to Oauth 2.0 since the application I wrote broke down once again. However switching to Oauth 2.0 on facebook isn&#8217;t all that obvious. The examples often don&#8217;t work. Here&#8217;s one of the [...]]]></description>
			<content:encoded><![CDATA[<p>So yeah maybe this post is a little late. Facebook deprecated fbml ages ago. I finally had to get around to<br />
switching over to Oauth 2.0 since the application I wrote broke down once again.<br />
However switching to Oauth 2.0 on facebook isn&#8217;t all that obvious. The examples often don&#8217;t work.<br />
Here&#8217;s one of the bigger issues.</p>
<p><a href='http://stackoverflow.com/questions/6301750/facebook-app-via-php-sdk-redirecting-back-to-page-where-someone-added-my-app-a'> Dealing with redirects for Oauth. </a></p>
<pre>		$app_id = "133713371337";
		$app_secret = "iamsecretsoicanttellyou";   

		$cfg_array = array(
		    'appId' => $app_id,
		    'secret' => $this->appsecret,
		);

		$facebook = new Facebook($cfg_array);
		$user_id = $facebook->getUser();

		if( $user_id == 0 || !isset( $user_id ) )
		{
			$login_url = $facebook->getLoginUrl(array( 'canvas' => 1,
			                                           'fbconnect' => 0,
			                                           'scope' => 'email,user_birthday,publish_actions,publish_stream',
			                                           'redirect_uri' => $config->app_url ));

			echo"&lt;script&gt; top.location.href='$login_url'; &lt;/script&gt;";
			echo "&lt;fb:redirect url=\"$login_url\"&gt;&lt;/fb:redirect&gt;";
			exit;
		}</pre>
<p>This is as clean and simple as I could make the code. Originally I was doing the redirect_uri myself based on certain $_REQUEST params that facebook sends your app such as &#8220;code&#8221; &#8220;ref&#8221;.</p>
<p>Next up is going to be the facebook dialogs.<br />
<a href='http://developers.facebook.com/docs/fbjs/'>http://developers.facebook.com/docs/fbjs/</a></p>
<blockquote><p>We are deprecating FBJS. On Jan 1, 2012: FBJS will no longer be supported on Platform. June 1, 2012: FBJS apps will no longer work. All FBJS endpoints are removed. If you are building a new app on Facebook.com, please implement your app using HTML, JavaScript and CSS.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/coding/php/switching-to-oauth-2-0-on-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP base_convert</title>
		<link>http://www.bluetopazgames.com/uncategorized/php-base_convert/</link>
		<comments>http://www.bluetopazgames.com/uncategorized/php-base_convert/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 22:25:25 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=520</guid>
		<description><![CDATA[I wrote a simple tool to visualize numbers in different bases to help solve a math problem I was thinking about the other day. It uses PHP. click here to use &#60;html&#62; &#60;head&#62; &#60;/head&#62; &#60;body&#62; &#60;h1&#62; Convert numbers &#60;/h1&#62; Use this form to convert numbers between different bases. &#60;br/&#62; This can be useful for visualizating [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a simple tool to visualize numbers in different bases to help solve a math problem I was thinking about<br />
the other day. It uses PHP.<br />
<a href='/base_convert.php'> click here to use </a></p>
<p><b-quote><br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;h1&gt; Convert numbers &lt;/h1&gt;<br />
Use this form to convert numbers between different bases. &lt;br/&gt;<br />
This can be useful for visualizating numbers in different bases. &lt;br/&gt;</p>
<p>&lt;form&gt;<br />
Input base number:&lt;br/&gt;<br />
&lt;input type=&#8221;text&#8221; name=&#8221;base_in&#8221; value=&#8221;10&#8243;/&gt;&lt;br/&gt;<br />
Numbers To Convert (1 per line)&lt;br/&gt;<br />
&lt;textarea name=&#8221;input_data&#8221; rows=&#8221;5&#8243; cols=&#8221;20&#8243;&gt;<br />
&lt;?php<br />
if( isset( $_REQUEST["input_data"] ) )<br />
{<br />
	echo $_REQUEST["input_data"];<br />
}<br />
?&gt;<br />
&lt;/textarea&gt;&lt;br/&gt;<br />
Output base number:<br />
&lt;br/&gt;&lt;input type=&#8221;text&#8221; name=&#8221;base_out&#8221; value=&#8221;2&#8243;/&gt;&lt;br/&gt;<br />
&lt;input type=&#8221;submit&#8221; name=&#8221;submit&#8221; value=&#8221;submit&#8221;/&gt;&lt;br/&gt;<br />
&lt;/form&gt;</p>
<p>&lt;?php<br />
if( isset( $_REQUEST["input_data"] ) )<br />
{<br />
	$base_in = $_REQUEST["base_in"];<br />
	$base_out = $_REQUEST["base_out"];<br />
	$input_data = $_REQUEST["input_data"];<br />
	$lines = preg_split(&#8220;/(\r?\n)/&#8221;, $input_data);<br />
	$lines_count = count( $lines );</p>
<p>	echo &#8220;&lt;b&gt; output in base $base_out&lt;/b&gt;&lt;br/&gt;&#8221;;<br />
	foreach( $lines as $line)<br />
	{<br />
		// do stuff with $line<br />
		echo base_convert( $line, $base_in, $base_out).&#8221;\n&lt;br/&gt;&#8221;;<br />
	}<br />
}<br />
?&gt;</p>
<p>&lt;/body&gt;<br />
&lt;/html&gt;<br />
</b-quote></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/uncategorized/php-base_convert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Basic Datagrid Sort + Filter</title>
		<link>http://www.bluetopazgames.com/coding/visual-basic-datagrid-sort-filter/</link>
		<comments>http://www.bluetopazgames.com/coding/visual-basic-datagrid-sort-filter/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 15:42:43 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=524</guid>
		<description><![CDATA[How to: Group, Sort, and Filter Data in the DataGrid Control http://msdn.microsoft.com/en-us/library/dd833072(v=vs.95).aspx I couldn&#8217;t set a filter function in my case but I could use a customfilter which worked pretty good. http://msdn.microsoft.com/en-us/library/system.windows.data.bindinglistcollectionview.customfilter.aspx For some reason this link is the 3rd or 4th page or worse when searching on google. It should be higher up then [...]]]></description>
			<content:encoded><![CDATA[<p>How to: Group, Sort, and Filter Data in the DataGrid Control</p>
<p><a href="http://msdn.microsoft.com/en-us/library/dd833072(v=vs.95).aspx" title="How to: Group, Sort and Filter Data in the DataGrid Control">http://msdn.microsoft.com/en-us/library/dd833072(v=vs.95).aspx</a></p>
<p>I couldn&#8217;t set a filter function in my case but I could use a customfilter which worked pretty good.</p>
<p><a href='http://msdn.microsoft.com/en-us/library/system.windows.data.bindinglistcollectionview.customfilter.aspx' Title='custom filter'>http://msdn.microsoft.com/en-us/library/system.windows.data.bindinglistcollectionview.customfilter.aspx</a></p>
<p>For some reason this link is the 3rd or 4th page or worse when searching on google.<br />
It should be higher up then most of the useless posts out there in blog land.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/coding/visual-basic-datagrid-sort-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downloading files from putlocker.</title>
		<link>http://www.bluetopazgames.com/uncategorized/downloading-files-from-putlocker/</link>
		<comments>http://www.bluetopazgames.com/uncategorized/downloading-files-from-putlocker/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 22:53:21 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=480</guid>
		<description><![CDATA[Steps for manually downloading files from putlocker. 1. View source. 2. Go to http://www.putlocker.com/get_file.php?stream=BA0A099EFEE12E42 3. View Source I wanted to download some media off of putlocker. Seems they don&#8217;t protect their data very well. This is probably why this company never got that big. At least youtube tries to protect the users data.]]></description>
			<content:encoded><![CDATA[<p>Steps for manually downloading files from putlocker.</p>
<p>1. View source.</p>
<p>2. Go to http://www.putlocker.com/get_file.php?stream=BA0A099EFEE12E42</p>
<p>3. View Source</p>
<p>I wanted to download some media off of putlocker. Seems they don&#8217;t protect their data very well.<br />
This is probably why this company never got that big. At least youtube tries to protect the users data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/uncategorized/downloading-files-from-putlocker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Image Map Reduce Hadoop Jar</title>
		<link>http://www.bluetopazgames.com/downloads/download-image-map-reduce-hadoop-jar/</link>
		<comments>http://www.bluetopazgames.com/downloads/download-image-map-reduce-hadoop-jar/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 22:50:44 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Hadoop Applications]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=492</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_442" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.bluetopazgames.com/hadoop/downloads/ImageMapReduce-1.0.jar"><img src="http://www.bluetopazgames.com/wp-content/uploads/2011/06/download_button-300x136.jpg" alt="Download Now" title="download_button" width="300" height="136" class="size-medium wp-image-442" /></a><p class="wp-caption-text">Download Now</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/downloads/download-image-map-reduce-hadoop-jar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Filestream Custom Map Reduce Hadoop Jar</title>
		<link>http://www.bluetopazgames.com/downloads/download-filestream-custom-map-reduce-hadoop-jar/</link>
		<comments>http://www.bluetopazgames.com/downloads/download-filestream-custom-map-reduce-hadoop-jar/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 22:45:32 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Hadoop Applications]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=488</guid>
		<description><![CDATA[Download Filestreammapreduce.jar]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.bluetopazgames.com/hadoop/FileStreamMapReduce.jar' title='Download Now'><br />
Download Filestreammapreduce.jar<br/><br />
<img src='http://www.bluetopazgames.com/wp-content/uploads/2011/06/download_button-300x136.jpg'/><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/downloads/download-filestream-custom-map-reduce-hadoop-jar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Womens FIFA World Cup Soccer Calculating RPI</title>
		<link>http://www.bluetopazgames.com/statistics/womens-fifa-world-cup-soccer-calculating-rpi/</link>
		<comments>http://www.bluetopazgames.com/statistics/womens-fifa-world-cup-soccer-calculating-rpi/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 20:07:02 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[Probability & Statistics]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=452</guid>
		<description><![CDATA[Hello, I&#8217;ve written a small PHP program last night to generate FIFA womens team stats. I decided to post the stats here. I really like calculating RPI statistics as it gives you a very good meter to measure team strength with. 2002-2010 Womens World Cup FIFA RPI. Here&#8217;s a compilation of all the team stats [...]]]></description>
			<content:encoded><![CDATA[<p>Hello,<br />
I&#8217;ve written a small PHP program last night to generate FIFA womens team stats.<br />
I decided to post the stats here. I really like calculating RPI statistics as it gives you a very good meter to measure team strength with. </p>
<h2>2002-2010 Womens World Cup FIFA RPI.</h2>
<p>Here&#8217;s a compilation of all the team stats since 2002-2010.<br />
It should be accurate but I might be missing some games (150 games total).<br />
It&#8217;s probably not the most useful data as teams change, same with players, coaches, playing styles etc.</p>
<table border='1'>
<tr>
<td>id</td>
<td>team</td>
<td>team win %</td>
<td>Opponents%</td>
<td>Opponentsx2 %</td>
<td>RPI</td>
<td>goals total</td>
<td>games</td>
<td>avg pts/game</td>
</tr>
<tr>
<td>1</td>
<td>MEX</td>
<td>0.208</td>
<td>0.536</td>
<td>0.505</td>
<td>0.446</td>
<td>18</td>
<td>13</td>
<td>1.385</td>
</tr>
<tr>
<td>2</td>
<td>GER</td>
<td>0.736</td>
<td>0.503</td>
<td>0.503</td>
<td>0.561</td>
<td>80</td>
<td>28</td>
<td>2.857</td>
</tr>
<tr>
<td>3</td>
<td>FIN</td>
<td>0</td>
<td>0.586</td>
<td>0.476</td>
<td>0.412</td>
<td>1</td>
<td>3</td>
<td>0.333</td>
</tr>
<tr>
<td>4</td>
<td>NGA</td>
<td>0.514</td>
<td>0.447</td>
<td>0.499</td>
<td>0.477</td>
<td>33</td>
<td>21</td>
<td>1.571</td>
</tr>
<tr>
<td>5</td>
<td>CAN</td>
<td>0.6</td>
<td>0.46</td>
<td>0.51</td>
<td>0.508</td>
<td>38</td>
<td>16</td>
<td>2.375</td>
</tr>
<tr>
<td>6</td>
<td>BRA</td>
<td>0.614</td>
<td>0.52</td>
<td>0.499</td>
<td>0.538</td>
<td>48</td>
<td>25</td>
<td>1.92</td>
</tr>
<tr>
<td>7</td>
<td>ENG</td>
<td>0.278</td>
<td>0.437</td>
<td>0.46</td>
<td>0.403</td>
<td>13</td>
<td>11</td>
<td>1.182</td>
</tr>
<tr>
<td>8</td>
<td>AUS</td>
<td>0.35</td>
<td>0.474</td>
<td>0.492</td>
<td>0.448</td>
<td>18</td>
<td>11</td>
<td>1.636</td>
</tr>
<tr>
<td>9</td>
<td>CHI</td>
<td>0</td>
<td>0.347</td>
<td>0.45</td>
<td>0.286</td>
<td>3</td>
<td>3</td>
<td>1</td>
</tr>
<tr>
<td>10</td>
<td>NZL</td>
<td>0.25</td>
<td>0.466</td>
<td>0.475</td>
<td>0.414</td>
<td>12</td>
<td>9</td>
<td>1.333</td>
</tr>
<tr>
<td>11</td>
<td>THA</td>
<td>0</td>
<td>0.562</td>
<td>0.479</td>
<td>0.401</td>
<td>0</td>
<td>3</td>
<td>0</td>
</tr>
<tr>
<td>12</td>
<td>RUS</td>
<td>0.357</td>
<td>0.53</td>
<td>0.505</td>
<td>0.481</td>
<td>11</td>
<td>8</td>
<td>1.375</td>
</tr>
<tr>
<td>13</td>
<td>GHA</td>
<td>0.6</td>
<td>0.48</td>
<td>0.521</td>
<td>0.52</td>
<td>5</td>
<td>3</td>
<td>1.667</td>
</tr>
<tr>
<td>14</td>
<td>JPN</td>
<td>0.6</td>
<td>0.471</td>
<td>0.504</td>
<td>0.512</td>
<td>19</td>
<td>11</td>
<td>1.727</td>
</tr>
<tr>
<td>15</td>
<td>KOR</td>
<td>0.556</td>
<td>0.485</td>
<td>0.52</td>
<td>0.512</td>
<td>16</td>
<td>9</td>
<td>1.778</td>
</tr>
<tr>
<td>16</td>
<td>SUI</td>
<td>0</td>
<td>0.622</td>
<td>0.494</td>
<td>0.435</td>
<td>2</td>
<td>6</td>
<td>0.333</td>
</tr>
<tr>
<td>17</td>
<td>DEN</td>
<td>0.25</td>
<td>0.65</td>
<td>0.458</td>
<td>0.502</td>
<td>5</td>
<td>4</td>
<td>1.25</td>
</tr>
<tr>
<td>18</td>
<td>USA</td>
<td>0.885</td>
<td>0.455</td>
<td>0.516</td>
<td>0.578</td>
<td>71</td>
<td>28</td>
<td>2.536</td>
</tr>
<tr>
<td>19</td>
<td>TPE</td>
<td>0</td>
<td>0.504</td>
<td>0.455</td>
<td>0.366</td>
<td>1</td>
<td>3</td>
<td>0.333</td>
</tr>
<tr>
<td>20</td>
<td>PRK</td>
<td>0.75</td>
<td>0.508</td>
<td>0.515</td>
<td>0.57</td>
<td>38</td>
<td>16</td>
<td>2.375</td>
</tr>
<tr>
<td>21</td>
<td>FRA</td>
<td>0.484</td>
<td>0.523</td>
<td>0.513</td>
<td>0.511</td>
<td>25</td>
<td>16</td>
<td>1.563</td>
</tr>
<tr>
<td>23</td>
<td>NOR</td>
<td>0.333</td>
<td>0.524</td>
<td>0.521</td>
<td>0.476</td>
<td>4</td>
<td>3</td>
<td>1.333</td>
</tr>
<tr>
<td>24</td>
<td>COD</td>
<td>0</td>
<td>0.596</td>
<td>0.496</td>
<td>0.422</td>
<td>2</td>
<td>6</td>
<td>0.333</td>
</tr>
<tr>
<td>25</td>
<td>ARG</td>
<td>0.273</td>
<td>0.563</td>
<td>0.512</td>
<td>0.478</td>
<td>6</td>
<td>6</td>
<td>1</td>
</tr>
<tr>
<td>26</td>
<td>ESP</td>
<td>0.333</td>
<td>0.599</td>
<td>0.49</td>
<td>0.505</td>
<td>3</td>
<td>3</td>
<td>1</td>
</tr>
<tr>
<td>27</td>
<td>CHN</td>
<td>0.643</td>
<td>0.522</td>
<td>0.504</td>
<td>0.548</td>
<td>21</td>
<td>15</td>
<td>1.4</td>
</tr>
<tr>
<td>29</td>
<td>COL</td>
<td>0.364</td>
<td>0.501</td>
<td>0.497</td>
<td>0.466</td>
<td>7</td>
<td>6</td>
<td>1.167</td>
</tr>
<tr>
<td>30</td>
<td>CRC</td>
<td>0</td>
<td>0.528</td>
<td>0.509</td>
<td>0.391</td>
<td>2</td>
<td>3</td>
<td>0.667</td>
</tr>
<tr>
<td>32</td>
<td>ITA</td>
<td>0</td>
<td>0.59</td>
<td>0.496</td>
<td>0.419</td>
<td>3</td>
<td>3</td>
<td>1</td>
</tr>
<tr>
<td>80</td>
<td>SWE</td>
<td>0.714</td>
<td>0.494</td>
<td>0.499</td>
<td>0.55</td>
<td>6</td>
<td>4</td>
<td>1.5</td>
</tr>
</table>
<p><b> Over/Under Table </b><br />
This table gives you the % of games that are over or under the various point totals.<br/></p>
<table border='1'>
<tr>
<td>id</td>
<td>pts over</td>
<td>pts under</td>
<td>
<tr>
<td>0</td>
<td>0.95302013422819</td>
<td>0.046979865771812</td>
</tr>
<tr>
<td>0.5</td>
<td>0.95302013422819</td>
<td>0.046979865771812</td>
</tr>
<tr>
<td>1</td>
<td>0.85906040268456</td>
<td>0.14093959731544</td>
</tr>
<tr>
<td>1.5</td>
<td>0.85906040268456</td>
<td>0.14093959731544</td>
</tr>
<tr>
<td>2</td>
<td>0.63758389261745</td>
<td>0.36241610738255</td>
</tr>
<tr>
<td>2.5</td>
<td>0.63758389261745</td>
<td>0.36241610738255</td>
</tr>
<tr>
<td>3</td>
<td>0.42953020134228</td>
<td>0.57046979865772</td>
</tr>
<tr>
<td>3.5</td>
<td>0.42953020134228</td>
<td>0.57046979865772</td>
</tr>
</table>
<h2>2010 Womens World Cup FIFA RPI.</h2>
<p>This might be more useful as it only uses 2010 match data. It&#8217;s the recent relative team strengths.<br />
RPI is usually a very good indicator of how a team will do. You can can compare two teams often by looking<br />
at their RPI, whatever team has the higher RPI will most of the time come out the winner. </p>
<table border='1'>
<tr>
<td>id</td>
<td>team</td>
<td>team win %</td>
<td>Opponents%</td>
<td>Opponentsx2 %</td>
<td>RPI</td>
<td>goals total</td>
<td>games</td>
<td>avg pts/game</td>
</tr>
<tr>
<td>1</td>
<td>MEX</td>
<td>0.5</td>
<td>0.483</td>
<td>0.505</td>
<td>0.493</td>
<td>6</td>
<td>4</td>
<td>1.5</td>
</tr>
<tr>
<td>2</td>
<td>GER</td>
<td>1</td>
<td>0.466</td>
<td>0.548</td>
<td>0.62</td>
<td>20</td>
<td>6</td>
<td>3.333</td>
</tr>
<tr>
<td>4</td>
<td>NGA</td>
<td>0.667</td>
<td>0.522</td>
<td>0.503</td>
<td>0.554</td>
<td>6</td>
<td>6</td>
<td>1</td>
</tr>
<tr>
<td>6</td>
<td>BRA</td>
<td>0.4</td>
<td>0.405</td>
<td>0.461</td>
<td>0.418</td>
<td>5</td>
<td>3</td>
<td>1.667</td>
</tr>
<tr>
<td>7</td>
<td>ENG</td>
<td>0</td>
<td>0.589</td>
<td>0.465</td>
<td>0.411</td>
<td>2</td>
<td>3</td>
<td>0.667</td>
</tr>
<tr>
<td>10</td>
<td>NZL</td>
<td>0</td>
<td>0.538</td>
<td>0.416</td>
<td>0.373</td>
<td>3</td>
<td>3</td>
<td>1</td>
</tr>
<tr>
<td>13</td>
<td>GHA</td>
<td>0.6</td>
<td>0.444</td>
<td>0.55</td>
<td>0.51</td>
<td>5</td>
<td>3</td>
<td>1.667</td>
</tr>
<tr>
<td>14</td>
<td>JPN</td>
<td>0.6</td>
<td>0.389</td>
<td>0.531</td>
<td>0.477</td>
<td>7</td>
<td>3</td>
<td>2.333</td>
</tr>
<tr>
<td>15</td>
<td>KOR</td>
<td>0.667</td>
<td>0.522</td>
<td>0.522</td>
<td>0.558</td>
<td>13</td>
<td>6</td>
<td>2.167</td>
</tr>
<tr>
<td>16</td>
<td>SUI</td>
<td>0</td>
<td>0.644</td>
<td>0.483</td>
<td>0.443</td>
<td>0</td>
<td>3</td>
<td>0</td>
</tr>
<tr>
<td>18</td>
<td>USA</td>
<td>0.667</td>
<td>0.483</td>
<td>0.533</td>
<td>0.542</td>
<td>8</td>
<td>4</td>
<td>2</td>
</tr>
<tr>
<td>20</td>
<td>PRK</td>
<td>0.5</td>
<td>0.529</td>
<td>0.431</td>
<td>0.497</td>
<td>5</td>
<td>4</td>
<td>1.25</td>
</tr>
<tr>
<td>21</td>
<td>FRA</td>
<td>0.6</td>
<td>0.455</td>
<td>0.576</td>
<td>0.522</td>
<td>4</td>
<td>3</td>
<td>1.333</td>
</tr>
<tr>
<td>29</td>
<td>COL</td>
<td>0.364</td>
<td>0.608</td>
<td>0.489</td>
<td>0.517</td>
<td>7</td>
<td>6</td>
<td>1.167</td>
</tr>
<tr>
<td>30</td>
<td>CRC</td>
<td>0</td>
<td>0.655</td>
<td>0.51</td>
<td>0.455</td>
<td>2</td>
<td>3</td>
<td>0.667</td>
</tr>
<tr>
<td>80</td>
<td>SWE</td>
<td>0.714</td>
<td>0.316</td>
<td>0.52</td>
<td>0.467</td>
<td>6</td>
<td>4</td>
<td>1.5</td>
</tr>
</table>
<p><b> Over/Under Table </b><br />
This table gives you the % of games that are over or under the various point totals.<br/></p>
<table border='1'>
<tr>
<td>id</td>
<td>pts over</td>
<td>pts under</td>
<td>
<tr>
<td>0</td>
<td>0.96969696969697</td>
<td>0.03030303030303</td>
</tr>
<tr>
<td>0.5</td>
<td>0.96969696969697</td>
<td>0.03030303030303</td>
</tr>
<tr>
<td>1</td>
<td>0.81818181818182</td>
<td>0.18181818181818</td>
</tr>
<tr>
<td>1.5</td>
<td>0.81818181818182</td>
<td>0.18181818181818</td>
</tr>
<tr>
<td>2</td>
<td>0.48484848484848</td>
<td>0.51515151515152</td>
</tr>
<tr>
<td>2.5</td>
<td>0.48484848484848</td>
<td>0.51515151515152</td>
</tr>
<tr>
<td>3</td>
<td>0.36363636363636</td>
<td>0.63636363636364</td>
</tr>
<tr>
<td>3.5</td>
<td>0.36363636363636</td>
<td>0.63636363636364</td>
</tr>
</table>
<h2>RPI</h2>
<p>Definition: In its current formulation,<br />
the index comprises a team&#8217;s winning percentage (25%),<br />
its opponents&#8217; winning percentage (50%),<br />
and the winning percentage of those opponents&#8217; opponents (25%).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/statistics/womens-fifa-world-cup-soccer-calculating-rpi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verotel WordPress Plugin</title>
		<link>http://www.bluetopazgames.com/downloads/verotel-wordpress-plugin/</link>
		<comments>http://www.bluetopazgames.com/downloads/verotel-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 03:54:56 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[htpasswd]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[payment]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[verotel]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=407</guid>
		<description><![CDATA[Welcome, This plugin gives you all of the features of the Verotel perl script for remote user management without requiring you to use basic http authentication. You can easily upgrade your website to stop using .htaccess/.htpasswd files. You will also being making it more secure when you upgrade the length of the passcodes from 13 [...]]]></description>
			<content:encoded><![CDATA[<p><br />
<img src="http://www.bluetopazgames.com/images/featured1.png" title="verotel plugin" width="128" height="27" /></p>
<p>Welcome,</p>
<p>This plugin gives you all of the features of the Verotel perl script for remote user management without requiring you to use basic http authentication.</p>
<p>You can easily upgrade your website to stop using .htaccess/.htpasswd files.<br />
You will also being making it more secure when you upgrade the length of the passcodes from 13 characters to 34 after users login for the first time.</p>
<p>How to setup:</p>
<ol>
<li>Copy and unzip contents to the wordpress plugin folder \wp-content\plugins\btg_verotel</li>
<li><b><a href="http://links.verotel.com/cgi-bin/make_link.verotel?verotel_id=9804000000027452">Signup for a Verotel sellers account. </a></b></li>
<li>Import existing users in wordpress admin panel. Users =&gt; BTG Import Users</li>
<li><a href="https://controlcenter.verotel.com/cgi-bin/my_setup.pl">Follow steps and setup account on verotel website. </a></li>
<li>Setup the secured URL on the Verotel website so users can automatically be added to your wordpress database:<br />
Follow the same instructions found for script.pl or verotelrum.pl but instead use the script btg_verotel.php (You can rename the file to anything.php)<br />
Secured URL: http://www.domain.com/wp-login.php (This is the first page users see who have signed up make it the login page, normally this is the portal to your secure data.)<br />
RUM URL: http://www.domain.com/wp-content/mu-plugins/btg_verotel/btg_verotel.php?<br />
When complete make sure to get a <a href="https://controlcenter.verotel.com/cgi-bin/g11a.pl">Test Request </a>
</li>
</ol>
<p>FAQ:</p>
<ol>
<li><strong>Is there an evaluation option or trial offer for the plugin?</strong><br />
Sorry, there is no evaluation for the plugin. You may purchase the plugin for $25 now and then cancel the subscription if you no longer wish to use it for your website or buy the plugin outright for $125.</li>
<p><br/></p>
<li><strong>Does the plugin solely work together with the user-management part of wordpress or will it protect my files?</strong><br />
No it does not protect files. It only adds and removes users from wordpress. You will have to use a separate tool/plugin<br />
to protect files such as pay plugins like <a href='http://member.wishlistproducts.com/'>wishlist members</a> or free<br />
plugins like this <a href='http://wordpress.org/extend/plugins/member-access/'> member access plugin </a>.</p>
<p>Files will have to be protected separately by a wordpress user-management system (It has been tested/developed with wishlist member in mind).</p>
<p>or you can simply put an .htaccess file in /protected_files/.htaccess (or wordpress/uploads if that is where you start uploading your files) that would look like this: </p>
<p>RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} ^.*$<br />
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]<br />
RewriteRule . &#8211; [R=403,L]
</li>
<li><strong>What kind of support do you offer?</strong><br />
The plugin will be updated to work with the latest offerings from Verotel.<br />
Any questions in the comment section will be answered immediately.<br />
New features will be added from feature requests made by customers.</li>
</ol>
<p><center><br />
<strong>Buy Now $125</strong></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="4GEURVBT5PGZ4">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/x-click-but3.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<p>or</p>
<p><strong>Single site subscription and evaluation $25/month:</strong></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XASYRW2A7P8EJ">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<p>or </p>
<p><strong>Multisite subscription $45/mth.</strong></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="QSFN87N47NUGW">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<p></center></p>
<p><strong>How you can test if everything is ok your side.</strong></p>
<p>To create a user go to your sites url (in my case it&#8217;s localhost/wordpressplugin)<br />
usercode=testaccount<br />
passcode=testpass (It needs to be encrypted with md5 because that&#8217;s what verotel does with passwords)<br />
amount=0.0   (how much it costs to purchase the membership, usually used for membership levels, duration)</p>
<p><strong>Test add a user</strong></p>
<p>http://localhost/wordpressplugin/wp-content/plugins/btg_verotel/btg_verotel.php?trn=add&#038;usercode=testaccount&#038;passcode=179ad45c6ce2cb97cf1029e212046e81&#038;amount=0.0</p>
<p>APPROVED</p>
<p><strong>Then Login on wordpress</strong></p>
<p>http://localhost/wordpressplugin/wp-login.php</p>
<p><strong>Then test delete the user</strong></p>
<p>http://localhost/wordpressplugin/wp-content/plugins/btg_verotel/btg_verotel.php?trn=delete&#038;usercode=testaccount</p>
<p>APPROVED</p>
<p>If it says anything other then approved in response then there&#8217;s a problem on your side that would cause verotel to reject the response.</p>
<p>If everything is still not working then comment/delete this line as it could be blocking off their test server:<br />
if( !remote_ip_address_allowed( $_SERVER['REMOTE_ADDR'] ) )<br />
{<br />
die( &#8220;connection from $_SERVER[REMOTE_ADDR] denied&#8221; );<br />
}</p>
<p>Finally double check your RUM url on verotel, it could be wrong?<br />
RUM URL: http://www.domain.com/wp-content/plugins/btg_verotel/btg_verotel.php?</p>
<p><!--<br />
<form action="https://secure.verotel.com/order" method="GET">
<input type=hidden name=website value="80463">
<input type="image" src="http://buttons.verotel.com/join/button_00100280463.gif" alt="Signup NOW!">
<img src="http://buttons.verotel.com/signup/tbutton_80463.gif" border="0" width="1" height="1" alt=""><br />
</form>
<p>&#8211;></p>
<p><a href='http://www.bluetopazgames.com/btg-software-license/'> by purchasing this software you agree to the following license </a></p>
<p>Login to access downloads.<br />
<div class='WishListMember_LoginMergeCode'><form action="http://www.bluetopazgames.com/wp-login.php" method="post" class="wlm_inpageloginform">
	<table>
		<tr>
			<th>Username</th>
			<td><input type="text" name="log" value="" size="20" /></td>
		</tr>
		<tr>
			<th>Password</th>
			<td><input type="password" name="pwd" value="" size="20" /></td>
		</tr>
		<tr>
			<th></th>
			<td><label><input type="checkbox" name="rememberme" value="forever" /> Remember Me</label></td>
		</tr>
		<tr>
			<th></th>
			<td><input type="submit" name="wp-submit" value="Login" /><br />&raquo; <a href="http://www.bluetopazgames.com/wp-login.php?action=lostpassword">Lost your Password?</a></td>
		</tr>
	</table>
	<input type="hidden" name="redirect_to" value="wishlistmember" />
</form></div></p>
<p><br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/downloads/verotel-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FileStreamMapReduce.jar, ImageMapReduce-1.0.jar and source code.</title>
		<link>http://www.bluetopazgames.com/downloads/filestreammapreduce-jar-imagemapreduce-1-0-jar-and-source-code/</link>
		<comments>http://www.bluetopazgames.com/downloads/filestreammapreduce-jar-imagemapreduce-1-0-jar-and-source-code/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 13:29:01 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Hadoop Applications]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=401</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_442" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.bluetopazgames.com/hadoop/downloads/source_and_jars.zip"><img src="http://www.bluetopazgames.com/wp-content/uploads/2011/06/download_button-300x136.jpg" alt="Download Now" title="download_button" width="300" height="136" class="size-medium wp-image-442" /></a><p class="wp-caption-text">Download Now</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/downloads/filestreammapreduce-jar-imagemapreduce-1-0-jar-and-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filestream Custom Hadoop Jar</title>
		<link>http://www.bluetopazgames.com/hadoop-applications/filestream-custom-hadoop-jar/</link>
		<comments>http://www.bluetopazgames.com/hadoop-applications/filestream-custom-hadoop-jar/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 13:10:57 +0000</pubDate>
		<dc:creator>Curtis Rutledge</dc:creator>
				<category><![CDATA[Hadoop Applications]]></category>

		<guid isPermaLink="false">http://www.bluetopazgames.com/?p=387</guid>
		<description><![CDATA[FileStreamMapReduce.Jar Amazon&#8217;s Elastic map reduce allows users to easily run commands on hundreds or thousands of instances (cpu&#8217;s)Using the FileStreamMapReduce.jar you can easily run thousands of image or video converting and processing commands in a manner that will save you time and money.Use this JAR for more advanced commands. It allows you to convert images, [...]]]></description>
			<content:encoded><![CDATA[<p><img src='/hadoop/downloads/hadoop.jpg'/></p>
<h3> FileStreamMapReduce.Jar </h3>
<p>Amazon&#8217;s Elastic map reduce allows users to easily run commands on hundreds or thousands of instances (cpu&#8217;s)Using the FileStreamMapReduce.jar you can easily run thousands of image or video converting and processing commands in a<br />
manner that will save you time and money.Use this JAR for more advanced commands. It allows you to convert images, apply watermarks, process video data all on a file by file basis.<br />
As well it also maintains the original filenames and won&#8217;t split or compress the final output data.<br />
The FileStreamMapReduce.jar has a running total of successful and failed conversions so you can keep track if everything is going<br />
ok. Also files that were not successfully converted are indicated with a .err extension.</p>
<h4>How to run FileStreamMapReduce on Amazon Elastic Map Reduce.</h4>
<p>jar location: s3n://myjarlocation/FileStreamMapReduce.jar<br />
jar arguements: s3n://myinputbucket/ s3n://myoutputbucket/ -install=convert -extension=png &#8220;-command=/usr/local/bin/convert -resize 32&#215;32 &#8211; png:-&#8221;<br />
<b>**remember trailing slashes in input and output bucket paths**</b></p>
<p>The -install=convert command will install the command via yum install convert<br />
The -extension=png option will rename any output file to the specified extension since data is streamed to the convert/ffmpeg commands.<br />
Other common tools you may wish to install are -install=ffmpeg</p>
<p><b> **UNFORTUNATELY AMAZON DOES NOT SUPPORT CONVERT or FPMG ON THEIR HADOOP SERVERS** </b><br />
<b> Tested using Amazon Elastic Map Reduce /w Hadoop 0.18.3 </b></p>
<p><b>Running the plugin with ffmpeg</b><br />
jar location: s3n://myjarlocation/FileStreamMapReduce.jar<br/><br />
jar arguements: s3n://myinputbucket/ s3n://myoutputbucket/ -install=convert -extension=avi &#8220;-command=/path/to/ffmpeg -i pipe:0 -f avi pipe:1&#8243;<br/></p>
<p>Here are some additional instructions on how to use ffmpeg with stdin and stdout streams.<br/><br />
This is how you would use it with FileStreamMapReduce.Jar<br/><br />
<a href='http://ffmpeg.org/ffmpeg-doc.html#SEC41'>http://ffmpeg.org/ffmpeg-doc.html#SEC41</a><br/></p>
<p><b> BUY THE PLUGIN NOW $20 </b> once you buy the plugin you should be able to login to this site and use the download link.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="KJMRS6X8A5UEA">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://www.bluetopazgames.com/hadoop-applications/filestream-custom-hadoop-jar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

