<?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>StormeRider </title>
	<atom:link href="http://stormerider.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://stormerider.com</link>
	<description>Another *nix coder/sysadmin hacking in the night...</description>
	<lastBuildDate>Mon, 11 Feb 2013 23:53:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Creating and managing secure passwords</title>
		<link>http://stormerider.com/blog/2013/02/11/creating-and-managing-secure-passwords/</link>
		<comments>http://stormerider.com/blog/2013/02/11/creating-and-managing-secure-passwords/#comments</comments>
		<pubDate>Mon, 11 Feb 2013 23:53:12 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[Technical Advice]]></category>

		<guid isPermaLink="false">http://stormerider.com/?p=189</guid>
		<description><![CDATA[If you&#8217;re like me, you probably have dozens of accounts on various different websites. Hopefully that also means you have dozens of passwords, right? Using one password is one of the quickest ways to have your entire digital life go up in flames, because most sites will track your account … <a href="http://stormerider.com/blog/2013/02/11/creating-and-managing-secure-passwords/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re like me, you probably have dozens of accounts on various different websites. Hopefully that also means you have dozens of passwords, right? Using one password is one of the quickest ways to have your entire digital life go up in flames, because most sites will track your account by your email address (which is often used as your username, or can be used to find your username), and this can quickly become a series of cascading failures. Attackers will leapfrog from one system to another, and if they get access to your email account itself, then it&#8217;s usually game over with how most password reset forms work. For a very scary account of how bad things like this can be, check out <a href="http://www.emptyage.com/post/28679875595/yes-i-was-hacked-hard">this article here</a> covering what happened to a <a href="http://www.wired.com/">Wired</a> reporter.</p>
<p>But who can keep track of multiple passwords in their head in a truly secure fashion? I know I can&#8217;t. For a long time, I used a three-tier system: one quick and dirty password for sites I didn&#8217;t care about, another for sites that I used a lot, and then a few specific passwords for individual sites (like my email) that I wanted to keep ultra-secure. But as time wore on, I realized that some of the sites that I considered disposable became anything but, and human nature (read: laziness <img src='http://stormerider.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) meant that I wasn&#8217;t &#8220;reclassifying&#8221; them with a newer tier of password security.</p>
<p>When I started working at <a href="http://livemocha.com/">Livemocha</a>, I was introduced to a wonderful tool called <a href="http://keepass.info/">KeePass</a>. KeePass is a simple piece of software that allows you to create an encrypted database to store your passwords in. I&#8217;d seen similar things before for PDAs, back in the PalmOS days, but KeePass is open source software (in this case, meaning free as in beer) and is supported on virtually every major operating system out there: iOS, Android, OS X, Linux, Blackberry, Windows (including Windows Phone), and a generic version for devices running J2ME. They also offer a version for Windows that is portable, so you can toss the software onto a USB flash drive along with your database and access it wherever you go.</p>
<p>The main downside to KeePass is that they assume that you know how to use it. There&#8217;s no introductory wizard that I&#8217;ve found, no walk through to get you familiar with the application, they just dump you in and expect you to figure out your way around. While it&#8217;s not exactly an un-intuitive UI that they use, it&#8217;s not exactly simple, and it can be overwhelming to someone trying to use it for the first time. Really, it&#8217;s much simpler than it looks, and I will hopefully be able to show you how to use its various features without fear of their learning curve.</p>
<p>KeePass is what I use to manage my passwords at this point. I&#8217;ve since seen other services aimed at doing the same kind of thing, such as <a href="https://lastpass.com/">LastPass</a>, but one advantage that KeePass has over online services is that it&#8217;s not online unless you put it online, which means it can&#8217;t be attacked if people can&#8217;t reach your database file. If you carry it around on a USB drive (insert obligatory disclaimer about flash drive failure rates and the need to back up your data), then it&#8217;s very hard for someone to attack it when it&#8217;s unplugged from a computer. They would have to have access to a computer you plugged it into and copy it while it was inserted, and then they&#8217;d still have to deal with the formidable encryption that KeePass offers. Given that LastPass had a security breach a while back, that was a selling point for me.</p>
<p>I do compromise a bit myself; I use multiple computers, multiple operating systems, and multiple devices. I can&#8217;t plug in a USB drive to my phone, but I can run <a href="https://play.google.com/store/apps/details?id=com.android.keepass&amp;hl=en">KeePassDroid</a> on it. My solution was to store my KeePass database files in <a href="http://db.tt/jfOB02d">Dropbox</a>. Dropbox (which I plan on covering in more detail in a future blog post) allows me to synchronize my files across all of my devices and computers, which means that I can access my KeePass database on any of them as well. I&#8217;ll be more than happy to answer any questions about how to handle that kind of setup in the comments if you want.</p>
<p>So, that said, how does one use KeePass? For illustration purposes, I will be using the <a href="http://www.keepassx.org/">KeePassX</a> client for OS X in my screenshots. I also use the 1.x KeePass protocol, as it is supported better across different platforms than the newer 2.x protocol.</p>
<p>First, you need to create a database. When you do so, it asks you for a &#8220;master password&#8221;. Choose something secure!! If someone finds this key, they&#8217;ve got access to your entire vault. That is, needless to say, a Very Bad Thing. You can also specify a key file, which will need to be used in addition to the password. (KeePass does not allow you to use a file instead of a password, only in addition to, in case you need an extra layer of security. If you are storing the file on a network share of some kind, you could save the key file on a flash drive and/or your mobile devices to increase the difficulty someone would have in order to crack the database.)</p>
<p><a href="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.17.40-PM.png" rel="lightbox"><img class="size-medium wp-image-3400 aligncenter" alt="Screen Shot 2013-01-30 at 5.17.40 PM" src="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.17.40-PM-300x184.png" width="300" height="184" /></a></p>
<p>After you repeat the master password and finish that up, it will create a basic database like so:</p>
<p><a href="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.27.47-PM.png" rel="lightbox"><img class="aligncenter size-medium wp-image-3401" alt="Screen Shot 2013-01-30 at 5.27.47 PM" src="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.27.47-PM-300x227.png" width="300" height="227" /></a></p>
<p>The first thing that you want to do is to create a set of folders (KeePass calls them groups) to organize your passwords so that you can find them quickly. But also notice that there is a search box up top as well; that&#8217;s come in very handy for me in the past, especially for the database I use at work with credentials of all the accounts we have with various vendors and such. Here&#8217;s what my personal database looks like:</p>
<p><a href="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.31.47-PM.png" rel="lightbox"><img class="aligncenter size-medium wp-image-3402" alt="Screen Shot 2013-01-30 at 5.31.47 PM" src="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.31.47-PM-300x227.png" width="300" height="227" /></a></p>
<p>Obviously your folder structure will vary. This is my personal DB, I have one that I use at work, and I also have another household DB that my wife and housemate also have access to (via Dropbox sharing). You can move entries between folders readily, so don&#8217;t sweat the structure too much, just do whatever makes sense to you, and reorganize it later if you want/need to.</p>
<p>Once you&#8217;ve got that sorted out, you&#8217;ll want to create a new entry to add in an account to your database. You can right click on the right entry pane, or use the keyboard shortcut (Command-Y under OS X, Control-Y under Windows). You&#8217;ll get a window with a bunch of fields to fill out. Here&#8217;s an example of one of my entries:</p>
<p><a href="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.41.30-PM.png" rel="lightbox"><img class="aligncenter size-medium wp-image-3404" alt="Screen Shot 2013-01-30 at 5.41.30 PM" src="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.41.30-PM-300x297.png" width="300" height="297" /></a></p>
<p>This is my account for the digital section of Seattle Public Library (SPL). I&#8217;ve slightly obfuscated the username, since the account uses a 4 digit PIN, and I don&#8217;t really want someone trying combinations until they get in. <img src='http://stormerider.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  But you get the basic idea. The title explains what the entry is for; username/password are obvious. Not all passwords you want to store have to be for websites; I have used it to store things like server room door combinations and the like in the past. However, if it is for a website, it just makes sense to put in the URL so that you can easily open it with a click when you&#8217;re looking up the password. The comments field is very handy to store additional information, such as what answers you put in for security questions, or serial numbers for devices, whatever you fancy. I haven&#8217;t played around with the expiration feature personally, but I assume it warns you if a password is nearing expiration when you open the database.</p>
<p>You can also attach files to an entry. This is very handy if you want to store non-standard information securely. Once the file is attached to the entry, it is encrypted along with the rest of the database. I&#8217;ve used this in the past to attach text files with information about gift debit cards, where I needed to provide more information than KeePass natively allows for the fields, especially if the entry was the login information for the site managing the cards.</p>
<p>Note the quality bar. This is a very handy feature of KeePass, in that it gives you a quick and easy visual indicator of how secure your password is. Obviously, a 4 digit PIN is, well, less than secure. To choose a secure password, I highly recommend using one of two methods, depending on the site in question.</p>
<p>Option one: the password generator located at <a href="http://passphra.se/">http://passphra.se/</a>. This is a tool based on the principles explained in <a href="http://xkcd.com/936/">this comic</a>. The basic gist is that the longer a password is, the more secure it is, so it&#8217;s more secure to have a password based on 4 distinct words than it is to have a shorter password mixing cases, numbers, and special characters. The comic covers the math involved for those who are curious. The upside is that not only is it easier to type and more secure, but it&#8217;s also easier to remember (particularly handy for places when you can&#8217;t paste the password in, one of my personal pet peeves&#8230;).</p>
<p>Option two: the password generator included in KeePass itself. Just click on the &#8220;Gen&#8221; button and adjust the properties of the password you want to generate to the policies of the site in question. (For example, Blizzard Entertainment&#8217;s Battle.Net system has a maximum character limit of 15, which is somewhat surprising. Others will allow or disallow special characters, etc.) There are a lot of options to tune in this generator, but I can guarantee you&#8217;re not likely to remember this kind of password&#8211; but that&#8217;s what you have KeePass for, isn&#8217;t it? <img src='http://stormerider.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  To see the password generated, you need to click on the eyeball icon to reveal it&#8211; it&#8217;s a handy security feature for preventing people from looking over your shoulder.</p>
<p><a href="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.51.30-PM.png" rel="lightbox"><img class="aligncenter size-medium wp-image-3405" alt="Screen Shot 2013-01-30 at 5.51.30 PM" src="http://romancedivas.com/wp-content/uploads/2013/01/Screen-Shot-2013-01-30-at-5.51.30-PM-300x297.png" width="300" height="297" /></a>That&#8217;s a basic intro to password security principles in general and KeePass in specific. I&#8217;m sure that you all will have questions about aspects that I didn&#8217;t cover, and I&#8217;ll be more than happy to address them in the comments. Fire away!</p>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2013/02/11/creating-and-managing-secure-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building an Ubuntu AMI with Elastic Beanstalk Support</title>
		<link>http://stormerider.com/blog/2012/08/16/building-an-ubuntu-ami-with-elastic-beanstalk-support/</link>
		<comments>http://stormerider.com/blog/2012/08/16/building-an-ubuntu-ami-with-elastic-beanstalk-support/#comments</comments>
		<pubDate>Thu, 16 Aug 2012 04:32:56 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazon linux]]></category>
		<category><![CDATA[ami]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[elastic beanstalk]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[hostmanager]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://stormerider.com/?p=142</guid>
		<description><![CDATA[First off, this would not have been possible without help from Defusal on #eventmachine in Freenode IRC. When I hit the wall and beat my head against it for multiple hours, they were the one to give me the key that allowed me to take the final step forward into completing … <a href="http://stormerider.com/blog/2012/08/16/building-an-ubuntu-ami-with-elastic-beanstalk-support/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p>First off, this would not have been possible without help from Defusal on #eventmachine in Freenode IRC. When I hit the wall and beat my head against it for multiple hours, they were the one to give me the key that allowed me to take the final step forward into completing this conversion.</p>
<p>Secondly, I&#8217;ll disclose some biases and assumptions straight up. I&#8217;ve done this with Ubuntu 12.04 on a 64-bit platform. I chose this because I wanted to standardize all of my EC2 nodes on Ubuntu as a distribution, and Amazon Linux is Redhat based. Redhat is a great company that does a lot of great work, but I&#8217;ve worked with CentOS 5 for some time now and kept running into problems because things were so out of date to ensure stability. I realize that a lot has gotten updated with RHEL 6, but that doesn&#8217;t mean that they will keep things up to date moving forward; that&#8217;s not the goal of RHEL, that&#8217;s more the aim of a distribution like Fedora. I can respect that dedication to stability, but working in a small startup, I want a lot of flexibility and maneuverability from a technical perspective; I don&#8217;t want a distribution to limit me to a list of applications that has essentially ossified. However, I&#8217;m assuming you&#8217;re not here because you like Redhat as a distro, or you wouldn&#8217;t be checking this out. <img src='http://stormerider.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I also assume that you&#8217;ve got your instance set up with Apache2 and ruby-1.9 (in my case, 1.9.3).</p>
<p>First off, boot up an existing ElasticBeanstalk AMI. I did this from an instance that was actually running as part of a EB project. (Yes, I know that everyone says &#8220;you can&#8217;t do it from a deployed project&#8221;. Well, I did.) Tar up the contents of <strong>/opt/aws</strong>, <strong>/opt/elasticbeanstalk</strong>, <strong>/etc/httpd/sites</strong>, and <strong>/opt/tomcat7</strong> (or <strong>/opt/tomcat6</strong> if that&#8217;s what you want to run, but I&#8217;ll refer to everything following for Tomcat 7). I also snagged <strong>/etc/init.d/functions</strong>, <strong>/etc/init.d/tomcat7</strong>, and <strong>/etc/init.d/hostmanager</strong>. Copy this file over to your new build host.</p>
<p>Create users for tomcat7 and elasticbeanstalk with the home directories pointed to their respective directories in /opt. Add tomcat7 to the elasticbeanstalk group (this is important). Extract the files into /opt on your new build host. (Do it in this order to preserve file permissions, or chown them appropriately.) Remove <strong>/opt/tomcat7/webapps/ROOT.war</strong>, <strong>/opt/tomcat7/webapps/ROOT/</strong>, and <strong>/opt/elasticbeanstalk/srv/hostmanager/db/hostmanager.db</strong>. These steps are important to be able to deploy your new application code to the instance, and the hostmanager.db file seems to be why most people have problems creating an image from an active EB node.</p>
<p>Copy the init scripts to their correct locations. Note that you could skip the functions file if you want to rewrite the hostmanager init script; I didn&#8217;t feel like bothering with it, personally. You&#8217;ll need to modify the hostmanager init script slightly; I put the <strong>functions </strong>file in /opt/aws and updated the hostmanager script to look there for it. Don&#8217;t forget to enable them with:</p>
<p style="padding-left: 30px;"><code>update-rc.d tomcat7 defaults<br />
update-rc.d hostmanager defaults</code></p>
<p>Hostmanager expects things to be a certain way, and the RedHat way is not the Ubuntu way. The Apache configs obviously go into /etc/apache2/sites-available and then symlinked into /etc/apache2/sites-enabled (either manually or using <strong>a2ensite</strong>). However, you will need to snap a few symlinks to get hostmanager to recognize the Apache config:</p>
<p style="padding-left: 30px;"><code>cd /etc ; ln -s apache2 httpd<br />
cd /var/run ; ln -s apache2 httpd<br />
cd apache2 ; ln -s ../apache2.pid httpd.pid</code></p>
<p>This is the one part I think I might be missing a detail or two on; I was pretty tired when I worked on this so I&#8217;m not 100% sure if there were other symlinks to be snapped or just those. It should be fairly obvious in the hostmanager logs if one is missing (look in <strong>/opt/elasticbeanstalk/var/log</strong>). If you really want, you might be able to avoid these symlinks by customizing the hostmanager config files, but I didn&#8217;t trust that Amazon doesn&#8217;t have an updating mechanism in place. To a large extent, I have tried to install this in a compatible way that if Amazon pushes an update of some sort that it likely won&#8217;t break on your custom image. Not knowing exactly what Amazon can do in regards to that, however, I can&#8217;t guarantee anything.</p>
<p>So, one thing about hostmanager and EB. Amazon has embedded an entire Ruby installation into their elasticbeanstalk directory. This means that you don&#8217;t have to worry about it conflicting with anything else and you don&#8217;t need to install a long list of gem files on your system to get things to work. However, I did run into the fact that Amazon Linux is using a different version of the OpenSSL and libcrypto libraries than Ubuntu 12.04 is (if you&#8217;re using an older Ubuntu version, this may or may not apply to you. YMMV). To fix that, I did something along the lines of:</p>
<p style="padding-left: 30px;"><code>mv /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/openssl.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/openssl.so-old<br />
mv /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/digest/rmd160.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/digest/rmd160.so-old<br />
mv /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so-old<br />
mv /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/digest/sha2.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/digest/sha2.so-old<br />
mv /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/digest/md5.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/digest/md5.so-old<br />
cp /usr/lib/ruby/1.9.1/x86_64-linux/openssl.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/<br />
cp /usr/lib/ruby/1.9.1/x86_64-linux/digest/rmd160.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/<br />
cp /usr/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/<br />
cp /usr/lib/ruby/1.9.1/x86_64-linux/digest/sha2.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/<br />
cp /usr/lib/ruby/1.9.1/x86_64-linux/digest/md5.so /opt/elasticbeanstalk/lib/ruby/1.9.1/x86_64-linux/<br />
</code></p>
<p>I also ran into a HUGE issue that stumped me for hours regarding EventMachine and rb-inotify. I&#8217;m not sure why the code &amp; gem versions work perfectly fine on the Amazon setup and not on the Ubuntu host I was working on, but it simply would not work for me. I kept getting errors with hostmanager like so:</p>
<p style="padding-left: 30px;"><code>[2012-08-09 16:55:15 +0000] Host Manager startup complete<br />
[2012-08-09 16:55:15 +0000] Stopping DaemonManager<br />
&gt;&gt; Exiting!<br />
/opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:795:in `attach_io': undefined method `attach_fd' for EventMachine:Module (NoMethodError)<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:769:in `watch'<br />
        from /opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/daemon/logdirectorymonitor.rb:101:in `run'<br />
        from /opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/daemon.rb:36:in `block in start'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:996:in `call'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:996:in `block in run_deferred_callbacks'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:996:in `each'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:996:in `run_deferred_callbacks'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1449:in `event_callback'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:898:in `eventable_read'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:369:in `block in crank_selectables'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:369:in `each'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:369:in `crank_selectables'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:324:in `block in run'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:318:in `loop'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:318:in `run'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb:64:in `run_machine'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/thin-1.3.1/lib/thin/backends/base.rb:61:in `start'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/thin-1.3.1/lib/thin/server.rb:159:in `start'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/thin-1.3.1/lib/thin/controllers/controller.rb:86:in `start'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:185:in `run_command'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'<br />
        from /opt/elasticbeanstalk/lib/ruby/gems/1.9.1/gems/thin-1.3.1/bin/thin:6:in `'<br />
        from /opt/elasticbeanstalk/bin/thin:19:in `load'<br />
        from /opt/elasticbeanstalk/bin/thin:19:in `'</code></p>
<p>Ultimately when I hopped into #eventmachine to ask about it, Defusal suggested upgrading eventmachine from the last stable version (which is very, very old) to the newest beta.</p>
<p style="padding-left: 30px;"><code>root@host# <strong>/opt/elasticbeanstalk/bin/gem uninstall eventmachine</strong><br />
You have requested to uninstall the gem:<br />
eventmachine-0.12.10<br />
thin-1.3.1 depends on [eventmachine (&gt;= 0.12.6)]<br />
If you remove this gems, one or more dependencies will not be met.<br />
Continue with Uninstall? [Yn] <strong>Y</strong><br />
Successfully uninstalled eventmachine-1.0.0.rc.4<br />
root@host# <strong>/opt/elasticbeanstalk/bin/gem install eventmachine --pre</strong><br />
Building native extensions. This could take a while...<br />
Successfully installed eventmachine-1.0.0.rc.4<br />
1 gem installed<br />
Installing ri documentation for eventmachine-1.0.0.rc.4...<br />
Installing RDoc documentation for eventmachine-1.0.0.rc.4...<br />
root@host#</code></p>
<p>I did that, and hostmanager started up perfectly!</p>
<p>I personally updated the rest of the gems as well, when I was troubleshooting the error with the ssl/crypto libraries, so I don&#8217;t know if there are other &#8220;gotchas&#8221; left if you don&#8217;t do that. Your mileage may vary.</p>
<p>At that point, I built a new AMI off of that instance, and once it was done, I set it as a custom AMI in Elastic Beanstalk. It chewed on it a bit, swapping instances around and such, and loaded up fine with the sample AWS Tomcat WAR. Hurray! (Edit: I should also clarify that we&#8217;ve been using this image since with no problems on our real webapps, so it&#8217;s not just the sample WAR that works.)</p>
<p>I hope this helps some other people, because when I was doing my research on the subject, I couldn&#8217;t find anything from anyone else out there about this (outside of being stumped a few steps before what blocked me). I want to thank my work for allowing me to detail the process that I developed while working for them and contribute that knowledge back to the community which has helped us in so many ways.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2012/08/16/building-an-ubuntu-ami-with-elastic-beanstalk-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Long hiatus</title>
		<link>http://stormerider.com/blog/2012/07/29/long-hiatus/</link>
		<comments>http://stormerider.com/blog/2012/07/29/long-hiatus/#comments</comments>
		<pubDate>Sun, 29 Jul 2012 19:46:12 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://stormerider.com/?p=127</guid>
		<description><![CDATA[I know I haven&#8217;t posted here in a long while, but my health issues have kept me busy focusing on getting the day job done. I&#8217;ve been learning a lot of new technologies and playing around a lot with Amazon&#8217;s cloud offerings. My work now uses WordPress MU on AWS … <a href="http://stormerider.com/blog/2012/07/29/long-hiatus/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p>I know I haven&#8217;t posted here in a long while, but my health issues have kept me busy focusing on getting the day job done. I&#8217;ve been learning a lot of new technologies and playing around a lot with Amazon&#8217;s cloud offerings. My work now uses WordPress MU on AWS to host some sites, including our homepage, which has been a challenge, getting the scaling right for that technology and finding how all the plugins work with WPMU.</p>
<p>It reminded me that I haven&#8217;t been good about keeping my own plugins up to date. I&#8217;m going to go through and see what is still relevant; I have a feeling that most of the Widgets I made are no longer needed as WordPress has evolved and included a lot of the alterations I was making into the basic options. As I find this deprecated plugins, I&#8217;ll take down the associated pages for them (although I&#8217;ll leave the blog posts up for posterity). For plugins that are still functional (such as the WIP Manager), I think I&#8217;m going to spend a little time (not too much, but enough) making sure they&#8217;re up to date with WP 3.4 and do things the new way. The sidebar offers a lot more room to organize things so I&#8217;ll likely create a tab of my own.</p>
<p>You may have also noticed the site URL change. I&#8217;ve gone by &#8220;stormerider&#8221; as my online handle for many, many years, so it was only appropriate that I actually pick up the domain name. I&#8217;ve used it especially in the coding community, so I figured I would put my tech blog here. For the longest time I went by the pen name of &#8220;Alan Morgan&#8221; as well, but that is changing. I&#8217;m in the process (once I collect the money to do so, along with my wife) of changing my name to &#8220;Morgan Blackthorne&#8221;.</p>
<p>I have a set of technical blog posts that I intend to publish over at Romance Divas (which I am a technical administrator for). I intend on cross-posting them here, although some of them may be a bit beginner-ish for this blog. I also think that I&#8217;m going to try to take some of the lessons that I&#8217;ve learned while working at the day job and post them up here, if my work will allow me to, so that others can learn from what I&#8217;ve done and blaze their own trail in the clouds.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2012/07/29/long-hiatus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StormChat Web 0.2.1 Release</title>
		<link>http://stormerider.com/blog/2011/06/02/stormchat-web-0-2-1-release/</link>
		<comments>http://stormerider.com/blog/2011/06/02/stormchat-web-0-2-1-release/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 02:08:59 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[StormChat]]></category>
		<category><![CDATA[stormchat]]></category>

		<guid isPermaLink="false">http://tech.windsofstorm.net/?p=93</guid>
		<description><![CDATA[StormChat Web 0.2.1, released on 6/2/2011 Changes include: Many fixes in the SMF FALs. Fixed up access to the admin console in the various FALs, in order to work on expanding the admin console (#3). Abstracted the showModeratorGroups function into the various FALs instead of trying to code support for … <a href="http://stormerider.com/blog/2011/06/02/stormchat-web-0-2-1-release/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>StormChat Web 0.2.1, released on 6/2/2011</strong></p>
<p>Changes include:</p>
<ul>
<li>Many fixes in the SMF FALs.</li>
<li>Fixed up access to the admin console in the various FALs, in order to work on expanding the admin console (<a href=http://code.google.com/p/stormchat/issues/detail?id=3>#3</a>).</li>
<li>Abstracted the showModeratorGroups function into the various FALs instead of trying to code support for multiple FALs into the room library.</li>
<li>Add the ability to set debug level in the database, which will eventually be part of the admin console.</li>
<li>Log backtraces with each log message, for fine-grained detail of what&#8217;s going on.</li>
<li>Add filtering to the logging code, so you can tag log messages with a debug level (long overdue).</li>
<li>Enable/disable plugins via the admin console (<a href=http://code.google.com/p/stormchat/issues/detail?id=3>#3</a>).</li>
<li>Adjust timeout values via the admin console (<a href=http://code.google.com/p/stormchat/issues/detail?id=3>#3</a>).</li>
<li>Adjust general settings via the admin console (<a href=http://code.google.com/p/stormchat/issues/detail?id=3>#3</a>).</li>
<li>Modify/remove front page announcement value via the admin console (<a href=http://code.google.com/p/stormchat/issues/detail?id=3>#3</a>).</li>
<li>Adjust cron settings (which will generate crontab syntax for the user to use) via the admin console (<a href=http://code.google.com/p/stormchat/issues/detail?id=3>#3</a>).</li>
<li>Add link in the submit panel to the Admin Console if the user is a moderator.</li>
<li>Add idle/limbo/warning code to the script-based session handler.</li>
<li>Fixed (hopefully) the issue with ghosting sessions (<a href=http://code.google.com/p/stormchat/issues/detail?id=15>#15</a>).</li>
<li>Disable timing out of moderators. That was annoying.</li>
<li>Add a social network filter plugin for twitter:username and fb:username expansion. More to come, perhaps.</li>
<li>Add a StormChat Bug filter plugin to expand bug:id to be a link to the issue tracker.</li>
<li>Implement chat font face and size options directly (<a href=http://code.google.com/p/stormchat/issues/detail?id=26>#26</a>).</li>
<li>Implement the ability to control the frame layout values. This allows people to do things like hide the avatar pane when they are using chat in the Firefox sidebar (<a href=http://code.google.com/p/stormchat/issues/detail?id=24>#24</a>).</li>
</ul>
<p>You can check out the code via <a href="http://code.google.com/p/stormchat/source/checkout">Subversion</a>, or download one of the following files:</p>
<ul>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-0.2.1.tar.gz&amp;can=2&amp;q=">stormchat-0.2.1.tar.gz</a></li>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-0.2.1.tar.bz2&amp;can=2&amp;q=">stormchat-0.2.1.tar.bz2</a></li>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-0.2.1.zip&amp;can=2&amp;q=">stormchat-0.2.1.zip</a></li>
</ul>
<p><strong>NOTE:</strong> Please note that when upgrading from 0.2.0 to 0.2.1, you must run <strong>update.php</strong> (go to http://yourserver.com/yourchat/update.php in your browser) to update your database schema to work properly with the code changes. Annoying things will happen if you do not!</p>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2011/06/02/stormchat-web-0-2-1-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StormChat Web 0.2.0 Release</title>
		<link>http://stormerider.com/blog/2011/05/30/stormchat-web-0-2-0-release/</link>
		<comments>http://stormerider.com/blog/2011/05/30/stormchat-web-0-2-0-release/#comments</comments>
		<pubDate>Mon, 30 May 2011 08:01:12 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[StormChat]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[stormchat]]></category>

		<guid isPermaLink="false">http://tech.windsofstorm.net/?p=90</guid>
		<description><![CDATA[StormChat Web 0.2.0, released on 5/30/2011 Changes include: Database migration updater that handles schema updates transparently. Removal of the need to run the server to handle session timeouts and event timers with the addition of two standalone scripts to be run via cron (#5). Initial support for phpBB 3.x added … <a href="http://stormerider.com/blog/2011/05/30/stormchat-web-0-2-0-release/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>StormChat Web 0.2.0, released on 5/30/2011</strong></p>
<p>Changes include:</p>
<ul>
<li>Database migration updater that handles schema updates transparently.</li>
<li>Removal of the need to run the server to handle session timeouts and event timers with the addition of two standalone scripts to be run via cron (<a href=http://code.google.com/p/stormchat/issues/detail?id=5>#5</a>).</li>
<li>Initial support for phpBB 3.x added (phpbb3 FAL &#8212; <a href=http://code.google.com/p/stormchat/issues/detail?id=21>#21</a>).</li>
<li>Fixed several FALs to support updating the user_lastvisit_chat column in the prefs table when a user logins. It had been missing from several of the FALs (and incorrect in the phpBB FAL).</li>
</ul>
<p>You can check out the code via <a href="http://code.google.com/p/stormchat/source/checkout">Subversion</a>, or download one of the following files:</p>
<ul>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-web-0.2.0.tar.gz&amp;can=2&amp;q=">stormchat-web-0.2.0.tar.gz</a></li>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-web-0.2.0.tar.bz2&amp;can=2&amp;q=">stormchat-web-0.2.0.tar.bz2</a></li>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-web-0.2.0.zip&amp;can=2&amp;q=">stormchat-web-0.2.0.zip</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2011/05/30/stormchat-web-0-2-0-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lustre tip</title>
		<link>http://stormerider.com/blog/2011/05/18/lustre-tip/</link>
		<comments>http://stormerider.com/blog/2011/05/18/lustre-tip/#comments</comments>
		<pubDate>Thu, 19 May 2011 03:07:07 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lustre]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://tech.windsofstorm.net/?p=87</guid>
		<description><![CDATA[Since I had a hard time finding this&#8230; If you&#8217;re setting up Lustre on a system with multiple interfaces, it seems to default to picking eth0. If you&#8217;re looking to route traffic over another interface instead (such as an internal network, a VPN, etc.) you&#8217;ll need to make a tweak … <a href="http://stormerider.com/blog/2011/05/18/lustre-tip/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p>Since I had a hard time finding this&#8230; If you&#8217;re setting up Lustre on a system with multiple interfaces, it seems to default to picking eth0. If you&#8217;re looking to route traffic over another interface instead (such as an internal network, a VPN, etc.) you&#8217;ll need to make a tweak on your MGS. In <strong>/etc/modprobe.conf</strong> (or equivalent file, depending on your distro), add:</p>
<p><code>options lnet networks=tcp(eth1)</code></p>
<p>Obviously, substitute eth1 for whatever your applicable interface is. Obviously, you&#8217;ll need to reboot for this to take effect. (There may be a way to change it without a reboot using the <strong>lctl</strong> tool, but I didn&#8217;t find one.)</p>
<p>Failure to make this change will result in OST mounts failing like so:</p>
<p><code>mount.lustre: mount /dev/lustre/ost1 at /opt/lustre/ost1 failed: Input/output error<br />
Is the MGS running?</code></p>
<p>This is because, having selected eth0 as its only network ID, it refuses connections from other hosts (even though the actual daemon binds to 0.0.0.0&#8230; a little odd, but, whatever). The appropriate snipped from <strong>dmesg</strong>:</p>
<p><code>LustreError: 120-3: Refusing connection from 192.168.0.100 for 192.168.0.100@tcp: No matching NI<br />
LustreError: 4695:0:(socklnd_cb.c:1714:ksocknal_recv_hello()) Error -104 reading HELLO from 192.168.0.100<br />
LustreError: 11b-b: Connection to 192.168.0.100@tcp at host 192.168.0.100 on port 988 was reset: is it running a compatible version of Lustre and is 192.168.0.100@tcp one of its NIDs?</code></p>
<p>Hopefully this will help solve someone else&#8217;s headaches <img src='http://stormerider.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2011/05/18/lustre-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lustre Quick Start Guide</title>
		<link>http://stormerider.com/blog/2011/05/18/lustre-quick-start-guide/</link>
		<comments>http://stormerider.com/blog/2011/05/18/lustre-quick-start-guide/#comments</comments>
		<pubDate>Thu, 19 May 2011 01:25:47 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[file systems]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lustre]]></category>

		<guid isPermaLink="false">http://tech.windsofstorm.net/?p=83</guid>
		<description><![CDATA[So I&#8217;ve been looking into the Lustre file system for use at my work, and ran across something really annoying. They put together a Quick Start Guide, but it seems to have fallen through the cracks over at Sun. Probably due to the Sun/Oracle merger. If you go to this … <a href="http://stormerider.com/blog/2011/05/18/lustre-quick-start-guide/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p>So I&#8217;ve been looking into the Lustre file system for use at my work, and ran across something really annoying. They put together a Quick Start Guide, but it seems to have fallen through the cracks over at Sun. Probably due to the Sun/Oracle merger. If you go to this link:</p>
<p><a href="https://www.sun.com/offers/details/820-7390.xml">https://www.sun.com/offers/details/820-7390.xml</a></p>
<p>You&#8217;ll get an error that you&#8217;re not authorized to log in (huh?). If you go to this link:</p>
<p><a href="http://wikis.sun.com/display/BluePrints/Lustre+File+System+-+Demo+Quick+Start+Guide">http://wikis.sun.com/display/BluePrints/Lustre+File+System+-+Demo+Quick+Start+Guide</a></p>
<p>You&#8217;ll see it listed as being unavailable.</p>
<p>I did find a copy of it online, so I&#8217;m reposting it as it&#8217;s valuable information.</p>
<p><a href='http://tech.windsofstorm.net/wp-content/uploads/2011/05/820-7390.pdf'>Lustre File System: Demo Quick Start Guide</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2011/05/18/lustre-quick-start-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StormChat Web 0.1.5 Release</title>
		<link>http://stormerider.com/blog/2011/05/15/stormchat-web-0-1-5-release/</link>
		<comments>http://stormerider.com/blog/2011/05/15/stormchat-web-0-1-5-release/#comments</comments>
		<pubDate>Mon, 16 May 2011 02:30:30 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[StormChat]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[smf 2.x]]></category>
		<category><![CDATA[stormchat]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tech.windsofstorm.net/?p=79</guid>
		<description><![CDATA[StormChat Web 0.1.5, released on 5/15/2011 Changes include: Support for the new PHPPass password system used in newer versions of WordPress. Support for SMF 2.x added (smf2 FAL). Errors when logging in are now more prominent (#17). Fixed &#34;call_user_func_array() expects parameter 2 to be array, string given&#34; error when submitting … <a href="http://stormerider.com/blog/2011/05/15/stormchat-web-0-1-5-release/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p><b>StormChat Web 0.1.5, released on 5/15/2011</b>
<p>Changes include: </p>
<ul>
<li>Support for the new PHPPass password system used in newer versions of WordPress. </li>
<li>Support for SMF 2.x added (smf2 FAL). </li>
<li>Errors when logging in are now more prominent (<a href="http://code.google.com/p/stormchat/issues/detail?id=17">#17</a>). </li>
<li>Fixed &quot;call_user_func_array() expects parameter 2 to be array, string given&quot; error when submitting a message (<a href="http://code.google.com/p/stormchat/issues/detail?id=13">#13</a>). </li>
<li>Fixed issues with scrolling in Google Chrome and Safari (<a href="http://code.google.com/p/stormchat/issues/detail?id=14">#14</a>). </li>
<li>Fixed the pastebox not working (<a href="http://code.google.com/p/stormchat/issues/detail?id=16">#16</a>). </li>
<li>Fixed issues with avatars not displaying in SMF 1.x and 2.x (<a href="http://code.google.com/p/stormchat/issues/detail?id=9">#9</a>). </li>
</ul>
<p>You can check out the code via <a href="http://code.google.com/p/stormchat/source/checkout">Subversion</a>, or download one of the following files:</p>
<ul>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-web-0.1.5.tar.gz&#038;can=2&#038;q=">stormchat-web-0.1.5.tar.gz</a></li>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-web-0.1.5.tar.bz2&#038;can=2&#038;q=">stormchat-web-0.1.5.tar.bz2</a></li>
<li><a href="http://code.google.com/p/stormchat/downloads/detail?name=stormchat-web-0.1.5.zip&#038;can=2&#038;q=">stormchat-web-0.1.5.zip</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2011/05/15/stormchat-web-0-1-5-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>General Tech Update</title>
		<link>http://stormerider.com/blog/2011/05/15/general-tech-update/</link>
		<comments>http://stormerider.com/blog/2011/05/15/general-tech-update/#comments</comments>
		<pubDate>Sun, 15 May 2011 12:42:37 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[StormChat]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[backuppc]]></category>
		<category><![CDATA[deltacopy]]></category>
		<category><![CDATA[gabby]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[netflix]]></category>
		<category><![CDATA[plex]]></category>
		<category><![CDATA[rift]]></category>
		<category><![CDATA[roku]]></category>
		<category><![CDATA[stormchat]]></category>
		<category><![CDATA[tivo]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unbox]]></category>
		<category><![CDATA[wine]]></category>
		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://tech.windsofstorm.net/?p=74</guid>
		<description><![CDATA[I&#8217;ve been really bad about keeping this blog up to date, but I&#8217;m going to try to post a little bit more frequently. Originally I started it as just a place for me to post things that I was coding, but I&#8217;d like to expand that to various different tech-related … <a href="http://stormerider.com/blog/2011/05/15/general-tech-update/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been really bad about keeping this blog up to date, but I&#8217;m going to try to post a little bit more frequently. Originally I started it as just a place for me to post things that I was coding, but I&#8217;d like to expand that to various different tech-related things that I&#8217;m working on or working against.</p>
<p>One of the things that I&#8217;ve been playing with lately is the <a href="http://www.roku.com">Roku</a>. I picked up one of these (an XD model) on sale at Amazon for around $60, and it&#8217;s been great. See, a while back I looked at how much I was paying Comcast and TiVo and the headaches involved, and determined that it wasn&#8217;t worth keeping the cable subscription. With the advent of iTunes and <a href="http://amazon.com/unbox">Amazon Unbox</a>, I don&#8217;t see any need to pay for regular cable service when I can just buy the episodes I want instead. Especially with Netflix to fill in the gaps. The Roku works perfectly with Unbox and Netflix, which are the two primary ways I get content now (I occasionally buy something via iTunes, but in general I try to avoid them&#8211; their policy to not allow redownloading is something I don&#8217;t like. Video takes up a lot of space, and I&#8217;d much rather stream it than have to deal with storing it and backing it up myself. Word on the street is that Apple is looking to change that policy, but they need buy-in from the industry, so we&#8217;ll see what happens there.)</p>
<p>However, I do have some local content that I like to play on the TV, and I&#8217;ve been looking at the best ways to do that. Before I used to hook up my laptop and play files that way; it worked but now the HDMI port is used by the Roku and I don&#8217;t want to deal with plugging and unplugging equipment all the time. Enter two solutions: <a href="http://www.gabilan.com">Gabby</a> and <a href="http://plexapp.com/">Plex</a>. Both have you set up a local media server and add a channel on the Roku which streams content from the media server. Both Gabby and Plex do transcoding (I believe both use ffmpeg behind the scenes; I know Plex does) so that you can play more than the few media formats the Roku directly supports. This has been an interesting experience as neither is really stable yet. The Plex Media Server for Windows is pretty new, but seems pretty stable; Gabby&#8217;s media server has had more than a few glitches and crashes (and I can&#8217;t get it to reliably start at boot time due the way it&#8217;s implemented in .NET). The Gabby devs are also the devs behind the Gabby Roku channel, since that&#8217;s the prime focus for them, whereas the Plex channel is actually developed by someone outside of the core Plex dev team. So I&#8217;ve been using both, and liking both, but so far I&#8217;m leaning a little bit more towards the Plex camp. Especially since they just announced the availability of the Plex Media Server for Linux. I got it up and running under my dual-boot box (Win Vista / Ubuntu 11.04), but it&#8217;s not working properly with the Roku channel. Not sure if that&#8217;s a Linux server issue or a Roku channel issue, but I&#8217;m sure it&#8217;ll get sorted out in a little bit. That gives me one less reason to boot into Windows. <img src='http://stormerider.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Speaking of that, I&#8217;ve been spending a bit more under Linux in general of late. I find it&#8217;s a lot easier on the days that I&#8217;m working from home to have a full Linux environment at my fingertips than to run countless PuTTY sessions. Maybe it&#8217;s just in my head, but that&#8217;s the way it feels to me. I upgraded to Ubuntu Natty Narwhal a while back, which has the upside of Vim 7.3. The downside is that VPN connections seem to make my entire networking stack act weird. I <a href="https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/754909">opened a bug</a> on it during the beta, but it&#8217;s lingering in limbo at this point. I definitely notice a difference between that system and my laptop, which is a Win Vista / Ubuntu 10.10 dual-boot.</p>
<p>After seeing a presentation on it at <a href="http://linuxfestnorthwest.org/">LinuxFest NorthWest</a>, I finally buckled down and configured <a href="http://backuppc.sourceforge.net/info.html">BackupPC</a> on my NAS box (which runs Ubuntu 10.10). I just used the default Ubuntu packages for it, and spent some time configuring all my various machines to work with it. On the Linux side I just use rsync over ssh, and for the Windows boxes I use rsync via <a href="http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp">DeltaCopy</a>. (The two things I&#8217;ll mention about the latter: you need to specifically allow port 873, aka rsyncd, in Windows Firewall. You also need to enable pings in Win Vista/Win7, which can be done via the command &#8220;netsh firewall set icmpsetting 8 enable&#8221;. Otherwise, even if DeltaCopy is working and the firewall allows it through, BackupPC won&#8217;t connect to the host because it&#8217;ll think it&#8217;s offline.) I&#8217;m still fine-tuning things, but it&#8217;s backing up around 350GB or so of data for me across like 8-10 machines. I thought for a bit about how to handle my dual-booting computers, and decided to just give them different names and identities between the different OSes. So my main machine is storm under Win Vista and lightning under Ubuntu; my laptop is typhoon under Vista and whirlwind under Ubuntu. I&#8217;ll have to figure out something for my netbook once I get the partitions straightened out on that so I can dual-boot that between 7 and Ubuntu.</p>
<p>I&#8217;ve also been doing some coding lately, specifically on <a href="http://code.google.com/p/stormchat/">StormChat</a>. I&#8217;ve been working on it for years, but I&#8217;ve finally gotten to the point where I have someone else running it on their servers, instead of the only people running it being the people that I maintain it for. Granted, I did install it for <a href="http://forums.adastrafanfic.com/">Ad Astra</a>, but still&#8230; it&#8217;s the first install not sitting on my servers. I&#8217;m working through the bug list, trying to triage it a bit and get things rolling again. There&#8217;s a lot left to be done; right now I wouldn&#8217;t really recommend it for anyone that&#8217;s not veryÂ adventurousÂ or without direct access to me to troubleshoot the things about it that only I know how to fix. I need to work on getting rid of the need for the server, fix/revamp the installer, and fix/revamp the admin console. Those are the three big-ticket items on that project.</p>
<p>I know that my WordPress plugins are really out of date at this point. Some people have reported that some of them still work, which is great to hear. I hope to find the time to sit down in the future and revisit each of them and determine if they need updates or if they can be retired.</p>
<p>I&#8217;ve also been playing around with <a href="http://riftgame.com/">RIFT</a> lately; WoW just hasn&#8217;t been grabbing me lately. I tried getting it to run under Wine, but haven&#8217;t had much luck yet. If I do get it running, I&#8217;ll post how I did so.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2011/05/15/general-tech-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Morganâ€™s Progress Meters 0.5</title>
		<link>http://stormerider.com/blog/2008/08/15/morgan%e2%80%99s-progress-meters-05/</link>
		<comments>http://stormerider.com/blog/2008/08/15/morgan%e2%80%99s-progress-meters-05/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 22:47:10 +0000</pubDate>
		<dc:creator>Morgan Blackthorne</dc:creator>
				<category><![CDATA[Progress Meters]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tech.windsofstorm.net/?p=69</guid>
		<description><![CDATA[Releasing version 0.5&#8211; something I wanted to do, and didn&#8217;t get a chance to do earlier, was to add multiuser support. In the admin panel there are now three sub-pages: Manage &#62; Progress Meters, Options &#62; Progress Meters Stylist, and Options &#62; Progress Meters Options. The latter page adds the … <a href="http://stormerider.com/blog/2008/08/15/morgan%e2%80%99s-progress-meters-05/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[<p>Releasing version 0.5&#8211; something I wanted to do, and didn&#8217;t get a chance to do earlier, was to add multiuser support. In the admin panel there are now three sub-pages: Manage &gt; Progress Meters, Options &gt; Progress Meters Stylist, and Options &gt; Progress Meters Options.</p>
<p>The latter page adds the ability to pick what user roles have access to the Progress Meters. Note that you can only edit/delete/add/embed/see your own progress meters. (I&#8217;ll probably add code in the next version to allow admins to manage all meters if they want to, but for now this applies to them as well.) It also allows you to pick who can use the Stylist as well.</p>
<p>&nbsp;</p>
<p><a href="http://tech.windsofstorm.net/wp-content/uploads/2008/08/progress-meters-options-page.jpg" rel="lightbox"><img class="aligncenter size-thumbnail wp-image-70" title="progress-meters-options-page" src="http://tech.windsofstorm.net/wp-content/uploads/2008/08/progress-meters-options-page-150x150.jpg" alt="Progress Meters Options Page" width="150" height="150" /></a>&nbsp;</p>
<p><strong>Download here:</strong></p>
<ul>
<li><a href="http://tech.windsofstorm.net/wp-content/uploads/2008/08/mpm-0.5.zip">Morgan&#8217;s Progress Meters version 0.5</a> (Added multiuser support.)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://stormerider.com/blog/2008/08/15/morgan%e2%80%99s-progress-meters-05/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: stormerider.com @ 2013-05-20 21:04:15 by W3 Total Cache -->