<?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>Code On A Boat</title>
	<atom:link href="http://coab.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://coab.wordpress.com</link>
	<description>You got a boat. You gotta code.</description>
	<lastBuildDate>Tue, 03 Jan 2012 17:40:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='coab.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Code On A Boat</title>
		<link>http://coab.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://coab.wordpress.com/osd.xml" title="Code On A Boat" />
	<atom:link rel='hub' href='http://coab.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Moving Blog</title>
		<link>http://coab.wordpress.com/2011/04/22/moving-blog/</link>
		<comments>http://coab.wordpress.com/2011/04/22/moving-blog/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 18:32:35 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://coab.wordpress.com/?p=196</guid>
		<description><![CDATA[This blog has now moved to http://www.codeonaboat.com. Thanks for reading! Jaspreet Bakshi Filed under: Uncategorized<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=196&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This blog has now moved to <a href="http://www.codeonaboat.com">http://www.codeonaboat.com</a>.</p>
<p>Thanks for reading!</p>
<p>Jaspreet Bakshi</p>
<br />Filed under: <a href='http://coab.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=196&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2011/04/22/moving-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>
	</item>
		<item>
		<title>So how many ways can you&#8230;</title>
		<link>http://coab.wordpress.com/2011/02/15/so-how-many-ways-can-you/</link>
		<comments>http://coab.wordpress.com/2011/02/15/so-how-many-ways-can-you/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 22:51:57 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[logic]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[combination]]></category>
		<category><![CDATA[permutation]]></category>
		<category><![CDATA[probability]]></category>

		<guid isPermaLink="false">https://coab.wordpress.com/2011/02/15/so-how-many-ways-can-you/</guid>
		<description><![CDATA[I get obsessive about math puzzles. Not crazy ones that will take some sort of Aryabhata to figure out but little interesting ones that require intuition and a little obsession to crack. Probability and its puzzles fall right in this zone and most often, books and courses will teach people the formulae but not really instill [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=180&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I get obsessive about math puzzles. Not crazy ones that will take some sort of <a href="http://en.wikipedia.org/wiki/Aryabhata">Aryabhata </a>to figure out but little interesting ones that require intuition and a little obsession to crack. Probability and its puzzles fall right in this zone and most often, books and courses will teach people the formulae but not really instill an understanding of why things work the way they do. So&#8230; I decided to put some information down in a post. It is mostly in the form of definitions of basic concepts and clarifications of what those basics <em>really </em>mean.</p>
<p>So here goes…</p>
<h2><span style="color:#808000;">Universe</span></h2>
<p>This is the set of things you have available to you, to choose from. So if you have a bag with 2 red balls and 3 green balls, then those 5 balls are your universe. If you have 10 kinds of candy bars from which you can choose, say 4, that set of 10 candy bars is your universe.</p>
<h2><span style="color:#808000;">Events and Outcomes</span></h2>
<p>Events are something you are trying to achieve at a higher level, and outcomes are the different ways in which you can achieve that higher level objective or event.</p>
<p>For example if a problem asks you to choose 3 vegetables out of a bag of 10 vegetables, the event is the picking of any 3 vegetables. The outcomes that go to make that event are however many more,</p>
<p><em>10C3 = 10!/(3! * 7!) = 120</em></p>
<p>to be precise.</p>
<p>Similarly if you are trying to pick out 2 Aces from a pack of 52 cards, your event is exactly that, picking out of any 2 Aces, where as the outcomes that enable that event are 6 in number,</p>
<p><em>4C2 = 4!/(2! * 2!)  = 6</em></p>
<h2><span style="color:#808000;">“With Replacement” Vs. “Without Replacement”</span></h2>
<p>If you have a universe of things to choose from (letters, numbers, balls, whatever…), and after you choose one of the things in the universe, you <em>do not </em>put it back into that universe, it’s called “Without Replacement”. If you <em>do </em>put it back, it’s called “With Replacement”. Another way to look at it is that you modify the universe every time you pick one thing in the “Without Replacement” case, and do reset the universe to what it was originally in the “With Replacement” case.</p>
<h2><span style="color:#808000;">“Order Matters” or “Order Does not Matter”</span></h2>
<p>In some problems, the order in which you extract things out of your universe is significant (think about a lottery number, the order of numbers picked <em>is</em> important). In some other cases, the order in which you extract things may not be important (think about the case where you need to pick 3 toys from a basket of toys – usually what order those toys will be picked out <em>is not </em>important).</p>
<p>Whether order is important or not is critical in determining how many ways (or more formally <em>outcomes</em>), there are to satisfy a certain event. To clarify this, lets say I have to figure out how I can extract the letters ‘A’ and ‘D’ from a universe, (‘A’, ‘B’, ‘C’, ‘D’). In other words, my event is the case where ‘A’ and ‘D’ have been extracted out from the universe. If order is important, the number of outcomes is 2 – (‘A’, ‘D’) and (‘D’, ‘A’). If order is not important, the number of outcomes is one, because we are not differentiating between the case where ‘A’ was picked first and ‘D’ last from the case where ‘D’ was picked first and ‘A’ last.</p>
<p>As a rule of intuition, <em>when order is not important you have much fewer outcomes to satisfy the same event.</em></p>
<h2><span style="color:#808000;">The Math</span></h2>
<p>There really is not much math involved in this kind of problems; it’s really about understanding the question, and then imagining  and categorizing the solution. Once you have done that, to save time you can just use one of the existing formulae to give you an answer and save some time.</p>
<h3><em><span style="color:#800000;">Factorial</span></em></h3>
<blockquote><p>n! = n * (n-1) * (n-2) * … 3 * 2 * 1</p></blockquote>
<h3><em><span style="color:#800000;">Permutations</span></em></h3>
<p>If there is <em>no replacement</em>, and <em>you care about the order </em>in which you extract items out of your universe, then the number of ways, or outcomes, you have to extract `r` items from a universe containing `n` items is represented by the expression</p>
<p>nPr,</p>
<p>and can be computed as</p>
<blockquote><p>nPr = n!/(n-r)!</p></blockquote>
<h3><em><span style="color:#800000;">Combinations</span></em></h3>
<p>If there is <em>no replacement</em>, and <em>you do not care about the order</em> in which you extract items out of your universe, then the number of ways, or outcomes, you have to extract `r` items from a universe containing `n` items is represented by the expression</p>
<p>nCr,</p>
<p>and can be computed as</p>
<blockquote><p>nCr = n!/(r! * (n-r)!)</p></blockquote>
<p>As mentioned above, intuitively it should be clear that if you don’t care about the order of extraction, you will have much fewer outcomes. And this formula confirms that intuition.</p>
<h2><span style="color:#808000;">Bringing it Together</span></h2>
<p>Ok, with those basics under your belt, lets try an example that brings together many of these concepts.</p>
<h3><em><span style="color:#800000;">Question</span></em></h3>
<p>If a menu has 10 different dishes available, and any customer is allowed to choose 4 of them, how many combinations of dishes must the chef be prepared to make, in each of the following scenarios.</p>
<ol>
<li>If the customer can choose a dish only once, and the order they pick the dishes in <em>is relevant</em> (meaning “Wonton soup, Lomein, Pot  Sticklers, and General Tso’s Chicken” and “Lomein, Pot Sticklers, Genral Tso’s Chicken and Wonton Soup” are to be regarded as 2 separate combinations).</li>
<li>If the customer can choose a dish only once, and the order they pick the dishes in <em>is irrelevant</em> (meaning “Wonton soup, Lomein, Pot  Sticklers, and General Tso’s Chicken” is the same as “Lomein, Pot Sticklers, Genral Tso’s Chicken and Wonton Soup”; the order is irrelevant).</li>
<li>If the customer can choose a dish multiple times, and the order they pick the dishes in <em>is relevant</em> (meaning “Wonton soup, Lomein, Pot  Sticklers, and General Tso’s Chicken” and “Lomein, Pot Sticklers, Genral Tso’s Chicken and Wonton Soup” are to be regarded as 2 separate combinations).</li>
<li>If the customer can choose a dish multiple times, and the order they pick the dishes in <em>is irrelevant</em> (meaning “Wonton soup, Lomein, Pot  Sticklers, and General Tso’s Chicken” is the same as “Lomein, Pot Sticklers, Genral Tso’s Chicken and Wonton Soup”; the order is irrelevant).</li>
</ol>
<h3><em><span style="color:#800000;">Answer</span></em></h3>
<p>Before getting into each case, lets look at the question as a whole. The following is a break up of what’s supplied as a part of the question:</p>
<p><strong>Universe</strong>: The set of 10 dishes</p>
<p><strong>Event</strong>: The picking of 4 dishes</p>
<p>When the customer can pick one dish only once, it’s really a way to say there is no replacement. When the customer can pick the same dish multiple times, its a way of saying that there is replacement.</p>
<p>Ok, now lets look at each case</p>
<ol>
<li>This is simply the number of permutations in which 4 things can be picked from 10.</li>
<blockquote><p>10P4 = 10!/(10-4)! = 5040</p></blockquote>
<li>This is simply the number of combinations in which 4 things can be picked from 10.</li>
<blockquote><p>10C4 = 10!/(4! * (10-4)!) = 210</p></blockquote>
<li>Since there is replacement here, or in other words the customer can pick the same dish one, two, three or four times, we have many more ways in which 4 dishes can be picked. Also order is relevant, meaning every different combination is valid. So the total number of ways that 4 dishes can be picked out of 10 is</li>
<blockquote><p>10 * 10 * 10 * 10 = 10,000</p></blockquote>
<p>Basically at every point you have the option of picking any of the 10 dishes and you have 4 of these opportunities.</p>
<li>This is the most interesting of the 4 scenarios. Like in (c) you have 10 dishes to choose from all 4 times. However order is not relevant and hence those outcomes where the same things were picked have to be eliminated. Lets start with the answer we have in (c), 10,000. If from those you delete all outcomes that included a dish only once treating order as relevant (a) and then add back the outcomes that included a dish only once treating order as irrelevant (b) you get the following:</li>
<blockquote><p>10,000 – 10P4 + 10C4</p>
<p>=&gt; 10,000 – 10!/6! + 10!/(4! * 6!)</p>
<p>=&gt; 5170</p></blockquote>
<p>However, in that total you still have the outcomes are the same (though their order of dishes is different) that included 1 repeat, 2 repeats and 3 repeats, and they need to be removed from that total. If you figure that one out, post the solution in a comment!</ol>
<p>Here&#8217;s a bonus question, and something I will probably ask you if I ever interview you for a software engineering position. (Don&#8217;t worry, i&#8217;ll be able to figure out whether you knew it before hand <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</p>
<p>A spider eats at most 3 flies a day, and stops trying to catch more flies once he has eaten 3 for the day. Until he fills his quota, he has a 50% chance of catching any fly that pass by his web. What are a fly&#8217;s chances of survival, given that five 5 have passed by the spider&#8217;s web today?</p>
<br />Filed under: <a href='http://coab.wordpress.com/category/logic/'>logic</a>, <a href='http://coab.wordpress.com/category/math/'>math</a> Tagged: <a href='http://coab.wordpress.com/tag/combination/'>combination</a>, <a href='http://coab.wordpress.com/tag/permutation/'>permutation</a>, <a href='http://coab.wordpress.com/tag/probability/'>probability</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/180/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=180&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2011/02/15/so-how-many-ways-can-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>
	</item>
		<item>
		<title>Netflix should tie up with Movie Theaters</title>
		<link>http://coab.wordpress.com/2011/02/14/netflix-should-tie-up-with-movie-theaters/</link>
		<comments>http://coab.wordpress.com/2011/02/14/netflix-should-tie-up-with-movie-theaters/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 19:45:40 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[business]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[netflix]]></category>
		<category><![CDATA[subscription]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://coab.wordpress.com/?p=172</guid>
		<description><![CDATA[I love watching movies, and in New York City, where I live, the cost of watching one movie in a theater is around $13-$15. For two people, that&#8217;s almost $30, and if you have a family of four, that&#8217;s pretty darn pricey. No wonder lesser and lesser people are &#8220;going to the movies&#8221;. Well, there [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=172&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I love watching movies, and in New York City, where I live, the cost of watching one movie in a theater is around $13-$15. For two people, that&#8217;s almost $30, and if you have a family of four, that&#8217;s pretty darn pricey.</p>
<p>No wonder lesser and lesser people are &#8220;going to the movies&#8221;. Well, there are other reasons too I guess. Home theater systems for one, but I don&#8217;t know if their penetration has reached the point that they are causing the masses to stay home. Shitty movies might be another, but shittyness doesn&#8217;t have that great a track record of keeping the masses away from anything. I mean we have <a href="http://en.wikipedia.org/wiki/Michele_Bachmann">this</a> and <a href="http://en.wikipedia.org/wiki/Sarah_Palin">this</a>! Maybe piracy? Now that&#8217;s a whole new conversation, but at the end of the day I do believe; provide something compelling and people will pay (a little).</p>
<p>I was in a bus passing by the United Artists Theater on 1st Ave &amp; 85th St, and its currently playing <a href="http://www.imdb.com/title/tt0947798/">Black Swan</a>, and thought hmm, it would be good to get off the bus and go watch it until my impulse to not pay $30 to some production house kicked in. You can argue if that is justified, but afford it or not, it doesn&#8217;t pass my cost-benefit analysis-o-meter!</p>
<p>So here&#8217;s my idea; I googled it a bit and doesn&#8217;t seem like its been talked about publicly. Netflix, feel free to steal and implement it. Okay, maybe not really. If it works, I would like 50% of the profits. Just putting it out there in the universe, you never know what sticks!</p>
<p>I currently pay somewhere around $10 to get one DVD at home and unlimited streaming of the movies available for instant watching. Pretty good deal, as my cost-benefit analysis-o-meter tells me. Charge me $20, if you can also give me the ability to go to a theater and pay a small amount, say $5 and see a movie.</p>
<p>There are currently around <a href="http://news.cnet.com/8301-31001_3-20029692-261.html">20 million Netflix subscribers</a> in the US and Canada, and here is how much the top grossing movies of 2010 made. Table copied from <a href="http://boxofficemojo.com/yearly/chart/?yr=2010&amp;p=.htm">here</a>.</p>
<table border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td><strong>Rank</strong></td>
<td>Movie Title (click to view)</td>
<td>Studio</td>
<td colspan="2"><strong>Total Gross</strong> /Theaters</td>
<td colspan="2">Opening / Theaters</td>
<td>Open</td>
<td>Close</td>
</tr>
<tr>
<td>1</td>
<td><strong><a href="http://boxofficemojo.com/movies/?id=toystory3.htm">Toy Story 3</a></strong></td>
<td><a href="http://boxofficemojo.com/studio/chart/?studio=buenavista.htm">BV</a></td>
<td><strong>$415,004,880</strong></td>
<td>4,028</td>
<td>$110,307,189</td>
<td>4,028</td>
<td><a href="http://boxofficemojo.com/schedule/?view=bydate&amp;release=theatrical&amp;date=2010-06-18&amp;p=.htm">6/18</a></td>
<td>12/2</td>
</tr>
<tr>
<td>2</td>
<td><strong><a href="http://boxofficemojo.com/movies/?id=aliceinwonderland10.htm">Alice in   Wonderland (2010)</a></strong></td>
<td><a href="http://boxofficemojo.com/studio/chart/?studio=buenavista.htm">BV</a></td>
<td><strong>$334,191,110</strong></td>
<td>3,739</td>
<td>$116,101,023</td>
<td>3,728</td>
<td><a href="http://boxofficemojo.com/schedule/?view=bydate&amp;release=theatrical&amp;date=2010-03-05&amp;p=.htm">3/5</a></td>
<td>7/8</td>
</tr>
<tr>
<td>3</td>
<td><strong><a href="http://boxofficemojo.com/movies/?id=ironman2.htm">Iron Man 2</a></strong></td>
<td><a href="http://boxofficemojo.com/studio/chart/?studio=paramount.htm">Par.</a></td>
<td><strong>$312,433,331</strong></td>
<td>4,390</td>
<td>$128,122,480</td>
<td>4,380</td>
<td><a href="http://boxofficemojo.com/schedule/?view=bydate&amp;release=theatrical&amp;date=2010-05-07&amp;p=.htm">5/7</a></td>
<td>8/19</td>
</tr>
<tr>
<td>4</td>
<td><strong><a href="http://boxofficemojo.com/movies/?id=eclipse.htm">The Twilight   Saga: Eclipse</a></strong></td>
<td><a href="http://boxofficemojo.com/studio/chart/?studio=summitentertainment.htm">Sum.</a></td>
<td><strong>$300,531,751</strong></td>
<td>4,468</td>
<td>$64,832,191</td>
<td>4,468</td>
<td><a href="http://boxofficemojo.com/schedule/?view=bydate&amp;release=theatrical&amp;date=2010-06-30&amp;p=.htm">6/30</a></td>
<td>10/21</td>
</tr>
<tr>
<td>5</td>
<td><strong><a href="http://boxofficemojo.com/movies/?id=harrypotter7.htm">Harry Potter and   the Deathly Hallows Part 1</a></strong></td>
<td><a href="http://boxofficemojo.com/studio/chart/?studio=warnerbros.htm">WB</a></td>
<td><strong>$292,890,256</strong></td>
<td>4,125</td>
<td>$125,017,372</td>
<td>4,125</td>
<td><a href="http://boxofficemojo.com/schedule/?view=bydate&amp;release=theatrical&amp;date=2010-11-19&amp;p=.htm">11/19</a></td>
<td>-</td>
</tr>
</tbody>
</table>
<p>So i&#8217;m not really a finance guy but maybe there is a way to make the numbers work here. Infact, there will probably be a lot of interest in such an offer, even at a higher price point, say $30. Besides it will create economic activity that could be tied back to Netflix, and the movie business in the long run.</p>
<p>I don&#8217;t care about the shitty butter covered corn and sugar they serve at the theater, and yea, noisy idiots do bother me, but i&#8217;ll figure that one out. However, I do love to watch movies on the big screen, and will jump at this offer. Hopefully many others will too.</p>
<p>Finally I would like to say that these opinions are solely mine and I do own a minuscule amount of stock in <a href="http://www.netflix.com/">Netflix</a>, so if their share price was to increase because of this post, maybe I will go and watch a couple more movies at the local theater.</p>
<br />Filed under: <a href='http://coab.wordpress.com/category/business/'>business</a>, <a href='http://coab.wordpress.com/category/ideas/'>ideas</a> Tagged: <a href='http://coab.wordpress.com/tag/netflix/'>netflix</a>, <a href='http://coab.wordpress.com/tag/subscription/'>subscription</a>, <a href='http://coab.wordpress.com/tag/video/'>video</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=172&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2011/02/14/netflix-should-tie-up-with-movie-theaters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>
	</item>
		<item>
		<title>Invoking the DELETE verb with the Mootools Request.JSON class</title>
		<link>http://coab.wordpress.com/2010/10/24/invoking-the-delete-verb-with-the-request-class/</link>
		<comments>http://coab.wordpress.com/2010/10/24/invoking-the-delete-verb-with-the-request-class/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 21:01:53 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[Mootools]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[rest]]></category>

		<guid isPermaLink="false">https://coab.wordpress.com/2010/10/24/invoking-the-delete-verb-with-the-request-class/</guid>
		<description><![CDATA[Recently, I was trying to use the DELETE verb on a URL (using the MooTools Request.JSON class), and found (using Firebug) that the even though I was invoking the request correctly, the actual request going out was a POST. The code looks something like this. var req = new Request.JSON( { method: “DELETE”, url: url, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=153&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I was trying to use the DELETE verb on a URL (using the MooTools Request.JSON class), and found (using Firebug) that the even though I was invoking the request correctly, the actual request going out was a POST. The code looks something like this.</p>
<pre class="csharpcode"><span class="kwrd">var</span> req = <span class="kwrd">new</span> Request.JSON(
{
    method: “DELETE”,
    url: url,
}); 

req.addEvent(<span class="str">"failure"</span>, failurefn);
req.addEvent(<span class="str">"success"</span>, successfn);
req.send(args);</pre>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">On debugging I found that the following piece of code in the MooTools library’s Request class (which is the base class for Request.JSON)</div>
<pre class="csharpcode"><span class="kwrd">if</span> (<span class="kwrd">this</span>.options.emulation &amp;&amp; ![<span class="str">'get'</span>, <span class="str">'post'</span>].contains(method)){
    var _method = <span class="str">'_method='</span> + method;
    data = (data) ? _method + <span class="str">'&amp;'</span> + data : _method;
    method = <span class="str">'post'</span>;
}</pre>
<p>was converting the DELETE request into a POST request, and adding the actual method (DELETE in this case as part of the POST data. It appears that if you want to send any other verb besides a GET or POST as the actual HTTP verb using the Request class, you must set the “emulation” option to false. This is documented in the MooTools <a href="http://mootools.net/docs/core/Request/Request">documentation</a> for the Request class.</p>
<p><a href="http://coab.files.wordpress.com/2010/10/image.png"><img style="display:inline;border:0;" title="image" src="http://coab.files.wordpress.com/2010/10/image_thumb.png?w=609&#038;h=42" border="0" alt="image" width="609" height="42" /></a></p>
<p>The value of the emulation option defaults to true in the class. So my code now looks something like this (notice the emulation: false):</p>
<pre>var req = <span class="kwrd">new</span> Request.JSON(
{
    method: method,
    url: url,
    emulation: <span class="kwrd">false</span>
}); 

req.addEvent(<span class="str">"failure"</span>, failurefn);
req.addEvent(<span class="str">"success"</span>, successfn);
req.send(args);</pre>
<p>And everything works as expected.</p>
<br />Filed under: <a href='http://coab.wordpress.com/category/mootools/'>Mootools</a>, <a href='http://coab.wordpress.com/category/uncategorized/'>Uncategorized</a>, <a href='http://coab.wordpress.com/category/web-services/'>web services</a> Tagged: <a href='http://coab.wordpress.com/tag/http/'>http</a>, <a href='http://coab.wordpress.com/tag/rest/'>rest</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=153&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2010/10/24/invoking-the-delete-verb-with-the-request-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>

		<media:content url="http://coab.files.wordpress.com/2010/10/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>NYC Startup Weekend</title>
		<link>http://coab.wordpress.com/2010/06/23/nyc-startup-weekend/</link>
		<comments>http://coab.wordpress.com/2010/06/23/nyc-startup-weekend/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 04:16:56 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[collaboration]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[nyc startup weekend]]></category>
		<category><![CDATA[sound spot]]></category>

		<guid isPermaLink="false">http://coab.wordpress.com/?p=134</guid>
		<description><![CDATA[I recently attended the NYC Startup Weekend. Initially I was reluctant thinking it would be a waste of time, not productive etc, but I was surprised. It was an awesome experience, and after the chaos of Friday night, Saturday and Sunday were exciting days when I worked in a team of 5 people to come [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=134&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently attended the <a href="http://nyc.startupweekend.org/" target="_blank">NYC Startup Weekend</a>. Initially I was reluctant thinking it would be a waste of time, not productive etc, but I was surprised. It was an awesome experience, and after the chaos of Friday night, Saturday and Sunday were exciting days when I worked in a team of 5 people to come up with an interesting concept, and also picked up some Android/Java  programming.</p>
<p>Our idea &#8220;Sound Spot&#8221; got a shout out from the <a href="http://technoverseblog.com/2010/06/finale-startup-weekend-nyc/" target="_blank">Technoverse Blog</a>. Thank You!!</p>
<p>Overall the quality of  pitches was excellent and it was a learning experience through and through. Everything thing from what VCs look for, to how to appeal to an audience, to a completely new platform for development. I highly recommend attending one if possible.</p>
<p>Besides all this there was excellent food at the event (surprisingly I must admit). It was served by <a href="http://organiqueonline.com/" target="_blank">Organique</a>. So good!!!</p>
<br />Filed under: <a href='http://coab.wordpress.com/category/collaboration/'>collaboration</a>, <a href='http://coab.wordpress.com/category/mobile/'>Mobile</a>, <a href='http://coab.wordpress.com/category/startup/'>startup</a> Tagged: <a href='http://coab.wordpress.com/tag/nyc-startup-weekend/'>nyc startup weekend</a>, <a href='http://coab.wordpress.com/tag/sound-spot/'>sound spot</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=134&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2010/06/23/nyc-startup-weekend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>
	</item>
		<item>
		<title>NAnt, NAntContrib &amp; How can I use msbuild with NAnt?</title>
		<link>http://coab.wordpress.com/2010/05/17/nant-nantcontrib-how-can-i-use-msbuild-with-nant/</link>
		<comments>http://coab.wordpress.com/2010/05/17/nant-nantcontrib-how-can-i-use-msbuild-with-nant/#comments</comments>
		<pubDate>Tue, 18 May 2010 01:38:10 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[development tools]]></category>
		<category><![CDATA[cruise control]]></category>
		<category><![CDATA[nant]]></category>
		<category><![CDATA[nantcontrib]]></category>

		<guid isPermaLink="false">http://coab.wordpress.com/?p=123</guid>
		<description><![CDATA[I had a simple need&#8230; I wanted to check if my NAnt .build file changes were correct before checking them into source control. We already have Cruise Control.NET setup and it works but I did not have any way to test my changes locally. So I thought I would install NAnt and try to test [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=123&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>I had a simple need&#8230;</p></blockquote>
<p>I wanted to check if my NAnt .build file changes were correct before checking them into source control. We already have Cruise Control.NET setup and it works but I did not have any way to test my changes locally. So I thought I would install NAnt and try to test my changes.</p>
<p>So there I went&#8230; at first I googled my way to nant.sourceforge.net and found NAnt binaries. Downloaded them, unzipped them and tried to run nant.exe on my build file. Failed. Then I googled my way to discovering that I need something called NAntContrib because it has the definition of the task msbuild that I was using in my .build file. OK so I downloaded NAntContrib. But it wasn&#8217;t clear what I should do next. How could I tell nant.exe to load the definition of the msbuild task from NAntContrib binaries?</p>
<p>Anyway, I figured it out (we always do) but had to struggle and google my way around a lot of stuff to get to the point where I was able to run everything.</p>
<p>Here are simple instructions I wish I had. Hopefully they help you out if you&#8217;re stuck with the same issue.</p>
<p><strong>What is NAntContrib?</strong></p>
<p>From the NAntContrib readme.txt</p>
<blockquote><p>&#8220;NAntContrib is the project for tasks and tools that haven&#8217;t made it into the main NAnt distribution yet or for whatever reason don&#8217;t belong there.&#8221;</p></blockquote>
<p><strong>How can I install NAnt and NAnt contrib on my machine?</strong></p>
<p>1. Install NAnt</p>
<ul>
<li>Get the latest Release from here: http://nant.sourceforge.net</li>
<li>You can just get the binaries in zip form and unzip on a folder in your machine (say c:\Program Files\nant)</li>
</ul>
<p>2. Install NAntContrib</p>
<ul>
<li>Get the latest release from here: http://nantcontrib.sourceforge.net</li>
<li>Again you can download the binaries in zip form and unzip into a folder in your machine (say c:\Program Files\nantcontrib)</li>
</ul>
<p><strong>How can I use tasks from NAntContrib in my NAnt?</strong></p>
<p>I was trying to use msbuild which is a task to build a Visual Studio Solution (.sln) file. Here is how I got it to work.</p>
<p>This is how I defined my &#8220;build&#8221; target in the my .build file</p>
<pre>&lt;target name="build" description="Compiles the .Net solution"&gt;</pre>
<pre>      &lt;!-- build the solution --&gt;</pre>
<pre>      &lt;echo message="Building ${project::get-name()} v${project.version}" /&gt;</pre>
<pre>      &lt;!-- need nant.contrib.tasks.dll for msbuild --&gt;</pre>
<pre>      &lt;loadtasks assembly="C:/Program Files/nantcontrib/bin/NAnt.Contrib.Tasks.dll" /&gt;</pre>
<pre>      &lt;msbuild project="mysolution.sln"&gt;</pre>
<pre>            &lt;arg value="/p:Configuration=${target}" /&gt;</pre>
<pre>            &lt;arg value="/p:Platform=Any CPU" /&gt;</pre>
<pre>            &lt;arg value="/t:Rebuild" /&gt;
      &lt;/msbuild&gt;</pre>
<pre>&lt;/target&gt;</pre>
<p><!-- build the solution --></p>
<p><!-- need nant.contrib.tasks.dll for msbuild --></p>
<p>By adding the  tag in there with the path to the NAnt.Contrib.Tasks.dll, I point nant to the dll to find the msbuild task and it just works.</p>
<p>The command line to run nant on the build file was as follows</p>
<p><code><span style="color:#800000;">c:\Projects\myproject&gt;"c:\program files\nant\bin\nant.exe" -buildfile:mysolution.build build</span></code></p>
<p>This tells nant.exe to find mysolution.build in the current folder and execute the &#8220;build&#8221; target in it.</p>
<br />Filed under: <a href='http://coab.wordpress.com/category/development-tools/'>development tools</a> Tagged: <a href='http://coab.wordpress.com/tag/cruise-control/'>cruise control</a>, <a href='http://coab.wordpress.com/tag/nant/'>nant</a>, <a href='http://coab.wordpress.com/tag/nantcontrib/'>nantcontrib</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=123&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2010/05/17/nant-nantcontrib-how-can-i-use-msbuild-with-nant/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>
	</item>
		<item>
		<title>MooTools Request.JSON &#8220;success&#8221; event &#8211; Some Undocumented Behavior</title>
		<link>http://coab.wordpress.com/2010/03/20/mootools-request-json-success-event-some-undocumented-behavior/</link>
		<comments>http://coab.wordpress.com/2010/03/20/mootools-request-json-success-event-some-undocumented-behavior/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 04:25:33 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mootools]]></category>
		<category><![CDATA[request.json]]></category>
		<category><![CDATA[xmlhttprequest]]></category>

		<guid isPermaLink="false">http://coab.wordpress.com/2010/03/20/mootools-request-json-success-event-some-undocumented-behavior/</guid>
		<description><![CDATA[Request.JSON is a simple extension of the Request class that MooTools provides for making HTTP request. According to the MooTools documentation for the Request.JSON class the handler for the “success” event will receive two arguments. The first one being the response JSON object, and the second, the response in text form. The signature of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=114&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Request.JSON is a simple extension of the Request class that MooTools provides for making HTTP request. According to the MooTools <a href="http://mootools.net/docs/core/Request/Request">documentation</a> for the Request.JSON class the handler for the “success” event will receive two arguments. The first one being the response JSON object, and the second, the response in text form. The signature of the handler function would then be something like this:</p>
<pre>
OnSuccess(responseJSON, responseText)
</pre>
<p>Now when a request is made without any arguments, like below</p>
<pre>
var req = new Request.JSON(
{
    method: method,
    url: url
});

req.addEvent("failure", failurefn);
req.addEvent("success", successfn);
req.send();
</pre>
<p>that is indeed the case. The success function gets the responseJSON and the responseText.</p>
<p>However if the request includes arguments, like so:</p>
<pre>
var req = new Request.JSON(
{
    method: method,
    url: url
});

req.addEvent("failure", failurefn);
req.addEvent("success", successfn);
req.send(args);
</pre>
<p>the 2 arguments to the success function are first the response JSON object and second the arguments (args) that were originally passed into the request. In other words the signature of the success function is like this:</p>
<pre>
OnSuccess(responseJSON, args)
</pre>
<p>I couldn’t find any mention of this in the MooTools documentation, and I think this might be a behavior of the underlying XmlHttpRequest object itself and not something introduced by the MooTools class.</p>
<div class="wlWriterHeaderFooter" style="text-align:right;margin:0;padding:4px 0;"><a href="http://digg.com/submit?url=http%3a%2f%2fcoab.wordpress.com%2f2010%2f03%2f20%2fmootools-request-json-success-event-some-undocumented-behavior%2f&amp;title=MooTools+Request.JSON+%e2%80%9csuccess%e2%80%9d+event+%e2%80%93+Some+Undocumented+Behavior"><img style="border:0;" title="Digg This" src="http://digg.com/img/badges/100x20-digg-button.png" border="0" alt="Digg This" width="100" height="20" /></a></div>
<br />Filed under: <a href='http://coab.wordpress.com/category/javascript/'>JavaScript</a>, <a href='http://coab.wordpress.com/category/mootools/'>Mootools</a> Tagged: <a href='http://coab.wordpress.com/tag/request-json/'>request.json</a>, <a href='http://coab.wordpress.com/tag/xmlhttprequest/'>xmlhttprequest</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=114&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2010/03/20/mootools-request-json-success-event-some-undocumented-behavior/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>

		<media:content url="http://digg.com/img/badges/100x20-digg-button.png" medium="image">
			<media:title type="html">Digg This</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Phone Developer Tools</title>
		<link>http://coab.wordpress.com/2010/03/17/windows-phone-developer-tools/</link>
		<comments>http://coab.wordpress.com/2010/03/17/windows-phone-developer-tools/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 05:57:44 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[ado.net data services]]></category>
		<category><![CDATA[dallas]]></category>
		<category><![CDATA[houston]]></category>
		<category><![CDATA[mix 2010]]></category>
		<category><![CDATA[odata]]></category>
		<category><![CDATA[windows phone]]></category>
		<category><![CDATA[windows series 7]]></category>

		<guid isPermaLink="false">http://coab.wordpress.com/?p=105</guid>
		<description><![CDATA[On 03/15/2010, at Mix 2010, ScottGu announced the availability of Windows Phone Developer Tools CTP for free download. It can be downloaded from here http://www.microsoft.com/downloads/details.aspx?FamilyID=2338b5d1-79d8-46af-b828-380b0f854203&#38;displaylang=en And more information about the download can be found here on the Windows Phone Developer Blog. Also the developer home for Windows Phone is here http://developer.windowsphone.com While installing the download [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=105&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On 03/15/2010, at Mix 2010, ScottGu announced the availability of Windows Phone Developer Tools CTP for free download. It can be downloaded from here</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2338b5d1-79d8-46af-b828-380b0f854203&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=2338b5d1-79d8-46af-b828-380b0f854203&amp;displaylang=en</a></p>
<p>And more information about the download can be found <a href="http://windowsteamblog.com/blogs/wpdev/archive/2010/03/15/go-get-it-the-windows-phone-developer-training-kit.aspx">here</a> on the Windows Phone Developer Blog.</p>
<p>Also the developer home for Windows Phone is here</p>
<p><a href="http://developer.windowsphone.com/">http://developer.windowsphone.com</a></p>
<p>While installing the download package, I ran into an error that VC 10.0 was already installed. Turned out that I had Visual Studio 2010 Beta 1 installed on my machine, and the Windows Phone Developer CTP was not OK with that. Uninstalling the VS 2010 Beta 1 fixed the issue.</p>
<p>A bunch of other new technology that has been announced in Mix 2010 include</p>
<p>- <a href="http://www.odata.org/">oData</a> &#8211; Open Data Protocol. A new protocol built on HTTP and ATOM for sharing data based on REST principles. It was earlier known as ADO.NET Data Services. <a href="http://live.visitmix.com/MIX10/Sessions/FT12">There&#8217;s a feed for that!</a></p>
<p>- <a href="http://www.microsoft.com/WindowsAzure/dallas/">Dallas </a>- A market place for web API providing access to data sets using oData. Many <a href="https://www.sqlazureservices.com/Catalog.aspx">datasets</a> already available. Again more information about this <a href="http://windowsteamblog.com/blogs/wpdev/archive/2010/03/15/the-windows-phone-marketplace-a-different-shopping-experience-for-a-different-kind-of-phone.aspx">here</a>, on the Dev Blog.</p>
<p>- Houston &#8211; A tool built in Silverlight that allows manipulation of SQL Azure. Again this is not something new but things are coming together nicely for developers working with Microsoft technologies.</p>
<br />Filed under: <a href='http://coab.wordpress.com/category/mobile/'>Mobile</a> Tagged: <a href='http://coab.wordpress.com/tag/ado-net-data-services/'>ado.net data services</a>, <a href='http://coab.wordpress.com/tag/dallas/'>dallas</a>, <a href='http://coab.wordpress.com/tag/houston/'>houston</a>, <a href='http://coab.wordpress.com/tag/mix-2010/'>mix 2010</a>, <a href='http://coab.wordpress.com/tag/odata/'>odata</a>, <a href='http://coab.wordpress.com/tag/windows-phone/'>windows phone</a>, <a href='http://coab.wordpress.com/tag/windows-series-7/'>windows series 7</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=105&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2010/03/17/windows-phone-developer-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>
	</item>
		<item>
		<title>Quickly finding WCF Serialization/Deserialization Issues</title>
		<link>http://coab.wordpress.com/2010/03/08/quickly-finding-wcf-serializationdeserialization-issues/</link>
		<comments>http://coab.wordpress.com/2010/03/08/quickly-finding-wcf-serializationdeserialization-issues/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 23:21:54 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[web services]]></category>
		<category><![CDATA[svctraceviewer]]></category>
		<category><![CDATA[wcf]]></category>

		<guid isPermaLink="false">http://coab.wordpress.com/?p=89</guid>
		<description><![CDATA[Once control leaves your code, and heads into the land of WCF serialization, or before it hits your code, when it is in the land of WCF deserialization, you usually don’t have much insight into what’s going on. Yes, you can write your own handlers and step into the process but in most cases, there [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=89&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span class="kwrd"> </span></p>
<p><span class="kwrd"> </span></p>
<p><span class="kwrd"> </span></p>
<p>Once control leaves your code, and heads into the land of WCF serialization, or before it hits your code, when it is in the land of WCF deserialization, you usually don’t have much insight into what’s going on. Yes, you can write your own handlers and step into the process but in most cases, there is no need for that. All you need is a little bit of logging and some error messages to help you catch issues.</p>
<p>Fortunately, Visual Studio comes with a handy little tool called SvcTraceViewer.exe that can help you quickly find issues with serialization or deserialization of your DataContracts.</p>
<p>You need to do the following two steps to quickly find the issue:</p>
<h2>Step 1</h2>
<p>Tell WCF to start logging out into a file. You can do this by adding the following diagnostic section as a child of the <span style="color:#0000ff;">&lt;</span><span style="color:#804040;">configuration</span><span style="color:#0000ff;">&gt;</span> tag. But be careful, it has to be after the end of the <span style="font-size:x-small;"><span style="color:#0000ff;">&lt;</span><span style="color:#804040;">congifSections</span><span style="color:#0000ff;">&gt;</span></span> tag. There are a lot of options and flexibility WCF provides around this tracing, and you can read all about it <a href="http://msdn.microsoft.com/en-us/library/ms733025.aspx">here</a>. The section below will cause WCF to log out its activity to the file c:\wcf.svclog</p>
<pre class="csharpcode"><span class="kwrd"><span style="color:#0000ff;">&lt;</span></span><span class="html"><span style="color:#800000;">system.diagnostics</span></span><span class="kwrd"><span style="color:#0000ff;">&gt;</span></span><span style="color:#0000ff;">
    </span><span class="kwrd"><span style="color:#0000ff;">&lt;</span></span><span class="html"><span style="color:#800000;">sources</span></span><span class="kwrd"><span style="color:#0000ff;">&gt;</span></span><span style="color:#0000ff;">
        </span><span class="kwrd"><span style="color:#0000ff;">&lt;</span></span><span class="html"><span style="color:#800000;">source</span></span><span style="color:#0000ff;">     </span><span class="attr"><span style="color:#ff0000;">name</span></span><span class="kwrd"><span style="color:#0000ff;">="System.ServiceModel"</span></span><span style="color:#0000ff;">
                    </span><span class="attr"><span style="color:#ff0000;">switchValue</span></span><span class="kwrd"><span style="color:#0000ff;">="Information, ActivityTracing"</span></span><span style="color:#0000ff;">
                    </span><span class="attr"><span style="color:#ff0000;">propagateActivity</span></span><span class="kwrd"><span style="color:#0000ff;">="true"</span></span><span class="kwrd"><span style="color:#0000ff;">&gt;</span></span><span style="color:#0000ff;">
            </span><span class="kwrd"><span style="color:#0000ff;">&lt;</span></span><span class="html"><span style="color:#800000;">listeners</span></span><span class="kwrd"><span style="color:#0000ff;">&gt;</span></span><span style="color:#0000ff;">
                </span><span class="kwrd"><span style="color:#0000ff;">&lt;</span></span><span class="html"><span style="color:#800000;">add</span></span><span style="color:#0000ff;">    </span><span class="attr"><span style="color:#ff0000;">name</span></span><span class="kwrd"><span style="color:#0000ff;">="traceListener"</span></span><span style="color:#0000ff;">
                        </span><span class="attr"><span style="color:#ff0000;">type</span></span><span class="kwrd"><span style="color:#0000ff;">="System.Diagnostics.XmlWriterTraceListener"</span></span><span style="color:#0000ff;">
                        </span><span class="attr"><span style="color:#ff0000;">initializeData</span></span><span style="color:#0000ff;">= </span><span class="kwrd"><span style="color:#0000ff;">"c:\wcf.svclog"</span></span><span style="color:#0000ff;"> </span><span class="kwrd"><span style="color:#0000ff;">/&gt;</span></span><span style="color:#0000ff;">
            </span><span class="kwrd"><span style="color:#0000ff;">&lt;<span style="color:#800000;">/</span></span></span><span class="html"><span style="color:#800000;">listeners</span></span><span class="kwrd"><span style="color:#0000ff;">&gt;</span></span><span style="color:#0000ff;">
        </span><span class="kwrd"><span style="color:#0000ff;">&lt;<span style="color:#800000;">/</span></span></span><span class="html"><span style="color:#800000;">source</span></span><span class="kwrd"><span style="color:#0000ff;">&gt;</span></span><span style="color:#0000ff;">
    </span><span class="kwrd"><span style="color:#0000ff;">&lt;<span style="color:#800000;">/</span></span></span><span class="html"><span style="color:#800000;">sources</span></span><span class="kwrd"><span style="color:#0000ff;">&gt;</span></span><span style="color:#0000ff;">
</span><span class="kwrd"><span style="color:#0000ff;">&lt;<span style="color:#800000;">/</span></span></span><span class="html"><span style="color:#800000;">system.diagnostics</span></span><span class="kwrd"><span style="color:#0000ff;">&gt;</span></span></pre>
<pre class="csharpcode">Source: <a href="http://msdn.microsoft.com/en-us/library/ms733025.aspx">http://msdn.microsoft.com/en-us/library/ms733025.aspx</a></pre>
<h2>Step 2</h2>
<p>Now that you have set WCF to log out all its activity into c:\wcf.svclog, all you need to do it open that file using the utility SvcTraceViewer.exe. It ships along with Visual Studio (atleast VS 2008 Professional Edition that I have), and it lives in the following folder on my machine.</p>
<blockquote><p>C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin</p></blockquote>
<p>Once you open the trace file in SvcTraceViewer.exe, you will see the log entries (activities). Something like this:</p>
<p><a href="http://coab.files.wordpress.com/2010/03/image.png"><img style="display:inline;border:0;" title="image" src="http://coab.files.wordpress.com/2010/03/image_thumb.png?w=414&#038;h=397" border="0" alt="image" width="414" height="397" /></a></p>
<p>Here you can see that a number of activities are logged and also a couple of errors are pointed out in red.</p>
<p>When I click on one of those error entries, this is what I see on the right side of my SvcTraceViewer window:</p>
<p><a href="http://coab.files.wordpress.com/2010/03/image1.png"><img style="display:inline;border:0;" title="image" src="http://coab.files.wordpress.com/2010/03/image_thumb1.png?w=661&#038;h=171" border="0" alt="image" width="661" height="171" /></a></p>
<p>As you can see, all the steps for processing that particular request are listed, and the step that failed is logged out in red. When I click on the step that failed, this is what I see in the bottom pane of my SvcTraceViewer window:</p>
<p><a href="http://coab.files.wordpress.com/2010/03/image2.png"><img style="display:inline;border:0;" title="image" src="http://coab.files.wordpress.com/2010/03/image_thumb2.png?w=649&#038;h=605" border="0" alt="image" width="649" height="605" /></a></p>
<p>As you can tell from the “Message” field under the “Exception Information” section, the error is pretty clear. While attempting to fulfill a request, WCF ran into an interface that was actually implemented by a type it did not recognize (WLogicTree). I need to tell it about the type. I can do this by adding it to the <a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.serviceknowntypeattribute.aspx">ServiceKnownTypes</a> list.</p>
<p>In short, once you know how to use tools like SvcTraceViewer, and understand some of WCF rules for serialization and deserialization, it is not very painful to catch most errors.</p>
<p>Happy debugging!</p>
<div class="wlWriterHeaderFooter" style="text-align:right;margin:0;padding:4px 0;"><a href="http://digg.com/submit?url=http%3a%2f%2fcoab.wordpress.com%2f%3fp%3d89&amp;title=Quickly+finding+WCF+Serialization%2fDeserialization+Issues"><img style="border:0;" title="Digg This" src="http://digg.com/img/badges/100x20-digg-button.png" border="0" alt="Digg This" width="100" height="20" /></a></div>
<br />Filed under: <a href='http://coab.wordpress.com/category/web-services/'>web services</a> Tagged: <a href='http://coab.wordpress.com/tag/svctraceviewer/'>svctraceviewer</a>, <a href='http://coab.wordpress.com/tag/wcf/'>wcf</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=89&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2010/03/08/quickly-finding-wcf-serializationdeserialization-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>

		<media:content url="http://coab.files.wordpress.com/2010/03/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://coab.files.wordpress.com/2010/03/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://coab.files.wordpress.com/2010/03/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://digg.com/img/badges/100x20-digg-button.png" medium="image">
			<media:title type="html">Digg This</media:title>
		</media:content>
	</item>
		<item>
		<title>Thoughts on SharePoint/SocialCast Integration</title>
		<link>http://coab.wordpress.com/2010/03/06/thoughts-on-sharepointsocialcast-integration/</link>
		<comments>http://coab.wordpress.com/2010/03/06/thoughts-on-sharepointsocialcast-integration/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 00:30:56 +0000</pubDate>
		<dc:creator>floatingfrisbee</dc:creator>
				<category><![CDATA[Enterprise Collaboration]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[socialcast]]></category>

		<guid isPermaLink="false">http://coab.wordpress.com/?p=85</guid>
		<description><![CDATA[SocialCast recently announced a Sharepoint Webpart, a part of their EASE release. I think some of the connectors, specially ones that bring SocialCast to Outlook and SharePoint will be very useful. I was also thinking about the reverse, which is bringing content from sources like Outlook and SharePoint into SocialCast (just like it allows bringing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=85&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SocialCast recently announced a Sharepoint Webpart, a part of their EASE release. I think some of the connectors, specially ones that bring SocialCast to Outlook and SharePoint will be very useful. I was also thinking about the reverse, which is bringing content from sources like Outlook and SharePoint into SocialCast (just like it allows bringing content from Twitter and Facebook).</p>
<p>Below are some thoughts about how such an integration could work.</p>
<p>SharePoint organizes everything in terms of sites, sub sites and lists. For example if I have a sharepoint site for my group (a set of engineers and PDs who work together organizationally), one way to organize my projects would be to create a site for each project under my group&#8217;s site. Inside a site, you can have any number of lists. List is the generic term sharepoint uses for any set of information. So Links, Announcements, Events and Documents etc are all lists within a sharepoint site. People usually associate webparts with Sharepoint but webparts are just a user interface concept, used to surface all or parts of underlying lists, and other information. The underlying data is all stored in terms of lists.</p>
<p>For SocialCast/Sharepoint integration, it would be good to have an interface where I can point to a top level sharepoint site, and see all the sites that are under it, and then select a site, and see all the lists that are under it. Then for each list, see all actions that are possible on the list, and be able to turn on/off notifications for each action. It would also be great to have the same notification features at the site level, meaning being able to turn on/off notifications for the whole site (i.e. all lists and sub-sites under it).</p>
<p>Subsequently, each time a notification is generated, it should have information about which site, list and item it is being generated for (including a link to the item), the kind of action being performed, and the user that performed the action. It would also be nice to have other useful fields of information associated with the change that sparked the notification such as Comments.</p>
<p>I can imagine that such automated notifications could easily clutter the &#8220;Company&#8221; or &#8220;Home&#8221; activity stream, so maybe there should be an option to see or not to see such notifications there. The same could be said for all stream items that are auto-generated (though some people may prefer those over person generated stream items <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Consider this scenario&#8230;</p>
<p>Lets say I belong to a organizational group (Org Group) in my company called the &#8220;Company Data Group&#8221; and I am currently working on a project called &#8220;Fundamentals Integration&#8221;. I have a SharePoint site for my entire Org Group, and a sub-site under it for the current project I am working on. To help my Org Group collaborate, I also create a SocialCast Group (SC Group) called &#8220;Company Data Group&#8221; and include all members of my Org Group in it. Since the concept of projects is not directly supported in SocialCast, I would make another SC Group (maybe a private SC Group) and include all the people who are working with me on that project.</p>
<p>Now, I should be able to configure the stream settings for the SC Group that maps to my current project to include notifications that are being generated from that Sharepoint site for my current project (just like I am able to do so for twitter feeds being imported to the stream). Then the stream on my SC Group will be in sync with the activity going on in my project&#8217;s sharepoint site, and I will easily be able to keep on top of it.</p>
<p><span style="text-decoration:underline;">Groups Vs. Workspaces/Projects</span></p>
<p>I think if we are talking about Sharepoint integration we must address the issue of Groups vs. Workspaces/Projects.</p>
<p>I associate SocialCast Groups with permanent organizational entities, like the &#8220;NYC Outreach Group&#8221; or the &#8220;Internal Communications Groups&#8221;. That makes sense but how does Socialcast support collaboration on a certain project or short term event, say a charity event being organized to support Chile or a market research project to identify the impact of a new product? How do we define the boundaries of that project, meaning I don&#8217;t want the content generated as a part of that project (messages/docs/links etc) to mix with other projects that I may have worked on or will work on.</p>
<p>Since I cannot make a &#8220;workspace&#8221; for my Project under my Group, the only option I will have is to make a Group for every Project I work on, and eventually that will lead to a lot of clutter (think thousands of Groups). It helps that Groups can be private and invitation only, so atleast my project groups will not clutter other people&#8217;s socialcast views. Also, I guess I could use a unique tag for every Project and make a stream that filters on that tag. But that seems fragile, as some people may not add those tags.</p>
<br />Filed under: <a href='http://coab.wordpress.com/category/enterprise-collaboration/'>Enterprise Collaboration</a> Tagged: <a href='http://coab.wordpress.com/tag/sharepoint/'>sharepoint</a>, <a href='http://coab.wordpress.com/tag/socialcast/'>socialcast</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/coab.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/coab.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/coab.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/coab.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/coab.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/coab.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/coab.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/coab.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/coab.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/coab.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/coab.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/coab.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/coab.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/coab.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coab.wordpress.com&amp;blog=7993053&amp;post=85&amp;subd=coab&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://coab.wordpress.com/2010/03/06/thoughts-on-sharepointsocialcast-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e37c1da4d66a3df72a928ff2dfa9c0b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">floatingfrisbee</media:title>
		</media:content>
	</item>
	</channel>
</rss>
