<?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"
	>

<channel>
	<title>Jeremy LaCivita</title>
	<atom:link href="http://www.jlacivita.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jlacivita.com</link>
	<description>skate / hack / teach</description>
	<pubDate>Wed, 16 Apr 2008 00:13:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>BattleUK II - Attack of the Cones</title>
		<link>http://www.jlacivita.com/2007/11/26/battleuk-ii-attack-of-the-cones/</link>
		<comments>http://www.jlacivita.com/2007/11/26/battleuk-ii-attack-of-the-cones/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 00:42:00 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[Battle]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[skate]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/11/26/battleuk-ii-attack-of-the-cones/</guid>
		<description><![CDATA[Well, i&#8217;m a bit late in writing, but since BattleUK was my first event last year, I guess I should write something now that I&#8217;ve been going to competitions for a full year.
I&#8217;m pretty happy with my performance.  My goal was to get into the quarter finals, which i did. I also almost made [...]]]></description>
			<content:encoded><![CDATA[<p>Well, i&#8217;m a bit late in writing, but since BattleUK was my first event last year, I guess I should write something now that I&#8217;ve been going to competitions for a full year.</p>
<p>I&#8217;m pretty happy with my performance.  My goal was to get into the quarter finals, which i did. I also almost made it into the semi finals.  Me and Mark Kempton both had to skate an extra run because the judges couldn&#8217;t decide who to send into the semis.  In the end Mark won, and I left proud of my self, carrying a new resolve to add some more technical tricks to my arsenal.  Overall I placed 9= (which means i tied with 4 other skaters for 9th place) out of 22 skaters, i think.</p>
<p>While i was there I got a new pair of the 2008 Seba Highs, which i&#8217;m working on breaking in currently.</p>
<p>Naomi and I also discussed details of starting a world freestyle team, which i&#8217;ll write more about soon.</p>
<p><a href="http://vps.mmkay.org/video/battleuk2/MensQtrA.wmv">my quarter final group</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/11/26/battleuk-ii-attack-of-the-cones/feed/</wfw:commentRss>
<enclosure url="http://vps.mmkay.org/video/battleuk2/MensQtrA.wmv" length="27276318" type="video/x-ms-wmv" />
		</item>
		<item>
		<title>Race Conditions in Flex VideoDisplay</title>
		<link>http://www.jlacivita.com/2007/11/14/race-conditions-in-flex-videodisplay/</link>
		<comments>http://www.jlacivita.com/2007/11/14/race-conditions-in-flex-videodisplay/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 03:06:34 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[The Fan]]></category>

		<category><![CDATA[flex]]></category>

		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/11/14/race-conditions-in-flex-videodisplay/</guid>
		<description><![CDATA[The Flex mx.controls.VideoDisplay object is a double edged sword.  If you&#8217;ve used it for anything complex, you&#8217;ve likely noticed that it gets very finicky under certain conditions.  Thats really a shame, since it provides many useful features, like rtmp vs http connection management, bandwidth detection, and various optimizations to connection speeds to name [...]]]></description>
			<content:encoded><![CDATA[<p>The Flex <a href="http://livedocs.adobe.com/flex/201/langref/mx/controls/VideoDisplay.html">mx.controls.VideoDisplay</a> object is a double edged sword.  If you&#8217;ve used it for anything complex, you&#8217;ve likely noticed that it gets very finicky under certain conditions.  Thats really a shame, since it provides many useful features, like rtmp vs http connection management, bandwidth detection, and various optimizations to connection speeds to name a few.</p>
<p>On the Fan, we&#8217;ve occasionally had problems with playing lists of videos with VideoDisplay, and we&#8217;ve had to jump through a few hoops in order to continue to use it so that we&#8217;d still get all its benefits.  The problem generally consists of the VideoDisplay getting into a state where it stops responding to subsequent calls to <code>load()</code> &amp; <code>play()</code>.</p>
<p>We had worked around most of these by moving around our code to avoid apparent race conditions in VideoDisplay, and we even had to <a href="http://en.wikipedia.org/wiki/Monkey_patch">monkey-patch</a> the VideoDisplay &amp; VideoPlayer classes to get around a problem were it would load the netstream twice for the same video and you&#8217;d get a double/echoing audio stream. While working with one of our partners recently, we came up against another bug in VideoDisplay that we couldn&#8217;t get around.  This time it was throwing an error like this:</p>
<pre style="font-size: 12px; width: 450px; height: 80px; overflow-x: scroll; overflow-y: scroll; background-color: #dddddd; border-width: 1px; border-color: black; border-style: solid; padding: 2px">ArgumentError: Error #2126: NetConnection object must be connected.
  at flash.net::NetStream/construct()at flash.net::NetStream()
  at VideoPlayerNetStream()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2883]
  at mx.controls.videoClasses::VideoPlayer/createStream()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2712]
  at mx.controls.videoClasses::VideoPlayer/_load()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2170]
  at mx.controls.videoClasses::VideoPlayer/load()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:1486]
  at mx.controls::VideoDisplay/load()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\VideoDisplay.as:1361]</pre>
<p>It actually involves not only VideoDisplay but also VideoPlayer (which VideoDisplay has an instance of) and even NCManager (which does some of the stuff mentioned above).  My counterpart at the other company wasn&#8217;t seeing this error in his test environment, but eventually we realized what the crucial difference was: <code>autoplay</code> was set to false in the Fan, while it was left to its default (<code>true</code>) in his test player.</p>
<p>Since he had it working with no problem, i decided to see what would happen if i left autoplay at its default value of <code>true</code>.</p>
<p>Well, there were some side effects related to videos playing before i was ready for them, however the broken state of VideoDisplay went away!  Now I simply pause the VideoDisplay right after i set the source to simulate having autoplay set to false.  This has the added benefit of buffering the movie right away instead of later on, so i&#8217;m pretty happy with the solution (although i think VideoDisplay should do that anyway if it was written properly)</p>
<p><strong>Update</strong>: here&#8217;s the code we used to patch mx.controls.videoClasses.VideoPlayer:</p>
<p><code style="font-size: 12px">public function ncConnected():void {<br />
<span style="font-family: 'Lucida Grande';"><code style="font-size: 12px">  if (_ncMgr == null || _ncMgr.netConnection == null)<br />
    setState(CONNECTION_ERROR);<br />
  else{<br />
    if (!alreadyLoaded) {<br />
      alreadyLoaded = true;<br />
      createStream();<br />
      setUpStream();<br />
    }<br />
  }<br />
}<br />
</code></span></code></p>
<p><code style="font-size: 12px"><span style="font-family: 'Lucida Grande';">Obviously we also added a variable declaration for alreadyLoaded, and we also reset it to false in the _load function (you can&#8217;t miss it, there&#8217;s a ton of variables getting reset in the function)</span></code></p>
<p><code style="font-size: 12px"><span style="font-family: 'Lucida Grande';"><strong>Update</strong>: here&#8217;s a screenshot of my project structure showing how to &#8220;underride&#8221; the adobe class.<img src="http://www.jlacivita.com/wp-content/uploads/2008/04/mx_packages.png" alt="mx_packages.png" /> </span></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/11/14/race-conditions-in-flex-videodisplay/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BattleUS: a Blast!</title>
		<link>http://www.jlacivita.com/2007/09/17/battleus/</link>
		<comments>http://www.jlacivita.com/2007/09/17/battleus/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 00:47:28 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[Battle]]></category>

		<category><![CDATA[Slalom Event]]></category>

		<category><![CDATA[USFSA]]></category>

		<category><![CDATA[events]]></category>

		<category><![CDATA[skate]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/09/17/battleus/</guid>
		<description><![CDATA[Well, we had BattleUS last week, and it was really an awesome week! There&#8217;s the obvious things like all the great skaters and learning new tricks, but we even had plenty of great food, and drew some rather large crowds at Union Squre.
The Union Square sessions
On Wednesday night, Sebastien and Naomi met us at Union [...]]]></description>
			<content:encoded><![CDATA[<p>Well, we had <a href="http://www.battleus.com">BattleUS</a> last week, and it was really an awesome week! There&#8217;s the obvious things like all the great skaters and learning new tricks, but we even had plenty of great food, and drew some rather large crowds at Union Squre.</p>
<p><strong>The Union Square sessions</strong><br />
<a href='http://www.jlacivita.com/wp-content/uploads/2007/09/img_0065.JPG' title='chloe'><img align="left" style="margin: 4px" src='http://www.jlacivita.com/wp-content/uploads/2007/09/img_0065.thumbnail.JPG' alt='chloe' /></a>On Wednesday night, Sebastien and Naomi met us at Union Square for our usual skating.  We had a much bigger turn out, though, and the energy was really high. Then on Friday, Phil and Jim (from the UK) and Igor, Chloe and Olivier (From France) joined us, and as you can imagine it got even more interesting. The mix of Union Square freestyle with European freestyle slalom actually drew quite a large crowd.  So big, in fact, that a break dancing performance that was originally on the other side of the square (two blocks away) actually moved their show right next to us to try to get their crowd back!  After these two nights, I was already content with how the event had turned out, and it hadn&#8217;t even &#8220;officially&#8221; begun yet!</p>
<p><strong>The Competitions</strong><br />
The International Battle was great to watch, and we even had two Americans make it to the semi finals (Evan and myself both got 3rd in our semi-final groups, just missing the finals, and tying for 5th place).  Then came the US Battle, which was also pretty exciting.  You could really see each skater pushing their limits to try and do their best. The top four were me, Evan, Stacy and Denni. Next we had an off-cones freestyle battle, with Team USA vs Team World.  It was a bit light hearted and involved lots of trash talk between the teams, but the audience decided that Team USA was the better freestyle team, giving two of the top three spots (1st &#038; 3rd) to Americans.  Oh we did speed slalom as well :P.</p>
<p><a href="http://www.battleus.com/results.html">Battle US 2007 Results</a></p>
<p><strong>The Food</strong><br />
<a href='http://www.jlacivita.com/wp-content/uploads/2007/09/img_0076.JPG' title='battleus food'><img align="left" style="margin: 4px" src='http://www.jlacivita.com/wp-content/uploads/2007/09/img_0076.thumbnail.JPG' alt='battleus food' /></a>I&#8217;d be letting a major part of the event slip if I didn&#8217;t mention all the great restaurants that the local New York skaters took us too.  We had a tour of asia, with some of the best Japanese, Schechaun and Korean food I&#8217;ve ever had.  Thanks to Pete, Shawn and Young-sang for picking great places to eat.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/09/17/battleus/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Milestones: Team and Individual</title>
		<link>http://www.jlacivita.com/2007/08/24/milestones-team-and-individual/</link>
		<comments>http://www.jlacivita.com/2007/08/24/milestones-team-and-individual/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 01:03:40 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[Comcast]]></category>

		<category><![CDATA[The Fan]]></category>

		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/08/24/milestones-team-and-individual/</guid>
		<description><![CDATA[Well, we launched the Fan 4.0 with an extremely low amount of friction.  Other than M$ gimping Adobe&#8217;s Flash auto updater code in Vista, there weren&#8217;t any problems.  We pushed a quick HTML only fix, and within 24 hours, Adobe had fixed their installer anyway (well, they did the same thing we did [...]]]></description>
			<content:encoded><![CDATA[<p>Well, we <a href="http://www.arpitonline.com/blog/?p=82">launched the Fan 4.0</a> with an extremely low amount of friction.  Other than M$ gimping Adobe&#8217;s Flash auto updater code in Vista, there weren&#8217;t any problems.  We pushed a quick HTML only fix, and within 24 hours, Adobe had fixed their installer anyway (well, they did the same thing we did and put up a message saying Vista sucks)</p>
<p>Not only was the launch uneventful (which is good) but it was also right on time.  We&#8217;ve really got a great team, and I don&#8217;t just mean tech.  Our Project Manager<sup>1</sup> is great at managing the ebb and flow of daily issues, and our business manager<sup>1</sup> is a geek at heart who totally gets tech and development in a way i&#8217;ve never seen a &#8220;suit&#8221; ( <img src='http://www.jlacivita.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) do before. Obviously our tech team rocks too, since <a href="http://www.arpitonline.com">Arpit</a> is one of the premier flex custom component writers.  (<a target="_new" href="http://www.comcast.net/providers/fan/popup.html?viewMode=ClassicMode">The Fan</a> has a freakin Circular scrolling list, need i say more?)</p>
<p>Which brings me to my personal milestone. When i got home today, i noticed an IM reply from Arpit that I had missed at work.  We were talking about some code of his I had to change:</p>
<div style="text-align: center"><img align="center" border="1" src='http://www.jlacivita.com/wp-content/uploads/2007/08/arpit_jeremy.png' alt='arpit jeremy' /></div>
<p>No i&#8217;m not talking about our horrid spelling/typos (i&#8217;ll let you guess which those are) but the passing of the torch on the Fan.</p>
<p>Call me a geek, but I&#8217;m quite proud <img src='http://www.jlacivita.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><small>[1] Both left unnamed, as i&#8217;m not sure if they&#8217;re ok being in the blogosphere</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/08/24/milestones-team-and-individual/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Jared Weinstock on PBS</title>
		<link>http://www.jlacivita.com/2007/08/09/jared-weinstock-on-pbs/</link>
		<comments>http://www.jlacivita.com/2007/08/09/jared-weinstock-on-pbs/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 17:36:24 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[Announcement]]></category>

		<category><![CDATA[teach]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/08/09/jared-weinstock-on-pbs/</guid>
		<description><![CDATA[Well, not on TV, but the flash game that he created, Farmation, for my DIGM 242 class won a competition to be featured on PBS&#8217;s website for an upcomming documentary: To Market to Market to Buy a Fat Pig
check out the site, and play the game which is in the main navigation:
To Market To Market&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Well, not on TV, but the flash game that he created, Farmation, for my DIGM 242 class won a competition to be featured on PBS&#8217;s website for an upcomming documentary: <em>To Market to Market to Buy a Fat Pig</em></p>
<p>check out the site, and play the game which is in the main navigation:</p>
<p><a href="http://www.wqed.org/tv/natl/market/index.php">To Market To Market&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/08/09/jared-weinstock-on-pbs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fruit of my labor - Fan 4</title>
		<link>http://www.jlacivita.com/2007/08/03/fruit-of-my-labor/</link>
		<comments>http://www.jlacivita.com/2007/08/03/fruit-of-my-labor/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 22:51:53 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[Comcast]]></category>

		<category><![CDATA[The Fan]]></category>

		<category><![CDATA[flex]]></category>

		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/08/03/fruit-of-my-labor/</guid>
		<description><![CDATA[We just uploaded the latest Fan 4 Beta to the preview servers.  I&#8217;ve spent lots of hours implementing the design, so check it out and tell me what you think!
(Be sure to check out &#8220;Square&#8221; view, as thats were most of the changes are)
]]></description>
			<content:encoded><![CDATA[<p>We just uploaded the <a href="http://preview.comcast.net/fan4/">latest Fan 4 Beta</a> to the preview servers.  I&#8217;ve spent lots of hours implementing the design, so check it out and tell me what you think!</p>
<p>(Be sure to check out &#8220;Square&#8221; view, as thats were most of the changes are)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/08/03/fruit-of-my-labor/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m in a Seba Ad!</title>
		<link>http://www.jlacivita.com/2007/07/29/im-in-a-seba-ad/</link>
		<comments>http://www.jlacivita.com/2007/07/29/im-in-a-seba-ad/#comments</comments>
		<pubDate>Mon, 30 Jul 2007 01:41:58 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[media]]></category>

		<category><![CDATA[skate]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/07/29/im-in-a-seba-ad/</guid>
		<description><![CDATA[Woo hoo!  Its really tiny, but i&#8217;m in a UK Seba ad that will go in a UK skate magazine.
Naomi is gunna buy me a copy, and she send me a scan of it already.
They decided that Sebastien would be good for all the action shots, while Naomi and I would be best to [...]]]></description>
			<content:encoded><![CDATA[<p>Woo hoo!  Its really tiny, but i&#8217;m in a UK Seba ad that will go in a UK skate magazine.</p>
<p>Naomi is gunna buy me a copy, and she send me a scan of it already.</p>
<p>They decided that Sebastien would be good for all the action shots, while Naomi and I would be best to portray the attitude of a true skater.</p>
<p>follow the link for the picture&#8230;</p>
<p><img src='http://www.jlacivita.com/wp-content/uploads/2007/07/seba_ad_jeremy.jpg' alt='jeremy seba ad' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/07/29/im-in-a-seba-ad/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Site</title>
		<link>http://www.jlacivita.com/2007/07/29/new-site/</link>
		<comments>http://www.jlacivita.com/2007/07/29/new-site/#comments</comments>
		<pubDate>Mon, 30 Jul 2007 01:39:57 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/07/30/new-site/</guid>
		<description><![CDATA[If you&#8217;re looking for course materials, I&#8217;ve redone the site a bit.  Syllabi should still be at the same URLs as before, but if not, just go to the &#8220;teach&#8221; section and click the links.
]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re looking for course materials, I&#8217;ve redone the site a bit.  Syllabi should still be at the same URLs as before, but if not, just go to the &#8220;teach&#8221; section and click the links.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/07/29/new-site/feed/</wfw:commentRss>
		</item>
		<item>
		<title>At Comcast for a month</title>
		<link>http://www.jlacivita.com/2007/07/29/at-comcast-for-a-month/</link>
		<comments>http://www.jlacivita.com/2007/07/29/at-comcast-for-a-month/#comments</comments>
		<pubDate>Mon, 30 Jul 2007 01:37:16 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[Comcast]]></category>

		<category><![CDATA[The Fan]]></category>

		<guid isPermaLink="false">http://www.jlacivita.com/2007/07/30/at-comcast-for-a-month/</guid>
		<description><![CDATA[Well, its been about a month since I started working at Comcast Interactive Media.  The first thing i&#8217;ve noticed is that there is a distinction between Comcast and CIM. The culture at CIM is not at all like your typical workplace, and thats a good thing.
Working on the Fan is really fun and interesting. [...]]]></description>
			<content:encoded><![CDATA[<p>Well, its been about a month since I started working at Comcast Interactive Media.  The first thing i&#8217;ve noticed is that there is a distinction between <em>Comcast</em> and <em>CIM</em>. The culture at CIM is not at all like your typical workplace, and thats a good thing.</p>
<p>Working on the Fan is really fun and interesting. I&#8217;m getting to learn Flex and also work on a very high profile consumer entertainment app at the same time. I can&#8217;t wait until we release the latest version to the public.  Until then, you can check out our regular preview releases at <a target="_blank" href="http://labs.comcast.net">CIM|Labs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/07/29/at-comcast-for-a-month/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.jlacivita.com/2007/07/28/hello-world/</link>
		<comments>http://www.jlacivita.com/2007/07/28/hello-world/#comments</comments>
		<pubDate>Sat, 28 Jul 2007 23:17:02 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
		<category><![CDATA[hack]]></category>

		<category><![CDATA[teach]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This is my first post. Well thats not actually true.  Its the default post that wordpress puts into a new installation.  I&#8217;ve changed the text here to make it my own though.  I&#8217;ve also imported all my old skating posts from theSlalom.com.  I need to find a way to keep this [...]]]></description>
			<content:encoded><![CDATA[<p>This is my first post. Well thats not actually true.  Its the default post that wordpress puts into a new installation.  I&#8217;ve changed the text here to make it my own though.  I&#8217;ve also imported all my old skating posts from theSlalom.com.  I need to find a way to keep this blog and that one in sync.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlacivita.com/2007/07/28/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
