<?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>DaShaun</title>
	<atom:link href="http://www.dashaun.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dashaun.com</link>
	<description>Developer in Kansas City</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:54:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Maven Dependency Management using exclusion vs. provided</title>
		<link>http://www.dashaun.com/2012/01/18/maven-dependency-management-using-exclusion-vs-provided/</link>
		<comments>http://www.dashaun.com/2012/01/18/maven-dependency-management-using-exclusion-vs-provided/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 21:42:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=190</guid>
		<description><![CDATA[I&#8217;m currently working on a project and noticed that there are a lot of libraries marked with a scope of provided like so: &#60;dependency&#62; &#60;groupId&#62;somegroup&#60;/groupId&#62; &#60;artifactId&#62;someartifact&#60;/artifactId&#62; &#60;version&#62;0.1&#60;/version&#62; &#60;scope&#62;provided&#60;/scope&#62; &#60;/dependency&#62; But, when I look at the target container, I see no &#8230; <a href="http://www.dashaun.com/2012/01/18/maven-dependency-management-using-exclusion-vs-provided/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working on a project and noticed that there are a lot of libraries marked with a scope of <b>provided</b> like so:</p>
<p><code>&lt;dependency&gt;<br />
 &lt;groupId&gt;somegroup&lt;/groupId&gt;<br />
 &lt;artifactId&gt;someartifact&lt;/artifactId&gt;<br />
 &lt;version&gt;0.1&lt;/version&gt;<br />
 &lt;scope&gt;provided&lt;/scope&gt;<br />
&lt;/dependency&gt;</code></p>
<p>But, when I look at the target container, I see no such library.</p>
<p>Upon further investigation, I realize that this scope was being used to exclude the library from the deployed artifact.  It might have been a loose dependency on another library.  Instead of using and <b>exclusions</b> list, to tell *me* that they just didn&#8217;t want it in the artifact, they used the provided scope to tell me that it&#8217;s already in the container.</p>
<p>Dear developers using maven, please choose to exclude unwanted dependencies rather than giving them a &#8220;provided&#8221; scope and sending those that follow you down this same rabbit hole.</p>
<p>I would prefer to see this:</p>
<p><code>&lt;dependency&gt;<br />
 &lt;groupId&gt;somegroup&lt;groupId&gt;<br />
 &lt;artifactId&gt;someartifact.thatdependson.someartifact&lt;/artifactId&gt;<br />
 &lt;exclusions&gt;<br />
  &lt;exclusion&gt;<br />
   &lt;groupId&gt;somegroup&lt;/groupId&gt;<br />
   &lt;artifactId&gt;someartifact&lt;/artifactId&gt;<br />
  &lt;/exclusion&gt;<br />
 &lt;/exclusions&gt;<br />
&lt;/dependency&gt;</code></p>
<p>Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2012/01/18/maven-dependency-management-using-exclusion-vs-provided/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox Scare &#8211; VERR_SUPLIB_WORLD_WRITABLE</title>
		<link>http://www.dashaun.com/2011/04/19/virtualbox-scare-verr_suplib_world_writable/</link>
		<comments>http://www.dashaun.com/2011/04/19/virtualbox-scare-verr_suplib_world_writable/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 01:07:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=177</guid>
		<description><![CDATA[I&#8217;ve been really enjoying VirtualBox for a few months now.  Today, when I tried to open my images, I got a really scary error.  I thought that all of my work was gone.  I tried to open the other images &#8230; <a href="http://www.dashaun.com/2011/04/19/virtualbox-scare-verr_suplib_world_writable/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been really enjoying VirtualBox for a few months now.  Today, when I tried to open my images, I got a really scary error.  I thought that all of my work was gone.  I tried to open the other images I had, all of them failed with the same error.</p>
<p><strong>VERR_SUPLIB_WORLD_WRITABLE</strong></p>
<p>I&#8217;m using OSX, I did a fair bit of googling, the solution that worked for me:</p>
<blockquote><p><code>chmod o-w /Applications</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2011/04/19/virtualbox-scare-verr_suplib_world_writable/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Javamail on CentOS/Redhat NoSuchProviderException SMTP</title>
		<link>http://www.dashaun.com/2011/02/07/javamail-on-centosredhat-nosuchproviderexception-smtp/</link>
		<comments>http://www.dashaun.com/2011/02/07/javamail-on-centosredhat-nosuchproviderexception-smtp/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 05:56:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=170</guid>
		<description><![CDATA[I&#8217;ve ran into this so many times and it gets me every time. The mail package the gets installed with the tomcat version that I install from the system repository (using yum) includes a javamail library that causes problems. Apparently, &#8230; <a href="http://www.dashaun.com/2011/02/07/javamail-on-centosredhat-nosuchproviderexception-smtp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve ran into this so many times and it gets me every time.  The mail package the gets installed with the tomcat version that I install from the system repository (using yum) includes a javamail library that causes problems.</p>
<p>Apparently, if there are multiple, different java mail versions, the system just falls down and throws the NoSuchProviderException.</p>
<p>My application usually includes the latest version of the javax.mail library.  So I simply renamed the java-mail.jar to java-mail.jar.orig in the tomcat &#8220;common&#8221; library.  Then I restated the tomcat server.</p>
<p>Changing the extension makes it not get loaded automatically when the system restarts.  I like to use the .orig so I know what changes I made in case I want to revert them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2011/02/07/javamail-on-centosredhat-nosuchproviderexception-smtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Ant+ Android Phones Announced</title>
		<link>http://www.dashaun.com/2011/02/02/first-ant-android-phones-announced/</link>
		<comments>http://www.dashaun.com/2011/02/02/first-ant-android-phones-announced/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 15:10:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=168</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe title="YouTube video player" class="youtube-player" type="text/html" width="640" height="390" src="http://www.youtube.com/embed/bd1ZIW781dI" frameborder="0" allowFullScreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2011/02/02/first-ant-android-phones-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My month long battle with ORA-00060</title>
		<link>http://www.dashaun.com/2011/02/01/my-month-long-battle-with-ora-00060/</link>
		<comments>http://www.dashaun.com/2011/02/01/my-month-long-battle-with-ora-00060/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 03:06:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JPA]]></category>
		<category><![CDATA[ORA-00060]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=161</guid>
		<description><![CDATA[The application that I&#8217;m working on is pretty huge.  I&#8217;ve touched maybe 25% of the actual code intimately in the 9 months I&#8217;ve been working with it.  Over a month ago, we discovered an issue in production that had an &#8230; <a href="http://www.dashaun.com/2011/02/01/my-month-long-battle-with-ora-00060/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The application that I&#8217;m working on is pretty huge.  I&#8217;ve touched maybe 25% of the actual code intimately in the 9 months I&#8217;ve been working with it.  Over a month ago, we discovered an issue in production that had an ORA-00060 error as the primary symptom.  I&#8217;m the guy that likes to fix the stuff that doesn&#8217;t really tell you whats wrong. What I want to do with this post, is provide a recap of how I tackled the problem.  Hopefully it will help some others that run into this issue.</p>
<ul>
<li>The error from the logs pointed me in the right direction of what functionality was causing the issue.</li>
</ul>
<p>I didn&#8217;t know exactly what was causing the issue, but I knew where to start looking.  I pulled out my favorite tool for testing web applications and web services, <a href="http://jmeter.apache.org/">JMeter</a>.  I wrote a test that would fully stress the parts of the system that might be causing the issue.  I didn&#8217;t write the code that was causing the problem.  This was actually the first time I was in this part of the system.  A good first pass at a JMeter test does CRUD+L (Create, Read, Update, Delete, List) for a user. Once I had a simple test that would perform some easy &#8220;smoke&#8221; tests, I was ready to start stressing the system.</p>
<ul>
<li>I&#8217;m now familiar with this part of the system and have a JMeter test for coverage of the functionality.</li>
</ul>
<p>My test worked just fine at this point.  Still no clues.  Next step is to increase the load.  I modified my test to use a different, random user on each login attempt.  Then I increased the number of threads.  Immediately, I started to see the errors.  For most of my tests of this system, I&#8217;m able to send through 100 threads (users) without running into other bottlenecks on my local (dev) environment.  With this test, at this time, I could only get 3 successful threads.  This is unacceptable.  With just 4 users going through my test, I was creating &#8220;blocking sessions&#8221; according to the Oracle Enterprise Manager (OEM) reporting tool.</p>
<ul>
<li>Now I have a test that is replicating the problems (locally) that we are seeing in production</li>
</ul>
<p>Our system is using JPA with Hibernate and annotations for most of our ORM.  When I started to dig into code, I realized that on &#8220;inserts&#8221; we are doing 3 different commits during the transactions.  In the methods, I saw multiple &#8220;commit&#8221; and &#8220;flush&#8221; calls.  Instead of letting JPA/Hibernate handle the generation of IDs for (grand)child objects, there was some additional commits that were done with native queries in order to get IDs and follow the particular pattern that was chosen.  I wasn&#8217;t happy with the pattern, but that was irrelevant to the problem at hand.  But I couldn&#8217;t understand why we needed to do all of this extra work that I haven&#8217;t done in years.</p>
<ul>
<li>The multiple, native commits, within the transaction were a red flag.  Clearly, the low (3 user) load threshold was caused by the poor use of the transaction.  The inserts, updates, and deletes were all doing this multiple commits and multiple flush to finish each action.</li>
</ul>
<p>I really wanted to get away from this multiple step process.  My plan was to rewrite the POJOs with readable annotations.  This way, the rest of the team could see what was actually happening without having to dig like I did.  Quickly I realized that I couldn&#8217;t make many changes because the pattern that was chosen was used throughout the entire system.  So, I got too it.  I used annotations for all the objects that were affected.  It took a while, to replace the hand written stuff and at the same time keep the pattern in place.  Again, it was extra work, but not relevant to the problem.</p>
<ul>
<li>I reduced the number of required DAO objects in the system.  The entire group of objects is wired with annotations.  Its readable, cleaner, and still works with the rest of the system.</li>
</ul>
<p>I figured everything would magically be fixed.  It wasn&#8217;t.  I used my JMeter tests and determined that the queries that were being ran against the database looked good.  Everything was in order and exactly what I expected.  But my changes had only increased the number of successful users from 3 to 5.  It also improved the performance slightly.  At the same 3 users going through the system, my changes made this section about 20% faster.  But what now?</p>
<ul>
<li>I pulled in the database admin.  The DBA told me that the database was doing cascading deletes on some of the tables.</li>
</ul>
<p>We went around in circles for at least two days getting to a happy place.  Since the cascading deletes were in place, my &#8220;delete&#8221; method was changed from using the annotations to using a native query.  Luckily, this native query was just 1 call on 1 table and the oracle database did the rest.  I had to believe that letting Oracle do the deletes was a better option that letting Hibernate make all the calls.</p>
<p>So in the end, it turns out that the problem causing my ORA-00060, was that the code was trying to do the same deletes that the Oracle database was also trying to do.  This was causing the blocking sessions that were affecting the rest of the system.  Before you let Hibernate/JPA handle your cascade deletes, make sure that you don&#8217;t already have cascades setup at your database tier.</p>
<ul>
<li>The test that I wrote the first week, now handles the 100 users that I expected the system to handle.  Problem solved.</li>
</ul>
<p>This problem wasn&#8217;t really as big as I let it become.  If I had brought in the DBA earlier, and was aware of the cascade deletes at the database tier earlier, I would have fixed the problem in the original DAO objects.  This would have fixed our problem sooner.  On the other hand, the code for this group of functionality is now much easier to read, work with and understand.  The next developer to work on this stuff should get to success much faster.</p>
<p>I&#8217;m actually happy that I had to get all the way to the database tier to fix this &#8220;database&#8221; problem.  I was able to learn one of the patterns used in a large part of our system.  I feel confident that the next person to look at this code will have a much more pleasant experience.  I also have a nice test that provides coverage and can be used for stress testing this part of the system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2011/02/01/my-month-long-battle-with-ora-00060/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing GoDaddy Wildcard Certificate on CentOS with Apache 2</title>
		<link>http://www.dashaun.com/2011/01/11/installing-godaddy-wildcard-certificate-on-centos-with-apache-2/</link>
		<comments>http://www.dashaun.com/2011/01/11/installing-godaddy-wildcard-certificate-on-centos-with-apache-2/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 04:48:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=154</guid>
		<description><![CDATA[I had a clean install of CentOS which needed to use a wildcard certificate.  I updated all of the packages.  I had three files: gd_intermediate_bundle.crt mydomain.crt mydomain.key I modified the file /etc/httpd/conf.d/ssl.conf according to the examples. But when I restarted &#8230; <a href="http://www.dashaun.com/2011/01/11/installing-godaddy-wildcard-certificate-on-centos-with-apache-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had a clean install of CentOS which needed to use a wildcard certificate.  I updated all of the packages.  I had three files:</p>
<ul>
<li>gd_intermediate_bundle.crt</li>
<li>mydomain.crt</li>
<li>mydomain.key</li>
</ul>
<p>I modified the file /etc/httpd/conf.d/ssl.conf according to the examples.</p>
<p>But when I restarted the httpd server, I kept getting an error</p>
<blockquote><p>/path/to/mydomain.crt does not exist or is empty</p></blockquote>
<p>I&#8217;m pretty sure the path stuff can can be switched up, just be considerate of permissions.  I moved my files into the directories that were shown in the examples.  Even then I got the same errors.</p>
<p>After plenty of searching I figured out that it was all because of SELinux.  I did not want to disable SELinux to get this to work so here are the steps I took:</p>
<ol>
<li><code>chcon --reference=/etc/pki/tls/private/localhost.key /etc/pki/tls/private/mydomain.key</code></li>
<li><code>chcon --reference=/etc/pki/tls/certs/localhost.crt /etc/pki/tls/certs/mydomain.crt</code></li>
<li><code>touch /etc/pki/tls/certs/server-chain.crt</code></li>
<li><code>chcon --reference=/etc/pki/tls/certs/server-chain.crt /etc/pki/tls/certs/gd_intermediate_bundle.crt</code></li>
<li><code>Restart the server in your favorite way. Ding!</code></li>
</ol>
<p>I don&#8217;t really understand exactly what happened but here is my best guess.  SELinux is looking for specific filenames.  I changed the references for SELinux to know that they are legit.  The files that were referenced in the ssl.conf file as examples must be what SELinux is looking for by default.  The server-chain.crt file referenced isn&#8217;t created by the system, so I had to &#8220;touch&#8221; it.</p>
<p>I&#8217;m thinking that if I had just changed the filenames to match those in the ssl.conf that I would have had equal success.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2011/01/11/installing-godaddy-wildcard-certificate-on-centos-with-apache-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Naming conventions</title>
		<link>http://www.dashaun.com/2011/01/05/sql-naming-conventions/</link>
		<comments>http://www.dashaun.com/2011/01/05/sql-naming-conventions/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 03:11:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=112</guid>
		<description><![CDATA[I&#8217;m not a DBA, and I don&#8217;t do a lot of SQL.  What I do use is Hibernate!  Some conventions have been kept around for years, when they aren&#8217;t really needed. I&#8217;m not a big fan of my column names &#8230; <a href="http://www.dashaun.com/2011/01/05/sql-naming-conventions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not a DBA, and I don&#8217;t do a lot of SQL.  What I do use is Hibernate!  Some conventions have been kept around for years, when they aren&#8217;t really needed.</p>
<p>I&#8217;m not a big fan of my column names repeating my tables names:</p>
<p>For instance an Address table with column names like address_id, address_street1, state_id.</p>
<p>I understand that when your doing SQL joins this allows you to avoid naming collisions.  But in my world, I&#8217;m never using the table names or column names except for in my annotations.</p>
<p>Following this convention actually requires me to add @Column(name = &#8220;address_street1&#8243;) to my object, instead of simply @Column</p>
<p>With my preferred approach, my columns match up nicely with my domain objects/data models.  I don&#8217;t want to have to add the &#8220;name&#8221; part to my @Column annotation.</p>
<p>Can we all agree that from now on, we write our model objects and database tables so that we don&#8217;t need the (name = &#8220;address_street1&#8243;) part?  Please?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2011/01/05/sql-naming-conventions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu + HTC EVO + EasyTether = Sweetness</title>
		<link>http://www.dashaun.com/2010/12/28/ubuntu-htc-evo-easytether-sweetness/</link>
		<comments>http://www.dashaun.com/2010/12/28/ubuntu-htc-evo-easytether-sweetness/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 18:06:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[easytether]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[tether]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=152</guid>
		<description><![CDATA[It was just that easy.  I purchased the EasyTether application from the Android store because it was the only one that suggested that it would work with my Ubuntu OS running on my Asus Eee. I downloaded the Ubuntu software &#8230; <a href="http://www.dashaun.com/2010/12/28/ubuntu-htc-evo-easytether-sweetness/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It was just that easy.  I purchased the EasyTether application from the Android store because it was the only one that suggested that it would work with my Ubuntu OS running on my Asus Eee.</p>
<p>I downloaded the Ubuntu software component from the website.</p>
<p>Connected my netbook to the Evo via the USB connection and mounted the EVO as a drive.  I then installed the .deb that I just downloaded from the &#8220;downloads&#8221; directory on the Evo.  I just double clicked and then was asked for admin login to finish the install.  I&#8217;m sure a command line &#8216;sudo deb something&#8217; would have worked just as well.</p>
<p>The application asked me to change a USB setting and then took me right to the setting.  I made the change.</p>
<p>Then I clicked finish.</p>
<p>On the netbook, I had to run two commands to get it going, but the application told me exactly what to run.</p>
<p>Ding!  I&#8217;m connected.</p>
<p>It works!  No problems what so ever.  I will install the same thing on my wife&#8217;s Evo and netbook.  I will just give her a couple of icons in her menu to use instead of having her use the terminal like the software suggested.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2010/12/28/ubuntu-htc-evo-easytether-sweetness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.10 Rails Environement</title>
		<link>http://www.dashaun.com/2010/12/24/ubuntu-10-10-rails-environement/</link>
		<comments>http://www.dashaun.com/2010/12/24/ubuntu-10-10-rails-environement/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 18:40:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=147</guid>
		<description><![CDATA[Here is what I did that worked: Downloaded sources from here. sudo aptitude install build-essential libssl-dev libreadline5 libreadline5-dev zlib1g zlib1g-dev sqlite3 libsqlite3-dev &#8216;unzip&#8217; sources into a directory and &#8216;cd&#8217; into that directory ./configure make make test (to make sure everything &#8230; <a href="http://www.dashaun.com/2010/12/24/ubuntu-10-10-rails-environement/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is what I did that worked:</p>
<ul>
<li>Downloaded sources from <a href="ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz">here</a>.</li>
<li><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">sudo aptitude install build-essential libssl-dev libreadline5 libreadline5-dev zlib1g zlib1g-dev sqlite3 libsqlite3-dev</span></li>
<li><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">&#8216;unzip&#8217; sources into a directory and &#8216;cd&#8217; into that directory</span></li>
<li><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">./configure</span></li>
<li><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">make</span></li>
<li><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">make test  (to make sure everything is working)</span></li>
<li><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">sudo make install</span></li>
</ul>
<p>Because Ruby 1.9.2 has Gem 1.3.7 included, I can now install rails</p>
<ul>
<li>sudo gem install rails</li>
<li>rails new path/to/source</li>
<li>cd path/to/source</li>
<li>bundle install (to create sqlite3 gem)</li>
<li>rails server</li>
</ul>
<p>Bling!</p>
<p>http://localhost:3000</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2010/12/24/ubuntu-10-10-rails-environement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iogear kvm keyboard flashing</title>
		<link>http://www.dashaun.com/2010/11/24/iogear-kvm-keyboard-flashing/</link>
		<comments>http://www.dashaun.com/2010/11/24/iogear-kvm-keyboard-flashing/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 21:26:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dashaun.com/?p=144</guid>
		<description><![CDATA[I thought I bought a defective unit at first. The keyboard was flashing my caps lock and scroll lock lights. While this was happening my keyboard was useless. I read the manual and saw that it was a notification of &#8230; <a href="http://www.dashaun.com/2010/11/24/iogear-kvm-keyboard-flashing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I thought I bought a defective unit at first. The keyboard was flashing my caps lock and scroll lock lights.  While this was happening my keyboard was useless.</p>
<p>I read the manual and saw that it was a notification of hot key mode.  After hitting the ESC key everything was normal.</p>
<p>After working through this issue I couldn&#8217;t be happier. The 4 port KVM switch fits perfectly under my mac mini.  The fact that it handles audio makes it that much better.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dashaun.com/2010/11/24/iogear-kvm-keyboard-flashing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

