<?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>Ryan Rampersad &#187; Projects</title>
	<atom:link href="http://blog.ryanrampersad.com/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ryanrampersad.com</link>
	<description>Thoughts, Ideas &#38; Opinions</description>
	<lastBuildDate>Thu, 17 May 2012 17:11:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta4-20825</generator>
		<item>
		<title>★ (fluff)Friends 2009 Easter Egg Hunt</title>
		<link>http://blog.ryanrampersad.com/2009/04/10/fluff-friends-2009-easter-egg-hunt/</link>
		<comments>http://blog.ryanrampersad.com/2009/04/10/fluff-friends-2009-easter-egg-hunt/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 21:53:58 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[fluff friends]]></category>
		<category><![CDATA[fluff grabber]]></category>
		<category><![CDATA[unified]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=1125</guid>
		<description><![CDATA[Well, the (fluff)Friends 2009 Easter Egg Hunt has been running for well over a week now and with just a couple days left, there isn&#8217;t much time to collect as many as you possibly can. This year, (fluff)Friends introduced new types of eggs into the game. The new eggs ranged from empty eggs, half eggs [...]]]></description>
			<content:encoded><![CDATA[<p>Well, the (fluff)Friends 2009 Easter Egg Hunt has been running for well over a week now and with just a couple days left, there isn&#8217;t much time to collect as many as you possibly can.</p>
<div id="attachment_1126" class="wp-caption alignright" style="width: 224px"><a href="http://blog.ryanrampersad.com/wp-content/uploads/2009/04/flufffriends-easter-2009.png"><img class="size-full wp-image-1126" title="Fluff Friends 2009 Easter Egg Hunt" src="http://blog.ryanrampersad.com/wp-content/uploads/2009/04/flufffriends-easter-2009.png" alt="Fluff Friends 2009 Easter Egg Hunt" width="214" height="143" /></a><p class="wp-caption-text">Fluff Friends 2009 Easter Egg Hunt</p></div>
<p>This year, (fluff)Friends introduced new types of eggs into the game. The new eggs ranged from empty eggs, half eggs (either the top or bottom half) and sometimes full eggs with something special in them. I&#8217;ve seen a couple of rare eggs and also the excellent <em>rotten egg</em>.</p>
<p>Instead of a little fence, the eggs are hiding under some flowers or bushes. Like last year, the game gets harder as you go on and it does seem daunting to click for hours at a time.</p>
<p>If you want to find last minute eggs quickly, check out the <a href="http://fluff.ifupdown.com/">Fluff Grabber</a>, the largest fluff friends petting zoo, with over 240 thousand (fluff)Books. <em>You&#8217;ll never get a duplicate when you use it</em>, well, unless you click 240 thousand times of course.</p>
<p>Plus, secretly, I have been working on Fluff Grabber updates again. It&#8217;s getting a subtle make-over this. Look for the changes in an upcoming post.</p>
<p>Have a great <em>Easter</em> (or weekend otherwise), everyone!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2009/04/10/fluff-friends-2009-easter-egg-hunt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ Fluff Grabber Feburary Report</title>
		<link>http://blog.ryanrampersad.com/2009/02/07/fluff-grabber-feburary-report/</link>
		<comments>http://blog.ryanrampersad.com/2009/02/07/fluff-grabber-feburary-report/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 18:44:15 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[unified]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=971</guid>
		<description><![CDATA[I haven&#8217;t made any changes to the fluff grabber since last year. Over that time, it&#8217;s been working to get past 200,000 (fluff)Books and it made it with ease. The cleaner, the thing that scans (fluff)Books to see if they&#8217;re working (not ban, not deleted, not private, etc) has worked it&#8217;s way to clean-put about [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t made any changes to the <a href="http://fluff.ifupdown.com/">fluff grabber</a> since last year. Over that time, it&#8217;s been working to get past 200,000 (fluff)Books and it made it with ease. The cleaner, the thing that scans (fluff)Books to see if they&#8217;re working (not ban, not deleted, not private, etc) has worked it&#8217;s way to clean-put about 20,000Ã‚Â (fluff)Books. There have been an extraordinary number of clicks too,Ã‚Â 1,640,887 clicks to date (that&#8217;s more than 1 and half million clicks!)</p>
<p>Of course, it hasn&#8217;t been smooth sailing either. The <em>crawler</em>, the part of the system that makes the super-zoo grow by itself, isn&#8217;t healthy right now. I&#8217;m not sure exactly what happened to it, but here&#8217;s the explanation I have. It seems that the response time of (fluff)Friends on Facebook (they&#8217;re both slow, but together the effect is compounded) is much larger than the time-out-time that the system uses to fetch pages. So basically, the (fluff)Book takes 16 seconds to respond but the <em>crawler</em> times-out at about 9-10 seconds. Again, I don&#8217;t know if it&#8217;s the problem. I had added some debugging information to the crawler-ajax thread on the browse page. It only comes up when there is clearly an issue, which is just about all the time at this point.</p>
<p>How about fixing it? I&#8217;ll see if I can make the time-out-time longer, maybe to 20 seconds, but after that, if (fluff)Friends and Facebook themselves don&#8217;t get a bit speedier to respond, I&#8217;m not sure what&#8217;ll happen to the <em>crawler</em>.</p>
<p>Hope you guy&#8217;s have a good time <em>fluffing</em> with the <a href="http://fluff.ifupdown.com">Fluff Grabber</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2009/02/07/fluff-grabber-feburary-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ mooWalkthrough Inspiration</title>
		<link>http://blog.ryanrampersad.com/2008/12/03/moowalkthrough-inspiration/</link>
		<comments>http://blog.ryanrampersad.com/2008/12/03/moowalkthrough-inspiration/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 03:04:17 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[unified]]></category>
		<category><![CDATA[walkthrough]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=705</guid>
		<description><![CDATA[I&#8217;ve had some recent inspiration for the mooWalkthrough again. I&#8217;ve been thinking that it would really help people to have realÃ‚Â updated content for mootools 1.2Ã‚Â and for 1.2.1 being out, I&#8217;m pretty late on the walkthrough front. My ideas have focus on how I&#8217;ve worded various pages of the walkthrough. For instance, on the domready page, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had some recent inspiration for the <a href="http://walkthrough.ifupdown.com/">mooWalkthrough</a> again. I&#8217;ve been thinking that it would really help people to have <em>real</em>Ã‚Â updated content for mootools <em>1.2</em>Ã‚Â and for 1.2.1 being out, I&#8217;m pretty late on the walkthrough front.</p>
<div id="attachment_708" class="wp-caption alignright" style="width: 250px"><a href="http://walkthrough.ifupdown.com/"><img class="size-full wp-image-708" title="mooWalkthrough" src="http://blog.ryanrampersad.com/wp-content/uploads/2008/12/moowalkthrough618.gif" alt="mooWalkthrough" width="240" height="50" /></a><p class="wp-caption-text">mooWalkthrough</p></div>
<p>My ideas have focus on how I&#8217;ve worded various pages of the walkthrough. For instance, on the <a href="http://walkthrough.ifupdown.com/walkthrough-1.2/domready">domready page</a>, there is <strong>so much text</strong>,</p>
<blockquote><p>There are down sides to that method. First of all, you have to wait for all images. Next, what if you had a few scripts that had some code tied toÃ‚Â <em>window.onload</em>? They would overwrite each other. There are other solutions, which copy the old function fromÃ‚Â <em>window.onload</em>Ã‚Â and add it plus the scripts function back, yet that isn&#8217;t exactly elegant.</p>
<p>As mentioned, MooTools comes with a custom event that fires as soon as theÃ‚Â <acronym title="Document Object Model">DOM</acronym>Ã‚Â is ready. It is called DomReady.</p></blockquote>
<p>I&#8217;m pretty sure I can summarize that chuck of text in much less text. For instance, the above chunk becomes,</p>
<blockquote><p>Don&#8217;t wait for external content using <em>window.onload</em> but rather interact with the page as soon as the DOM is ready to go. Use <em>DomReady</em>.</p></blockquote>
<p>Isn&#8217;t that better? It&#8217;s certainly much more direct. I understand that some things are omitted from the chunk&#8217;s summery but more or less this type of compression will help everyone.</p>
<p>This concise form will enable me to write the walkthrough faster but also allow, I hope, some people gain more understanding of mootools.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2008/12/03/moowalkthrough-inspiration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ Quick PHP Executer</title>
		<link>http://blog.ryanrampersad.com/2008/11/29/quick-php-executer/</link>
		<comments>http://blog.ryanrampersad.com/2008/11/29/quick-php-executer/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 02:38:08 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[unified]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=642</guid>
		<description><![CDATA[Have you ever needed to run some PHP really fast but couldn&#8217;t or wouldn&#8217;t use the command line? If you have, you can use the Quick PHP Executer. The PHP Executer is a tiny little PHP script that runs your PHP code. Simply type your code into the textarea and when ready, hit execute and [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever needed to run some PHP really fast but couldn&#8217;t or wouldn&#8217;t use the command line? If you have, you can use the Quick PHP Executer.</p>
<p>The PHP Executer is a tiny little PHP script that runs your PHP code. Simply type your code into the textarea and when ready, hit <em>execute</em> and you&#8217;ll get your code executed.</p>
<p>Your code is <strong>not</strong> put into an <em>eval</em> statement. Why? Because, if your code does contain an error, eval will hide where your error is. It&#8217;ll simply say <em>error was found in eval&#8217;d code</em>. Useless. No, the PHP Executer will do something smarter and rely on the true php interpreter.</p>
<p>The PHP Executer writes a text file with your code wrapped inside of the PHP brackets. Then, it saves the file as a PHP file. After that, you&#8217;re redirected to your brand new page of PHP code. It runs and if there are errors, they are true errors that tell you where and what they are.</p>
<div id="attachment_665" class="wp-caption alignright" style="width: 310px"><a href="http://blog.ryanrampersad.com/wp-content/uploads/2008/11/php-executer.png"><img class="size-medium wp-image-665" title="PHP Executer" src="http://blog.ryanrampersad.com/wp-content/uploads/2008/11/php-executer-300x187.png" alt="PHP Executer Preview" width="300" height="187" /></a><p class="wp-caption-text">PHP Executer Preview</p></div>
<p>The PHP Executer offers just a few features, but it&#8217;s better than other PHP Executers I&#8217;ve seen. Mine offers the following.</p>
<ul>
<li>No <em>eval</em>. Pure PHP execution.</li>
<li>There are two frames so your code and your executed code is always side by side.</li>
<li>Keeps track of <em>recent</em> (as in current session) executions.</li>
<li>Files are named from a base 32 sha1 of the code you type. The problem is that it makes the file names really long but guarantees that files are never overwritten.</li>
<li>Files are <em>purged</em> (to save space and cut clutter) from the system by default every seven days.</li>
<li>Things are only deleted when you use the executer but not before, so you can save stuff easily.</li>
<li>No need to wrap code in PHP tags. It does it for you. (No raw HTML in this version, sorry!)</li>
<li>Safe enough. It uses a session based password-login system. You <strong>cannot</strong> use it without giving it a new password. Don&#8217;t leave it on a production server.</li>
</ul>
<p>Some day, some extra or more refined features could be better.</p>
<ul>
<li>Better naming. It&#8217;s really hard to pin down a file you want <em>after</em> you make it the current way.</li>
<li>Real history, not strictly session based.</li>
<li>Maybe validating HTML? It&#8217;s not the <em>most</em> important thing but I feel there is a standard to uphold.</li>
<li>Better interface? It&#8217;s pretty basic as it is. I think that by adding features, it&#8217;ll become more advanced.</li>
</ul>
<div>
<p class="download">The entire thing is in a single file and it&#8217;s just under 11KB. Here is the source code the for the PHP Executer: <a href="http://blog.ryanrampersad.com/wp-content/uploads/2008/11/php-executer1.txt">PHP Executer Source Code</a>. It really is just one file.</p>
</div>
<p>Hope someone can find some use for it, please a leave a comment if you try it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2008/11/29/quick-php-executer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ No Go On Logo</title>
		<link>http://blog.ryanrampersad.com/2008/11/22/no-go-on-logo/</link>
		<comments>http://blog.ryanrampersad.com/2008/11/22/no-go-on-logo/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 05:15:50 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[ifupdown]]></category>
		<category><![CDATA[unified]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=604</guid>
		<description><![CDATA[Today, I attempted to make a logo. It didn&#8217;t go well. Not well at all. Since I made ifupdown back in 2007, it&#8217;s needed a logo. This year in fact, did I even attempt to make a homepage. It&#8217;s orange and pretty simplistic. It&#8217;s not something a person looks at with much enthusiasm. I certainly [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I attempted to make a logo. It didn&#8217;t go well. Not well at all.</p>
<p>Since I made <a href="http://ifupdown.com/">ifupdown</a> back in 2007, it&#8217;s needed a logo. This year in fact, did I even attempt to make a homepage. It&#8217;s orange and pretty simplistic. It&#8217;s not something a person looks at with much enthusiasm. I certainly don&#8217;t. I&#8217;ve had no concepts for branding, really, since I have so little ability for design oriented work. Well, that was until recently.</p>
<div id="attachment_606" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-606" title="Current Ifupdown Logo" src="http://blog.ryanrampersad.com/wp-content/uploads/2008/11/home_ifupdown-300x65.png" alt="Current Ifupdown Logo" width="300" height="65" /><p class="wp-caption-text">Current Ifupdown Logo</p></div>
<p>After I made the mooWalkthrough last year and additionally the Fluff Grabber this year, I found out that there was a huge need of a brand. For that reason, during the summer, I took away the old 1and1 domain parking page and replaced it with a spruced up homepage. The cheap logo I made was just some text with some silly arrows. Like I would put that on a business card. I also think the colors are also messed up. I think the colors for the WordPress Admin center are better than <em>orange</em>. Honestly, I only picked orange because I didn&#8217;t want <em>more </em>blue. (Or dark colors.) I support black text. I see all sorts of blogs with black as the background and white (or a light equivalent) text color. It&#8217;s hard on the eyes. People coming from Google have adjust to read the blog if it&#8217;s black on white. (The new theme has a dark blue background, <em>but </em>the background where all the text is white.)</p>
<div id="attachment_607" class="wp-caption alignright" style="width: 155px"><a href="http://blog.ryanrampersad.com/wp-content/uploads/2008/11/png-piup4min.png"><img class="size-full wp-image-607" title="Ifupdown Logo Prototype 4 min" src="http://blog.ryanrampersad.com/wp-content/uploads/2008/11/png-piup4min.png" alt="Ifupdown Logo Prototype 4 min" width="145" height="141" /></a><p class="wp-caption-text">Ifupdown Logo Prototype 4 min</p></div>
<p>The logo I was attempting today was a more of a symbol. I&#8217;m not sure what designers call it but, it was a <em>shape</em>. What I had planned was an up and a down arrow without shafts. The right side of the up arrow would half merged with the left side of the down arrow. Visually, it makes the <strong>up</strong> and <strong>down</strong> words make sense, but the <strong>if</strong> is still left out. I&#8217;m not sure how to visualize <em>ifupdown</em>. I really have no idea. You can get an idea of how this looks with this svg image or by looking to the right. <a href="http://blog.ryanrampersad.com/wp-content/uploads/2008/11/prototype-iudcom4min.svg">Prototype Ifupdown 4 min</a></p>
<p>I&#8217;m going to try again sometime, but it won&#8217;t be for a while. Does anyone have any ideas on what I could do? I&#8217;d really like to make the logo myself and I&#8217;m willing to learn in order to do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2008/11/22/no-go-on-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ Fluff Grabber Fall Update</title>
		<link>http://blog.ryanrampersad.com/2008/11/09/fluff-grabber-fall-update/</link>
		<comments>http://blog.ryanrampersad.com/2008/11/09/fluff-grabber-fall-update/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 20:30:11 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Abstract]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[fluff friends]]></category>
		<category><![CDATA[unified]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=484</guid>
		<description><![CDATA[Over the weekend some of the bugs in the Fluff Grabber have been fixed. Some were javascript bugs and others were back end bugs that were hard to pin down until recently. Here&#8217;s the break down. Javascript The javascript bugs in the fluff grabber didn&#8217;t stop anyone from using the system. However they did annoy [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend some of the bugs in the <a href="http://fluff.ifupdown.com/">Fluff Grabber</a> have been fixed. Some were javascript bugs and others were back end bugs that were hard to pin down until recently. Here&#8217;s the break down.</p>
<h3>Javascript</h3>
<p>The javascript bugs in the fluff grabber didn&#8217;t stop anyone from using the system. However they did annoy me and bog down the server. Here&#8217;s what happens. Before the update, when the crawler (the thing that automatically goes out and looks for new fluff books) had an error while crawling, either a timeout or Facebook error, it would often continue to process even though the system was too unstable for it. That was a problem because needless requests were being sent out and bandwidth was being used. That was a big problem and it was all because of a tiny javascript error in the crawler call back controller.</p>
<h3>Back end/PHP</h3>
<p>The backend had a problem too. Whenever there was an error, I didn&#8217;t know about it until there was something really odd happening with the stat numbers. I don&#8217;t like to do live debugging and I rarely get a chance to do it at home. So I added a bit of logic that if the branch of <em>unknown</em> (if something the system can&#8217;t handle happens) it&#8217;ll send down a parse report in json. It&#8217;s pretty neat. Also, the Curl system that was used to fetch the remote facebook/fluff friend pages has been updated too. It now randomizes the user agent and the referrer, which makes it harder for people to get mad at me.</p>
<h3>Referrers</h3>
<p>I added a referrer catcher in the summer update. Since then, there has been about 370 unique (and just about everything makes it unique) referrer to the fluff grabber main-page. Most of clicks are coming from the <a href="http://www.fluff-friends.com/forum/viewtopic.php?t=3815&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;start=80">fluff friend&#8217;s forum</a>.</p>
<h3>Stats</h3>
<p>Since the summer update of 2008 (oh, rhyme!), there has been an explosion of fluff grabber growth. I&#8217;m not sure of the exact number of fluff books we had indexed then, but at this point we have about <strong>232,000 </strong>fluff books in the database. Can you believe it? There is also about 1000 or so fluff books added daily when there isn&#8217;t much activity via the crawler. We&#8217;ve also surpassed the 10,000 removed mark which is great. It&#8217;s sad to see fluff friends leave but it&#8217;s good to keep the database clean of bad books. Currently, we&#8217;re around <strong>1,502,780 </strong>clicks and that&#8217;s about <strong>7,513,900 </strong>munny. It&#8217;s an unbelievable amount.</p>
<h3>Competition</h3>
<p>Fluff friends finally started their own <a href="http://apps.facebook.com/fluff/new_friends.php"><em>super zoo</em></a>. Of course, it&#8217;s slightly less friendly and much slower than the fluff grabber. It&#8217;s organized by newest fluffs, neglected fluffs and I believe famous fluffs. It&#8217;s slow too, since it&#8217;s on facebook. YSlow claims it took about 29 seconds for that page to load. YSlow claims too, that it took about <em>5 seconds</em> to load the fluff grabber browse page. Big difference?</p>
<h3>The Future</h3>
<p>I want to make some improvements to the load and feel, I always do. It&#8217;s hard to change though because I suck at design and graphics. I&#8217;d like to add a static list for the system. Every single fluff book would be listed on a paginated list that went on forever. Google would probably like that. I want a new fluff grabblet. The current one can&#8217;t keep track of it&#8217;s users. I&#8217;d like to add a sessioning system addition that would also keep track of how many clicks a specific user starts. I&#8217;m not sure how to keep users separate though.</p>
<h3>Conclusion</h3>
<p>The fall update isn&#8217;t a large update but it is important in the ongoing evolution of the fluff grabber system. If you have any questions, comments or concerns, please, leave a comment on this post.. I&#8217;ll try to get back to you as soon as I possibly can.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2008/11/09/fluff-grabber-fall-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ War Game Program Flow</title>
		<link>http://blog.ryanrampersad.com/2008/10/19/war-game-program-flow/</link>
		<comments>http://blog.ryanrampersad.com/2008/10/19/war-game-program-flow/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 03:52:32 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[unified]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=408</guid>
		<description><![CDATA[This is the second post of many in the Deck and Card/War Game series. In this post, we&#8217;re going to think about War&#8217;s flow and how it relates to various levels of existence and systems of grouping. The first clear part of War is there there is simple comparison. Basically, player1 and player2 have cards [...]]]></description>
			<content:encoded><![CDATA[<p>This is the second post of many in the <a href="http://blog.ryanrampersad.com/2008/10/13/deck-and-cards-introduction/">Deck and Card/War Game</a> series. In this post, we&#8217;re going to think about War&#8217;s flow and how it relates to various levels of existence and systems of grouping.</p>
<p>The first clear part of War is there there is <em>simple</em> comparison. Basically, player1 and player2 have cards and you compare them. Then, whoever has the higher card, gets the other player&#8217;s card. Looking at that in a different way though, once those cards are turned face-up (since in War, the deck is face down), neither of the cards belong to the deck&#8217;s of their respective players. In other words, you&#8217;ve created a new deck with a special layout: side by side. This might be a bit confusion, however it makes sense to not call the cards once played belonging to someone because a player will <em>get</em> both cards. We&#8217;ll say that one player <em>gets</em> both cards now, since that makes more sense and you&#8217;ll see why additionally in a moment in terms of war.</p>
<p>The second clear part of War is War. In war, you submit your first three cards on the deck to be offered up and then a fourth card so you can see who wins all of the cards. The three cards each player puts up are really no one&#8217;s cards, because while they are face down, it hardly matter&#8217;s whose cards they were originally. In this way, they&#8217;re put into what is called a <em>winners</em> deck. Along with the three cards from each player in a war, the two original <em>trick</em> cards as well as the war deciding trick cards are put into the <em>winners</em> deck. You don&#8217;t actually have a stack of cards those, the separate deck is a simple way of grouping cards that may switch decks.</p>
<p>The complicated part of war to program is that it may happen again because of the war. Double wars and triple wars aren&#8217;t uncommon so they have to be accounted for. So, you have to use a special structure called a do-while loop, at least, in java they provide it. In PHP, you&#8217;d have to do this another way however, the idea of this is to do the war once and then continue doing wars if need be, but exit the loop otherwise. This solution is elegant and it uses a native structure supported by Java.</p>
<p>So in this post, we&#8217;ve established that you need to group any cards that <em>may</em> switch decks as non-owned cards once outside of the deck. Additionally, wars are annoying because more wars can happen after them.</p>
<p>Hopefully, the next post will have some code with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2008/10/19/war-game-program-flow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ Fluff Friends Trick or Treat</title>
		<link>http://blog.ryanrampersad.com/2008/10/17/fluff-friends-trick-or-treat/</link>
		<comments>http://blog.ryanrampersad.com/2008/10/17/fluff-friends-trick-or-treat/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 02:04:04 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[fluff friends]]></category>
		<category><![CDATA[fluff grabber]]></category>
		<category><![CDATA[unified]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=405</guid>
		<description><![CDATA[(fluff)Friends has started a new game this week. It&#8217;s Trick or Treat, just in time for Halloween. You might&#8217;ve noticed it on your page, a little door with pumpkins off to each side. The game is like the egg hunt and treasure hunt, but rather than getting odd eggs or berried treasure, you get Halloween-like [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://apps.facebook.com/fluff/ffriends_splash.php">(fluff)Friends</a> has started a new game this week. It&#8217;s Trick or Treat, just in time for Halloween. You might&#8217;ve noticed it on your page, a little door with pumpkins off to each side. The game is like the egg hunt and treasure hunt, but rather than getting odd eggs or berried treasure, you get Halloween-like stuff.</p>
<div id="attachment_406" class="wp-caption alignright" style="width: 221px"><a href="http://blog.ryanrampersad.com/wp-content/uploads/2008/10/trickortreat.png"><img class="size-medium wp-image-406" title="Trick or Treat" src="http://blog.ryanrampersad.com/wp-content/uploads/2008/10/trickortreat.png" alt="Fluff Friend's new Game" width="211" height="185" /></a><p class="wp-caption-text">Fluff Friend</p></div>
<p>There are a number of ways for you get more goodies, of course. Whenever you click <em>Knock!</em>, you&#8217;ll get somewhere between three and nine people as choices to pet. There is of course, the <a href="http://apps.facebook.com/fluff/new_friends.php">Fluff Friends internal Zoo</a>, but it&#8217;s not really that good since you can&#8217;t open many at a time and it&#8217;s on facebook so it&#8217;s naturally slow. I suggest the <strong><a href="http://fluff.ifupdown.com/">(fluff)Grabber</a>!</strong></p>
<p>The (fluff)Grabber was made for this kind of game. There is currently over 1,700,000 (fluff)Books in the system and that grows daily by about 500. The system is also very active; today&#8217;s peak alone was about 200,000 clicks!</p>
<p>Happy Trick or Treating, everyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2008/10/17/fluff-friends-trick-or-treat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ (fluff)Friends Treasure Hunt</title>
		<link>http://blog.ryanrampersad.com/2008/09/13/fluff-friends-treasure-hunt/</link>
		<comments>http://blog.ryanrampersad.com/2008/09/13/fluff-friends-treasure-hunt/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 18:40:52 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Abstract]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[fluff friends]]></category>
		<category><![CDATA[fluff grabber]]></category>
		<category><![CDATA[unified]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=334</guid>
		<description><![CDATA[The (fluff)Friends Treasure Hunt started on the 11th of September and ends on the 25th. The treasure hunt is easy. All you have to do is go to a (fluff)Book and then look for the Dig button on the page. Click that then you&#8217;ll either get an empty treasure chest notice or you&#8217;ll get one [...]]]></description>
			<content:encoded><![CDATA[<p>The (fluff)Friends Treasure Hunt started on the 11th of September and ends on the 25th. The treasure hunt is easy. All you have to do is go to a <a href="http://apps.new.facebook.com/fluff/fluffbook.php?id=793140430">(fluff)Book</a> and then look for the <em>Dig</em> button on the page. Click that then you&#8217;ll either get an</p>
<div id="attachment_335" class="wp-caption alignleft" style="width: 223px"><a href="http://blog.ryanrampersad.com/wp-content/uploads/2008/09/fluff-friends-treasure-hunt.png"><img class="size-medium wp-image-335" title="fluff-friends-treasure-hunt" src="http://blog.ryanrampersad.com/wp-content/uploads/2008/09/fluff-friends-treasure-hunt.png" alt="Waiting Treasure Chest" width="213" height="150" /></a><p class="wp-caption-text">Unopened Treasure Chest</p></div>
<p>empty treasure chest notice or you&#8217;ll get one of the three follow scenarios.</p>
<ol>
<li>You <em>simply</em> get the treasure.</li>
<li>You must <em>feed</em> the (fluff)Friend on the page.</li>
<li>You must send a gift to the (fluff)Friend on the page.</li>
</ol>
<p>The game is really simple. Here&#8217;s why I&#8217;m actually blogging about this.</p>
<p>Yesterday, I found out that the traffic to the <a title="fluff grabber" href="http://fluff.ifupdown.com/">(fluff)Grabber</a> jumped from about 35 users per day to nearly 90. The <em>today&#8217;s total clicks</em> stats were listed at nearly <strong>35,000</strong> which is gigantic for clicks in the last <em>24 hours</em>. I believe the treasure hunt made this increase of users and clicks. I&#8217;ll provide some tips below.</p>
<ul>
<li>The (fluff)Grabber is a <em>super-zoo</em>, it is huge, nearly 86,000 (fluff)Books, so don&#8217;t expect to petted regularly from it.</li>
<li>The intention of the (fluff)Grabber is a place where <em>you</em> can pet more people than any other zoo.</li>
<li>It&#8217;s pretty fast. The Open 3, 5 and 10 buttons allows you open many (fluff)Books at once. I recommend that you use Open 5.</li>
<li>Treasure hunting with the <a title="Fluff Grabber" href="http://fluff.ifupdown.com/">(fluff)Grabber</a> is easy! Since there are so many (fluff)Books, there is a much greater possibility that you&#8217;ll find a page with a treasure.</li>
</ul>
<p>Hurry and find your treasure!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2008/09/13/fluff-friends-treasure-hunt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>★ (fluff)Grabber 2008 Summer Release</title>
		<link>http://blog.ryanrampersad.com/2008/08/15/fluffgrabber-2008-summer-release/</link>
		<comments>http://blog.ryanrampersad.com/2008/08/15/fluffgrabber-2008-summer-release/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 16:23:00 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Abstract]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[fluff friends]]></category>
		<category><![CDATA[fluff grabber]]></category>
		<category><![CDATA[unified]]></category>

		<guid isPermaLink="false">http://blog.ryanrampersad.com/?p=156</guid>
		<description><![CDATA[Welcome to the (fluff)Grabber 2008 Summer Release! The new (fluff)Grabber has been released and now everyone can enjoy the new system. Here are some of the new features. Modified Design &#8211; The design is now cleaner. Things are easier to read. Everything looks cleaner and much more finished. Totally rewritten &#8211; All of the general [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the <strong><a href="http://fluff.ifupdown.com/?r">(fluff)Grabber</a> 2008 Summer Release</strong>! The new <a href="http://fluff.ifupdown.com/?r">(fluff)Grabber</a> has been released and now everyone can enjoy the new system. Here are some of the new features.</p>
<ul>
<li>Modified Design &#8211; The design is now cleaner. Things are easier to read. Everything looks cleaner and much more finished.</li>
<li>Totally rewritten &#8211; All of the general text has been reworded to make sure everyone understands exactly what&#8217;s going on and hopefully to get some good SEO perks.</li>
<li>Better Stats &#8211; The old system had some stats in the upper right corner with little or no explanation. There is now a <a href="http://fluff.ifupdown.com/information.php?page=stats">new stats page</a>, which can be found in the footer.</li>
<li>Updated <a href="http://fluff.ifupdown.com/browse.php">Browse Page</a> &#8211; The place where everyone goes! It&#8217;s better than ever. There are even sub-points in this one.
<ol>
<li>Cleaner Tool Sidebar &#8211; The old <em>tool</em> bar was pretty messy. It&#8217;s now cleaner and much easier to ignore.</li>
<li>New <em>&#8220;Add a (fluff)Book&#8221;</em> &#8211; A thing I didn&#8217;t add the first time around, a fluff book adder. Many people want to do this themselves. They all have the chance to get into the largest Zoo ever!</li>
<li>New <em>&#8220;Feedback Form&#8221; &#8211; </em>Getting feedback started this big upgrade. This new form allows all of the great people who use the (fluff)Grabber to get in touch with me.</li>
<li>Special Consideration &#8211; A way of saying <strong>thank you</strong> to all of those who stay active on <em>(fluff)Friends</em>. User&#8217;s who have recently interacted with their <strong>own</strong> (fluff)Friend get a highlighted box around their (fluff)Book ID in the (fluff)Book list.</li>
<li>New Open <em>X </em>Buttons &#8211; Maybe opening five links was just too much at once. How about 3? Maybe five wasn&#8217;t enough? How about 10 at once? Go for it!</li>
<li>Speedier &#8211; Everything is speedier about the browse page.</li>
</ol>
</li>
<li><a href="http://fluff.ifupdown.com/fg.js">(fluff)Grablet</a> &#8211; Formerly known as the <strong>(fluff)Grabber Bookmarklet</strong>, renamed to the (fluff)Grablet! It has had an overhaul too! It&#8217;s smaller than it was before. It can do more too.
<ol>
<li>Smaller Code &#8211; The code is a bit smaller. It might not make a difference at first. However, at <em>3.39KB </em>per request, it adds up!</li>
<li>Smaller Image Tracker &#8211; This is technical, unless you understand sending data to servers via an image tag, skip this one. Basically, the old images were 850 bytes. Now they&#8217;re 35. I think that&#8217;s a <strong>411</strong> percent (411%) savings! So if you had 30 links on a page before, you&#8217;d request about 25KB of data, now you request about 1.02KB of data for those same 30 links!</li>
<li>New Color &#8211; There was Red (already in system) and Green (just added), now there is Yellow! It&#8217;s when I set the <strong>origin</strong> to a fluff(Book).</li>
</ol>
</li>
<li>Crawler &#8211; Honestly, this was the most challenging and interesting to work on. Basically, if you know anything about search engines, you&#8217;ll understand the Crawler. Every <strong>30</strong> days, it&#8217;ll go out and look at <em>all</em> un-deletedÃ‚Â  (fluff)Books in the system. If they become removed at that time, they&#8217;re deleted from the system then. If not though, the cool stuff happens! The crawler will look on the pages for (fluff)Book links. Just like the (fluff)Grablet, it&#8217;ll add un-added books to the system and leave out those that are already in. It even looks for origins. Of course, this is all automated too.</li>
</ul>
<p>Well, there you have it, the summery of the new <a href="http://fluff.ifupdown.com/?r">(fluff)Grabber</a>! Please, visit the largest super-zoo today! Leave some feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanrampersad.com/2008/08/15/fluffgrabber-2008-summer-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

