<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The Open Source Experience</title>
	<atom:link href="http://cgomes7.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cgomes7.wordpress.com</link>
	<description>Cesar&#039;s introduction to the open source world</description>
	<lastBuildDate>Wed, 20 Apr 2011 18:44:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cgomes7.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Open Source Experience</title>
		<link>http://cgomes7.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cgomes7.wordpress.com/osd.xml" title="The Open Source Experience" />
	<atom:link rel='hub' href='http://cgomes7.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Bug #1065 &#8211; Sometimes there is no right answer</title>
		<link>http://cgomes7.wordpress.com/2011/04/20/bug-1065-sometimes-there-is-no-right-answer/</link>
		<comments>http://cgomes7.wordpress.com/2011/04/20/bug-1065-sometimes-there-is-no-right-answer/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 18:44:52 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=72</guid>
		<description><![CDATA[So I&#8217;m still working on bug #1065, the only real progress that I&#8217;ve made is to find out that what I have done so far is definitely not the right answer. After spending time chatting on IRC, it seems the &#8230; <a href="http://cgomes7.wordpress.com/2011/04/20/bug-1065-sometimes-there-is-no-right-answer/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=72&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Tahoma;font-size:medium;">So I&#8217;m still working on <a title="1065" href="https://processing-js.lighthouseapp.com/projects/41284-processingjs/tickets/1065-the-key-variable-holds-the-wrong-data-type#ticket-1065-14" target="_blank">bug #1065</a>, the only real progress that I&#8217;ve made is to find out that what I have done so far is definitely not the right answer. After spending time chatting on IRC, it seems the right answer is not so obvious. One solution that I&#8217;ve been working on involves changing the Char constructor to accept a number. Currently it only accepts a string with a length that is equal to one. Everything else is created with the value &#8220;NaN&#8221;. This may solve another bug, p5 allows a user to create a Char from a number. The char is then printed as the charcter of that value. I can get similiar functionality by changing Char.ValueOf() to return a string from the char code. Now Char will hold a int but when it is called, it will return a string of the char. This creates problems though and breaks 5 tests. I&#8217;ll submit my change to the Char constructor to see what peole think. Then go from there. This bug has become a example of how sometimes there is no right solution to a problem. Sometimes theres only a less wrong answer.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=72&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/04/20/bug-1065-sometimes-there-is-no-right-answer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>
	</item>
		<item>
		<title>Bug #1210</title>
		<link>http://cgomes7.wordpress.com/2011/04/20/bug-1210/</link>
		<comments>http://cgomes7.wordpress.com/2011/04/20/bug-1210/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 13:30:00 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=68</guid>
		<description><![CDATA[I chose to work on processing.js bug #1210 for my 0.3 release. This bug was not a very difficult bug. The bug was filed with an example program and a solution that made it easy to understand. I chose this &#8230; <a href="http://cgomes7.wordpress.com/2011/04/20/bug-1210/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=68&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I chose to work on processing.js <a title="1210" href="https://processing-js.lighthouseapp.com/projects/41284/tickets/1210-subsetarray-offset-is-broken" target="_blank">bug #1210</a> for my 0.3 release. This bug was not a very difficult bug. The bug was filed with an example program and a solution that made it easy to understand. I chose this bug because I had prior knowledge of javascript arrays, and the splice function when I worked on a bug with the ArrayList constructor. The bug fix was easy, but it was important to submit tests to keep subset from breaking again. There were no exixting tests for subset, so when subset stopped working, no one was aware of it. Finding sections of code that have no tests are important bugs to file. When a project lacks test coverage, people are only made aware of bugs when they go to use the code, and it does not behave the way expected. Some example tests were posted, and I also replecated similiar tests that are found in the splice test file. So now I&#8217;ll submit that bug for review to see if I covered enough in my tests.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=68&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/04/20/bug-1210/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>
	</item>
		<item>
		<title>bug #1065 &#8211; Working on key</title>
		<link>http://cgomes7.wordpress.com/2011/04/18/bug-1065-working-on-key/</link>
		<comments>http://cgomes7.wordpress.com/2011/04/18/bug-1065-working-on-key/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 22:23:33 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=66</guid>
		<description><![CDATA[For my 0.3 release for dps909, Ive decided to work on bug #1065. The main problem behind this bug is the key, which should be the value of the key pressed, prints out the ascii value instead of the character. &#8230; <a href="http://cgomes7.wordpress.com/2011/04/18/bug-1065-working-on-key/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=66&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Tahoma;font-size:medium;">For my 0.3 release for dps909, Ive decided to work on<a title="1065" href="https://processing-js.lighthouseapp.com/projects/41284/tickets/1065-the-key-variable-holds-the-wrong-data-type" target="_blank"> bug #1065</a>. The main problem behind this bug is the key, which should be the value of the key pressed, prints out the ascii value instead of the character. Typically this would be simple, but being that javascript does not have a char type, I thought it would be interesting to tackle. I was very lucky, pomax has created a <a title="sample" href="https://processing-js.lighthouseapp.com/projects/41284/tickets/1065/a/984132/p5codes.txt" target="_blank">sample program</a> with a chart of all the key codes. Using this chart, I compared the codes that were printed using processing.js. Turns out the key mapping in processing.js was missing some keys, so I added them.<br />
Next is to have the key print out a character instead of an ascii code. Typically this would just involve casting to char but javascript does not have a char type. So I tried this command:</span></p>
<p><span style="font-family:Tahoma;font-size:medium;">String.fromCharCode(charCodeMap(e.keyCode, e.shiftKey));</span></p>
<p><span style="font-family:Tahoma;font-size:medium;">This command would take the ascii value return by charCodeMap and return a string of the character. This would be great, but key should hold a char not string. When using the example program, int(key) no long returns the ascii value because it cannot cast the string to and interger. Next I tried this:</span></p>
<p><span style="font-family:Tahoma;font-size:medium;">new Char(String.fromCharCode(charCodeMap(e.keyCode, e.shiftKey)).charAt(0));</span></p>
<p><span style="font-family:Tahoma;font-size:medium;">Lets take that string value and create a processing.js Char type. This would work great but turns out that processing.js Char type returns the ascii value and not the character. To retrieve a character, toString() must be used. I can modify processing.js Char to work the way I want and return a character, but then I have broken Char in other places. Seems to be no perfect answer to this bug, functionality compared to p5 will be sacrficed somewhere. I guess I&#8217;m off to irc to see what other people think.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=66&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/04/18/bug-1065-working-on-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>
	</item>
		<item>
		<title>Modifying Minefield</title>
		<link>http://cgomes7.wordpress.com/2011/03/29/modifying-minefield/</link>
		<comments>http://cgomes7.wordpress.com/2011/03/29/modifying-minefield/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 11:43:48 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=56</guid>
		<description><![CDATA[This week in dps909, we were given the task of searching through firefox code and making changes. The 2 desired changes are: make it so all tabs are created next to the tab in focus, and change navigation through tabs &#8230; <a href="http://cgomes7.wordpress.com/2011/03/29/modifying-minefield/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=56&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This week in dps909, we were given the task of searching through firefox code and making changes. The 2 desired changes are: make it so all tabs are created next to the tab in focus, and change navigation through tabs from  ctrl + number to alt + number.</p>
<p>First we were shown how to use <a title="cross reference" href="http://mxr.mozilla.org/mozilla-central/" target="_blank">Mozilla cross reference</a> effectively. The cross reference can be used to search through firefox source code. Using key terms, one can locate the necessary lines of code and then makes changes in your local copy. In class we searched through code were tab creation may be handled. Eventually we found some code, in <a title="tabbrowser" href="http://mxr.mozilla.org/mozilla-central/source/browser/base/content/tabbrowser.xml#1389" target="_blank">tabbrowser.xml</a>, where we believed that our changes can be made.</p>
<pre>// Check if we're opening a tab related to the current tab and
// move it to after the current tab.
// aReferrerURI is null or undefined if the tab is opened from
// an external application or bookmark, i.e. somewhere other
// than the current tab.
if ((aRelatedToCurrent == null ? aReferrerURI : aRelatedToCurrent) &amp;&amp;
 Services.prefs.getBoolPref("browser.tabs.insertRelatedAfterCurrent")) {</pre>
<p>The code we found had comments explaining that during the creation of a tab, it will check to see if the tab is related, if so, it will create the tab next to the tab in focus. This was the functionality that we wanted, but we wanted it with every tab. So by commenting out the the check, it should create the tab next to the tab in focus every time. Using the command below we created a patch and then re-compiled minefield.<br />
hg diff -p -u 8 &gt; tab.patch</p>
<p>That simple changed seemed to work. As you can see in the image below, the new tab is create next to the tab in focus and not at the end. Minefield is imitating the functionality of being a related tab for every tab created. The patch can be found <a title="patch" href="http://zenit.senecac.on.ca/wiki/index.php/User:Cgomes7/minefield_changes#Patches" target="_blank">here</a> on my wiki.</p>
<p><a href="http://cgomes7.files.wordpress.com/2011/03/mineifeldchanges.jpg"><img class="alignnone size-full wp-image-61" title="mineifeldchanges" src="http://cgomes7.files.wordpress.com/2011/03/mineifeldchanges.jpg?w=640&#038;h=564" alt="" width="640" height="564" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=56&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/03/29/modifying-minefield/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>

		<media:content url="http://cgomes7.files.wordpress.com/2011/03/mineifeldchanges.jpg" medium="image">
			<media:title type="html">mineifeldchanges</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Ref tests</title>
		<link>http://cgomes7.wordpress.com/2011/03/18/creating-ref-tests/</link>
		<comments>http://cgomes7.wordpress.com/2011/03/18/creating-ref-tests/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 21:53:04 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=44</guid>
		<description><![CDATA[In dps909 this week we were asked to help a group project to convert all the processing.js examples in the seneca directory into ref tests. The examples are sketches that were created in the early stages of processing.js. Most sketches &#8230; <a href="http://cgomes7.wordpress.com/2011/03/18/creating-ref-tests/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=44&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Times New Roman;font-size:small;"> </span></p>
<p><span style="font-family:Tahoma;font-size:medium;">In dps909 this week we were asked to help a group project to convert all the processing.js examples in the seneca directory into ref tests. The examples are sketches that were created in the early stages of processing.js. Most sketches have an image of how the sketch looks in p5 and then it renders it using pjs. After the sketches have been loaded, it is up to the user to compare the sketches. As pjs grows, these tests have multiplied to the point where all the tests cannot be performed manually. Ref tests takes a series of pixel information from a passed test so it can be used to check the same sketch in the future. With this pixel information, tests can be performed and checked easily and quickly.</span><br />
<span style="font-family:Tahoma;font-size:medium;"><br />
Its very simple to create ref tests. Go to the <a title="seneca example directory" href="http://scotland.proximity.on.ca/dxr/tmp/processing-js/examples/seneca/" target="_blank">seneca directory</a> of pjs and run an example. Take the sketch code and run it in p5. Compare it to the result in p5.</span></p>
<p>Sketch Code:<br />
void setup() {<br />
size();<br />
background(153);<br />
}</p>
<p>void draw() {<br />
line(0, 0, width, height);<br />
}</p>
<table>
<tbody>
<tr>
<th>p5</th>
<th>pjs</th>
</tr>
<tr>
<td><a href="http://cgomes7.files.wordpress.com/2011/03/example.jpg"><img class="alignnone size-full wp-image-46" title="example" src="http://cgomes7.files.wordpress.com/2011/03/example.jpg?w=143&#038;h=166" alt="" width="143" height="166" /></a></td>
<td><a href="http://cgomes7.files.wordpress.com/2011/03/example1.jpg"><img class="alignnone size-full wp-image-47" title="example1" src="http://cgomes7.files.wordpress.com/2011/03/example1.jpg?w=321&#038;h=348" alt="" width="321" height="348" /></a></td>
</tr>
</tbody>
</table>
<p>Being that the sketches look the same, we can create a ref test using the<a title="processing helper" href="http://scotland.proximity.on.ca/dxr/tmp/processing-js/tools/processing-helper.html" target="_blank"> pjs helper</a>. The result is a ref test that can be saved as a pde file and placed in the ref test directory. Information on the tests I completed can be found on my <a title="ref tests" href="http://zenit.senecac.on.ca/wiki/index.php/User:Cgomes7/ref_tests" target="_blank">wiki.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=44&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/03/18/creating-ref-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>

		<media:content url="http://cgomes7.files.wordpress.com/2011/03/example.jpg" medium="image">
			<media:title type="html">example</media:title>
		</media:content>

		<media:content url="http://cgomes7.files.wordpress.com/2011/03/example1.jpg" medium="image">
			<media:title type="html">example1</media:title>
		</media:content>
	</item>
		<item>
		<title>Bug #1139 &#8211; Oops, my bad.</title>
		<link>http://cgomes7.wordpress.com/2011/03/15/bug-1139-oops-my-bad/</link>
		<comments>http://cgomes7.wordpress.com/2011/03/15/bug-1139-oops-my-bad/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 13:33:09 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=42</guid>
		<description><![CDATA[So for those who read my last blog post, you can probably disregard most of it because turns out I made a novice mistake and worked on an old version of processing.js. When I created my branch for my bug &#8230; <a href="http://cgomes7.wordpress.com/2011/03/15/bug-1139-oops-my-bad/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=42&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Tahoma;font-size:medium;">So for those who read my last blog post, you can probably disregard most of it because turns out I made a novice mistake and worked on an old version of processing.js. When I created my branch for my bug in git gui, I forgot to select the branch from 1.1, so it branched from what I assume is the default version 0.7. So I’m going to attempt to do this bug again. In version 1.1, the Arraylist already distinguishes from a number and arraylist parameter.</span></p>
<p>} else if (arguments.length &gt; 0 &amp;&amp; typeof arguments[0] !== &#8216;number&#8217;) {<br />
array = arguments[0];</p>
<p>The code above accepts arguments such as array, objects, array-like objects. I found<a title="objects and array-like objects " href="http://nfriedly.com/techblog/2009/06/advanced-javascript-objects-arrays-and-array-like-objects/" target="_blank"> this site</a> helpful when trying to understand objects, arrays and array-like objects. By changing the code to array.arguments[0].toArray(), the values get copied properly so they can be used. The problem that this creates is that, toArray is a arraylist function, therefore if the constructor receives an array, the toArray function will not be available.<br />
As a result I thought to check for an arraylist and an array.</p>
<p>if(arguments[0].toArray){<br />
array = arguments[0].toArray();<br />
}else if (arguments[0].slice){<br />
array = arguments[0].slice(0);<br />
}</p>
<p>After review, I was told that we should limit the types of acceptable parameters to only Arraylist and number. So I removed the section for array and I had to change the clone() function because it uses an array. I changed it from:</p>
<p>return new ArrayList(array.slice(0));<br />
to<br />
return new ArrayList(this);</p>
<p>Now everything should work, arraylist now accepts an arraylist as a parameter.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=42&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/03/15/bug-1139-oops-my-bad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>
	</item>
		<item>
		<title>Release 0.2 – Bug #1139</title>
		<link>http://cgomes7.wordpress.com/2011/03/11/release-0-2-%e2%80%93-bug-1139/</link>
		<comments>http://cgomes7.wordpress.com/2011/03/11/release-0-2-%e2%80%93-bug-1139/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 05:19:34 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=39</guid>
		<description><![CDATA[So sticking with Processing.js, I decided to work on bug #1139. After a bit of testing, I found that the reason the example below doesn&#8217;t work properly is because there is no constructor to handle ArrayList as a parameter. ArrayList &#8230; <a href="http://cgomes7.wordpress.com/2011/03/11/release-0-2-%e2%80%93-bug-1139/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=39&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So sticking with Processing.js, I decided to work on bug <a title="1039" href="https://processing-js.lighthouseapp.com/projects/41284/tickets/1139-arraylists-copy-constructor-does-not-work-11#ticket-1139-1" target="_blank">#1139</a>. After a bit of testing, I found that the reason the example below doesn&#8217;t work properly is because there is no constructor to handle ArrayList as a parameter.</p>
<p><code>ArrayList second = new ArrayList(first);</p>
<p></code>Because the constructor was expecting an int, it would take the object and create and array of the same size without taking the values.<code> </code>Using the &#8220;typeof&#8221; command, I could test the parameters and if the parameter was an object, create a copy of the array. <code> </code></p>
<p>if(typeof size === &#8220;object&#8221;){<br />
var array = size.slice(0);<br />
}else{<br />
var array = new Array(0 | size);<br />
}<br />
Now what was left was to create some tests, I created an ArrayList test file because I could not find one and inputted some tests.</p>
<h5>ArrayList first = new ArrayList();<br />
first.add(&#8220;1&#8243;);<br />
first.add(&#8220;2&#8243;);<br />
first.add(&#8220;3&#8243;);<br />
first.add(&#8220;4&#8243;);<br />
first.add(&#8220;5&#8243;);</p>
<p>ArrayList second = new ArrayList();<br />
second.add(&#8220;1&#8243;);<br />
second.add(&#8220;2&#8243;);<br />
second.add(&#8220;3&#8243;);<br />
second.add(&#8220;4&#8243;);<br />
second.add(&#8220;5&#8243;);</p>
<p>ArrayList third = new ArrayList(first);</p>
<p>_checkEqual(first, second);<br />
_checkEqual(first, third);<br />
_checkEqual(third, second);</h5>
<p>Then I ran all the tests.</p>
<p><a href="http://cgomes7.files.wordpress.com/2011/03/1139.jpg"><img class="alignnone size-full wp-image-40" title="1139" src="http://cgomes7.files.wordpress.com/2011/03/1139.jpg?w=640&#038;h=371" alt="" width="640" height="371" /></a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=39&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/03/11/release-0-2-%e2%80%93-bug-1139/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>

		<media:content url="http://cgomes7.files.wordpress.com/2011/03/1139.jpg" medium="image">
			<media:title type="html">1139</media:title>
		</media:content>
	</item>
		<item>
		<title>Release 0.2 &#8211; Bug #1077</title>
		<link>http://cgomes7.wordpress.com/2011/03/10/release-0-2-bug-1077/</link>
		<comments>http://cgomes7.wordpress.com/2011/03/10/release-0-2-bug-1077/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 20:08:20 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=36</guid>
		<description><![CDATA[For our second release for dps909, we had to pick 2 more bugs to fix. They could either be from popcorn.js, processing.js, or if you perferred, 2 bugs from one project. For my first bug, I was looking to choose &#8230; <a href="http://cgomes7.wordpress.com/2011/03/10/release-0-2-bug-1077/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=36&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Tahoma;font-size:medium;color:#000000;">For our second release for dps909, we had to pick 2 more bugs to fix. They could either be from popcorn.js, processing.js, or if you perferred, 2 bugs from one project. For my first bug, I was looking to choose one form processing.js because I felt I was bit more comfortable with processing. While reading through the tickets I stumbled on <a title="#1077" href="https://processing-js.lighthouseapp.com/projects/41284/tickets/1077-move-colors-object-out-of-the-processing-instance" target="_blank">ticket #1077</a>, being that my first bug was with the color object, I knew the problem without even looking at the code.</span></p>
<p><span style="font-family:Tahoma;font-size:medium;color:#000000;">Solving this bug was quite simple, espcially now because we have covered javascript heavily in class since our first release. I moved the colour variable, which is a long list of colours being assigned their hex colour codes, out of the processing instance. This will result in saving memory because the list of colours does not have to be compiled during every processing instance.<br />
So before pushing to my remote repo, I performed the necessary tests. All tests passed and I pushed to my repo, which can be <a title="tree 1077" href="https://github.com/cgomes7/processing-js/tree/%231077" target="_blank">found here</a>.</span></p>
<p><a href="http://cgomes7.files.wordpress.com/2011/03/1077tests.jpg"><img class="alignnone size-full wp-image-37" title="1077tests" src="http://cgomes7.files.wordpress.com/2011/03/1077tests.jpg?w=640&#038;h=383" alt="" width="640" height="383" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=36&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/03/10/release-0-2-bug-1077/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>

		<media:content url="http://cgomes7.files.wordpress.com/2011/03/1077tests.jpg" medium="image">
			<media:title type="html">1077tests</media:title>
		</media:content>
	</item>
		<item>
		<title>Popcorn.js Documentation: Subtitle Plug-in</title>
		<link>http://cgomes7.wordpress.com/2011/03/07/popcorn-js-documentation-subtitle-plug-in/</link>
		<comments>http://cgomes7.wordpress.com/2011/03/07/popcorn-js-documentation-subtitle-plug-in/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 23:41:00 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=33</guid>
		<description><![CDATA[In DPS909, we were asked to contribute to the creating of the documentation for the popcorn.js plug-ins. I created a documentation page for the subtitle plug-in, that page can be found here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=33&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In DPS909, we were asked to contribute to the creating of the documentation for the popcorn.js plug-ins. I created a documentation page for the subtitle plug-in, that page can be found<a title="Subtitle Documentation" href="http://zenit.senecac.on.ca/wiki/index.php/User:Cgomes7/Subtitle_Documentation" target="_blank"> here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=33&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/03/07/popcorn-js-documentation-subtitle-plug-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>
	</item>
		<item>
		<title>Running out of time&#8230;bug #235</title>
		<link>http://cgomes7.wordpress.com/2011/02/11/running-out-of-time-bug-235/</link>
		<comments>http://cgomes7.wordpress.com/2011/02/11/running-out-of-time-bug-235/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 23:23:57 +0000</pubDate>
		<dc:creator>cgomes7</dc:creator>
				<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://cgomes7.wordpress.com/?p=31</guid>
		<description><![CDATA[So I moved on to my popcorn.js bug this week, bug #235. Reading the bug comments, I had a feeling this wasn&#8217;t going to be easy. So I began to set up popcorn.js and started to play around with some &#8230; <a href="http://cgomes7.wordpress.com/2011/02/11/running-out-of-time-bug-235/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=31&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I moved on to my popcorn.js bug this week, <a title="bug #235" href="https://webmademovies.lighthouseapp.com/projects/63272/tickets/235-videoduration-is-not-reliable" target="_blank">bug #235</a>. Reading the bug comments, I had a feeling this wasn&#8217;t going to be easy. So I began to set up popcorn.js and started to play around with some examples. Looking at the code, I didn&#8217;t feel confident that I was going to figure it out. Not having much experience with javascript, it was a bit over-whelming. So I worked away trying to create an example to see if I could break video.duration(). I was unable to recreate the problem with the timing of the video. We covered javascript in class on Thursday and it helped a lot. Hopefully as we continue to learn more javascript, it will make more sense to me. I still have a deadline though, so I completed popcorn.js <a title="Bug 322" href="https://webmademovies.lighthouseapp.com/projects/63272-popcorn-js/tickets/322-create-authors-page#ticket-322-3" target="_blank">bug #322</a> instead.  It is a very simple bug, but I wasn&#8217;t going to complete my first bug on time so, I had no choice. But I haven&#8217;t given up on bug #235.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cgomes7.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cgomes7.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cgomes7.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cgomes7.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cgomes7.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cgomes7.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cgomes7.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cgomes7.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cgomes7.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cgomes7.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cgomes7.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cgomes7.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cgomes7.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cgomes7.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cgomes7.wordpress.com&amp;blog=19116639&amp;post=31&amp;subd=cgomes7&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cgomes7.wordpress.com/2011/02/11/running-out-of-time-bug-235/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5815c1d688965c3cb7691458a91859be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgomes7</media:title>
		</media:content>
	</item>
	</channel>
</rss>
