<?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>Greg Krilov&#039;s Blog &#187; open-source</title>
	<atom:link href="http://gkrilov.com/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://gkrilov.com</link>
	<description>Seneca College &#124; Toronto Canada</description>
	<lastBuildDate>Wed, 07 Mar 2012 01:40:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gkrilov.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/d6555423e689bcefc33346c4574018a9?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Greg Krilov&#039;s Blog &#187; open-source</title>
		<link>http://gkrilov.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gkrilov.com/osd.xml" title="Greg Krilov&#039;s Blog" />
	<atom:link rel='hub' href='http://gkrilov.com/?pushpress=hub'/>
		<item>
		<title>0.4 Release</title>
		<link>http://gkrilov.com/2011/12/11/0-4-release/</link>
		<comments>http://gkrilov.com/2011/12/11/0-4-release/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 01:44:22 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[javascript xml]]></category>
		<category><![CDATA[javascript xmlelement]]></category>
		<category><![CDATA[xml element]]></category>
		<category><![CDATA[xmlelement]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=250</guid>
		<description><![CDATA[For my 0.4 and final release I chose a ticket from the &#8220;bugs&#8221; folder instead of the starters folder for once. The ticket I chose was t1540-Rewrite XMLElement constructor which involved rewriting the XMLElement constructor and additional functions to use &#8230; <a href="http://gkrilov.com/2011/12/11/0-4-release/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=250&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For my 0.4 and final release I chose a ticket from the &#8220;bugs&#8221; folder instead of the starters folder for once. The ticket I chose was <a href="https://processing-js.lighthouseapp.com/projects/41284/tickets/1540-rewrite-xmlelement-constructor">t1540-Rewrite XMLElement constructor</a> which involved rewriting the XMLElement constructor and additional functions to use explicit arguments instead of using arguments.length. The biggest issue I had with this that made this take such a monstrous amount of time was the fact that I had absolutely no idea what this code does neither did I know anything about this XMLElement class. This resulted in me rewriting it a number of times until I thought it sort of looked correct. I also had to brush up on what exactly undefined means <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   After I thought I had the constructor finished I went on to modify the rest of the functions in XMLElement which used arguments &#8211; this was a little bit easier as they were not as complicated to understand as was the constructor. Once this was done I thought I was finished and so I pushed it for peer review.</p>
<p>I got a response pretty fast which was PR-! The problem was that some unit tests were failing. The reason why this happened was that I never was able to run unit tests prior as I was not able to make moz build run make check. Now my task was to see why these tests were failing so I improvised by copying the code from each into example.pde and debugged it line by line from there. Doing it this way made it pretty easy to find the problems and fix them, as well as learning a little bit about XMLElement as I went through it!</p>
<p>This time when pushed it for review Pomax replied instead saying that there are a few more things I need to fix as well as the fact that he already made a similar constructor for a different ticket! With his help I changed my constructor around to be more efficient but I don&#8217;t know if my constructor code will actually get pushed anymore as they already have something similar. On the other hand, I think that my other function code will get applied as they do not have it yet.</p>
<p>If anyone wants to see, my branch is at <a href="https://github.com/gkrilov/processing-js/tree/t1540">https://github.com/gkrilov/processing-js/tree/t1540</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=250&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/12/11/0-4-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>
	</item>
		<item>
		<title>Peer review requested!</title>
		<link>http://gkrilov.com/2011/12/01/peer-review-requested/</link>
		<comments>http://gkrilov.com/2011/12/01/peer-review-requested/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 00:44:27 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=245</guid>
		<description><![CDATA[So finally after 2.5 month my tickets finally started getting peer reviewed you can imagine how much of a mess all my code was because I did not know what exactly the style should be .. I had tabs all &#8230; <a href="http://gkrilov.com/2011/12/01/peer-review-requested/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=245&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So finally after 2.5 month my tickets finally started getting peer reviewed <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  you can imagine how much of a mess all my code was because I did not know what exactly the style should be .. I had tabs all over the place, spaces where there should not have been spaces, comments where comments should not have been &#8211; you get he point <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I can safely say that I now know what style the code should go in to get accepted&#8230; now does my code have any problems? well that is a whole other story. So far out of my 5 tickets I have had one technically approved.. although we found out that because of ArrayList methods are private they will not be accessible outside of it and therefore this fixed bug was in the end marked as &#8220;wont fix&#8221;.</p>
<p>A few of my other bugs are currently jumping around from being assigned to jon buckley to be assigned to be for &#8220;review- needs work&#8221; and one of my bugs has not yet been looked at. I am currently in the process of trying to fix my 0.4 XML constructor bug as it seems to have some issues with the unit tests.</p>
<p>So far I am happy with the way things are going and in general happy with the big amount of JavaScript skills I have learned from being in this course.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=245&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/12/01/peer-review-requested/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>
	</item>
		<item>
		<title>0.3 Release notes</title>
		<link>http://gkrilov.com/2011/11/13/0-3-release-notes/</link>
		<comments>http://gkrilov.com/2011/11/13/0-3-release-notes/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 23:22:45 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[javascript arraylist iterator]]></category>
		<category><![CDATA[javascript iterator]]></category>
		<category><![CDATA[javascript removeall]]></category>
		<category><![CDATA[javascript removerange]]></category>
		<category><![CDATA[processing iterator remove]]></category>
		<category><![CDATA[processing javascript iterator]]></category>
		<category><![CDATA[processing removeall]]></category>
		<category><![CDATA[processing removerange]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=161</guid>
		<description><![CDATA[For my 0.3 I had to do more work than for my 0.2 so I did two tickets as well as I found an issue in code and fixed that as well. The two tickets I picked had to do &#8230; <a href="http://gkrilov.com/2011/11/13/0-3-release-notes/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=161&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For my 0.3 I had to do more work than for my 0.2 so I did two tickets as well as I found an issue in code and fixed that as well.</p>
<p>The two tickets I picked had to do with the same part of code which was our ArrayList implementation.</p>
<p>The tickets were:<br />
<a href="https://processing-js.lighthouseapp.com/projects/41284-processingjs/tickets/1734-add-arraylistremoverange#ticket-1734-5">#1734 Add ArrayList.removeRange</a> &#8211; http://download.oracle.com/javase/6/docs/api/java/util/AbstractList.html#removeRange%28int,%20int%29<br />
<a href="https://processing-js.lighthouseapp.com/projects/41284-processingjs/tickets/1001-removeall-method-not-implemented#ticket-1001-18">#1001 removeAll() method not implemented </a>- http://download.oracle.com/javase/6/docs/api/java/util/AbstractCollection.html#removeAll%28java.util.Collection%29</p>
<p>Each required me to create a different function for the ArrayList implementation of processing.js</p>
<p>removeRange was very straight forward although I did have to look at how Java implements this method and match it accordingly.</p>
<p>removeAll on the otherhand was different and more complicated because I not only had to create the function but I also had to make it more efficient than it&#8217;s Java implementation and for that i used the following link:</p>
<p>http://www.ahmadsoft.org/articles/removeall/index.html</p>
<p>At first I wanted to port the Java implementation to see how it works and then after change it to be more efficient after. The implementation uses iterator and it just happens our ArrayList has an iterator created for it. After trying to do it I quickly found out that the iterator<br />
code we have is not completely correct as our remove function was not created according<br />
to the Java API and therefore was breaking my code. The problem was that calling the remove function has to be preceded by a call to next because you cannot remove an item until next has been called as specified by the Java API and this was not reflected in the code. To fix this I created a variable which gets set when next gets called and reset when remove gets called. The next problem was that when next is called to get the value the index was also being incremented by one so that next time you call next it will be the next value. This was a problem because if you call remove right after you call next you would be removing the incorrect item as a result of previously incrementing the index by 1. To fix this I simply had to use index-1 in the remove function instead. The last problem with the iterator was the problem that when you removed an item the index was not being updated correctly to point to the new current item so i simply had to decrement index by 1 after every successful call to the remove function.</p>
<p>With this fixed and the code working I felt good about no trying to create more efficient code by looking at what was done in the link posted earlier. Basically the problem was that the was which the original code was written the worst case scenario is f(n^2) which is slow and the person was able to change it to a constant f(n). It is n^2 because for each item to remove you need to use remove which is apparently a f(n) operation and since it is possible to call remove at every point in the loop it ends up being a f(n^2). The way that I fixed this was take out the remove completely and instead check if an item in the current arraylist is not present in the collection and if not then simply put that item into a new array.</p>
<p>The thing I am wondering though is although Java&#8217;s iterator remove function is f(n) I am not sure if the JavaScript remove function is f(n) and changing the implementation was even necessary?</p>
<p>Anyways this is my 0.3 and I am glad it is finished! I spent a good part of my weekend working on this to get it over with as i have a lot of things to do this week.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=161&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/11/13/0-3-release-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>
	</item>
		<item>
		<title>Trying to build firefox in debug mode!</title>
		<link>http://gkrilov.com/2011/11/08/trying-to-build-firefox-in-debug-mode/</link>
		<comments>http://gkrilov.com/2011/11/08/trying-to-build-firefox-in-debug-mode/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 18:19:11 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[atlbase.h missing]]></category>
		<category><![CDATA[debug firefox mode]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox debug]]></category>
		<category><![CDATA[firefox debug mode]]></category>
		<category><![CDATA[firefox seneca]]></category>
		<category><![CDATA[guide to build firefox debug]]></category>
		<category><![CDATA[how to build firefox]]></category>
		<category><![CDATA[seneca building firefox]]></category>
		<category><![CDATA[this source tree appears]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=153</guid>
		<description><![CDATA[So for our open source class we were required to build firefox in debug mode! First thing I did was fork and clone David Humphry&#8217; mozilla-central which took a longish time because it was approx ~500mb.. Then what I did &#8230; <a href="http://gkrilov.com/2011/11/08/trying-to-build-firefox-in-debug-mode/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=153&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So for our open source class we were required to build firefox in debug mode!</p>
<p>First thing I did was fork and clone David Humphry&#8217; mozilla-central which took a longish time because it was approx ~500mb..</p>
<p>Then what I did was panic because I had no idea whats going on.I tried to make the client.mk file but had the following issue:</p>
<p><strong>client.mk:121: *** This source tree appears to have Windows-style line endings.</strong><br />
<strong> To convert it to Unix-style line endings, run &#8220;python mozilla/build/win32/mozill</strong><br />
<strong> a-dos2unix.py&#8221;.  Stop.</strong></p>
<p>I tried running that python file but it did not seem to work.</p>
<p>I followed this with trying to google how to do this.. I stumbled upon a guide by somebody name Simon Jung (http://simon-jung.blogspot.com/2007/09/building-firefox-3-in-windows.html) which explained how to do this whole process! Only problem was that he wasn&#8217;t talking about using git.. he used mozilla&#8217;s own repository which apparently uses something called mercurial which is similar to GIT in its functions but completely different in how you use it.</p>
<p>I put that to the side and went on to look at mozilla&#8217;s own guide on how to do it&#8230; o man it was so confusing and full of stuff&#8230; i decided to give up trying to read and understand it and just followed Simon&#8217;s guide to do it which was a nice step by step:)</p>
<p>It was mostly straight forward up to the point where I got an error:<br />
checking whether the C compiler (cl  ) works&#8230; no<br />
<strong>configure: error: installation or configuration problem: C compiler cannot create executables.</strong><br />
<strong>*** Fix above errors and then restart with  &#8220;make -f client.mk build&#8221;</strong><br />
<strong>make[1]: *** [configure] Error 1</strong><br />
<strong>make[1]: Leaving directory `/d/proj/mozilla&#8217;</strong><br />
<strong>make: *** [/d/proj/mozilla/obj-i686-pc-mingw32/Makefile] Error 2</strong></p>
<p>so after searching for an hour or so on this error I tried to run a different .bat file and that took this error away! &#8211; At the beginning I was running start-msvc9-x64 because I am using a 64bit machine and I thought I should be using that.. but then I tried using just start-msvc9 to see what happens&#8230; guess what, it worked?? not sure exactly why but maybe the x64 refers to something else. But either way it worked and i was happy <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Next I started the make command and after a little bit it came to a new error. Something about a atlbase.h file being missing! Apparently this is a very much known issue because apparently VS 2008 express does not come with this file, while the Professional version does come with it. Mozilla gives the workaround of downloading the last version of of microsoft SDK which came with this file which is 2003. https://developer.mozilla.org/en/atlbase.h.</p>
<p>Now it finally started building! approx 2-3~ hours later and it was done building. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
Great success!:D</p>
<p>Now my next step would be to follow the guide on our wiki on how to fix my above error and do the above with our GIT.!</p>
<p>http://zenit.senecac.on.ca/wiki/index.php/Mouse_Lock_Implementation_FAQ</p>
<p>**UPDATE**<br />
So I used the answer from the &#8220;Mouse Lock Implementation FAQ&#8221; for my initial problem of &#8220;<strong>This source tree appears to have Windows-style line ending&#8230;&#8221;</strong> which was install git with the option 2 <em>Checkout as-is, commit Unix-style line ending </em>on the &#8220;<em>Configure the line ending conversions</em>&#8221; screen. Then once git is setup run the following command before cloning:<br />
git config &#8211;global core.autocrlf false</p>
<p>then I cloned the repository again and did all the steps i did previously to get it working and this time it was all good!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=153&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/11/08/trying-to-build-firefox-in-debug-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>
	</item>
		<item>
		<title>0.2 Release Notes!</title>
		<link>http://gkrilov.com/2011/10/27/0-2-release-notes/</link>
		<comments>http://gkrilov.com/2011/10/27/0-2-release-notes/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 02:10:44 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[2d shear]]></category>
		<category><![CDATA[graphics shear]]></category>
		<category><![CDATA[processing shear]]></category>
		<category><![CDATA[processing.js shear]]></category>
		<category><![CDATA[shearx]]></category>
		<category><![CDATA[sheary]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=142</guid>
		<description><![CDATA[Let me begin by saying that I started my 0.2 a week late because of my 0.1 which took longer then i thought to finish. My 0.1 was slightly bigger then I thought it would originally be and I did &#8230; <a href="http://gkrilov.com/2011/10/27/0-2-release-notes/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=142&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let me begin by saying that I started my 0.2 a week late because of my 0.1 which took longer then i thought to finish. My 0.1 was slightly bigger then I thought it would originally be and I did not expect to finish it late.</p>
<p>For my 0.2 I did not want to pick something too big as I had less time to work on it.The bug I ended up having assigned to me was <a title="shearXshearY" href="https://processing-js.lighthouseapp.com/projects/41284/tickets/1640-shear-xyz-not-implemented" target="_blank">ticket #1640</a>. This bug was about the fact that shearX and shearY were not implemented yet in processing.js and needed to be added to the API because the Processing API had them.</p>
<p>Processing ShearX and ShearY links:<br />
<a href="http://processing.org/reference/shearX_.html" target="_blank">http://processing.org/reference/shearX_.html</a><br />
<a href="http://processing.org/reference/shearY_.html" target="_blank">http://processing.org/reference/shearY_.html</a></p>
<p>What the shear function does is slide parallel surfaced (x or y) past each other by a certain number given in radians in the range of 0 &#8211; PI*2.</p>
<p>For example a regular square transformation when sheared along the X axis by a certain factor would look something like:</p>
<p><a href="http://gkrilov.files.wordpress.com/2011/10/shearpair.png"><img class="alignleft size-full wp-image-145" title="ShearPAir" src="http://gkrilov.files.wordpress.com/2011/10/shearpair.png?w=584" alt=""   /></a><a href="http://gkrilov.files.wordpress.com/2011/10/regsquare.png"><br />
</a> The image on the right side is a X sheared copy of the one on the left. You can see how its bottom  X axis slid to the right turning it into a parallelogram.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>While actually doing this is very easy using the Canvas API we already have, finding out how to do it was not easy at all. I spent hours trying to search how to do shear and looking at matrices which I didn&#8217;t know much about &#8211; knowing nothing about 2d graphics didn&#8217;t help me either. I desperately needed some help and explaining how these things work in processing.js and lucky for me I knew Andor who was able to guide me on the right track and help me with this feature. After thinking I had to create a lot of different things for this bug such at different matrix computations I found out that the Canvas API have a nice and useful <a href="http://dev.w3.org/html5/2dcontext/#transformations" target="_blank">Transform</a> function which takes matrix coordinates as its argument and multiplies that matrix by the current transformation matrix.</p>
<p>Besides that I also had to make a ref test which following the <a href="https://processing-js.lighthouseapp.com/projects/41284/writing-automated-tests" target="_blank">guide</a> was pretty straightforward to do and I still technically need to make a unit test which I am not entirely sure how to do although I have something in mind. I need to ask somebody about this to see if that is the correct way. Also I am not sure how to actually run those unit tests&#8230;</p>
<p>Either way I am now pretty much done my 0.2 and happy to be so..<br />
Now it is time to move on to 0.3 which I will probably be picking sometime next week.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=142&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/10/27/0-2-release-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>

		<media:content url="http://gkrilov.files.wordpress.com/2011/10/shearpair.png" medium="image">
			<media:title type="html">ShearPAir</media:title>
		</media:content>
	</item>
		<item>
		<title>0.1 Complete</title>
		<link>http://gkrilov.com/2011/10/12/0-1-complete/</link>
		<comments>http://gkrilov.com/2011/10/12/0-1-complete/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 21:36:49 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[IE8 Compatibility]]></category>
		<category><![CDATA[IE8 Compatibility processing]]></category>
		<category><![CDATA[ie8 object.defineproperty]]></category>
		<category><![CDATA[internet explorer 8 compatiblity]]></category>
		<category><![CDATA[processing IE8 alternatives]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=122</guid>
		<description><![CDATA[After many challenges and IE8 compatibility problems it seems that my 0.1 is finally coming to an end. My task was to add IE8 compatibility to processing.js version 1.2.3 and make it as functional as possible. This was especially hard &#8230; <a href="http://gkrilov.com/2011/10/12/0-1-complete/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=122&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After many challenges and IE8 compatibility problems it seems that my 0.1 is finally coming to an end.</p>
<p>My task was to add IE8 compatibility to processing.js version 1.2.3 and make it as functional as possible.<br />
This was especially hard because I did not know what compatibility problems there were besides the 4 which were originally posted on the ticket:</p>
<p>https://processing-js.lighthouseapp.com/projects/41284/tickets/1593-ie8-excanvas-compatibility-issues</p>
<p>As I fixed the original 4, more bugs started coming out one by one; each time I fixed one, a new one surfaced.<br />
Here is a complete list of bugs and fixes that had to be done:</p>
<p>1) IE8 does not support &#8220;el.style.setProperty()&#8221;, use &#8220;setAttribute&#8221; instead.</p>
<p>2) In IE8 When using excanvas, dynamically created canvas elements need to be initialized before use. To fix it use G_vmlCanvasManager to first initialize the canvas if G_vmlCanvasManager exists. Added the following function to initialize:<br />
<strong> var initializeCanvasIfIE8 = function(canvas) {<br />
if ( !document.createElement(&#8216;canvas&#8217;).getContext &amp;&amp; typeof(G_vmlCanvasManager) != &#8220;undefined&#8221; ) {<br />
G_vmlCanvasManager.initElement(canvas);<br />
}}; </strong></p>
<p>3) IE8 doesn&#8217;t support &#8220;document.addEventListener&#8221;. Use &#8220;addListener&#8221; when necessary.<br />
4) IE8 doesn&#8217;t support &#8220;document.removeListener&#8221;. Use &#8220;detachEvent&#8221; when necessary.<br />
5) IE8 doesn&#8217;t support &#8220;Object.defineProperty&#8221;. Used try and catch to do alternative functionality if necessary.<br />
6) IE8 doesn&#8217;t support &#8220;event.preventDefault&#8221;. Use event.returnValue=false to achieve same result in IE8<br />
7) IE8 doesn&#8217;t support &#8220;script.innerText&#8221; and &#8220;script.textContent&#8221; so I had to use script.text;</p>
<p><strong>Added scripts to example.html and ref tests to make them work:<br />
&lt;!&#8211;[if IE 8]&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://xregexp.com/xregexp.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;excanvas.js&#8221;&gt;&lt;/script&gt;<br />
&lt;![endif]&#8211;&gt;<br />
</strong></p>
<p>These will only be included in the case of IE8. One of the problems I had was that the parser was not working for some reason.. After a long time of using IE8s debugger I found out that brackets in canvas scripts did not parse properly. This is where I brought in xregexp.js which adds parsing support to IE8. excanvas.js was added for ie8&#8242;s implementation of canvas.</p>
<p>A few of the ref tests had to be commented out because a number of them could not be done in IE8, although this was a small amount of tests. Most of the tests which are not 3D work just fine.</p>
<p><strong>IE8 Example.html<br />
</strong></p>
<p><a href="http://gkrilov.files.wordpress.com/2011/10/ie8.png"><img class="alignleft size-full wp-image-135" title="ie8" src="http://gkrilov.files.wordpress.com/2011/10/ie8.png?w=584&h=328" alt="" width="584" height="328" /></a></p>
<p><strong>Firefox 7 Example.html</strong></p>
<p><a href="http://gkrilov.files.wordpress.com/2011/10/firefox7.png"><img class="alignleft size-full wp-image-136" title="firefox7" src="http://gkrilov.files.wordpress.com/2011/10/firefox7.png?w=584&h=328" alt="" width="584" height="328" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=122&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/10/12/0-1-complete/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>

		<media:content url="http://gkrilov.files.wordpress.com/2011/10/ie8.png" medium="image">
			<media:title type="html">ie8</media:title>
		</media:content>

		<media:content url="http://gkrilov.files.wordpress.com/2011/10/firefox7.png" medium="image">
			<media:title type="html">firefox7</media:title>
		</media:content>
	</item>
		<item>
		<title>0.1 Ticket Progression</title>
		<link>http://gkrilov.com/2011/10/07/0-1-ticket-progression/</link>
		<comments>http://gkrilov.com/2011/10/07/0-1-ticket-progression/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 03:51:53 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=119</guid>
		<description><![CDATA[After a few days of not working on the ticket due to other work piling up I decided to try and progress some more on my unfinished 0.1 .. To add to what I said last time.. working on my &#8230; <a href="http://gkrilov.com/2011/10/07/0-1-ticket-progression/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=119&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a few days of not working on the ticket due to other work piling up I decided to try and progress some more on my unfinished 0.1 ..<br />
To add to what I said last time.. working on my ticket requires going through a lot of processing.js code and seeing as this is really hard to do for someone who hasn&#8217;t been on processing.js for a long time gaining experience I need constant help understanding why something does not work and where the issue actually is.. So the most recent news are that technically IE8 Compatibility WORKS!! although it only works on drawing a basic background <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> :( the current issue that was found is that there seems to be a problem in the processing.js parser and that is where I stopped in the most recent attempt on this code.</p>
<p>Once again let me repeat myself, if I did not receive the help I did I would never have figured out how to test the current compatibility code on a basic square with a background and I DEFINITELY would never have figured out that the current problem lies possibly in the parser! </p>
<p>good thing we are not alone!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=119&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/10/07/0-1-ticket-progression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>
	</item>
		<item>
		<title>Cannot finish 0.1 by tonight!</title>
		<link>http://gkrilov.com/2011/09/29/cannot-finish-0-1-by-tonight/</link>
		<comments>http://gkrilov.com/2011/09/29/cannot-finish-0-1-by-tonight/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 03:06:27 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=111</guid>
		<description><![CDATA[Firstly I need to say that my original ticket cannot be fixed as for a certain compatibility issue, IE8 will never support processing past v1.2.3 -&#62; therefore I was tasked with taking the work I have done and having to &#8230; <a href="http://gkrilov.com/2011/09/29/cannot-finish-0-1-by-tonight/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=111&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Firstly I need to say that my original ticket <strong>cannot</strong> be fixed as for a certain compatibility issue, IE8 will never support processing past v1.2.3 -&gt; therefore I was tasked with taking the work I have done and having to move it to processing v1.2.3 where apparently the killer incompatibility does not exist and I should be fine.</p>
<p>So what is going on?? why can&#8217;t I release tonight?? -&gt; because every time I fix an IE8 compatibility bug a new one pops right up! and a number of the ones I find I cannot find a fix for using Google as a result of me not knowing the 20,000 lines of code that is processing way too well! therefore I need help from someone on IRC or in person&#8230; I guess I could say that this is not your average bug where a fix is a fix is a fix.. of course there are fixes for bugs which might introduce new bug (regression ftw!) -&gt; but in my case it is starting to blow out of annoying proportions.</p>
<p>Basically I cannot see or know about every IE8 incompatibility until I fix all the ones that precede it in the code and I do not know how many precede the last one as so far they keep on coming one after the other and I don&#8217;t think I even touched 30% of the massive file that processing.js is!!</p>
<p>All I can say is that I will not be able to release this tonight.. I am not sure exactly when I will be able to release this but hopefully soon! Although I don&#8217;t know how many more incompatibilities we will find&#8230; I have been staring at my screen for the past 4 hours basically non stop with the exception of some food and so I think my eyes need a rest.. </p>
<p>Goodnight processing.js -&gt; please don&#8217;t come into my dreams</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=111&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/09/29/cannot-finish-0-1-by-tonight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>
	</item>
		<item>
		<title>0.1 Release &#8211; Almost&#8230;</title>
		<link>http://gkrilov.com/2011/09/29/0-1-release/</link>
		<comments>http://gkrilov.com/2011/09/29/0-1-release/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 04:27:12 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[IE8 Compatibility processing]]></category>
		<category><![CDATA[ie8 object.defineproperty]]></category>
		<category><![CDATA[IE8 processing]]></category>
		<category><![CDATA[open source seneca]]></category>
		<category><![CDATA[processing IE8 alternatives]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=102</guid>
		<description><![CDATA[For my 0.1 Release I chose to work on a processing.js ticket which had me adding IE8 functionality as IE8 lacks some of the things required by processing and canvas to work properly: here is a link to the actual &#8230; <a href="http://gkrilov.com/2011/09/29/0-1-release/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=102&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For my 0.1 Release I chose to work on a processing.js ticket which had me adding IE8 functionality as IE8 lacks some of the things required by processing and canvas to work properly: here is a link to the actual ticket &#8211; <a title="My Ticket!" href="https://processing-js.lighthouseapp.com/projects/41284/tickets/1593-ie8-excanvas-compatibility-issues#ticket-1593-17">My ticket!</a></p>
<p>To begin, I would like to say that I started this project completely perplexed at the mere thought of what I had to do. JavaScript was relatively new to me, the processing.js file was 20,000 lines of codes I could not interpret in any way I tried and scared me, I assumed things about my ticket which I should not have, and lastly I had no idea where or how to start. Although I did manage to go on IRC a few times where once I even introduced myself, I have to shamefully admit that I did the entirety of this release through face to face help and communication with the very helpful Jon Buckley (some of you may know him as jbuck on IRC).</p>
<p>With some initial explanations of the problem at hand I was able to slowly start understanding what it is I actually have to do. I started working which involved researching why such functionality does not work in IE8, what alternatives are present on the web, how certain JavaScript functions work as well as general JavaScript functionality, and lastly how I can insert the alternatives into the existing processing code. While I did a lot of research into this, I am sure that somebody more experienced in open source and java script development could have easily done it in a fifth of the time I spent on this simply because they know JavaScript extremely well and they know almost instantly how to start looking for the answer. Before I was able to actually get anything fixed I ran into a brain deadlock where I started to think that this is too hard and was very close to trying and switch to another &#8216;easier&#8217; ticket but thanks to some help and explanation of my friend Daniel Hodgin (irc:dhodgin) who basically told me to man up and keep trying I was able to continue and break through some code.</p>
<p>After some more Google fighting (actually a lot more) I was able to finish my current release in terms of code which turned out to <strong><em>actually be not releasable</em></strong> because of a new bug that we found in IE8 which is the fact that Object.defineProperty only works on DOM objects and therefore is causing errors on the page which are breaking the canvas&#8230; As a result of this I don&#8217;t know if I can still do my 0.1 tomorrow because of an unforeseen new obstacle!</p>
<p>Enough with the rant now -&gt; If you want to see the processing.js file with my IE8 fixes you can get it at -&gt;<a href="https://github.com/gkrilov/processing-js/tree/IE8Compatability">IE8 Compatibility Branch</a>.<br />
If know additional things which are not properly supported in IE8 or found an issue in the processing.js code and would like to talk about it and possibly get it implemented/fixed come join us at <a href="irc://irc.mozilla.org/processing.js">irc://irc.mozilla.org/processing.js</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=102&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/09/29/0-1-release/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>
	</item>
		<item>
		<title>More on my github experience!</title>
		<link>http://gkrilov.com/2011/09/22/more-on-my-github-experience/</link>
		<comments>http://gkrilov.com/2011/09/22/more-on-my-github-experience/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 16:01:54 +0000</pubDate>
		<dc:creator>gkrilov</dc:creator>
				<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://gkrilov.com/?p=81</guid>
		<description><![CDATA[I know at first I said that my experience with github was pretty easy and straightforward but I actually got stuck at some point with not being sure how to actually push a change back to my github :S &#8230; &#8230; <a href="http://gkrilov.com/2011/09/22/more-on-my-github-experience/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=81&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know at first I said that my experience with github was pretty easy and straightforward but I actually got stuck at some point with not being sure how to actually push a change back to my github :S &#8230; the fork a repo section of github on the main page says the following:</p>
<p><a href="http://gkrilov.files.wordpress.com/2011/09/img1.jpg"><img class="alignleft size-full wp-image-86" title="img" src="http://gkrilov.files.wordpress.com/2011/09/img1.jpg?w=584" alt=""   /></a></p>
<p>Although if you try this after making a change to a file it will not actually work! the page forgets to mention that you first need to add the changed file to the &#8220;staging area&#8221; by doing &#8216;git add filename&#8217; (you can see the name of the changed file name by doing git status -s), which then needs to be followed by something like &#8216;git commit -m &#8220;changes made&#8221; &#8216; and only THEN you can do something like &#8216;git push origin master<strong></strong>&#8216; where origin is the branch you are pushing by checking its name using &#8216;git remove -v&#8217;</p>
<p>1. Make a change and save the file<br />
2. &#8216;git status -s&#8217; to see the changed filename<br />
3. &#8216;git add filename&#8217;<br />
4. &#8216;git commit -m &#8220;changes made&#8221;&#8216;<br />
5. git status &#8211; see the branch<br />
6. git remote -v &#8211; see the remote name<br />
7. git push &#8216;remote&#8217; &#8216;branch&#8217;<br />
8. check github files to see changes!</p>
<p>Therefore I recommend using <a title="git reference" href="http://gitref.org" target="_blank"><strong><span style="text-decoration:underline;">http://gitref.org/</span></strong></a> for a good and straightforward tutorial onto how to do all the basics.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkrilov.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkrilov.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkrilov.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkrilov.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkrilov.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkrilov.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkrilov.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkrilov.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkrilov.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkrilov.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkrilov.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkrilov.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkrilov.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkrilov.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkrilov.com&#038;blog=27055142&#038;post=81&#038;subd=gkrilov&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkrilov.com/2011/09/22/more-on-my-github-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79c97e306450f3578cdf49028b244c20?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gkrilov</media:title>
		</media:content>

		<media:content url="http://gkrilov.files.wordpress.com/2011/09/img1.jpg" medium="image">
			<media:title type="html">img</media:title>
		</media:content>
	</item>
	</channel>
</rss>
