<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for informal dialogue</title>
	<atom:link href="http://www.jasonmcdermott.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonmcdermott.net</link>
	<description>architecture interaction design</description>
	<lastBuildDate>Tue, 01 Dec 2009 00:19:29 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on journal-ism by Kathryn</title>
		<link>http://www.jasonmcdermott.net/asides/journal/comment-page-1/#comment-157</link>
		<dc:creator>Kathryn</dc:creator>
		<pubDate>Tue, 01 Dec 2009 00:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=730#comment-157</guid>
		<description>Interesting article. I thought to let you know that you website wasnt&#039;t getting displayed properly on thunderhawk browser on my pda.

Have a good time...sorry for  typos</description>
		<content:encoded><![CDATA[<p>Interesting article. I thought to let you know that you website wasnt&#8217;t getting displayed properly on thunderhawk browser on my pda.</p>
<p>Have a good time&#8230;sorry for  typos</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on you should use grep by peaceprayer</title>
		<link>http://www.jasonmcdermott.net/asides/you-should-use-grep/comment-page-1/#comment-153</link>
		<dc:creator>peaceprayer</dc:creator>
		<pubDate>Mon, 30 Nov 2009 02:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=753#comment-153</guid>
		<description>Dear Author www.jasonmcdermott.net ! 
I can look for the reference to a site on which there is a lot of information on this question.</description>
		<content:encoded><![CDATA[<p>Dear Author <a href="http://www.jasonmcdermott.net" rel="nofollow">http://www.jasonmcdermott.net</a> !<br />
I can look for the reference to a site on which there is a lot of information on this question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on url shorteners by Tweets that mention url shorteners &#124; informal dialogue -- Topsy.com</title>
		<link>http://www.jasonmcdermott.net/asides/url-shorteners/comment-page-1/#comment-148</link>
		<dc:creator>Tweets that mention url shorteners &#124; informal dialogue -- Topsy.com</dc:creator>
		<pubDate>Sat, 28 Nov 2009 08:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=788#comment-148</guid>
		<description>[...] This post was mentioned on Twitter by jasonmcdermott, Paper Plane. Paper Plane said: url shorteners &#124; informal dialogue: Home · About · Projects · skinform · pixelTag · cityscapers. Search. Top T... http://bit.ly/7dxtTp [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by jasonmcdermott, Paper Plane. Paper Plane said: url shorteners | informal dialogue: Home · About · Projects · skinform · pixelTag · cityscapers. Search. Top T&#8230; <a href="http://bit.ly/7dxtTp" rel="nofollow">http://bit.ly/7dxtTp</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on you should use grep by you should use grep &#124; informal dialogue &#124; OddStall.Com</title>
		<link>http://www.jasonmcdermott.net/asides/you-should-use-grep/comment-page-1/#comment-135</link>
		<dc:creator>you should use grep &#124; informal dialogue &#124; OddStall.Com</dc:creator>
		<pubDate>Sat, 21 Nov 2009 08:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=753#comment-135</guid>
		<description>[...] Excerpt from: you should use grep &#124; informal dialogue [...]</description>
		<content:encoded><![CDATA[<p>[...] Excerpt from: you should use grep | informal dialogue [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Phidget Servo motor output via Processing by Polprav</title>
		<link>http://www.jasonmcdermott.net/projects/processing-phidget-servo/comment-page-1/#comment-129</link>
		<dc:creator>Polprav</dc:creator>
		<pubDate>Wed, 14 Oct 2009 20:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=553#comment-129</guid>
		<description>Hello from Russia)</description>
		<content:encoded><![CDATA[<p>Hello from Russia)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Phidget Servo motor output via Processing by jasonmcdermott</title>
		<link>http://www.jasonmcdermott.net/projects/processing-phidget-servo/comment-page-1/#comment-128</link>
		<dc:creator>jasonmcdermott</dc:creator>
		<pubDate>Thu, 08 Oct 2009 05:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=553#comment-128</guid>
		<description>Hi Andrew,

I agree the phidget documentation is sorely lacking, if you have the chance to look into arduino hardware instead I would recommend it - the supporting community and documentation well and truly make up for the learning curve.  Phidgets aren&#039;t impossible to get working in processing, the java library does exist and it should help point you in the right direction, just go to the java section of the phidgets website.  

I had a look at your code, it seems like the copy+paste between processing and wordpress isn&#039;t the cleanest method - some commented lines get wrapped and smart quotes are another problem.  I cleaned that up a little bit, it was just a simple matter of checking each of the open and close braces { and }.  Give this a try (and don&#039;t forget to download the phidget21.jar file or nothing will happen.

I hope this helps, drop me a line if you have any more hassles.  Good luck!

import com.phidgets.*;
import com.phidgets.event.*;

// Declare Variables – a ServoPhidget object called ’sp’, a Double called ‘pos’ and an integer called ‘xPos’
ServoPhidget sp; // Declare the servophidget
double pos; 
int xPos;

// Set size, video framerate, connect to and open phidget object
void setup()
{
  frameRate(20);
  size(400,300);
  try {
    // Create &amp; Assign the servophidget
    sp = new ServoPhidget();
    sp.openAny();
    println(&quot;Waiting for Phidget&quot;);
    sp.waitForAttachment();
    // if you do not see this below in the console, your phidget is not connected
    println(&quot;OK ready to go&quot;);
  }
  catch(Exception e)
  {
    println(&quot;ERROR&quot;);
    System.out.println(e);
  }
}

void draw(){
  background(200);
  // map the mouse x coordinate to the available range of the servophidget
  pos = map(mouseX,0,width,-22.9,232.0);
  // read the data from the phidget
  try {
    sp.setPosition(0,pos);
    sp.getPositionMax(0);
    // checking the max and min values for the servophidget
    double helloMax = sp.getPositionMax(0);
    double helloMin = sp.getPositionMin(0);
    // print a line to the console to display the data as it arrives
    println(&quot;min is: &quot; + helloMin + &quot;, max is: &quot; + helloMax + &quot;, current position is: &quot; + pos);
  }
  catch(Exception e) {
    println(&quot;ERROR&quot;);
    System.out.println(e);
  }
  // the double variable is not used in processing, but is needed to send to the servophidget.
  // to display this data as a graph onscreen you need to convert it to a floating point number

  float fPos = (float)pos;
  fPos = map(fPos,-22.9,232.0,0,height);
  stroke(0);

  // line(xPos,0,xPos,height-fPos); // Un-comment out this line to draw a vertical graph of the motor movement
  stroke(50);
  line(mouseX,0,mouseX,height);

  // this controls the graph position onscreen, it animates the graph and refreshes to the 0 position when the graph goes offscreen
  if (xPos &gt;= width)
  {
    xPos = 0;
  }
  else {
    xPos++;
  }
}</description>
		<content:encoded><![CDATA[<p>Hi Andrew,</p>
<p>I agree the phidget documentation is sorely lacking, if you have the chance to look into arduino hardware instead I would recommend it &#8211; the supporting community and documentation well and truly make up for the learning curve.  Phidgets aren&#8217;t impossible to get working in processing, the java library does exist and it should help point you in the right direction, just go to the java section of the phidgets website.  </p>
<p>I had a look at your code, it seems like the copy+paste between processing and wordpress isn&#8217;t the cleanest method &#8211; some commented lines get wrapped and smart quotes are another problem.  I cleaned that up a little bit, it was just a simple matter of checking each of the open and close braces { and }.  Give this a try (and don&#8217;t forget to download the phidget21.jar file or nothing will happen.</p>
<p>I hope this helps, drop me a line if you have any more hassles.  Good luck!</p>
<p>import com.phidgets.*;<br />
import com.phidgets.event.*;</p>
<p>// Declare Variables – a ServoPhidget object called ’sp’, a Double called ‘pos’ and an integer called ‘xPos’<br />
ServoPhidget sp; // Declare the servophidget<br />
double pos;<br />
int xPos;</p>
<p>// Set size, video framerate, connect to and open phidget object<br />
void setup()<br />
{<br />
  frameRate(20);<br />
  size(400,300);<br />
  try {<br />
    // Create &#038; Assign the servophidget<br />
    sp = new ServoPhidget();<br />
    sp.openAny();<br />
    println(&#8221;Waiting for Phidget&#8221;);<br />
    sp.waitForAttachment();<br />
    // if you do not see this below in the console, your phidget is not connected<br />
    println(&#8221;OK ready to go&#8221;);<br />
  }<br />
  catch(Exception e)<br />
  {<br />
    println(&#8221;ERROR&#8221;);<br />
    System.out.println(e);<br />
  }<br />
}</p>
<p>void draw(){<br />
  background(200);<br />
  // map the mouse x coordinate to the available range of the servophidget<br />
  pos = map(mouseX,0,width,-22.9,232.0);<br />
  // read the data from the phidget<br />
  try {<br />
    sp.setPosition(0,pos);<br />
    sp.getPositionMax(0);<br />
    // checking the max and min values for the servophidget<br />
    double helloMax = sp.getPositionMax(0);<br />
    double helloMin = sp.getPositionMin(0);<br />
    // print a line to the console to display the data as it arrives<br />
    println(&#8221;min is: &#8221; + helloMin + &#8220;, max is: &#8221; + helloMax + &#8220;, current position is: &#8221; + pos);<br />
  }<br />
  catch(Exception e) {<br />
    println(&#8221;ERROR&#8221;);<br />
    System.out.println(e);<br />
  }<br />
  // the double variable is not used in processing, but is needed to send to the servophidget.<br />
  // to display this data as a graph onscreen you need to convert it to a floating point number</p>
<p>  float fPos = (float)pos;<br />
  fPos = map(fPos,-22.9,232.0,0,height);<br />
  stroke(0);</p>
<p>  // line(xPos,0,xPos,height-fPos); // Un-comment out this line to draw a vertical graph of the motor movement<br />
  stroke(50);<br />
  line(mouseX,0,mouseX,height);</p>
<p>  // this controls the graph position onscreen, it animates the graph and refreshes to the 0 position when the graph goes offscreen<br />
  if (xPos >= width)<br />
  {<br />
    xPos = 0;<br />
  }<br />
  else {<br />
    xPos++;<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Phidget Servo motor output via Processing by Andrew</title>
		<link>http://www.jasonmcdermott.net/projects/processing-phidget-servo/comment-page-1/#comment-127</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 08 Oct 2009 03:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=553#comment-127</guid>
		<description>Hello,
I am currently a physical computing student. I am trying to use your sample code as a base point for studying Processing and Phidgets. Due to lack of documentation on the subject I am asking for your help. Currently I am bouncing between 2 different machines, 1 is running linux the other Mac Os X Snow Leopard. With your code I can&#039;t get very far on my Linux machine. On my Mac I am getting farther however my device is still not functional in processing. I was wondering if you could take a look at my code and let me know what is causing problems.

The error I receive is unexpected token: void. That error falls upon the void draw line.

import com.phidgets.*;
import com.phidgets.event.*;

// Declare Variables – a ServoPhidget object called ’sp’, a Double called ‘pos’ and an integer called ‘xPos’
ServoPhidget sp; // Declare the servophidget
double pos; // this is a type of number, which can store more decimal place values than the standard floating point value, check the referennce page
int xPos;

// Set size, video framerate, connect to and open phidget object
void setup()
{
frameRate(20);
size(400,300);
try
{
// Create &amp; Assign the servophidget
sp = new ServoPhidget();
sp.openAny();
println(&quot;Waiting for Phidget&quot;);
sp.waitForAttachment();
// if you do not see this below in the console, your phidget is not connected
println(&quot;OK ready to go&quot;);
}
catch(Exception e)
{
println(&quot;ERROR&quot;);
System.out.println(e);
}

void draw(){
background(200);
// map the mouse x coordinate to the available range of the servophidget
pos = map(mouseX,0,width,-22.9,232.0);
// read the data from the phidget
try
}

{
sp.setPosition(0,pos);
sp.getPositionMax(0);
// checking the max and min values for the servophidget
double helloMax = sp.getPositionMax(0);
double helloMin = sp.getPositionMin(0);
// print a line to the console to display the data as it arrives
println(&quot;min is: &quot; + helloMin + &quot;, max is: &quot; + helloMax + &quot;, current position is: &quot; + pos);
}
catch(Exception e)
{
println(&quot;ERROR&quot;);
System.out.println(e);
}

// the double variable is not used in processing, but is needed to send to the servophidget.
// to display this data as a graph onscreen you need to convert it to a floating point number

float fPos = (float)pos;
fPos = map(fPos,-22.9,232.0,0,height);
stroke(0);

//  line(xPos,0,xPos,height-fPos); // Un-comment out this line to draw a vertical graph of the motor movement
stroke(50);
line(mouseX,0,mouseX,height);

// this controls the graph position onscreen, it animates the graph and refreshes to the 0 position when the graph goes offscreen
if (xPos &gt;= width)
{
xPos = 0;
}
else {
xPos++;
}
}

Thanks,
Andrew</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I am currently a physical computing student. I am trying to use your sample code as a base point for studying Processing and Phidgets. Due to lack of documentation on the subject I am asking for your help. Currently I am bouncing between 2 different machines, 1 is running linux the other Mac Os X Snow Leopard. With your code I can&#8217;t get very far on my Linux machine. On my Mac I am getting farther however my device is still not functional in processing. I was wondering if you could take a look at my code and let me know what is causing problems.</p>
<p>The error I receive is unexpected token: void. That error falls upon the void draw line.</p>
<p>import com.phidgets.*;<br />
import com.phidgets.event.*;</p>
<p>// Declare Variables – a ServoPhidget object called ’sp’, a Double called ‘pos’ and an integer called ‘xPos’<br />
ServoPhidget sp; // Declare the servophidget<br />
double pos; // this is a type of number, which can store more decimal place values than the standard floating point value, check the referennce page<br />
int xPos;</p>
<p>// Set size, video framerate, connect to and open phidget object<br />
void setup()<br />
{<br />
frameRate(20);<br />
size(400,300);<br />
try<br />
{<br />
// Create &amp; Assign the servophidget<br />
sp = new ServoPhidget();<br />
sp.openAny();<br />
println(&#8221;Waiting for Phidget&#8221;);<br />
sp.waitForAttachment();<br />
// if you do not see this below in the console, your phidget is not connected<br />
println(&#8221;OK ready to go&#8221;);<br />
}<br />
catch(Exception e)<br />
{<br />
println(&#8221;ERROR&#8221;);<br />
System.out.println(e);<br />
}</p>
<p>void draw(){<br />
background(200);<br />
// map the mouse x coordinate to the available range of the servophidget<br />
pos = map(mouseX,0,width,-22.9,232.0);<br />
// read the data from the phidget<br />
try<br />
}</p>
<p>{<br />
sp.setPosition(0,pos);<br />
sp.getPositionMax(0);<br />
// checking the max and min values for the servophidget<br />
double helloMax = sp.getPositionMax(0);<br />
double helloMin = sp.getPositionMin(0);<br />
// print a line to the console to display the data as it arrives<br />
println(&#8221;min is: &#8221; + helloMin + &#8220;, max is: &#8221; + helloMax + &#8220;, current position is: &#8221; + pos);<br />
}<br />
catch(Exception e)<br />
{<br />
println(&#8221;ERROR&#8221;);<br />
System.out.println(e);<br />
}</p>
<p>// the double variable is not used in processing, but is needed to send to the servophidget.<br />
// to display this data as a graph onscreen you need to convert it to a floating point number</p>
<p>float fPos = (float)pos;<br />
fPos = map(fPos,-22.9,232.0,0,height);<br />
stroke(0);</p>
<p>//  line(xPos,0,xPos,height-fPos); // Un-comment out this line to draw a vertical graph of the motor movement<br />
stroke(50);<br />
line(mouseX,0,mouseX,height);</p>
<p>// this controls the graph position onscreen, it animates the graph and refreshes to the 0 position when the graph goes offscreen<br />
if (xPos &gt;= width)<br />
{<br />
xPos = 0;<br />
}<br />
else {<br />
xPos++;<br />
}<br />
}</p>
<p>Thanks,<br />
Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on processing.js by jasonmcdermott</title>
		<link>http://www.jasonmcdermott.net/projects/processing-js/comment-page-1/#comment-119</link>
		<dc:creator>jasonmcdermott</dc:creator>
		<pubDate>Sun, 27 Sep 2009 04:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=600#comment-119</guid>
		<description>Hey Robert - HC is really great, it certainly looks more like the future for sketching/presenting with p5.  I definitely think it&#039;s got serious legs for collaborative sketching or at least sketching on the road, I&#039;ve been using it to test ideas when I&#039;m on locked computers (libraries, workplaces etc) and it&#039;s been super useful for that.  A couple of things I&#039;d love to see come into HC (in a perfect world) would be; tabbed sketches, group edit mode and &#039;tab&#039; text navigation just to name a few..
Still, great work so far - I&#039;ll be watching for updates.
J</description>
		<content:encoded><![CDATA[<p>Hey Robert &#8211; HC is really great, it certainly looks more like the future for sketching/presenting with p5.  I definitely think it&#8217;s got serious legs for collaborative sketching or at least sketching on the road, I&#8217;ve been using it to test ideas when I&#8217;m on locked computers (libraries, workplaces etc) and it&#8217;s been super useful for that.  A couple of things I&#8217;d love to see come into HC (in a perfect world) would be; tabbed sketches, group edit mode and &#8216;tab&#8217; text navigation just to name a few..<br />
Still, great work so far &#8211; I&#8217;ll be watching for updates.<br />
J</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on processing.js by Robert O'Rourke</title>
		<link>http://www.jasonmcdermott.net/projects/processing-js/comment-page-1/#comment-118</link>
		<dc:creator>Robert O'Rourke</dc:creator>
		<pubDate>Fri, 25 Sep 2009 16:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/?p=600#comment-118</guid>
		<description>Hey, glad you like HC! There&#039;s work being done to make Bespin an online Processing.js IDE aswell with nicer features and proper grown-up error handling aswell as collaborative sketches. Keep an eye out but I&#039;ll probably be tweeting it anyway.</description>
		<content:encoded><![CDATA[<p>Hey, glad you like HC! There&#8217;s work being done to make Bespin an online Processing.js IDE aswell with nicer features and proper grown-up error handling aswell as collaborative sketches. Keep an eye out but I&#8217;ll probably be tweeting it anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The week that was by s</title>
		<link>http://www.jasonmcdermott.net/asides/the-week-that-was-3/comment-page-1/#comment-92</link>
		<dc:creator>s</dc:creator>
		<pubDate>Tue, 01 Sep 2009 12:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonmcdermott.net/asides/the-week-that-was-3/#comment-92</guid>
		<description>i&#039;ve seen better</description>
		<content:encoded><![CDATA[<p>i&#8217;ve seen better</p>
]]></content:encoded>
	</item>
</channel>
</rss>
