<?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>Schadenfreude &#187; processing</title>
	<atom:link href="http://www.ralree.com/tag/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Sat, 21 Jan 2012 20:10:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Importing MySQL 1.4 Amarok data into Amarok 2.2 Nightly</title>
		<link>http://www.ralree.com/2009/09/28/importing-mysql-1-4-amarok-data-into-amarok-2-2-nightly/</link>
		<comments>http://www.ralree.com/2009/09/28/importing-mysql-1-4-amarok-data-into-amarok-2-2-nightly/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 20:15:49 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=22704</guid>
		<description><![CDATA[I was having a bunch of trouble today importing my old MySQL amarok database into the new nightly version of amarok I installed.  The Amarok Wiki had a great section on how to convert a MySQL Amarok collection into an SQLlite one.  This was the key to importing my old 1.4 collection into the new 2.2 nightly version of Amarok.]]></description>
			<content:encoded><![CDATA[<p>I was having a bunch of trouble today importing my old MySQL amarok database into the new nightly version of amarok I installed.  <span style="background-color: #ffffff; "><a href="http://amarok.kde.org/wiki/MySQL_HowTo#Amarok_1.4.8_and_MySQL_5.0.45">The Amarok Wiki</a> had a great section on how to convert a MySQL Amarok collection into an SQLlite one.  This was the key to importing my old 1.4 collection into the new 2.2 nightly version of Amarok.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/09/28/importing-mysql-1-4-amarok-data-into-amarok-2-2-nightly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing: It&#8217;s totally not Flash</title>
		<link>http://www.ralree.com/2007/07/20/processing-it-s-totally-not-flash/</link>
		<comments>http://www.ralree.com/2007/07/20/processing-it-s-totally-not-flash/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 04:41:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[proce55ing]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[_why]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/processing-it-s-totally-not-flash</guid>
		<description><![CDATA[I&#8217;m not one to advocate Java generally, but Processing is totally hawt. Here&#8217;s something I screwed around with today: Ball[] myBalls; void setup() { size(500,500); frameRate(25); myBalls = new Ball[300]; for (int i = 0; i &#60; 300; i++) { myBalls[i] = new Ball(); myBalls[i].x = random(0, 500); myBalls[i].y = random(0, 500); myBalls[i].r = random(0, 10); myBalls[i].xv = random(-5, 5); myBalls[i].yv = random(-5, 5); myBalls[i].mycolor = int(random(0, 100)); myBalls[i].myseed = int(random(25,100)); } } void draw() { background(0); for (int i [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not one to advocate Java generally, but <a href="http://www.processing.org">Processing</a> is totally hawt.  Here&#8217;s something I screwed around with today:</p>
<div>
<object classid="java:sketch_070719a.class"<br />
                  type=&#8221;application/x-java-applet&#8221;<br />
                  archive=&#8221;/assets/2007/7/20/sketch_070719a.jar&#8221;<br />
                  width=&#8221;500&#8243; height=&#8221;500&#8243;<br />
                  standby=&#8221;Loading Processing software&#8230;&#8221; ><param name="archive" value="/assets/2007/7/20/sketch_070719a.jar" /><param name="mayscript" value="true" /><param name="scriptable" value="true" /><param name="boxmessage" value="Loading Processing software..." /><param name="boxbgcolor" value="#000" /><param name="test_string" value="outer" /><object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"<br />
   codebase=&#8221;http://java.sun.com/update/1.4.2/jinstall-1_4_2_12-windows-i586.cab&#8221;<br />
   width=&#8221;500&#8243; height=&#8221;500&#8243;<br />
   standby=&#8221;Loading Processing software&#8230;&#8221;  ><param name="code" value="sketch_070719a" /><param name="archive"<br />
     value=&#8221;/assets/2007/7/20/sketch_070719a.jar&#8221; /><param name="mayscript" value="true" /><param name="scriptable" value="true" /><param name="image" value="loading.gif" /><param name="boxmessage" value="Loading Processing software..." /><param name="boxbgcolor" value="#000" /><param name="test_string" value="inner" /></object><br />
</object>
</div>
<div class="CodeRay">
<div class="code">
<pre>
Ball[] myBalls;

<span class="r">void</span> setup()
{
  size(500,500);
  frameRate(25);

  myBalls = new Ball[300];
  <span class="r">for</span> (<span class="r">int</span> i = 0; i &lt; 300; i++) {
    myBalls[i] = new Ball();
    myBalls[i].x = <span class="fu">random</span>(0, 500);
    myBalls[i].y = <span class="fu">random</span>(0, 500);
    myBalls[i].r = <span class="fu">random</span>(0, 10);
    myBalls[i].xv = <span class="fu">random</span>(-5, 5);
    myBalls[i].yv = <span class="fu">random</span>(-5, 5);
    myBalls[i].mycolor = <span class="r">int</span>(<span class="fu">random</span>(0, 100));
    myBalls[i].myseed = <span class="r">int</span>(<span class="fu">random</span>(25,100));
  }
}

<span class="r">void</span> draw() {
  background(0);
  <span class="r">for</span> (<span class="r">int</span> i = 0; i &lt; 300; i++) {
    myBalls[i].run();
  }
}

<span class="r">class</span> Ball
{
  <span class="r">float</span> x; <span class="c">//X acis centroid</span>
  <span class="r">float</span> y; <span class="c">//Y axis centroid\
  float r; // Radius</span>
  <span class="r">float</span> xv; <span class="c">//X axis velocity</span>
  <span class="r">float</span> yv; <span class="c">//Y axis velocity</span>
  <span class="r">int</span> mycolor;
  <span class="r">int</span> myseed;
  <span class="r">int</span> counter;

  <span class="r">void</span> run()
  {
    drawShape();

    x += xv;
    y += yv;

    yv += 0.4;

    <span class="r">if</span>(x &lt; 0 || x &gt; width) {
      xv = -xv;
    }
    <span class="r">else</span> <span class="r">if</span>(y &lt; 0 || y &gt; height) {
      yv = -1.1 * yv;
    }

    <span class="r">if</span>(counter % myseed == 0) {
      xv = <span class="fu">random</span>(-5,5);
      yv = <span class="fu">random</span>(-5,5);
    }
    counter++;
  }

  <span class="r">void</span> drawShape()
  {
    smooth();
    ellipseMode(CENTER_RADIUS);
    noStroke();
    fill(mycolor);
    ellipse(x,y,r,r);
  }
}
</pre>
</div>
</div>
<p>You can download it here: <a href="http://ralree.info/assets/2007/7/20/sketch_070719a.pde">sketch_070719a</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/07/20/processing-it-s-totally-not-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>0install: A package manager for the lusers</title>
		<link>http://www.ralree.com/2007/07/19/0install-a-package-manager-for-the-lusers/</link>
		<comments>http://www.ralree.com/2007/07/19/0install-a-package-manager-for-the-lusers/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 15:55:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[zeroinstall]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/0install-a-package-manager-for-the-lusers</guid>
		<description><![CDATA[Zeroinstall is my new friend. It&#8217;s a package manager that&#8217;s decentralized, and can be used on machines where users need applications, but don&#8217;t know how to compile (or are unwilling to). Installing applications happens in the home directory, and once a program is run once, it is stored in the home directory for later use. All packages can be signed with GPG keys, and the packaging GUI is amazingly awesome. Check out my 0install repository. You can run things like [...]]]></description>
			<content:encoded><![CDATA[<p>Zeroinstall is my new friend.  It&#8217;s a package manager that&#8217;s decentralized, and can be used on machines where users need applications, but don&#8217;t know how to compile (or are unwilling to).  Installing applications happens in the home directory, and once a program is run once, it is stored in the home directory for later use.  All packages can be signed with GPG keys, and the packaging GUI is amazingly awesome.</p>
<p><a href="http://modzer0.cs.uaf.edu/repos/hank/0install">Check out my 0install repository</a>.  You can run things like this:</p>
<pre><code>
sudo apt-get install zeroinstall-injector
0launch http://modzer0.cs.uaf.edu/repos/hank/0install/Processing.xml
</code></pre>
<p>There&#8217;s <a href="http://0install.net/injector.html">packages</a> for all the popular distributions.  Get it now!  It&#8217;s awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/07/19/0install-a-package-manager-for-the-lusers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

