<?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>Shlrm.org Blag &#187; Coding!</title>
	<atom:link href="http://shlrm.org/wordpress/category/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://shlrm.org/wordpress</link>
	<description>Linux, Java, Ruby, and Politics.</description>
	<lastBuildDate>Mon, 10 Oct 2011 18:50:48 +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>Hibernate 3 Maven Plugin hbm2ddl Goal and Hate</title>
		<link>http://shlrm.org/wordpress/2011/10/10/hibernate-3-maven-plugin-hbm2ddl-goal-and-hate/</link>
		<comments>http://shlrm.org/wordpress/2011/10/10/hibernate-3-maven-plugin-hbm2ddl-goal-and-hate/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 18:50:48 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Coding!]]></category>
		<category><![CDATA[Gripes]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=492</guid>
		<description><![CDATA[What happens when your build fails because it cannot talk to the internet anymore? You have DTD issues. I detail a solution specifically for the hibernate3-maven-plugin and it's hbm2ddl goal.]]></description>
			<content:encoded><![CDATA[<p>Over the weekend the Jenkins build started failing. The error leads me to believe that someone didn&#8217;t verify their build before committing code, and that the configuration file now has a problem:</p>
<pre class="brush: text; gutter: false; first-line: 1">org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (create-schema) on project incident-service:
   Execution create-schema of goal org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl failed:
    Could not parse configuration: file:/var/lib/jenkins/jobs/IncidentService/workspace/target/classes/hibernate.cfg.xml</pre>
<p>Except, there were no changes to the code; nothing changed in this file, and it&#8217;s been working fine for about a month or two. The environment the build server is on changed however. It cannot get to certain parts of the internet:</p>
<pre class="brush: text; gutter: false; first-line: 1"></pre>
<pre class="brush: text; gutter: false; first-line: 1">jenkins@hudson1:~$ wget http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd
--2011-10-10 10:48:06--  http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd
Resolving www.hibernate.org... 209.132.182.21
Connecting to www.hibernate.org|209.132.182.21|:80... failed: Connection timed out.
Retrying.</pre>
<p>It&#8217;s not actually able to get to the internet to validate the DTD within that hibernate.cfg.xml file. This should not break our build. It was a source of much frustration for about 4 hours of the day. Various <a href="https://forum.hibernate.org/viewtopic.php?f=1&amp;t=949031">hibernate forums</a> were of limited help.</p>
<p>Apparently it should get it from the jar, rather than the internet, if the jar is available on the class path and the DTD matches. First our DTD was incorrect. Rectified that, and yet it still tried to get it off the internet. WTF?</p>
<p>Turns out the hibernate3-maven-plugin doesn&#8217;t include any hibernate jars when it executes.</p>
<p><a href="http://shlrm.org/wordpress/wp-content/uploads/2011/10/le-sigh.jpg"><img class="size-medium wp-image-495 alignnone" title="le sigh" src="http://shlrm.org/wordpress/wp-content/uploads/2011/10/le-sigh-300x207.jpg" alt="*le sigh*" width="300" height="207" /></a></p>
<p>Solution is to duplicate the necessary hibernate dependencies for the plugin to have the necessary DTD data available:</p>
<pre class="brush: xml; gutter: true; first-line: 1">&lt;dependencies&gt;
  &lt;!--
    Need to include the following hibernate dependencies so that it can find the DTD
    without having to get it off the internet.
  --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
    &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
    &lt;version&gt;${hibernate.version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
    &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
    &lt;version&gt;4.0.0.GA&lt;/version&gt;
    &lt;exclusions&gt;
      &lt;exclusion&gt;
        &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
        &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
      &lt;/exclusion&gt;
    &lt;/exclusions&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
     &lt;groupId&gt;org.hibernate.javax.persistence&lt;/groupId&gt;
     &lt;artifactId&gt;hibernate-jpa-2.0-api&lt;/artifactId&gt;
     &lt;version&gt;1.0.0.Final&lt;/version&gt;
  &lt;/dependency&gt;
&lt;/dependencies&gt;</pre>
<p>So some context: This is to support preventing the hibernate3-maven-plugin from going to the internet to get the DTD every time it parses that hibernate.cfg.xml file. There&#8217;s no data in this file, only a shell of a hibernate.cfg.xml; just enough of a placeholder to keep the hbm2ddl Goal from failing, as we&#8217;ll eventually have it build DDL for us.</p>
<p>Content:</p>
<pre class="brush: xml; gutter: true; first-line: 1">&lt;?xml version='1.0' encoding='utf-8'?&gt;
&lt;!DOCTYPE hibernate-configuration PUBLIC
    "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
    "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"&gt;

&lt;hibernate-configuration&gt;

    &lt;session-factory&gt;
        &lt;!-- specify annotated classes here, because the hbm2ddl plugin isn't capable of searching for them :( --&gt;
    &lt;/session-factory&gt;

&lt;/hibernate-configuration&gt;</pre>
<p>Quite an irritating error for something that seems to actually do nothing. Apparently it does. Stupid XML</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2011/10/10/hibernate-3-maven-plugin-hbm2ddl-goal-and-hate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The value of project automation</title>
		<link>http://shlrm.org/wordpress/2011/10/02/the-value-of-project-automation/</link>
		<comments>http://shlrm.org/wordpress/2011/10/02/the-value-of-project-automation/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 18:00:00 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Coding!]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=489</guid>
		<description><![CDATA[Failing to have an automated deployment script results in much more pain than it would've taken to build the script in the first place.]]></description>
			<content:encoded><![CDATA[<p>Particularly deployment automation, in my case something like capistrano. It goes further than just the application, however. It goes into being able to ensure that the deployment environment, including the database and the application container all behave nicely. I have failed in this aspect, as my rails app is no longer behaving, and I&#8217;ve been reduced to updating things in the hopes that one of the things will fix it :(</p>
<p><span id="more-489"></span>I updated my <a href="http://www.postgresql.org/">postgresql</a> database, as it was version 8 and version 9 has been out for quite a while. <a href="http://www.postgresql.org/docs/9.1/static/upgrading.html">That actually went painlessly</a>. Backup the SQL, terminate the db server, build/install the new one, and restore the SQL. Then tewak configuration files to get everything back the way it was before. No problem.</p>
<p>Then realized I needed to rebuild a pg gem on the deployed host so that it&#8217;d talk to postgresql 9 now. Did that. Suddenly the app server no longer responds. it just sits there forever waiting on &#8230; something. No amount of debugging output from <a href="http://modrails.com/">Passenger</a> will help. It must be something else. So now I&#8217;m updating ruby and rebuilding a new Passsenger against it in the hopes that it&#8217;s a bug in ruby that I&#8217;ve encountered that evidences itself with postgresql 9 or something. Otherwise, I might be spending the day getting the newer revision of my application ready to go a bit earlier than I had planned.</p>
<p>Had I had an automated deployment script built in, I could&#8217;ve just clobbered the environment and redeployed within the new fresh environment. Instead I&#8217;m having to monkey around getting everything to behave well, and generally failing at it.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2011/10/02/the-value-of-project-automation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using cuke4duke and working around rubygems issues</title>
		<link>http://shlrm.org/wordpress/2011/09/13/using-cuke4duke-and-working-around-rubygems-issues/</link>
		<comments>http://shlrm.org/wordpress/2011/09/13/using-cuke4duke-and-working-around-rubygems-issues/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 21:05:13 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[jruby]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=471</guid>
		<description><![CDATA[Getting gems installed for use with cuke4duke.]]></description>
			<content:encoded><![CDATA[<p><a href="https://groups.google.com/d/msg/cukes/KZ2U04UA6MM/JEZ58kBtkcgJ">cuke4duke support has been dropped in favor of work on cucumber-jvm.</a> Which is all well and good, except that cucumber-jvm isn&#8217;t fully baked yet. It&#8217;s not quite there regarding features, but it&#8217;s getting there fast.</p>
<p>Unfortunately, that means for those that are still using cuke4duke, you&#8217;ve got problems to deal with. The voodoo magic that is cuke4duke does not install gems very well. I don&#8217;t know precisely why this is, but it ends up with many problems. Things that will install just fine using a jruby command line, or in native ruby barf a horrible death. Often regarding some YAML::Syck thing.</p>
<pre class="brush: text; gutter: false; first-line: 1">ERROR:  While executing gem ... (ArgumentError)
      undefined class/module YAML::Syck::DefaultKey</pre>
<p>Really sucks and makes it difficult to actually use cuke4duke unless you&#8217;ve already got all the gems you need installed.</p>
<p>After much investigation, I discovered that cuke4duke uses a GEM_HOME of ~/.m2/repository/.jruby . So a simple command can get the gems you want installed into that folder:</p>
<pre class="brush: text; gutter: false; first-line: 1">java -jar jruby-complete-1.6.4.jar -S gem install json --version=1.5.4 --no-rdoc --no-ri -i /home/dkowis/.m2/repository/.jruby</pre>
<p>Unfortunately, if there&#8217;s another &#8220;gem&#8221; command in your path, it will use that instead of the one in your jar file, so you have to munge your path as well to prevent it from doing so.</p>
<p>Finally, I needed a way to get this into our project&#8217;s Maven POM so that we could easily set up other peoples boxes and the configuration isn&#8217;t lost in some terribly manual process of running that command over and over.</p>
<p>This is the solution I came up with:</p>
<pre class="brush:xml wp_syntax">        &lt;profile&gt;
            &lt;id&gt;install-gems&lt;/id&gt;
            &lt;build&gt;
                &lt;plugins&gt;
                    &lt;plugin&gt;
                        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                        &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                        &lt;version&gt;1.6&lt;/version&gt;
                        &lt;executions&gt;
                            &lt;execution&gt;
                                &lt;phase&gt;generate-test-resources&lt;/phase&gt;
                                &lt;configuration&gt;
                                    &lt;target&gt;
                                        &lt;property file="gems.properties"/&gt;
                                        &lt;macrodef name="install-gem"&gt;
                                            &lt;attribute name="gem"/&gt;
                                            &lt;attribute name="version"/&gt;
                                            &lt;sequential&gt;
                                                &lt;java jar="${maven.dependency.org.jruby.jruby-complete.jar.path}"
                                                      fork="true"
                                                      failonerror="true"
                                                      maxmemory="64m"
                                                      newenvironment="true"&gt;
                                                    &lt;arg value="-S"/&gt;
                                                    &lt;arg value="gem"/&gt;
                                                    &lt;arg value="install"/&gt;
                                                    &lt;arg value="@{gem}"/&gt;
                                                    &lt;arg value="--version=@{version}"/&gt;
                                                    &lt;arg value="-i"/&gt;
                                                    &lt;arg value="${user.home}/.m2/repository/.jruby"/&gt;
                                                    &lt;env key="PATH" path="${java.home}/bin"/&gt;
                                                &lt;/java&gt;
                                            &lt;/sequential&gt;
                                        &lt;/macrodef&gt;
                                        &lt;install-gem gem="json" version="1.5.4"/&gt; &lt;!-- needed to get json to behave with jruby --&gt;
                                        &lt;install-gem gem="cucumber" version="1.0.3"/&gt;
                                        &lt;install-gem gem="cuke4duke" version="${gem.cuke4duke.version}"/&gt;
                                        &lt;install-gem gem="nokogiri" version="${gem.nokogiri.version}"/&gt;
                                        &lt;install-gem gem="rspec" version="${gem.rspec.version}"/&gt;
                                        &lt;install-gem gem="rest-client" version="${gem.restclient.version}"/&gt;
                                        &lt;install-gem gem="jruby-openssl" version="${gem.jrubyopenssl.version}"/&gt;
                                    &lt;/target&gt;
                                &lt;/configuration&gt;
                                &lt;goals&gt;
                                    &lt;goal&gt;run&lt;/goal&gt;
                                &lt;/goals&gt;
                            &lt;/execution&gt;
                        &lt;/executions&gt;
                    &lt;/plugin&gt;
                &lt;/plugins&gt;
            &lt;/build&gt;
        &lt;/profile&gt;</pre>
<p>One can then run the command &#8216;mvn test -Pinstall-gems&#8217; and the gems will be installed as part of the test-resource-generation phase. This only has to be done once whenever new gems are added, or on initial setup. Once it&#8217;s done, you&#8217;re good to go with the normal cuke4duke workflow.</p>
<p>Hopefully this will save other people some time :)</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2011/09/13/using-cuke4duke-and-working-around-rubygems-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding additional recipes to your Capistrano deploy.rb</title>
		<link>http://shlrm.org/wordpress/2011/08/21/adding-additional-recipes-to-your-capistrano-deploy-rb/</link>
		<comments>http://shlrm.org/wordpress/2011/08/21/adding-additional-recipes-to-your-capistrano-deploy-rb/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 00:23:07 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[capistrano]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=451</guid>
		<description><![CDATA[This was unbelievably difficult to find on the internet. Perhaps I didn&#8217;t know the right things to look for. I wanted to figure out how to require/load/import additional files into the deploy.rb file so that I would be able to drop recipes in to a config/recipes directory. Turns out this is the solution. I ended <a href='http://shlrm.org/wordpress/2011/08/21/adding-additional-recipes-to-your-capistrano-deploy-rb/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>This was unbelievably difficult to find on the internet. Perhaps I didn&#8217;t know the right things to look for.</p>
<p>I wanted to figure out how to require/load/import additional files into the deploy.rb file so that I would be able to drop recipes in to a config/recipes directory.</p>
<p>Turns out <a href="http://stackoverflow.com/questions/5365950/require-in-capistrano-deploy-rb-cannot-find-file">this is the solution</a>.</p>
<p>I ended up using this to simply load all the recipes in the recipes directory:</p>
<pre class="brush:ruby">#load in all the other recipes
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'recipes')
Dir['config/recipes/**/*.rb'].each { |recipe| require  File.basename(recipe, '.rb') }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2011/08/21/adding-additional-recipes-to-your-capistrano-deploy-rb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s dangerous to code alone</title>
		<link>http://shlrm.org/wordpress/2011/05/25/its-dangerous-to-code-alone/</link>
		<comments>http://shlrm.org/wordpress/2011/05/25/its-dangerous-to-code-alone/#comments</comments>
		<pubDate>Wed, 25 May 2011 22:58:22 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Coding!]]></category>
		<category><![CDATA[Funneh!]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=448</guid>
		<description><![CDATA[Take this]]></description>
			<content:encoded><![CDATA[<p>Take this</p>
<p><img class="alignnone" title="Master Ruby" src="http://i.imgur.com/RGH7El.jpg" alt="" width="640" height="400" /></p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2011/05/25/its-dangerous-to-code-alone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing API calls using Cucumber and Rails 3</title>
		<link>http://shlrm.org/wordpress/2011/04/30/testing-api-calls-using-cucumber-and-rails-3/</link>
		<comments>http://shlrm.org/wordpress/2011/04/30/testing-api-calls-using-cucumber-and-rails-3/#comments</comments>
		<pubDate>Sun, 01 May 2011 02:23:14 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[capybara]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails3]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=443</guid>
		<description><![CDATA[After many hours of searching, found a solution to Cucumber testing of API calls with Cucumber-rails Capybara backend.]]></description>
			<content:encoded><![CDATA[<p>As it turns out, in Rails 3.x, webrat and cucumber don&#8217;t play along so well. You start getting horribly annoying, and <a href="http://stackoverflow.com/questions/3546011/undefined-webrat-methods-in-cucumber-step-definitions">difficult to solve error messages</a>. The solution in that link is to change the testing method from Rails to Rack. That works, for things like visiting pages, but it broke all of my API tests, where I verify the response code of the body and the JSON that I get back.</p>
<p>I looked into upgrading cucumber-rails, and apparently they <a href="https://github.com/aslakhellesoy/cucumber-rails">recommend using Capybara instead of webrat</a> for Rails 3. So I make the necessary changes. Unfortunately Capybara <strong>only</strong> has a get method. You can only visit pages. Any posts should be exercised by the web forms. This is far less than useful. It has proven to be a huge pain the butt. Hours of trying to find how people do this to no avail. Until I find an <a href="http://stackoverflow.com/questions/1182377/testing-restful-api-with-cucumber-in-a-front-end-less-application/5788530#5788530">obscure answer</a>, at the bottom of a <a href="http://stackoverflow.com/questions/1182377/testing-restful-api-with-cucumber-in-a-front-end-less-application">StackOverflow posting</a>.</p>
<p>That <a href="https://github.com/jayzes/cucumber-api-steps">code on github</a> is the key to testing APIs. It appears to use some of the more internal guts of the Capybara page drivers to accomplish it&#8217;s goal. Works for me.</p>
<p>I am surprised to see that there are few integration test frameworks that support this kind of web service test. Especially since where I work, this is what we build. Having Cucumber features describing those API calls makes everyone&#8217;s job easier. I find it unfortunate that it seems to be somewhat ignored by the testing community. Hopefully this will contain the necessary words for other people that are searching for the same thing I spent hours searching for, and will find it in far less time.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2011/04/30/testing-api-calls-using-cucumber-and-rails-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I made a Ruby gem</title>
		<link>http://shlrm.org/wordpress/2011/04/01/i-made-a-ruby-gem/</link>
		<comments>http://shlrm.org/wordpress/2011/04/01/i-made-a-ruby-gem/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 19:47:51 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[gem]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=440</guid>
		<description><![CDATA[I forked an xmpp4-simple gem that had some issues, and figured out which they were, and then committed the fixes in my own github repo. It appears that the original gem is unmaintained, and so I just forked it and updated some parts.]]></description>
			<content:encoded><![CDATA[<p>I forked an <a href="https://rubygems.org/gems/dkowis-xmpp4r-simple">xmpp4-simple gem</a> that had some issues, and figured out which they were, and then committed the fixes in my own github repo.</p>
<p>It appears that the original gem is unmaintained, and so I just forked it and updated some parts.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2011/04/01/i-made-a-ruby-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minecraft Server Modification Project</title>
		<link>http://shlrm.org/wordpress/2010/10/14/minecraft-server-modification-project/</link>
		<comments>http://shlrm.org/wordpress/2010/10/14/minecraft-server-modification-project/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 20:01:46 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[W00t!]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=397</guid>
		<description><![CDATA[MINECRAFT! Someone has done no small amount of determining what the code within the minecraft_server.jar does and how you can inject hooks into it. I have forked that git repository and am trying to organize it a bit better. Possibly make it truly into just a plugin framework and nothing else. I&#8217;m hoping that this <a href='http://shlrm.org/wordpress/2010/10/14/minecraft-server-modification-project/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.minecraft.net">MINECRAFT</a>!</p>
<p>Someone <a href="Someone has done no small amount of determining what the code within the minecraft_server.jar does">has done no small amount of determining</a> what the code within the minecraft_server.jar does and how you can inject hooks into it. <a href="http://github.com/dkowis/Minecraft-Server-Mod">I have forked that git repository</a> and am trying to organize it a bit better. Possibly make it truly into just a plugin framework and nothing else.</p>
<p>I&#8217;m hoping that this will be useful to others and that it all won&#8217;t horribly break when the server is changed on the 31st. Otherwise, all the really awesome administrative abilities will be horribly broken. Another really awesome thing would be if Notch were to have a plugin API ready to go. Perhaps based on the work that the community is doing.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2010/10/14/minecraft-server-modification-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building ruby 1.9 on Fedora 13</title>
		<link>http://shlrm.org/wordpress/2010/06/19/building-ruby-1-9-on-fedora-13/</link>
		<comments>http://shlrm.org/wordpress/2010/06/19/building-ruby-1-9-on-fedora-13/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 18:19:23 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=378</guid>
		<description><![CDATA[Was harder than it should&#8217;ve been. I got annoyed. You need to install openssl-devel, zlib-devel, bison, gcc, make, patch, tar, and maybe gcc-c++ (although I don&#8217;t think this one is needed). Go get the latest ruby 1.9 source, as of this writing 1.9-p378, and extract it somewhere. Then go get the patches on this bug, <a href='http://shlrm.org/wordpress/2010/06/19/building-ruby-1-9-on-fedora-13/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Was harder than it should&#8217;ve been. I got annoyed.</p>
<p>You need to install openssl-devel, zlib-devel, bison, gcc, make, patch, tar, and maybe gcc-c++ (although I don&#8217;t think this one is needed).</p>
<p>Go get the <a href="ftp://ftp.ruby-lang.org//pub/ruby/1.9/ruby-1.9.1-p378.tar.gz">latest ruby 1.9 source</a>, as of this writing 1.9-p378, and extract it somewhere. Then go get the patches on <a href="http://redmine.ruby-lang.org/issues/show/2022#note-11">this bug, at the specific comment</a>. You will need to apply at least the openssl-build-fix patch, since fedora uses openssl 1.0 and it&#8217;s not yet into ruby 1.9. Then follow your typical ./cofnigure, make, and make install stuff. I installed mine into a prefix of /opt/ruby so that it wouldn&#8217;t affect any fedora ruby stuff that it might want. I then added ruby&#8217;s path to the end of my user&#8217;s PATH variable.</p>
<p>That&#8217;ll get you a working ruby 1.9 in Fedora.</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2010/06/19/building-ruby-1-9-on-fedora-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vim syntax hilighting for ruby/rails</title>
		<link>http://shlrm.org/wordpress/2010/05/18/vim-syntax-hilighting-for-rubyrails/</link>
		<comments>http://shlrm.org/wordpress/2010/05/18/vim-syntax-hilighting-for-rubyrails/#comments</comments>
		<pubDate>Wed, 19 May 2010 02:10:13 +0000</pubDate>
		<dc:creator>David Kowis</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[W00t!]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://shlrm.org/wordpress/?p=369</guid>
		<description><![CDATA[http://www.vim.org/scripts/script.php?script_id=1567 Woot. EDIT: Man, this guy has all sorts of good stuff: http://www.vim.org/account/profile.php?user_id=9012 cucumber, rails, ruby, git-vim integration. VIM FTW!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vim.org/scripts/script.php?script_id=1567">http://www.vim.org/scripts/script.php?script_id=1567</a></p>
<p>Woot.</p>
<p>EDIT:</p>
<p>Man, this guy has all sorts of good stuff: <a href="http://www.vim.org/account/profile.php?user_id=9012">http://www.vim.org/account/profile.php?user_id=9012</a></p>
<p>cucumber, rails, ruby, git-vim integration. VIM FTW!</p>
]]></content:encoded>
			<wfw:commentRss>http://shlrm.org/wordpress/2010/05/18/vim-syntax-hilighting-for-rubyrails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

