
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>daniel shiffman &#187; java</title>
	<atom:link href="http://www.shiffman.net/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shiffman.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 03:41:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Big Screens Show</title>
		<link>http://www.shiffman.net/2008/12/16/big-screens-show/</link>
		<comments>http://www.shiffman.net/2008/12/16/big-screens-show/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 04:20:14 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[ITP]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mpe]]></category>
		<category><![CDATA[openframeworks]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[teaching_]]></category>
		<category><![CDATA[iac]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=327</guid>
		<description><![CDATA[First, anyone in NYC, come and check out the ITP show this week! In other news, there&#8217;s a nice write-up at Gizmodo about the Big Screens show at IAC. I should point out that three of the projects this year &#8230; <a href="http://www.shiffman.net/2008/12/16/big-screens-show/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First, anyone in NYC, come and check out <a href="http://itp.nyu.edu/show">the ITP show</a> this week!</p>
<p><a href="http://gizmodo.com/5110633/120-feet-of-video-art-final-exams-at-nyus-big-screens-class"><img src="http://cache.gizmodo.com/assets/images/4/2008/12/bigscreens_3.jpg" width = 500/></a></p>
<p>In other news, there&#8217;s <a href="http://gizmodo.com/5110633/120-feet-of-video-art-final-exams-at-nyus-big-screens-class">a nice write-up at Gizmodo</a> about the Big Screens show at IAC.  I should point out that three of the projects this year used <a href="http://www.openframeworks.cc/">openFrameworks</a> (including &#8220;Caves of Wonder&#8221; by Matt Parker which was mistakenly attributed to Processing in the article).  Six of the projects were indeed developed with <a href="http://www.processing.org">Processing</a> and three were pre-rendered videos.  Here are some of the vimeo clips from Gizmodo.   Hope to post more videos and photos soon. . .</p>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2542561&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2542561&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><br /><a href="http://vimeo.com/2542561">Big Screens &#8211; Claptime by Vikram Tank</a> from <a href="http://vimeo.com/user562128">Gizmodo</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2542700&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2542700&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><br /><a href="http://vimeo.com/2542700">Big Screens &#8211; White Sun by Mooshir Vahanvati</a> from <a href="http://vimeo.com/user562128">Gizmodo</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2542747&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2542747&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><br /><a href="http://vimeo.com/2542747">Big Screens &#8211; Caves of Wonder by Matt Parker</a> from <a href="http://vimeo.com/user562128">Gizmodo</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2543232&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2543232&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><br /><a href="http://vimeo.com/2543232">Big Screens &#8211; In the Shadows by Alejandro Abreu Theresa Ling</a> from <a href="http://vimeo.com/user562128">Gizmodo</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2008/12/16/big-screens-show/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ITP Big Screens Show</title>
		<link>http://www.shiffman.net/2008/11/25/itp-big-screens-show/</link>
		<comments>http://www.shiffman.net/2008/11/25/itp-big-screens-show/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 02:22:08 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[installation]]></category>
		<category><![CDATA[ITP]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mpe]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[openframeworks]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=324</guid>
		<description><![CDATA[Please note RSVP is required: itp dot rsvp at nyu dot edu More info about the projects]]></description>
			<content:encoded><![CDATA[<p>Please note RSVP is required: itp dot rsvp at nyu dot edu</p>
<p><a href="http://www.flickr.com/photos/shiffman/3060420998/" title="bigscreens_invite by shiffman, on Flickr"><img src="http://farm4.static.flickr.com/3281/3060420998_5c4881ebcb.jpg" width="500" height="333" alt="bigscreens_invite" /></a></p>
<p><a href="http://itp.nyu.edu/bigscreens">More info about the projects</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2008/11/25/itp-big-screens-show/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MPE out in the world</title>
		<link>http://www.shiffman.net/2008/11/10/mpe-out-in-the-world/</link>
		<comments>http://www.shiffman.net/2008/11/10/mpe-out-in-the-world/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 21:29:55 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mpe]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=312</guid>
		<description><![CDATA[Some recent (outside of ITP!) uses of the most pixels ever framework. MPE at DKDS from vorg on Vimeo. and. . . The Emergence Project]]></description>
			<content:encoded><![CDATA[<p>Some recent (outside of ITP!) uses of the <a href="http://code.google.com/p/mostpixelsever/">most pixels ever</a> framework.</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2131620&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2131620&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /><a href="http://vimeo.com/2131620">MPE at DKDS</a> from <a href="http://vimeo.com/vorg">vorg</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>and. . .</p>
<p><a href="http://emergenceproject.org/"><img src="http://www.shiffman.net/wp-content/uploads/2008/11/img023241.jpg" alt="" title="img023241" width="320" height="213" class="alignnone size-full wp-image-313" /></a><br />
<a href="http://emergenceproject.org/">The Emergence Project</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2008/11/10/mpe-out-in-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Big Screens Round Two</title>
		<link>http://www.shiffman.net/2008/10/26/big-screens-round-two/</link>
		<comments>http://www.shiffman.net/2008/10/26/big-screens-round-two/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 02:38:11 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[ITP]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mpe]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[teaching_]]></category>
		<category><![CDATA[big screens]]></category>
		<category><![CDATA[iac]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=306</guid>
		<description><![CDATA[Big Screens Class @ IAC, Session 2 from shiffman on Vimeo.]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2063114&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2063114&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object><br /><a href="http://vimeo.com/2063114?pg=embed&amp;sec=2063114">Big Screens Class @ IAC, Session 2</a> from <a href="http://vimeo.com/shiffman?pg=embed&amp;sec=2063114">shiffman</a> on <a href="http://vimeo.com?pg=embed&amp;sec=2063114">Vimeo</a>.</p>
<p><a href="http://www.flickr.com/photos/shiffman/2970962575/" title="SANY0286 by shiffman, on Flickr"><img src="http://farm4.static.flickr.com/3063/2970962575_81756f6f6c_t.jpg" width="100" height="75" alt="SANY0286" /></a> <a href="http://www.flickr.com/photos/shiffman/2971810936/" title="SANY0268 by shiffman, on Flickr"><img src="http://farm4.static.flickr.com/3173/2971810936_5a2163b241_t.jpg" width="100" height="75" alt="SANY0268" /></a> <a href="http://www.flickr.com/photos/shiffman/2971822534/" title="SANY0247 by shiffman, on Flickr"><img src="http://farm4.static.flickr.com/3164/2971822534_a167d94d2b_t.jpg" width="100" height="75" alt="SANY0247" /></a> <a href="http://www.flickr.com/photos/shiffman/2970964515/" title="SANY0276 by shiffman, on Flickr"><img src="http://farm4.static.flickr.com/3064/2970964515_9ba35a4237_t.jpg" width="100" height="75" alt="SANY0276" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2008/10/26/big-screens-round-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning Processing Available Now</title>
		<link>http://www.shiffman.net/2008/08/28/learning-processing-available-now/</link>
		<comments>http://www.shiffman.net/2008/08/28/learning-processing-available-now/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 03:18:30 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[book]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[teaching_]]></category>
		<category><![CDATA[learning processing]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=237</guid>
		<description><![CDATA[Just a quick note to let you know that my book, Learning Processing, is now available for purchase. If you are local to NYC, you can buy the book at the NYU bookstore. Amazon says &#8220;out of stock&#8221;, but I&#8217;m &#8230; <a href="http://www.shiffman.net/2008/08/28/learning-processing-available-now/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.learningprocessing.com" title="nyu bookstore by shiffman, on Flickr"><img src="http://farm4.static.flickr.com/3168/2803989977_564460fcd0_m.jpg" width="240" height="180" alt="nyu bookstore" /></a></p>
<p>Just a quick note to let you know that my book, <a href="http://www.learningprocessing.com">Learning Processing</a>, is now available for purchase.  If you are local to NYC, you can buy the book at the <a href="http://www.bookstores.nyu.edu/">NYU bookstore</a>. </p>
<p><a href="http://www.amazon.com/Learning-Processing-Beginners-Programming-Interaction/dp/0123736021/">Amazon says &#8220;out of stock&#8221;</a>, but I&#8217;m told by the publisher that this is an error and they do, in fact, have copies. Also, <a href="http://search.a1books.com/cgi-bin/mktSearch?act=showDesc&#038;code=gbase&#038;rel=1&#038;ITEM_CODE=0123736021#minPrice">at $37.00, this seems to be the cheapest option online</a> that I can find.</p>
<p>All the example code will be available live online at <a href="http://www.learningprocessing.com">learningprocessing.com</a> by early next week.  Feel free to contact me with comments, questions, feedback!</p>
<p>Who is this book for?  Check out <a href="http://www.shiffman.net/2008/07/31/book-release-learning-processing/">my earlier post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2008/08/28/learning-processing-available-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book Release: Learning Processing</title>
		<link>http://www.shiffman.net/2008/07/31/book-release-learning-processing/</link>
		<comments>http://www.shiffman.net/2008/07/31/book-release-learning-processing/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 20:38:18 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[book]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[teaching_]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=216</guid>
		<description><![CDATA[I&#8217;m pleased to announce that my new programming with Processing book will be released this August (by the end of the month). You can pre-order the book from Amazon, download a sample chapter from the web site, and, yes, even &#8230; <a href="http://www.shiffman.net/2008/07/31/book-release-learning-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.learningprocessing.com"><img src="http://farm4.static.flickr.com/3284/2672959056_695f5e8258.jpg" width="500" height="324" alt="Learning Processing" /></a></p>
<p>I&#8217;m pleased to announce that my new programming with <a href="http://www.processing.org"> Processing</a> book will be released this August (by the end of the month).  You can <a href="http://www.amazon.com/Learning-Processing-Beginners-Programming-Interaction/dp/0123736021/">pre-order the book from Amazon</a>, <a href="http://www.learningprocessing.com">download a sample chapter from the web site</a>, and, yes, even <a href="http://www.facebook.com/pages/Learning-Processing/18113426918">become a fan</a> of the book on facebook (since that&#8217;s what all the 35 year olds are doing these days.)</p>
<p>A few things I&#8217;d like to say about the book:   </p>
<p>My goal for &#8220;Learning Processing&#8221; was to write something for the complete and total programming beginner.  If you&#8217;ve never written a line of code before in your life, but want to get started creating your own digital media tools then I wrote this book for you.   There are <a href="http://processing.org/learning/books/index.html">several other wonderful Processing</a> books out there and I hope mine will complement them nicely.  A special thanks to Casey, Ben, and Ira who kept encouraging and inspiring me as their books were being published.</p>
<p>The book is also geared towards the teacher.  It&#8217;s not my belief that such a person will necessarily learn any new skills from the book (assuming they have a programming background), however, my hope is that the book will encourage and help facilitate the teaching of programming.   It is structured with 10 lessons (complete with examples and exercises) and can act as a ready-made syllabus for a beginner interactive media / programming class.  In fact, the book is modeled exactly on ITP&#8217;s <a href="http://itp.nyu.edu/varwiki/Syllabus/ICM-All-F07">Introduction to Computational Media</a> course. </p>
<p>The first half of the book is all fundamentals:  pixels, variables, conditionals, loops, functions, objects, arrays.  The second half is an introduction to select advanced topics:  3D, images, video, data, sound, etc. (<a href="http://www.learningprocessing.com/samples/table_of_contents.pdf">download full table of contents</a>).   And although the web site is currently just a splash page, it&#8217;s my intention to make available all the examples (and exercise answers) at the site.  The full site should launch in the next few weeks (a big thanks to <a href="http://www.mandalatv.net/">Rich Hauck</a> who is helping to build the site.)</p>
<p>If anyone is interested in teaching with the book come this fall, please feel free to drop me a line and I&#8217;d be happy to answer any questions.  It&#8217;s also my hope that this book can teach programming to high school students, however, I don&#8217;t have as much experience in this area. . . but if anyone is looking to try it out with younger students, please let me know and I would love to help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2008/07/31/book-release-learning-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>N in N</title>
		<link>http://www.shiffman.net/2008/07/31/n-in-n/</link>
		<comments>http://www.shiffman.net/2008/07/31/n-in-n/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 20:06:47 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[ITP]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[7in7]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/?p=211</guid>
		<description><![CDATA[I recently participated in 7 in 7, a scheme cooked up by the ITP resident researchers to do seven creative projects in seven days. The project inspired the currently running and oh so more manageable 5 in 5. The rules &#8230; <a href="http://www.shiffman.net/2008/07/31/n-in-n/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://7in7.tumblr.com/"><img src="http://blog.makezine.com/7_in_7_logo-medium.png"/></a></p>
<p>I recently participated in <a href="http://7in7.tumblr.com/">7 in 7</a>, a scheme cooked up by the ITP resident researchers to do seven creative projects in seven days.  The project inspired the currently running and oh so more manageable <a href="http://5-in-5.com/">5 in 5</a>.  The rules are:</p>
<p><i>Projects must be completed in a day.</i><br />
<i>Each project needs a name and documentation posted by the end of the day.</i></p>
<p>Although I did complete seven projects, it took me nine days, and some of the projects were arguably not <i>creative</i>, but rather a quick experiment or a &#8220;i&#8217;ve been meaning to do this for the last five years so let me see if I can just get it started in one hour&#8221; deal-ee-o.  Code-wise I worked on <a href="http://7in7.tumblr.com/post/38698361/im-working-through-the-really-terrific-book">adapting examples into Java</a> from the wonderful book <a href="http://oreilly.com/catalog/9780596529321/">Collective Intelligence</a> by Toby Segaran, <a href="http://7in7.tumblr.com/post/38506726/www-lulu-com-content-2717766-while-im-waiting">began the process of thinking about self-publishing a book</a>,  and developed a quick <a href="http://7in7.tumblr.com/post/38431191/ive-adapted-my-spam-filtering-example-from">bayesian classification Processing library</a> (which I would like to make more fully functional), among <a href="http://7in7.tumblr.com/">other things</a>.  </p>
<p>Best of luck to the five in fivers, look forward to seeing the results!  And a quick plug to the ITP residents&#8217; show, which will be this Saturday, August 2nd!  <a href="http://itp.nyu.edu/show/residents2008/">Details here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2008/07/31/n-in-n/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Savannah 2008</title>
		<link>http://www.shiffman.net/2008/01/31/savannah-2008/</link>
		<comments>http://www.shiffman.net/2008/01/31/savannah-2008/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 22:48:32 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[installation]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jepson]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[voronoi]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2008/01/31/savannah-2008/</guid>
		<description><![CDATA[I just returned from a trip to Savannah, GA to for technology and art week. Mary Flanagan gave a great talk on the nature of video games as an expressive medium and Andrew Schneider demoed his wacky and incredible Experimental &#8230; <a href="http://www.shiffman.net/2008/01/31/savannah-2008/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just returned from a trip to Savannah, GA to for technology and art week.   <a href="http://maryflanagan.com/default.htm">Mary Flanagan</a> gave a great talk on the nature of video games as an expressive medium and <a href="http://andrewjs.com/blog/">Andrew Schneider</a> demoed his wacky and incredible <a href="http://experimentaldevicesforperformance.com/">Experimental Devices for Performance</a>.  </p>
<p><object type="application/x-shockwave-flash" width="400" height="302" data="http://www.vimeo.com/moogaloop.swf?clip_id=653401&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=653401&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF" /></object><br /><a href="http://www.vimeo.com/653401/l:embed_653401">Voronoi</a> from <a href="http://www.vimeo.com/shiffman/l:embed_653401">shiffman</a> on <a href="http://vimeo.com/l:embed_653401">Vimeo</a>.</p>
<p><a href="http://www.vimeo.com/download/video:30024639">Download QT version</a> (better quality)</p>
<p>I installed a version of my new &#8220;Voronoi&#8221; project at the <a href="http://www.telfair.org/buildings/jepson.asp">Jepson Center for the Arts</a> and gave two workshops at local community centers about programming art with <a href="http://processing.org">Processing</a>.  In the above video, the software continuously computes a <a href="http://en.wikipedia.org/wiki/Voronoi_diagram">Voronoi diagram</a> colored according to pixels seen by a video camera.   The tiles reshape themselves and move into place as the camera imagery changes. </p>
<p><a href="http://www.flickr.com/photos/shiffman/2232918536/" title="IMG_5927 by shiffman, on Flickr"><img src="http://farm3.static.flickr.com/2125/2232918536_417f370417_t.jpg" width="100" height="75" alt="IMG_5927" /></a>  <a href="http://www.flickr.com/photos/shiffman/2232128365/" title="Learning Processing by shiffman, on Flickr"><img src="http://farm3.static.flickr.com/2184/2232128365_e72cd37df9_t.jpg" width="100" height="75" alt="Learning Processing" /></a> <a href="http://www.flickr.com/photos/shiffman/2232894983/" title="frame0 by shiffman, on Flickr"><img src="http://farm3.static.flickr.com/2217/2232894983_198296b776_t.jpg" width="100" height="75" alt="frame0" /></a> <a href="http://www.flickr.com/photos/shiffman/2232128731/" title="Mary Flanagan Lecture by shiffman, on Flickr"><img src="http://farm3.static.flickr.com/2116/2232128731_8d74b79a3c_t.jpg" width="100" height="75" alt="Mary Flanagan Lecture" /></a></p>
<p>Thanks to Harry Delorme and the Telfair Museum for organizing so many great events!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2008/01/31/savannah-2008/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ITP Shows</title>
		<link>http://www.shiffman.net/2007/12/20/itp-shows/</link>
		<comments>http://www.shiffman.net/2007/12/20/itp-shows/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 20:58:25 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[big screens]]></category>
		<category><![CDATA[bigscreens]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[iac]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[ITP]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mpe]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[teaching_]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2007/12/20/itp-shows/</guid>
		<description><![CDATA[The ITP Show finished up with some nice write-ups on the internets: ny times blog and MAKE. About a week or so before the ITP show, my Big Screens class had their own show at the IAC Building on their &#8230; <a href="http://www.shiffman.net/2007/12/20/itp-shows/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The <a href="">ITP Show</a> finished up with some nice write-ups on the internets: <a href="http://bits.blogs.nytimes.com/2007/12/18/object-oriented-objects-at-nyu/">ny times blog</a> and <a href="http://blog.makezine.com/archive/2007/12/itp_winter_show_highlight.html?CMP=OTC-0D6B48984890">MAKE</a>.</p>
<p>About a week or so before the ITP show, my <a href="http://itp.nyu.edu/bigscreens/">Big Screens</a> class had their own show at the <a href="http://iacbuilding.com/interactive/content.html">IAC Building</a> on their rather large video wall.  I&#8217;m hoping we set the world record for largest Processing sketch ever.   Some photos (video coming soon):</p>
<p><a href="http://www.flickr.com/photos/shiffman/2124879919/" title="ITP Big Screens @ IAC by shiffman, on Flickr"><img src="http://farm3.static.flickr.com/2199/2124879919_6a8e447903_m.jpg" width="240" height="160" alt="ITP Big Screens @ IAC" /></a> &nbsp;<a href="http://www.flickr.com/photos/shiffman/2124878085/" title="ITP Big Screens @ IAC by shiffman, on Flickr"><img src="http://farm3.static.flickr.com/2308/2124878085_49c6ef7673_m.jpg" width="240" height="160" alt="ITP Big Screens @ IAC" /></a><br />
<a href="http://www.flickr.com/photos/37543813@N00/2094833594/"><img src="http://farm3.static.flickr.com/2074/2094833594_55a39ae5e9_m.jpg"/></a> &nbsp;<a href="http://www.flickr.com/photos/heather_r/2099412070/"><img src ="http://farm3.static.flickr.com/2369/2099412070_c1a03b77b5_m.jpg"/></a></p>
<p>This, as far as I know, was the first public use of the <a href="http://mostpixelsever">Most Pixels Ever</a> library, which admittedly needs quite a bit of work still.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2007/12/20/itp-shows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-mail Processing</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/</link>
		<comments>http://www.shiffman.net/2007/11/13/e-mail-processing/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 02:26:43 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[p5]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/</guid>
		<description><![CDATA[While it may not be nearly as kooky as calling Processing on the phone, I&#8217;ve been asked about checking e-mail from Processing several times this semester. So rather than try to dig up example code on the internets, I&#8217;ve quickly &#8230; <a href="http://www.shiffman.net/2007/11/13/e-mail-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While it may not be nearly as kooky as <a href="http://www.shiffman.net/p5/asterisk">calling Processing on the phone</a>, I&#8217;ve been asked about checking e-mail from Processing several times this semester.  So rather than try to dig up example code on the internets, I&#8217;ve quickly thrown together one that checks a <a href="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP account</a> and/or sends mail via <a href="http://en.wikipedia.org/wiki/Smtp">SMTP</a>.  It&#8217;s all done with <a href="http://en.wikipedia.org/wiki/Smtp">Javamail</a>.</p>
<p><a href="http://www.shiffman.net/p5/Email.zip">Download the example sketch.</a></p>
<p>Code snippets after the jump. . .</p>
<p><span id="more-201"></span></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">    <span style="color: #003399;">Properties</span> props <span style="color: #339933;">=</span> <span style="color: #003399;">System</span>.<span style="color: #006633;">getProperties</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    props.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.pop3.host&quot;</span>, <span style="color: #0000ff;">&quot;pop.gmail.com&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// These are security settings required for gmail</span>
    <span style="color: #666666; font-style: italic;">// May need different code depending on the account</span>
    props.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.pop3.port&quot;</span>, <span style="color: #0000ff;">&quot;995&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    props.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.pop3.starttls.enable&quot;</span>, <span style="color: #0000ff;">&quot;true&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    props.<span style="color: #006633;">setProperty</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.pop3.socketFactory.fallback&quot;</span>, <span style="color: #0000ff;">&quot;false&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    props.<span style="color: #006633;">setProperty</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.pop3.socketFactory.class&quot;</span>,<span style="color: #0000ff;">&quot;javax.net.ssl.SSLSocketFactory&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Create authentication object</span>
    Auth auth <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Auth<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Make a session</span>
    Session session <span style="color: #339933;">=</span> Session.<span style="color: #006633;">getDefaultInstance</span><span style="color: #009900;">&#40;</span>props, auth<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    Store store <span style="color: #339933;">=</span> session.<span style="color: #006633;">getStore</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;pop3&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    store.<span style="color: #006633;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Get inbox</span>
    Folder folder <span style="color: #339933;">=</span> store.<span style="color: #006633;">getFolder</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INBOX&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    folder.<span style="color: #006633;">open</span><span style="color: #009900;">&#40;</span>Folder.<span style="color: #006633;">READ_ONLY</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>folder.<span style="color: #006633;">getMessageCount</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; total messages.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Get array of messages and display them</span>
    Message message<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> folder.<span style="color: #006633;">getMessages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i<span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> message.<span style="color: #006633;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;---------------------&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Message # &quot;</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>i<span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;From: &quot;</span> <span style="color: #339933;">+</span> message<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #006633;">getFrom</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Subject: &quot;</span> <span style="color: #339933;">+</span> message<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #006633;">getSubject</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Message:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003399;">String</span> content <span style="color: #339933;">=</span> message<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #006633;">getContent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
      <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>content<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Close the session</span>
    folder.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    store.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>and sending:</p>
</pre>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">  <span style="color: #666666; font-style: italic;">// Create a session</span>
  <span style="color: #003399;">String</span> host<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;smtp.gmail.com&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #003399;">Properties</span> props<span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">Properties</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// SMTP Session</span>
  props.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.transport.protocol&quot;</span>, <span style="color: #0000ff;">&quot;smtp&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  props.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.smtp.host&quot;</span>, host<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  props.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.smtp.port&quot;</span>, <span style="color: #0000ff;">&quot;25&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  props.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.smtp.auth&quot;</span>, <span style="color: #0000ff;">&quot;true&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #666666; font-style: italic;">// We need TTLS, which gmail requires</span>
  props.<span style="color: #006633;">put</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mail.smtp.starttls.enable&quot;</span>,<span style="color: #0000ff;">&quot;true&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// Create a session</span>
  Session session <span style="color: #339933;">=</span> Session.<span style="color: #006633;">getDefaultInstance</span><span style="color: #009900;">&#40;</span>props, <span style="color: #000000; font-weight: bold;">new</span> Auth<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">try</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// Make a new message</span>
    MimeMessage message <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MimeMessage<span style="color: #009900;">&#40;</span>session<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Who is this message from</span>
    message.<span style="color: #006633;">setFrom</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> InternetAddress<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;name@gmail.com&quot;</span>, <span style="color: #0000ff;">&quot;Name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Who is this message to (we could do fancier things like make a list or add CC's)</span>
    message.<span style="color: #006633;">setRecipients</span><span style="color: #009900;">&#40;</span>Message.<span style="color: #006633;">RecipientType</span>.<span style="color: #006633;">TO</span>, InternetAddress.<span style="color: #006633;">parse</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;address@email.com&quot;</span>, <span style="color: #000066; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Subject and body</span>
    message.<span style="color: #006633;">setSubject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Hello World!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    message.<span style="color: #006633;">setText</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;It's great to be here. . .&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// We can do more here, set the date, the headers, etc.</span>
    Transport.<span style="color: #006633;">send</span><span style="color: #009900;">&#40;</span>message<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    println<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Mail sent!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000000; font-weight: bold;">catch</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">Exception</span> e<span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    e.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.shiffman.net/2007/11/13/e-mail-processing/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

