<?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>SHOCM &#187; Geek Stuff</title>
	<atom:link href="http://www.shocm.com/category/geek-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shocm.com</link>
	<description>Open Source, Cloud, Development, Scotch, Baseball, and Family</description>
	<lastBuildDate>Thu, 01 Jul 2010 23:43:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>I need a web site</title>
		<link>http://www.shocm.com/2010/07/i-need-a-web-site/</link>
		<comments>http://www.shocm.com/2010/07/i-need-a-web-site/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 23:43:37 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.shocm.com/?p=645</guid>
		<description><![CDATA[All to common of a conversation.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F07%2Fi-need-a-web-site%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F07%2Fi-need-a-web-site%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>All to common of a conversation.</p>
<p><object width="480" height="390"><param name="movie" value="http://www.xtranormal.com/site_media/players/jwplayer.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="flashvars"value="height=390&#038;width=480&#038;file=http://newvideos.xtranormal.com/web_final_lo/9f56c044-83af-11df-a9c4-003048d6740d_1_web_final_lo_web_finallo-flv.flv&#038;image=http://newvideos.xtranormal.com/iphone_final/9f56c044-83af-11df-a9c4-003048d6740d_1_iphone_final_poster.jpg&#038;link=http://www.xtranormal.com/watch/6723127&#038;searchbar=false&#038;autostart=false"/><embed src="http://www.xtranormal.com/site_media/players/jwplayer.swf" width="480" height="390" allowscriptaccess="always" allowfullscreen="true" flashvars="height=390&#038;width=480&#038;file=http://newvideos.xtranormal.com/web_final_lo/9f56c044-83af-11df-a9c4-003048d6740d_1_web_final_lo_web_finallo-flv.flv&#038;image=http://newvideos.xtranormal.com/iphone_final/9f56c044-83af-11df-a9c4-003048d6740d_1_iphone_final_poster.jpg&#038;link=http://www.xtranormal.com/watch/6723127&#038;searchbar=false&#038;autostart=false"></embed></object><object width="480" height="390"><param name="movie" value="http://www.xtranormal.com/site_media/players/embedded-xnl-stats.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.xtranormal.com/site_media/players/embedded-xnl-stats.swf" width="1" height="1" allowscriptaccess="always"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2010/07/i-need-a-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nasty Bug &#8211; Ubuntu 10.04 on VMWare Fusion OSX</title>
		<link>http://www.shocm.com/2010/05/nasty-bug-ubuntu-10-04-on-vmware-fusion-osx/</link>
		<comments>http://www.shocm.com/2010/05/nasty-bug-ubuntu-10-04-on-vmware-fusion-osx/#comments</comments>
		<pubDate>Tue, 11 May 2010 21:54:42 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.shocm.com/?p=634</guid>
		<description><![CDATA[Came across a nasty little bug when I installed the latest Ubuntu 10.04 (LTS) into a virtual machine using VMWare Fusion 3.02 on my OSX box. This was a fresh install and the install itself went smooth, the problem occured when the initial login screen appeared. Although my mouse worked just fine and I was able to click on the user to log in, I wasn't able to type anything. My keyboard was completely unusable within the virtual machine. I was not able to type any input via the keyboard.  ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F05%2Fnasty-bug-ubuntu-10-04-on-vmware-fusion-osx%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F05%2Fnasty-bug-ubuntu-10-04-on-vmware-fusion-osx%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Came across<a href="http://www.shocm.com/wp-content/uploads/2010/05/Ubuntu10.04.jpg" rel="lightbox[634]"><img class="alignleft size-medium wp-image-635" title="Ubuntu10.04 On screen keyboard " src="http://www.shocm.com/wp-content/uploads/2010/05/Ubuntu10.04-300x240.jpg" alt="" width="300" height="240" /></a> a nasty little bug when I installed the latest Ubuntu 10.04 (LTS) into a virtual machine using VMWare Fusion 3.02 on my OSX box. This was a fresh install and the install itself went smooth, the problem occured when the initial login screen appeared. Although my mouse worked just fine and I was able to click on the user to log in, I wasn&#8217;t able to type anything. My keyboard was completely unusable within the virtual machine. I was not able to type any input via the keyboard.</p>
<p>After doing some Googling I discovered that once you got past the login screen the keyboard would work fine. The only way to login was to initiate the on-screen keyboard and type in your password. You can bring up the on-screen keyboard by clicking on the Universal Access icon on the lower right hand side of the screen and choosing &#8220;Use on-screen keyboard&#8221;. One side note here, when I first checked the box to use the on-screen keyboard, the keyboard would flash and disappear. What I needed to do was keep the box check and reboot the machine, when the login screen returned, the keyboard was there.</p>
<p>Once I logged in the physical keyboard worked fine. I was able to use it in all the applications and didn&#8217;t notice any problems, but once I logged out and returned to the login screen, again no input from the physical keyboard. Now I needed to fix this.</p>
<h2>What didn&#8217;t work <img src='http://www.shocm.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </h2>
<p>At this point I go into basic trouble resolution mode and decided to start by reinstalling and upgrading the VMWare tools. Not going to get into a step by step here how to do that but the short of it is after reinstalling the VMWare tools and rebooting I was stuck in the same situation and needed to use the on-screen keyboard to log in. Next obvious step, apply all patches to the Ubuntu desktop, did this, rebooted, still no go.</p>
<h2>What did work <img src='http://www.shocm.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </h2>
<p>Clearly, you are not reading this article to learn how not to fix it. Trust me after doing enough searches there are plenty discussion threads out there with &#8220;This doesn&#8217;t work for me either, anyone fix this yet?&#8221; to keep you reading for hours. I found a couple good links that I will post at the end of this article that got things resolved. The short answer is I logged into the machine, fired up and console window, type in the command</p>
<blockquote>
<pre dir="ltr">sudo dpkg-reconfigure console-setup</pre>
</blockquote>
<p>For keyboard I selected &#8220;Apple&#8221; and then just selected the defaults for everything else. Once I exited the configuration wizard, I restarted the machine and all was right with the Ubuntu world again. Did a couple reboots to make sure and everything seems to be working fine now.</p>
<h3>One more side note</h3>
<p>This issue  occurred on a clean install of the current Ubuntu 10.04 LTS release. I had been previously running the beta version of the 10.04 release which worked fine and never had a problem with the keyboard input. However, after patching that box today, same issue occurred.</p>
<h3>The Links</h3>
<p>Two links basically lead me to my resolution</p>
<ul>
<li><a href="http://ubuntuforums.org/showthread.php?t=1466482">http://ubuntuforums.org/showthread.php?t=1466482</a> &#8211; A great thread discussion on the issue in general. There were a couple of &#8220;fixes&#8221; in there including the one I implemented. A couple of post go off track but for the most paart a good thread.</li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/548891">https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/548891</a> &#8211; The bug report on the issue which also includes the work around.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2010/05/nasty-bug-ubuntu-10-04-on-vmware-fusion-osx/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>[Nagios] Error: Could not stat() command file &#8216;/var/lib/nagios3/rw/nagios.cmd&#8217;!</title>
		<link>http://www.shocm.com/2010/04/nagios-error-could-not-stat-command-file-varlibnagios3rwnagios-cmd/</link>
		<comments>http://www.shocm.com/2010/04/nagios-error-could-not-stat-command-file-varlibnagios3rwnagios-cmd/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 07:55:03 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://www.shocm.com/?p=628</guid>
		<description><![CDATA[Fixed this Nagios error on my host 
Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'! ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F04%2Fnagios-error-could-not-stat-command-file-varlibnagios3rwnagios-cmd%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F04%2Fnagios-error-could-not-stat-command-file-varlibnagios3rwnagios-cmd%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>System: Ubuntu 9.10 | Nagios 3.x</p>
<p>This is another post that is more of a note to myself than anything else. Been doing a lot of Nagios configuring and decided to implement the ability to push commands from the web interface. I followed the basic instructions to configure &#8220;<a href="http://nagios.sourceforge.net/docs/3_0/extcommands.html">External Commands</a>&#8221; but after doing and going to the web interface to test it, I got the following error message;</p>
<blockquote><p>Error: Could not stat() command file &#8216;/var/lib/nagios3/rw/nagios.cmd&#8217;!</p>
<p>The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.  An error occurred while attempting to commit your command for processing.</p></blockquote>
<p>The file was there so I did what any good geek should do, I did a quick google search. The closet thing I could find was some commands to fix the issue on Debian systems. Since I was running Ubuntu, which is for all intensive purposes Debian, I figured I would try it.  So I ran the following set of command;</p>
<blockquote><p>sudo /etc/init.d/nagios3 stop<br />
sudo dpkg-statoverride &#8211;update &#8211;add nagios www-data 2710 /var/lib/nagios3/rw<br />
sudo dpkg-statoverride &#8211;update &#8211;add nagios nagios 751 /var/lib/nagios3<br />
sudo /etc/init.d/nagios3 start</p></blockquote>
<p>This worked like a charm and the web interface began accepting commands.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2010/04/nagios-error-could-not-stat-command-file-varlibnagios3rwnagios-cmd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sony Electronics Creates Open Source Development Community</title>
		<link>http://www.shocm.com/2010/04/sony-electronics-creates-open-source-development-community/</link>
		<comments>http://www.shocm.com/2010/04/sony-electronics-creates-open-source-development-community/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 00:41:17 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[objectivec]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sony]]></category>

		<guid isPermaLink="false">http://www.shocm.com/?p=614</guid>
		<description><![CDATA[Last week Sony open the doors to a new web site, as well as a new approach for the organization, called Sony Developer . Sony Developer is meant to become a hub for Open Source development efforts for Sony Electronic products. Currently, Sony has enabled the community for &#8220;SNAP&#8221; which is an application framework for consumer [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F04%2Fsony-electronics-creates-open-source-development-community%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F04%2Fsony-electronics-creates-open-source-development-community%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.shocm.com/wp-content/uploads/2010/04/Sony-Developer-Network.jpg" rel="lightbox[614]"><img class="alignleft size-thumbnail wp-image-615" title="Sony Developer Network" src="http://www.shocm.com/wp-content/uploads/2010/04/Sony-Developer-Network-150x150.jpg" alt="" width="150" height="150" /></a>Last week Sony open the doors to a new web site, as well as a new approach for the organization, called <a href="http://www.sonydeveloper.com/">Sony Developer</a> . <a href="http://www.sonydeveloper.com/">Sony Developer</a> is meant to become a hub for Open Source development efforts for Sony Electronic products.</p>
<p>Currently, Sony has enabled the community for &#8220;<a href="http://snap.sonydeveloper.com/">SNAP</a>&#8221; which is an application framework for consumer electronic devices. From the <a href="http://snap.sonydeveloper.com/">SNAP site</a>;</p>
<blockquote><p>&#8220;SNAP stands for Sony&#8217;s Networked Application Platform and is part of an emerging new ecosystem for making downloadable applications available to networked devices like TV’s, Blu-ray Disk players and other Consumer Electronic products. SNAP is in the very early stages of development and has a lot of room to grow&#8221;</p></blockquote>
<p>This will open an avenue that will allow developers to get their applications onto SNAP enabled devices such as televisions. SNAP is based on the <a href="http://www.gnustep.org/">GNUstep</a> community, whose origin dates back to the OpenStep standard developed by NeXT Computer Inc (now Apple Computer Inc.) which also implements the extensions added by Apple in the form of Cocoa. The main language on GNUstep for SNAP is ObjectiveC and the SNAP development web site points a lot of great resources on ObjectC from beginners guide to optimization.</p>
<p>Sony offers a guides and a SDK for download to start with your development efforts. It&#8217;s mentioned on the SNAP web site that some good examples of applications would be &#8220;Games, Widgets (weather, news, traffic, etc), remote controls, social apps, media sharing apps, media players, home automation&#8221;. Also according to the web site Sony will be hosting contest in the future for SNAP developers with prizes ranging from Sony televisions to Sony Walkman.</p>
<p>Another section of the Sony Developer Web site will be the dash section, which is currently unavailable but from what I&#8217;ve heard should be opened in the coming weeks. <a href="http://www.sonystyle.com/webapp/wcs/stores/servlet/CategoryDisplay?catalogId=10551&amp;storeId=10151&amp;langId=-1&amp;categoryId=8198552921644695998">dash</a> is the Sony new Personal Internet Viewer. Developed with Flex, Sony is hoping to encourage and foster application developed on the dash product.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2010/04/sony-electronics-creates-open-source-development-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8216;report_activate_error&#8217;: RubyGem version error</title>
		<link>http://www.shocm.com/2010/03/report_activate_error-rubygem-version-error/</link>
		<comments>http://www.shocm.com/2010/03/report_activate_error-rubygem-version-error/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 05:55:19 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.vanjohnson.com/2010/report_activate_error-rubygem-version-error/</guid>
		<description><![CDATA[So from time to time I will post small things to my blog that I just want to keep track of or remember how I did something. This is one of those post. I should prefix this post to anyone who happens to come across it and read it, I am by no means a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F03%2Freport_activate_error-rubygem-version-error%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2010%2F03%2Freport_activate_error-rubygem-version-error%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<div class="posterous_autopost">
<p>So from time to time I will post small things to my blog that I just want to keep track of or remember how I did something. This is one of those post. I should prefix this post to anyone who happens to come across it and read it, I am by no means a &#8220;Rails Developer&#8221; and as a matter of fact, I ran into this problem working through a &#8220;How to&#8221; books.</p>
<p><span style="color: #800000; font-size: large;"><strong>The issue</strong></span></p>
<p>I am running OSX 10.6.2 and although I had Ruby on Rails working on it at one time, some how, some where it broke. Now there is nothing more frustrating to a n00b who is trying to work through a tutorial on how to learn a new programming language and not being able to get past the first chapter because something about the base install of the programming language that you don&#8217;t know anything about and you&#8217;re trying to learn, wont work.</p>
<p><strong><span style="color: #800000; font-size: large;">The Actual Error</span></strong></p>
<p>When I try to create my first controller this is what happens</p>
<blockquote class="posterous_short_quote"><p>ruby script/generate controller main welcome</p></blockquote>
<p>And this is what the system kicked out to me</p>
<blockquote><p><span style="font-size: small;">/Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/initializer.rb:271:in `require_frameworks&#8217;: RubyGem version error: rack(1.0.0 not ~&gt; 1.0.1) (RuntimeError)</span></p>
<p><span style="font-size: small;"><span> </span>from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/initializer.rb:134:in `process&#8217;</span></p>
<p><span style="font-size: small;"><span> </span>from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send&#8217;</span></p>
<p><span style="font-size: small;"><span> </span>from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run&#8217;</span></p>
<p><span style="font-size: small;"><span> </span>from /Users/eric/Dropbox/Code/Rails/r4music1/config/environment.rb:9</span></p>
<p><span style="font-size: small;"><span> </span>from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#8217;</span></p>
<p><span style="font-size: small;"><span> </span>from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require&#8217;</span></p>
<p><span style="font-size: small;"><span> </span>from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/commands/generate.rb:1</span></p>
<p><span style="font-size: small;"><span> </span>from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#8217;</span></p>
<p><span style="font-size: small;"><span> </span>from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require&#8217;</span></p>
<p><span style="font-size: small;"><span> </span>from script/generate:3</span></p></blockquote>
<div><strong><span style="color: #800000; font-size: large;">Sidebar</span></strong></div>
<div>Naturally, the first thing I do is start hitting Google and start clicking on links. A lot of similar issues with a wide variety of solutions. From just doing a simple &#8216;sudo gem update&#8217;, to making sure rake is installed, to making sure you have the correct rake version installed. None of which worked for me. Finally, I stumbled onto <a id="aptureLink_gSZtw9Nlmz" href="http://christopher.wojno.com/2010/02/14/ruby-on-rails-rack-1-0-0-not-rack-1-0-1-c">Wojno&#8217; Site</a> and following the steps in his <a href="http://christopher.wojno.com/2010/02/14/ruby-on-rails-rack-1-0-0-not-rack-1-0-1-c">post</a> I manage to resolve my problem.</div>
<div><strong><span style="color: #800000; font-size: large;">The Fix</span></strong></div>
<div><span style="color: #800000; font-size: large;"><span style="color: #000000;"><span style="font-size: small;">If you didn&#8217;t want to click on <a href="http://christopher.wojno.com/2010/02/14/ruby-on-rails-rack-1-0-0-not-rack-1-0-1-c">Wonjno&#8217;s link</a> here are the steps that fixed my problem. Had to change a couple of things because my install paths were a little different since I was running a different OS. </span></span></span></div>
<div><span style="color: #800000; font-size: large;"><span style="color: #000000;"><span style="font-size: small;">We begin by uninstalling the problem package </span></span></span></div>
<blockquote>
<div><span style="color: #800000; font-size: large;"><span style="color: #000000;"><span style="font-size: small;">sudo gem uninstall rack</span></span></span></div>
</blockquote>
<div><span style="color: #800000; font-size: large;"><span style="color: #000000;"><span style="font-size: small;">When prompted, make sure you remove all versions of the rack packages. Now this is one place where my experience differed a little. I ended up getting prompted to uninstall rails itself. I&#8217;m a brave soul, that didn&#8217;t scare me, so yeah I uninstalled it. </span></span></span></div>
<div><span style="font-size: small;">Here is what that looked like</span></div>
<blockquote>
<div><span style="font-size: small;">sudo gem uninstall rack</span></div>
<div><span style="font-size: small;">Remove executables:</span></div>
<div><span><span style="font-size: small;"> </span></span><span style="font-size: small;">rackup</span></div>
<div><span style="font-size: small;">in addition to the gem? [Yn]  Y</span></div>
<div><span style="font-size: small;">Removing rackup</span></div>
<div><span style="font-size: small;">You have requested to uninstall the gem:</span></div>
<div><span><span style="font-size: small;"> </span></span><span style="font-size: small;">rack-1.0.0</span></div>
<div><span style="font-size: small;">actionpack-2.3.3 depends on [rack (~&gt; 1.0.0)]</span></div>
<div><span style="font-size: small;">actionpack-2.3.5 depends on [rack (~&gt; 1.0.0)]</span></div>
<div><span style="font-size: small;">If you remove this gems, one or more dependencies will not be met.</span></div>
<div><span style="font-size: small;">Continue with Uninstall? [Yn]  Y</span></div>
</blockquote>
<div><span style="font-size: small;">OK, that was a little scary but we will fix it. </span></div>
<div><span style="font-size: small;">I did manually remove the directory for the older version of rack</span></div>
<blockquote>
<div><span style="font-size: small;">sudo rm -rf /Library/Ruby/Gems/1.8/gems/rack-1.0.1/</span></div>
</blockquote>
<div><span style="font-size: small;">Now we reinstall things. Don&#8217;t forget we need to reinstall the rails itself</span></div>
<blockquote>
<div><span style="font-size: small;">sudo gem install -v=2.3.5 rails</span></div>
<div><span style="font-size: small;">sudo gem install rack</span></div>
</blockquote>
<div><span style="font-size: small;">After that, life was good, at least for me. If you found this article and actually read it in hopes that it helped fix your issue, well then I hope you had some success as well. </span></div>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via web</a> from <a href="http://shocm.posterous.com/reportactivateerror-rubygem-version-error">shocm</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2010/03/report_activate_error-rubygem-version-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wireless Power</title>
		<link>http://www.shocm.com/2009/02/wireless-power/</link>
		<comments>http://www.shocm.com/2009/02/wireless-power/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 18:19:26 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Just Really Cool]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[charge]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.vanjohnson.com/2009/wireless-power/</guid>
		<description><![CDATA[I just love this concept. I can imagine homes of the future being built with this technology built into it. The thought of just laying down your phone or MP3 player on the table and it getting charged while there is just cool.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2009%2F02%2Fwireless-power%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2009%2F02%2Fwireless-power%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><embed src="http://c.brightcove.com/services/viewer/federated_f9/1813626064?isVid=1&amp;publisherID=1564549380" bgcolor="#FFFFFF" flashVars="videoId=6751413001&amp;playerID=1813626064&amp;domain=embed&amp;" base="http://admin.brightcove.com" name="flashObj" width="404" height="436" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </embed></p>
<p>I just love this concept. I can imagine homes of the future being built with this technology built into it. The thought of just laying down your phone or MP3 player on the table and it getting charged while there is just cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2009/02/wireless-power/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Famous with Splunk</title>
		<link>http://www.shocm.com/2008/12/internet-famous-with-splunk/</link>
		<comments>http://www.shocm.com/2008/12/internet-famous-with-splunk/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 22:10:53 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Splunk]]></category>

		<guid isPermaLink="false">http://www.vanjohnson.com/?p=255</guid>
		<description><![CDATA[There have been some pretty famous spokesmen in the past who&#8217;ve made huge impacts to the companies they were representing. OJ Simpson and Hertz, before the whole legal issues of course. Michael Jackson and Pepsi, hum again before the legal problems and hair catching of fire stuff. Micheal Jordon and Nike, he hasn&#8217;t done anything [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F12%2Finternet-famous-with-splunk%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F12%2Finternet-famous-with-splunk%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>There have been some pretty famous spokesmen in the past who&#8217;ve made huge impacts to the companies they were representing. OJ Simpson and Hertz, before the whole legal issues of course. Michael Jackson and Pepsi, hum again before the legal problems and hair catching of fire stuff. Micheal Jordon and Nike, he hasn&#8217;t done anything too bad yet right?</p>
<p>Well now lump Eric Van Johnson in this category, hopefully minus the legal issues for awhile. In what will most certainly send this companies revenues through the roof, I have done my first video &#8220;endorsement&#8221; of a product. Now this is not my first brush with Internet stardom, a few years back I got my picture taken with <a href="http://www.flickr.com/photos/vanjohnson/217806218/in/set-72157594242357483/">Irina Slutsky of GETV</a> but that was different she was more stalking me than anything else, this time it was business.</p>
<p>Oddly enough it&#8217;s not an Open Source product and I don&#8217;t even particularly care for it&#8217;s licensing model but with that aside, the product itself is very solid. <a href="http://www.splunk.com/">Splunk</a> on the most basic level is a indexing and search service for system log files. But its extendability really expands the product much further than just that.</p>
<p>Check out <a href="http://www.splunk.com/article/2741">my video endorsement</a> and then go and buy stock in this company. Mind you they are not publicly traded at this time but you shouldn&#8217;t let that stop you as they are obviously going to go main stream now that they have me doing commercials for them <img src='http://www.shocm.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://www.splunk.com/article/2741">Splunk> Eric Van Johnson<br />
<img src="http://www.vanjohnson.com/wp-content/uploads/2008/12/splunk-splunk-at-sony-electronics-eric-van-johnson-300x173.jpg" alt="splunk-splunk-at-sony-electronics-eric-van-johnson" title="splunk-splunk-at-sony-electronics-eric-van-johnson" width="300" height="173" class="aligncenter size-medium wp-image-257" /></p>
<p>http://www.splunk.com/article/2741</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2008/12/internet-famous-with-splunk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killing IM with killall and taskkill</title>
		<link>http://www.shocm.com/2008/10/killing-im-with-killall-and-taskkill/</link>
		<comments>http://www.shocm.com/2008/10/killing-im-with-killall-and-taskkill/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 03:44:29 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Adium]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[Trillian]]></category>

		<guid isPermaLink="false">http://www.vanjohnson.com/?p=242</guid>
		<description><![CDATA[I&#8217;ve stated before how I am fortunate to be in a position where I typically work on a Linux, OSX, and Windows desktops on regular basis. Depending on what I am doing and my location I might spend a good amount of time on any of these systems. For the most part, my life style [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F10%2Fkilling-im-with-killall-and-taskkill%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F10%2Fkilling-im-with-killall-and-taskkill%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.shocm.com/wp-content/uploads/2008/10/imclients.png" rel="lightbox[480]"><img class="alignleft size-medium wp-image-249" title="imclients" src="http://www.shocm.com/wp-content/uploads/2008/10/imclients.png" alt="" width="76" height="82" /></a>I&#8217;ve stated before how I am fortunate to be in a position where I typically work on a Linux, OSX, and Windows desktops on regular basis. Depending on what I am doing and my location I might spend a good amount of time on any of these systems. For the most part, my life style makes this pretty easy. I live in &#8220;the cloud&#8221; a lot for things like email and even documents. I keep things standard complaint and use tools that are typically cross-platformed or have counterparts on other platforms. This has afforded me some great freedoms and have allowed me to unchain myself and not be too dependent on any one solution. Instead my life has become one of preference and knowledge.</p>
<p>However, with everything there has always been pain points, one for me has been IM. While yes, it no longer matters which platform I am on at any given time I am still able to access my Yahoo, AIM, MSN, Gtalk accounts, the issue comes into play when I move from one machine to another and forget to sign out of IM on the previous machine. Some of the IM services alert you when you are logged onto one accounts from multiple systems and allows you to decide what to do, like AIM which gives you an option to send it a command to log you out of your previous session. Some just don&#8217;t care, like Gtalk which doesn&#8217;t seem to be concerned with how many times and from how many locations you are logged in, I don&#8217;t particularly like this approach. Then there are services like Yahoo that just get upset and decides to log you out from one of your accounts, couple that with IM clients that battle to keep their connection like Trillian and you can end up in a situation where you can&#8217;t log into your account because another is already logged in and wont let go.</p>
<p>I&#8217;ve come up with a few approaches that have made this situation somewhat manageable. On my Linux and OSX box this is pretty simple, there is a command line command called &#8216;<a href="http://en.wikipedia.org/wiki/Killall">killall</a>&#8216; that comes to the rescue. With the line &#8216;killall pidgin&#8217; or &#8216;killall Adium&#8217; my IM clients on Linux and OSX respectively, end. Add the ability to ssh into these systems and if I forget to log out I simple do a quick ssh connection to these boxes, run my command and I am done. Furthermore, I typically have a good idea when I wont be at those computers, so with that information and the killall command, I am able to add <a href="http://www.crontab.org/">crontab</a> entries to automatically run my command. So for example, I know at 3AM I don&#8217;t want to be up IM&#8217;ing with anyone so I run that command at that time in case I left my IM client running before going to bed. I also know Monday through Friday I am typically at work and in my office around 8AM so I run that command on my home systems at that time too in case I left the house without logging out. The command ends up looking like this in crontab, <code>00      03,08        *       *       *       /usr/bin/killall Adium &gt; /dev/null 2&gt;&amp;1</code> Worse case scenario, I ssh back to the system and manually run the command. Its a great system and works like a charm.</p>
<p><a href="http://www.shocm.com/wp-content/uploads/2008/10/terminalscreensnapz001.jpg" rel="lightbox[480]"><img class="aligncenter size-medium wp-image-247" title="terminalscreensnapz001" src="http://www.vanjohnson.com/wp-content/uploads/2008/10/terminalscreensnapz001-300x27.jpg" alt="" width="300" height="27" /></a></p>
<p>At work the story is a little different. First off, the system I run IM on is a Windows machine which doesn&#8217;t have the cool ability to just SSH to and even if I did install an SSH server on the machine it is located behind a corporate firewall so I wouldn&#8217;t be able to get it anyways from the outside. I do have the ability to log in via VPN but that is a lot of work to log into the corporate VPN and RDP to my desktop just to turn off an IM client. Windows also doesn&#8217;t really have crontab, it does have a &#8220;scheduler&#8221; which acts kind of acts like crontab but that coupled with the fact that Windows doesn&#8217;t really have the same powerful command line tools that Linux and OSX have makes this simple task a little tougher to accomplish.<br />
<span id="more-480"></span><br />
I have come up with a solution however,  there&#8217;s a command on my Windows XP called &#8216;<a href="http://technet.microsoft.com/en-us/library/bb491009.aspx">taskkill</a>&#8216;, I am not sure if this command is available on all Windows platform but it is on mine so I use it. Now with this command, I am able to write a small <a href="http://en.wikipedia.org/wiki/Batch_file">batch file</a> that has the one line in it like this <code>taskkill /f /im trillan.exe</code>. When ran this behaves very much like killall on my other machines. I then use the Windows built in scheduler to run this batch file every day, Monday through Friday, at 6:30 PM because if I am still at work at this time, I am done talking to people and need to finish up work and get home. Now for whatever reason, this doesn&#8217;t always work or maybe I leave work early and need to get on IM at home. Because of the before mention firewall issue, its not as easy as just SSH to the box and running the command manually. So I had to come up with a solution to reach into my computer at work from outside to kill my IM if needed. To do this I created an Outlook rule. Since I almost always run Outlook 100% of the time when my work laptop is on, so Outlook seemed like the best vehicle for this effort.</p>
<p>To accomplish this, in Outlook I&#8217;ve defined a rule that looks for emails from specific senders (for example my personal email address), looks for a specific subject line (like &#8220;Turn off IM&#8221;), and checks for something special in the body (example &#8220;Trillian&#8221;). If all these conditions are meant, then it runs my aforementioned batch job and kills Trillian.</p>
<p>That&#8217;s about it, that&#8217;s how I manage my IM needs that run of various different OS in various different environment during various different times and allows me to stay unchained, mobile, and free. Hope you found some of this information helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2008/10/killing-im-with-killall-and-taskkill/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Downloads +1</title>
		<link>http://www.shocm.com/2008/06/firefox-downloads-1/</link>
		<comments>http://www.shocm.com/2008/06/firefox-downloads-1/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 02:13:58 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.vanjohnson.com/2008/firefox-downloads-1/</guid>
		<description><![CDATA[Firefox 3 browser, 3 millions plus downloads worldwide and growing. Wonder what its like being the only dude in Eritrea to have downloaded it. That guy (or gal lets be fair) deserves a some Firefox swag. http://www.spreadfirefox.com/en-US/worldrecord/]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F06%2Ffirefox-downloads-1%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F06%2Ffirefox-downloads-1%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Firefox 3 browser, 3 millions plus downloads worldwide and growing. Wonder what its like being the only dude in <a href="http://en.wikipedia.org/wiki/Eritrea">Eritrea</a> to have downloaded it. That guy  (or gal lets be fair) deserves a some Firefox swag. </p>
<div align="center"><a href="http://picasaweb.google.com/esolves/BlogPictures/photo?authkey=xSZ7Lf9yO9U#5213068355769901634"><img src="http://lh3.ggpht.com/esolves/SFiKDK9-okI/AAAAAAAABmA/XY1fHR0K5Tw/s400/FirefoxScreenSnapz002.jpg" /></a></div>
<p><a href="http://www.spreadfirefox.com/en-US/worldrecord/">http://www.spreadfirefox.com/en-US/worldrecord/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2008/06/firefox-downloads-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#039;Warcraft&#039; Sequel Lets Gamers Play A Character Playing &#039;Warcraft&#039;</title>
		<link>http://www.shocm.com/2008/06/warcraft-sequel-lets-gamers-play-a-character-playing-warcraft/</link>
		<comments>http://www.shocm.com/2008/06/warcraft-sequel-lets-gamers-play-a-character-playing-warcraft/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 04:22:38 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[OnionNews]]></category>
		<category><![CDATA[WoW]]></category>

		<guid isPermaLink="false">http://www.vanjohnson.com/?p=150</guid>
		<description><![CDATA[This is taking Online Roll Playing to the next level allowing you to play a character playing a character in a game. I think it might be time to start playing games online. &#8216;Warcraft&#8217; Sequel Lets Gamers Play A Character Playing &#8216;Warcraft&#8217;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F06%2Fwarcraft-sequel-lets-gamers-play-a-character-playing-warcraft%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F06%2Fwarcraft-sequel-lets-gamers-play-a-character-playing-warcraft%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is taking Online Roll Playing to the next level allowing you to play a character playing a character in   a game. I think it might be time to start playing games online.</p>
<p><embed src="http://www.theonion.com/content/themes/common/assets/videoplayer/flvplayer.swf" type="application/x-shockwave-flash" allowScriptAccess="always" wmode="transparent" width="400" height="355" flashvars="file=http://www.theonion.com/content/xml/80992/video&#038;autostart=false&#038;image=http://www.theonion.com/content/files/images/WARCRAFT_article.jpg&#038;bufferlength=3&#038;embedded=true&#038;title=%27Warcraft%27%20Sequel%20Lets%20Gamers%20Play%20A%20Character%20Playing%20%27Warcraft%27"></embed><br/><a href="http://www.theonion.com/content/video/warcraft_sequel_lets_gamers_play?utm_source=embedded_video">&#8216;Warcraft&#8217; Sequel Lets Gamers Play A Character Playing &#8216;Warcraft&#8217;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2008/06/warcraft-sequel-lets-gamers-play-a-character-playing-warcraft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
