<?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 for ronald a. richardson</title>
	<atom:link href="http://ronaldarichardson.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://ronaldarichardson.com</link>
	<description></description>
	<lastBuildDate>Thu, 22 Dec 2011 22:18:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on PHP MMORPG Maker by Ronald</title>
		<link>http://ronaldarichardson.com/2011/04/16/php-mmorpg-maker/comment-page-1/#comment-4069</link>
		<dc:creator>Ronald</dc:creator>
		<pubDate>Thu, 22 Dec 2011 22:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1461#comment-4069</guid>
		<description>Thanks still in development I now have another developer on the project, she is redeveloping the entire game interface client side in HTML5 while I am handling server side development. More news on the project can be found @ http://cloudrealms.com/</description>
		<content:encoded><![CDATA[<p>Thanks still in development I now have another developer on the project, she is redeveloping the entire game interface client side in HTML5 while I am handling server side development. More news on the project can be found @ <a href="http://cloudrealms.com/" rel="nofollow">http://cloudrealms.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP MMORPG Maker by Juan</title>
		<link>http://ronaldarichardson.com/2011/04/16/php-mmorpg-maker/comment-page-1/#comment-4068</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 22 Dec 2011 22:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1461#comment-4068</guid>
		<description>Sounds interesting. I&#039;ve been wanting to make an rpg (or any type of game) myself worklife and other stuff getting in the way of that... I can offer my art skills though. Not to mention I&#039;d like to give it a spin when you finish it. Good luck with this project.</description>
		<content:encoded><![CDATA[<p>Sounds interesting. I&#8217;ve been wanting to make an rpg (or any type of game) myself worklife and other stuff getting in the way of that&#8230; I can offer my art skills though. Not to mention I&#8217;d like to give it a spin when you finish it. Good luck with this project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HACK The Android RC30 t-mobile G1, get root access, and unlock! by Can't SU on ADB in Command Prompt - Android Forums</title>
		<link>http://ronaldarichardson.com/2008/12/22/hack-the-android-rc30-t-mobile-g1-get-root-access-and-unlock/comment-page-1/#comment-4065</link>
		<dc:creator>Can't SU on ADB in Command Prompt - Android Forums</dc:creator>
		<pubDate>Wed, 14 Dec 2011 01:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/?p=768#comment-4065</guid>
		<description>[...] now this is weird. I used a differing rooting method and now it seems that it rooted except I&#039;m still having problems such as in ADB.  First problem, [...]</description>
		<content:encoded><![CDATA[<p>[...] now this is weird. I used a differing rooting method and now it seems that it rooted except I&#039;m still having problems such as in ADB.  First problem, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &#8220;NO MORE TEXTING WHILE DRIVING!&#8221; by Alisha logston</title>
		<link>http://ronaldarichardson.com/2008/02/04/an-email-i-recieved-no-more-texting-while-driving/comment-page-2/#comment-4064</link>
		<dc:creator>Alisha logston</dc:creator>
		<pubDate>Tue, 15 Nov 2011 21:45:24 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/core/2008/02/04/an-email-i-recieved-no-more-texting-while-driving/#comment-4064</guid>
		<description>DON&#039;T TEXT AND DRIVE 
SAVE  LIVES :P</description>
		<content:encoded><![CDATA[<p>DON&#8217;T TEXT AND DRIVE<br />
SAVE  LIVES <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &#8220;NO MORE TEXTING WHILE DRIVING!&#8221; by Alisha logston</title>
		<link>http://ronaldarichardson.com/2008/02/04/an-email-i-recieved-no-more-texting-while-driving/comment-page-2/#comment-4063</link>
		<dc:creator>Alisha logston</dc:creator>
		<pubDate>Tue, 15 Nov 2011 21:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/core/2008/02/04/an-email-i-recieved-no-more-texting-while-driving/#comment-4063</guid>
		<description>i felt sorry for him but he should have not been texting and driving! :(
but at least no one esle got hurt. :)</description>
		<content:encoded><![CDATA[<p>i felt sorry for him but he should have not been texting and driving! <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
but at least no one esle got hurt. <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &#8220;NO MORE TEXTING WHILE DRIVING!&#8221; by jacbo ronald</title>
		<link>http://ronaldarichardson.com/2008/02/04/an-email-i-recieved-no-more-texting-while-driving/comment-page-2/#comment-4062</link>
		<dc:creator>jacbo ronald</dc:creator>
		<pubDate>Tue, 15 Nov 2011 21:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/core/2008/02/04/an-email-i-recieved-no-more-texting-while-driving/#comment-4062</guid>
		<description>im with you &lt;3  its bad:p</description>
		<content:encoded><![CDATA[<p>im with you &lt;3  its bad:p</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &#8220;NO MORE TEXTING WHILE DRIVING!&#8221; by Alisha Logston</title>
		<link>http://ronaldarichardson.com/2008/02/04/an-email-i-recieved-no-more-texting-while-driving/comment-page-2/#comment-4061</link>
		<dc:creator>Alisha Logston</dc:creator>
		<pubDate>Tue, 15 Nov 2011 21:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/core/2008/02/04/an-email-i-recieved-no-more-texting-while-driving/#comment-4061</guid>
		<description>i felt sorry for him but he should not have been texting and driving! :(</description>
		<content:encoded><![CDATA[<p>i felt sorry for him but he should not have been texting and driving! <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Recursive PHP Spintax Class 3.0 by Article Manager</title>
		<link>http://ronaldarichardson.com/2011/09/23/recursive-php-spintax-class-3-0/comment-page-1/#comment-4060</link>
		<dc:creator>Article Manager</dc:creator>
		<pubDate>Sun, 30 Oct 2011 18:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1547#comment-4060</guid>
		<description>Yea, I tested and it works. No problems with deep nested sets or repeating options. Way to go, looking forward more cool stuff from this site :)</description>
		<content:encoded><![CDATA[<p>Yea, I tested and it works. No problems with deep nested sets or repeating options. Way to go, looking forward more cool stuff from this site <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Recursive PHP Spintax Class 3.0 by Ronald</title>
		<link>http://ronaldarichardson.com/2011/09/23/recursive-php-spintax-class-3-0/comment-page-1/#comment-4059</link>
		<dc:creator>Ronald</dc:creator>
		<pubDate>Sun, 30 Oct 2011 00:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1547#comment-4059</guid>
		<description>Awesome share, I will have to make use of the JavaScript version. 

Also:
The replace doesn&#039;t work like that, the regex finds the lowest level of &quot;{}&quot; first then spins it then replace, and all of this happens one match at a time. So they are not all being replaced at the same time.

So the outcome will be random each spin. try it.</description>
		<content:encoded><![CDATA[<p>Awesome share, I will have to make use of the JavaScript version. </p>
<p>Also:<br />
The replace doesn&#8217;t work like that, the regex finds the lowest level of &#8220;{}&#8221; first then spins it then replace, and all of this happens one match at a time. So they are not all being replaced at the same time.</p>
<p>So the outcome will be random each spin. try it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Recursive PHP Spintax Class 3.0 by Article Manager</title>
		<link>http://ronaldarichardson.com/2011/09/23/recursive-php-spintax-class-3-0/comment-page-1/#comment-4058</link>
		<dc:creator>Article Manager</dc:creator>
		<pubDate>Sat, 29 Oct 2011 21:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1547#comment-4058</guid>
		<description>I&#039;ll be watching this space closely then! Now meanwhile I did something you might be interested too, namely javascript and coffee script version of the spinner. I can&#039;t resist to share them too as a contribution to your site. I noticed your Python version and was inspired to this port:

coffeescript:
[cc lang=&quot;javascript&quot;]
split_str = &#039;&#124;&#039;
replace_regexp_str = /[{}]/gi
match_regexp_str = /{[^{}]+?}/gi

spin = (txt) -&gt;
	if txt
		txt = capture(txt) while txt.match(match_regexp_str)
	txt

capture = (txt) -&gt;
	match = txt.match(match_regexp_str)
	if (match[0])
		words = match[0].split(split_str)
		replace = words[Math.floor(Math.random()*words.length)].replace(replace_regexp_str, &#039;&#039;)
		txt = txt.replace(match[0], replace)
	txt

alert spin(&#039;This is {my nested {spintax&#124;spuntext} formatted string&#124;your nested {spintax&#124;spuntext} formatted string} test.&#039;)

which turns easily to javascript via http://jashkenas.github.com/coffee-script/ evaluator:

var capture, match_regexp_str, replace_regexp_str, spin, split_str;

split_str = &#039;&#124;&#039;;
replace_regexp_str = /[{}]/gi;
match_regexp_str = /{[^{}]+?}/gi;

spin = function(txt) {
  if (txt) {
    while (txt.match(match_regexp_str)) {
      txt = capture(txt);
    }
  }
  return txt;
};

capture = function(txt) {
  var match, replace, words;
  match = txt.match(match_regexp_str);
  if (match[0]) {
    words = match[0].split(split_str);
    replace = words[Math.floor(Math.random() * words.length)].replace(replace_regexp_str, &#039;&#039;);
    txt = txt.replace(match[0], replace);
  }
  return txt;
};

alert(spin(&#039;This is {my nested {spintax&#124;spuntext} formatted string&#124;your nested {spintax&#124;spuntext} formatted string} test.&#039;));
[/cc]
One case came to my mind; are you sure replace part doesn&#039;t replace all occurrence of one word to same synonym? Say I have a phrase &quot;{one&#124;two&#124;three}{one&#124;two&#124;three}&quot; would it give only: one one or two two or three three? I know, its a small test run to find out :)</description>
		<content:encoded><![CDATA[<p>I&#8217;ll be watching this space closely then! Now meanwhile I did something you might be interested too, namely javascript and coffee script version of the spinner. I can&#8217;t resist to share them too as a contribution to your site. I noticed your Python version and was inspired to this port:</p>
<p>coffeescript:</p>
<div class="codecolorer-container javascript blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">split_str <span style="color: #339933;">=</span> <span style="color: #3366CC;">'|'</span><br />
replace_regexp_str <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/[{}]/gi</span><br />
match_regexp_str <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/{[^{}]+?}/gi</span><br />
<br />
spin <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>txt<span style="color: #009900;">&#41;</span> <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #000066; font-weight: bold;">if</span> txt<br />
&nbsp; &nbsp; &nbsp; txt <span style="color: #339933;">=</span> capture<span style="color: #009900;">&#40;</span>txt<span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">while</span> txt.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span>match_regexp_str<span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;txt<br />
<br />
capture <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>txt<span style="color: #009900;">&#41;</span> <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span><br />
&nbsp; &nbsp;match <span style="color: #339933;">=</span> txt.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span>match_regexp_str<span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>match<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; words <span style="color: #339933;">=</span> match<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span>split_str<span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; replace <span style="color: #339933;">=</span> words<span style="color: #009900;">&#91;</span>Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span>words.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>replace_regexp_str<span style="color: #339933;">,</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; txt <span style="color: #339933;">=</span> txt.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>match<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> replace<span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;txt<br />
<br />
<span style="color: #000066;">alert</span> spin<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'This is {my nested {spintax|spuntext} formatted string|your nested {spintax|spuntext} formatted string} test.'</span><span style="color: #009900;">&#41;</span><br />
<br />
which turns easily to javascript via http<span style="color: #339933;">:</span><span style="color: #006600; font-style: italic;">//jashkenas.github.com/coffee-script/ evaluator:</span><br />
<br />
<span style="color: #003366; font-weight: bold;">var</span> capture<span style="color: #339933;">,</span> match_regexp_str<span style="color: #339933;">,</span> replace_regexp_str<span style="color: #339933;">,</span> spin<span style="color: #339933;">,</span> split_str<span style="color: #339933;">;</span><br />
<br />
split_str <span style="color: #339933;">=</span> <span style="color: #3366CC;">'|'</span><span style="color: #339933;">;</span><br />
replace_regexp_str <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/[{}]/gi</span><span style="color: #339933;">;</span><br />
match_regexp_str <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/{[^{}]+?}/gi</span><span style="color: #339933;">;</span><br />
<br />
spin <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>txt<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>txt<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">while</span> <span style="color: #009900;">&#40;</span>txt.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span>match_regexp_str<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; txt <span style="color: #339933;">=</span> capture<span style="color: #009900;">&#40;</span>txt<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; <span style="color: #000066; font-weight: bold;">return</span> txt<span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
capture <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>txt<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #003366; font-weight: bold;">var</span> match<span style="color: #339933;">,</span> replace<span style="color: #339933;">,</span> words<span style="color: #339933;">;</span><br />
&nbsp; match <span style="color: #339933;">=</span> txt.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span>match_regexp_str<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>match<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; words <span style="color: #339933;">=</span> match<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span>split_str<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; replace <span style="color: #339933;">=</span> words<span style="color: #009900;">&#91;</span>Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> words.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>replace_regexp_str<span style="color: #339933;">,</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; txt <span style="color: #339933;">=</span> txt.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>match<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> replace<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; <span style="color: #000066; font-weight: bold;">return</span> txt<span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>spin<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'This is {my nested {spintax|spuntext} formatted string|your nested {spintax|spuntext} formatted string} test.'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>One case came to my mind; are you sure replace part doesn&#8217;t replace all occurrence of one word to same synonym? Say I have a phrase &#8220;{one|two|three}{one|two|three}&#8221; would it give only: one one or two two or three three? I know, its a small test run to find out <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

