<?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>Tyler Clemons &#187; Tyler</title>
	<atom:link href="http://www.tylerclemons.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tylerclemons.com</link>
	<description>tylerclemons.com</description>
	<lastBuildDate>Wed, 26 May 2010 18:39:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Weka, Ruby, Association Mining</title>
		<link>http://www.tylerclemons.com/weka-ruby-association-mining/</link>
		<comments>http://www.tylerclemons.com/weka-ruby-association-mining/#comments</comments>
		<pubDate>Sat, 15 May 2010 21:09:17 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Data Mining]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Weka]]></category>
		<category><![CDATA[Association Mining]]></category>
		<category><![CDATA[rjb]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=282</guid>
		<description><![CDATA[Weka is a collection of machine learning tools used for data mining.  Weka is written in Java however it is possible to use Weka&#8217;s libraries inside Ruby.  To do this, we must install the Java, Rjb, and of course obtain the Weka source code.  In this example, I look at Associating Mining.

Refer to my previous [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Weka" href="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank">Weka</a> is a collection of machine learning tools used for data mining.  Weka is written in Java however it is possible to use Weka&#8217;s libraries inside Ruby.  To do this, we must install the Java, Rjb, and of course obtain the Weka source code.  In this example, I look at Associating Mining.</p>
<p><span id="more-282"></span></p>
<p><img title="More..." src="http://tylershome.nfshost.com/home/public/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /><a title="Kmeans and setup" href="http://www.tylerclemons.com/weka-and-ruby/">Refer to my previous example for setup instructions.</a></p>
<p><img title="More..." src="http://tylershome.nfshost.com/home/public/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /><strong>Running Weka</strong></p>
<p>The following is an example of a frequent itemset finder.</p>
<div id="codebox" style="overflow: auto; "><code><br />
require <span style="color: #ffcc00;">'rjb'</span></code></p>
<div style="overflow: auto; "><code><span style="color: #ffcc00;"> </span></code><span style="color: #ff0000;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #800080;">def </span>asscm()</div>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#Load Java Jar</span><br />
dir =<span style="color: #ffcc00;"> &#8220;./weka.jar&#8221;</span><br />
<span style="color: #ff0000;">#Have Rjb load the jar file, and pass Java command line arguments</span><br />
<span style="color: #008000;">Rjb</span>::load(dir, jvmargs=[<span style="color: #ffcc00;">"-Xmx1000M"</span>])</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#make k-means classifier</span><br />
obj = <span style="color: #008000;">Rjb</span>::import(<span style="color: #ffcc00;">&#8220;weka.associations.Apriori&#8221;</span>)<br />
assc= obj.new</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#load the data</span> <span style="color: #ff0000;">using Ja<span style="color: #ff0000;">va</span></span><span style="color: #ff0000;"> and Weka</span><br />
weather_src = Rjb::import(<span style="color: #ffcc00;">&#8220;java.io.FileReader&#8221;</span>).new(<span style="color: #ffcc00;">&#8220;weather.nominal.arff&#8221;</span>)<br />
weather_data = Rjb::import(<span style="color: #ffcc00;">&#8220;weka.core.Instances&#8221;</span>).new(weather_src)</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#Find the frequent itemsets</span><br />
assc.setCar(true) <span style="color: #ff0000;">#mines for class association</span><br />
assc.setLowerBoundMinSupport(0.25) <span style="color: #ff0000;">#set minimum support</span><br />
assc.buildAssociations(weather_data)<br />
puts assc.toString</p>
<p><span style="color: #800080;">end</span></p>
<p><span style="color: #ff0000;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
asscm()</div>
<p>We first tell Rjb to load the specified classpath, for us it&#8217;s our Jar file.  I passed command line arguments that specify the amount of RAM to use.</p>
<p>Rjb::import loads specific classes.  These are relative to our classpath.</p>
<p>I call the constructor for the new classes by using the .new method from Ruby.  Afterward, I can use the new object like any other Ruby object.  The method names are as they are found in their Java source files.  For an explanation of data type conversions, <a title="Rjb explanation" href="http://rjb.rubyforge.org/">click here.</a></p>
<p>The dataset I used is different from the previous because we can&#8217;t use numerical values.  The dataset is found inside the data folder downloaded with weka.jar.</p>
<p>As I said before, this can be done in JRuby.  A great example can be found at this <a title="JRuby Example" href="http://rubyforscientificresearch.blogspot.com/2009/08/accessing-weka-from-jruby.html" target="_blank">great blog post</a>, which inspired my post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/weka-ruby-association-mining/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weka, Ruby, Decision Trees</title>
		<link>http://www.tylerclemons.com/weka-ruby-decision-trees/</link>
		<comments>http://www.tylerclemons.com/weka-ruby-decision-trees/#comments</comments>
		<pubDate>Sat, 15 May 2010 20:40:26 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Data Mining]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Weka]]></category>
		<category><![CDATA[Decision Trees]]></category>
		<category><![CDATA[rjb]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=276</guid>
		<description><![CDATA[Weka is a collection of machine learning tools used for data mining.  Weka is written in Java however it is possible to use Weka&#8217;s libraries inside Ruby.  To do this, we must install the Java, Rjb, and of course obtain the Weka source code.  In this example, I look at Decision Trees.
Refer to my previous [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Weka" href="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank">Weka</a> is a collection of machine learning tools used for data mining.  Weka is written in Java however it is possible to use Weka&#8217;s libraries inside Ruby.  To do this, we must install the Java, Rjb, and of course obtain the Weka source code.  In this example, I look at Decision Trees.</p>
<p><span id="more-276"></span><a title="Kmeans and setup" href="http://www.tylerclemons.com/weka-and-ruby/">Refer to my previous example for setup instructions.</a></p>
<p><img title="More..." src="http://tylershome.nfshost.com/home/public/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /><strong>Running Weka</strong></p>
<p>The following is an example of running a Decision Tree.</p>
<div id="codebox" style="overflow: auto; "><code><br />
require <span style="color: #ffcc00;">'rjb'</span></code></p>
<div style="overflow: auto; "><code><span style="color: #ffcc00;"> </span></code><span style="color: #ff0000;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #800080;">def </span>dtree()</div>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#Load Java Jar</span><br />
dir =<span style="color: #ffcc00;"> &#8220;./weka.jar&#8221;</span><br />
<span style="color: #ff0000;">#Have Rjb load the jar file, and pass Java command line arguments</span><br />
<span style="color: #008000;">Rjb</span>::load(dir, jvmargs=[<span style="color: #ffcc00;">"-Xmx1000M"</span>])</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#make k-means classifier</span><br />
obj = <span style="color: #008000;">Rjb</span>::import(<span style="color: #ffcc00;">&#8220;weka.classifiers.trees.J48&#8243;</span>)<br />
dtree = obj.new</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#load the data</span> <span style="color: #ff0000;">using Ja<span style="color: #ff0000;">va</span></span><span style="color: #ff0000;"> and Weka</span><br />
labor_src = Rjb::import(<span style="color: #ffcc00;">&#8220;java.io.FileReader&#8221;</span>).new(<span style="color: #ffcc00;">&#8220;labor.arff&#8221;</span>)<br />
labor_data = Rjb::import(<span style="color: #ffcc00;">&#8220;weka.core.Instances&#8221;</span>).new(labor_src)</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#set the class attribute, here it&#8217;s the last value, and then build the classifier</span><br />
labor_data.setClassIndex(labor_data.numAttributes() &#8211; 1)<br />
dtree.buildClassifier(labor_data)<br />
puts dtree.toString</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#examine the particular datapoints</span><br />
points = labor_data.numInstances<br />
points.times {|instance|</p>
<p style="padding-left: 60px;">theclass = dtree.classifyInstance(labor_data.instance(instance))<br />
point = labor_data.instance(instance).toString<br />
puts <span style="color: #ff6600;">&#8220;#{point} \t #{theclass}&#8221;</span></p>
<p style="padding-left: 30px;">}</p>
<p><span style="color: #800080;">end</span></p>
<p><span style="color: #ff0000;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
dtree()</div>
<p>We first tell Rjb to load the specified classpath, for us it&#8217;s our Jar file.  I passed command line arguments that specify the amount of RAM to use.</p>
<p>Rjb::import loads specific classes.  These are relative to our classpath.</p>
<p>I call the constructor for the new classes by using the .new method from Ruby.  Afterward, I can use the new object like any other Ruby object.  The method names are as they are found in their Java source files.  For an explanation of data type conversions, <a title="Rjb explanation" href="http://rjb.rubyforge.org/">click here.</a></p>
<p>The dataset is found inside the data folder downloaded with weka.jar.</p>
<p>As I said before, this can be done in JRuby.  A great example can be found at this <a title="JRuby Example" href="http://rubyforscientificresearch.blogspot.com/2009/08/accessing-weka-from-jruby.html" target="_blank">great blog post</a>, which inspired my post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/weka-ruby-decision-trees/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Youtube Time Markers</title>
		<link>http://www.tylerclemons.com/youtube-time-markers/</link>
		<comments>http://www.tylerclemons.com/youtube-time-markers/#comments</comments>
		<pubDate>Fri, 07 May 2010 18:58:51 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WebTechs]]></category>
		<category><![CDATA[Time Marker]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=273</guid>
		<description><![CDATA[I always forget how to do this, so I am going to put it on my blog    If you have ever watched a youtube clip, and wanted to show your friends a particular snippet beginning at some specific time, you might send them the URL and tell them &#8220;Watch after 30seconds.&#8221; A better [...]]]></description>
			<content:encoded><![CDATA[<p>I always forget how to do this, so I am going to put it on my blog <img src='http://tylershome.nfshost.com/home/public/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   If you have ever watched a youtube clip, and wanted to show your friends a particular snippet beginning at some specific time, you might send them the URL and tell them &#8220;Watch after 30seconds.&#8221; A better method of communication is to send the URL with a &#8220;time marker.&#8221;  <span id="more-273"></span></p>
<p>Take the following youtube URL:</p>
<p><a title="Youtube Example 1" href="http://www.youtube.com/watch?v=xw1s3yXZLYc" target="_blank">http://www.youtube.com/watch?v=xw1s3yXZLYc</a></p>
<p>If we add: #t=2m51s to the end of the url</p>
<p><a title="Youtube Example 2" href="http://www.youtube.com/watch?v=xw1s3yXZLYc#t=2m51s" target="_blank">http://www.youtube.com/watch?v=xw1s3yXZLYc#t=2m51s</a></p>
<p>It directs us to the video and starts playing at 2 minutes(2m) and 51 seconds(51s).  Suppose the video is over one hour.  We can do the following:</p>
<p><a title="Youtube Example 3" href="http://www.youtube.com/watch?v=7ImvlS8PLIo#t=1h2m30s" target="_blank">http://www.youtube.com/watch?v=7ImvlS8PLIo#t=1h2m30s</a></p>
<p>This tell us to start at 1 hour(1h) 2 minutes(2m) and 30 seconds(30s)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/youtube-time-markers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weka and Ruby</title>
		<link>http://www.tylerclemons.com/weka-and-ruby/</link>
		<comments>http://www.tylerclemons.com/weka-and-ruby/#comments</comments>
		<pubDate>Thu, 06 May 2010 17:21:15 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Data Mining]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Weka]]></category>
		<category><![CDATA[rjb]]></category>
		<category><![CDATA[K-Means]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=256</guid>
		<description><![CDATA[Weka is a collection of machine learning tools used for data mining.  Weka is written in Java however it is possible to use Weka&#8217;s libraries inside Ruby.  To do this, we must install the Java, Rjb, and of course obtain the Weka source code.  One could use JRuby, but I wanted to try this method [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Weka" href="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank">Weka</a> is a collection of machine learning tools used for data mining.  Weka is written in Java however it is possible to use Weka&#8217;s libraries inside Ruby.  To do this, we must install the Java, Rjb, and of course obtain the Weka source code.  One could use JRuby, but I wanted to try this method to eliminate the dependency with JRuby.</p>
<p><span id="more-256"></span><strong>Setup</strong></p>
<p>The first step is to install Java.  That&#8217;s very simple, just follow <a title="Java" href="http://java.sun.com/javase/downloads/index.jsp">this link</a> to download Java.  be sure to download the JDK.</p>
<p>Getting Rjb, which stands for Ruby Java Bridge, is a ruby-gem.  You can either install the gem using the command line:</p>
<div id="codebox" style="overflow: auto; "><code><br />
gem install rjb<br />
</code></div>
<p>or, we can download the gem from <a title="Rjb" href="http://rubyforge.org/frs/?group_id=2010&amp;release_id=6285">this link.</a> The readme inside the gem is very easy to follow.<a title="Rjb" href="http://rubyforge.org/frs/?group_id=2010&amp;release_id=6285"><br />
</a></p>
<p>The last step in setup is obtaining Weka.  On the download page of Weka, choose &#8220;<strong>Other platforms (Linux, etc.)</strong>&#8220;  Inside, we find a jar file called &#8220;weka.jar&#8221;  This is what we need to continue. <strong> </strong></p>
<p><strong>Running Weka</strong></p>
<p>The following is an example of running the SimpleKmeans classifier.</p>
<div id="codebox" style="overflow: auto; "><code><br />
require <span style="color: #ffcc00;">'rjb'</span></code></p>
<p><span style="color: #ff0000;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
<span style="color: #800080;">def </span>kmeans()</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#Load Java Jar</span><br />
dir =<span style="color: #ffcc00;"> &#8220;./weka.jar&#8221;</span><br />
<span style="color: #ff0000;">#Have Rjb load the jar file, and pass Java command line arguments</span><br />
<span style="color: #008000;">Rjb</span>::load(dir, jvmargs=[<span style="color: #ffcc00;">"-Xmx1000M"</span>])</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#make k-means classifier</span><br />
obj = <span style="color: #008000;">Rjb</span>::import(<span style="color: #ffcc00;">&#8220;weka.clusterers.SimpleKMeans&#8221;</span>)<br />
kmeans = obj.new</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#load the data</span> <span style="color: #ff0000;">using Ja<span style="color: #ff0000;">va</span></span><span style="color: #ff0000;"> and Weka</span><br />
labor_src = Rjb::import(<span style="color: #ffcc00;">&#8220;java.io.FileReader&#8221;</span>).new(<span style="color: #ffcc00;">&#8220;labor.arff&#8221;</span>)<br />
labor_data = Rjb::import(<span style="color: #ffcc00;">&#8220;weka.core.Instances&#8221;</span>).new(labor_src)</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#build the cluster and output the k-means data</span><br />
kmeans.buildClusterer(labor_data)<br />
puts kmeans.toString</p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">#examine the particular datapoints</span><br />
points = labor_data.numInstances<br />
points.times {|instance|</p>
<p style="padding-left: 60px;">cluster = kmeans.clusterInstance(labor_data.instance(instance))<br />
point = labor_data.instance(instance).toString<br />
puts <span style="color: #ff6600;">&#8220;#{point} \t #{cluster}&#8221;</span></p>
<p style="padding-left: 30px;">}</p>
<p><span style="color: #800080;">end</span></p>
<p><span style="color: #ff0000;">#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
kmeans()</div>
<p>This is a simple example of how to use K-means.  We first tell Rjb to load the specified classpath, for us it&#8217;s our Jar file.  I passed command line arguments that specify the amount of RAM to use.</p>
<p>Rjb::import loads specific classes.  These are relative to our classpath.</p>
<p>I call the constructor for the new classes by using the .new method from Ruby.  Afterward, I can use the new object like any other Ruby object.  The method names are as they are found in their Java source files.  For an explanation of data type conversions, <a title="Rjb explanation" href="http://rjb.rubyforge.org/">click here.</a></p>
<p>The dataset is found inside the data folder downloaded with weka.jar.</p>
<p>I will probably look at the other classifiers and post some more example.  As I said before, this can be done in JRuby.  A great example can be found at this <a title="JRuby Example" href="http://rubyforscientificresearch.blogspot.com/2009/08/accessing-weka-from-jruby.html" target="_blank">great blog post</a>, which inspired my post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/weka-and-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ohio State Buckeyes: The 2010 Rose Bowl Champs!</title>
		<link>http://www.tylerclemons.com/the-ohio-state-buckeyes-the-2010-rose-bowl-champs/</link>
		<comments>http://www.tylerclemons.com/the-ohio-state-buckeyes-the-2010-rose-bowl-champs/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 22:08:42 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Buckeye Football]]></category>
		<category><![CDATA[Sports]]></category>
		<category><![CDATA[Ohio State Buckeyes]]></category>
		<category><![CDATA[Rose Bowl]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=244</guid>
		<description><![CDATA[What a game for the Buckeyes!  The 8th ranked Buckeyes made a great statement for their &#8220;slow&#8221; program and their &#8220;slow&#8221; conference with a 26-17 upset victory over the #7 Oregon Ducks.  Great job Buckeyes!

The Good: TP, Posey, Sanz, and the the offensive line were great.
The Bad: OSU gave up four sacks to an undersized [...]]]></description>
			<content:encoded><![CDATA[<p>What a game for the Buckeyes!  The 8th ranked Buckeyes made a great statement for their &#8220;slow&#8221; program and their &#8220;slow&#8221; conference with a 26-17 upset victory over the #7 Oregon Ducks.  Great job Buckeyes!</p>
<p><span id="more-244"></span></p>
<p>The Good: TP, Posey, Sanz, and the the offensive line were great.</p>
<p>The Bad: OSU gave up four sacks to an undersized defensive line.  I think part of the problem was TP&#8217;s indecisiveness which may have been due to his injury.</p>
<p>The Ugly: The Special Teams play for the Buckeyes was just plain awful.  Come on Tress, this is supposed to be your special area!</p>
<p><a title="Gamestats via ESPN" href="http://sports.espn.go.com/ncf/boxscore?gameId=300012483">Gamestats</a> (From ESPN)</p>
<p><img src="http://image.cdnl3.xosnetwork.com/pics21/800/RN/RNLHFSNCIUQGYSC.20100102033324.JPG" alt="" width = "500" height = "500"/></p>
<p>Picture courtesy of <a title="OSU Athletics" href="http://ohiostatebuckeyes.com/">http://ohiostatebuckeyes.com/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/the-ohio-state-buckeyes-the-2010-rose-bowl-champs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Adium Scripts (thats what she said)</title>
		<link>http://www.tylerclemons.com/creating-adium-scripts-thats-what-she-said/</link>
		<comments>http://www.tylerclemons.com/creating-adium-scripts-thats-what-she-said/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 00:37:38 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Adium]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[thats what she said]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=234</guid>
		<description><![CDATA[I was talking to Ben and saw another opening for the classic and overused &#8220;That&#8217;s what she said&#8221; joke.  As I was typing it in, I realized I should just make it easier on myself and write a simple script to do it for me.  So I did.


Creating it is very simple. First, we need [...]]]></description>
			<content:encoded><![CDATA[<p>I was talking to Ben and saw another opening for the classic and overused &#8220;That&#8217;s what she said&#8221; joke.  As I was typing it in, I realized I should just make it easier on myself and write a simple script to do it for me.  So I did.</p>
<p><span id="more-234"></span></p>
<p><img title="More..." src="http://tylershome.nfshost.com/home/public/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /></p>
<p>Creating it is very simple. First, we need to setup a file structure.  Create a folder called <strong>whatshesaid.AdiumScripts</strong>.  Then right click(CTLR+click), and click &#8217;show package contents.&#8217;  Create a folder called <strong>Contents</strong>.  Inside Contents, create a folder called <strong>Resources</strong>.  The result:</p>
<p>-&gt;whatshesaid.AdiumScripts<br />
&#8211;&gt;Contents<br />
&#8212;-&gt;Resources</p>
<p>The next step is to create the actual script.  Enter the Resources folder.  Open up the Script Editor from the Applications folder.  If this is not installed, then just be prepared to save a file using the <em>.scpt</em> extension.  Create a function like this:</p>
<div id="codebox" style="overflow: auto; "><code><br />
<span style="color: #0000ff;">on</span> <span style="color: #008000;">substitute()</span><span style="padding-left: 10px;"><span style="color: #0000ff;"> </span></span><br />
<span style="padding-left: 10px;"><span style="color: #0000ff;">return</span> "thats what she said"</span><br />
<span style="color: #0000ff;">end</span> <span style="color: #008000;">substitute</span><br />
</code></div>
<p>The <em>on substitute() </em>function will be called every time the script is used.  Inside is an array of strings seperated by commas.   Now the question is, how do we use the script?</p>
<p>Go up one level back to the Contents folder.  Click <a href="http://www.tylerclemons.com/whatshesaid.zip">HERE</a> and drag the info.plist file into the directory.  If you changed any of the defaults, make the appropriate changes.</p>
<p>And that&#8217;s it.  Just click on the random.AdiumScripts icon and it should install.  Type<em> /she or %_she </em>in a chatbox to test the script. That&#8217;s the simplest way to do it. There are some other XML properties that can be added but aren&#8217;t necessary for personal use. If you plan on publishing on Adium&#8217;s website, be sure to add any and all public standards.</p>
<p>You can add more substitutions by creating more script files and more entries into the XML tree. You can also edit the triggers by changing <em>/she</em> to any character sequence.</p>
<p><span style="text-decoration: underline;"><span style="color: #ff0000;"><em>Your files will be installed in Library/Application Support/Adium 2.0/Scripts</em></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/creating-adium-scripts-thats-what-she-said/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Kiva</title>
		<link>http://www.tylerclemons.com/kiva/</link>
		<comments>http://www.tylerclemons.com/kiva/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 01:54:08 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Kiva]]></category>
		<category><![CDATA[Donation]]></category>
		<category><![CDATA[Good Cause]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=232</guid>
		<description><![CDATA[Ben showed me a great website recently.  It&#8217;s called Kiva which can be found at http://www.kiva.org/.  This website allows anyone to make a small loan to entrepreneurs in third world countries.  The basic idea is to lend a small amount, or large amount, to an individual so that they can improve their business.  They then [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Ben's Website" href="http://www.bensnider.com">Ben</a> showed me a great website recently.  It&#8217;s called Kiva which can be found at <a title="Kiva" href="http://www.kiva.org/">http://www.kiva.org/</a>.  This website allows anyone to make a small loan to entrepreneurs in third world countries.  The basic idea is to lend a small amount, or large amount, to an individual so that they can improve their business.  They then pay the loan back.  There isn&#8217;t any interest on the loan but in this situation, the benefits are worth more than interest.  I suggest that everyone considers taking a look at Kiva.  It&#8217;s a great opportunity to help those in need.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/kiva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An apology to Alan Turing</title>
		<link>http://www.tylerclemons.com/an-apology-to-alan-turing/</link>
		<comments>http://www.tylerclemons.com/an-apology-to-alan-turing/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 19:42:26 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Famous People]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Alan Turing]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Gay rights]]></category>
		<category><![CDATA[Online Petition]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=224</guid>
		<description><![CDATA[*It appears the petition may have worked*
http://www.number10.gov.uk/Page20571
Alan Turing is considered to be the father of modern computer science.  Turing is also partly responsible for designing the &#8220;bombe,&#8221; a machine used to crack the German Enigma machine yielding invaluable German military Intelligence to the Allied forces.
Unfortunately, instead of being revered by his government for his services [...]]]></description>
			<content:encoded><![CDATA[<p>*It appears the petition may have worked*</p>
<p><a href="http://www.number10.gov.uk/Page20571" target="_blank">http://www.number10.gov.uk/Page20571</a></p>
<p>Alan Turing is considered to be the father of modern computer science.  Turing is also partly responsible for designing the &#8220;bombe,&#8221; a machine used to crack the German Enigma machine yielding invaluable German military Intelligence to the Allied forces.</p>
<p>Unfortunately, instead of being revered by his government for his services rendered, he was criminally prosecuted for being a homosexual because homosexuality was illegal in Great Britain in 1952.  Having seen the end of his career and having undergone the subsequent drug treatment administered by the government to cure his homosexuality, he committed suicide via a cyanide induced apple.</p>
<p>Since then, the scientific community has embraced his achievements and ignored his lifestyle decision (as they should).  With great pleasure, I have stumbled upon an online petition urging the British PM to apologize to Alan Turing.  It is shame that only British citizens can sign it.  This petition can be found:</p>
<p><a href="http://petitions.number10.gov.uk/turing/">http://petitions.number10.gov.uk/turing/</a></p>
<p>For more information about Alan Turing:</p>
<p><a href="http://en.wikipedia.org/wiki/Alan_Turing">http://en.wikipedia.org/wiki/Alan_Turing</a></p>
<p>Lastly, what would this be without a plug for gay rights in today&#8217;s society:</p>
<p><a href="http://www.aclu.org/lgbt/index.html">http://www.aclu.org/lgbt/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/an-apology-to-alan-turing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website worth estimation</title>
		<link>http://www.tylerclemons.com/website-worth-estimation/</link>
		<comments>http://www.tylerclemons.com/website-worth-estimation/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 22:05:49 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[WebTechs]]></category>
		<category><![CDATA[Website Worth]]></category>
		<category><![CDATA[Websiteoutlook]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=219</guid>
		<description><![CDATA[Something that I stumbled on awhile back.
http://www.websiteoutlook.com/
It is no surprise that the most popular pages are adult websites.
]]></description>
			<content:encoded><![CDATA[<p>Something that I stumbled on awhile back.</p>
<p><a title="Website outlook" href="http://www.websiteoutlook.com/">http://www.websiteoutlook.com/</a></p>
<p>It is no surprise that the most popular pages are adult websites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/website-worth-estimation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenDNS</title>
		<link>http://www.tylerclemons.com/opendns/</link>
		<comments>http://www.tylerclemons.com/opendns/#comments</comments>
		<pubDate>Fri, 15 May 2009 23:15:28 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WebTechs]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[OpenDNS]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=176</guid>
		<description><![CDATA[I have been using this service for awhile now and I just thought I would formally recommend it.  OpenDNS is usually a faster alternative to the default DNS provided by your ISP.  It protects against phising automatically and can be adjusted to automatically block adult material aka porn.  AND you can travel with your settings [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using this service for awhile now and I just thought I would formally recommend it.  OpenDNS is usually a faster alternative to the default DNS provided by your ISP.  It protects against phising automatically and can be adjusted to automatically block adult material aka porn.  AND you can travel with your settings by creating an account.</p>
<p><a title="OpenDNS" href="http://www.opendns.com/" target="_blank">Click here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/opendns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
