<?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, Scotch, Baseball, Family, and Programming since the 1900&#039;s</description>
	<lastBuildDate>Wed, 19 Oct 2011 18:06:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Getting some functionality back in the system tray on Ubuntu 11.04</title>
		<link>http://www.shocm.com/2011/06/getting-some-functionality-back-in-the-system-tray-on-ubuntu-11-04/</link>
		<comments>http://www.shocm.com/2011/06/getting-some-functionality-back-in-the-system-tray-on-ubuntu-11-04/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 19:55:07 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[QuickTip]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://www.shocm.com/2011/06/getting-some-functionality-back-in-the-system-tray-on-ubuntu-11-04/</guid>
		<description><![CDATA[Ubuntu 11.04 introduced a new, cleaner user interface called Unity. I&#8217;m not a huge desktop GUI guy, doing a large majority of my work in the command line, but I do like to try and stay current on the latest greatest interfaces. I&#8217;m not overwhelmed with Unity. It&#8217;s OK but not really earth shattering. You [...]]]></description>
			<content:encoded><![CDATA[<div class="posterous_autopost">
<p>Ubuntu 11.04 introduced a new, cleaner user interface called Unity. I&#8217;m not a huge desktop GUI guy, doing a large majority of my work in the command line, but I do like to try and stay current on the latest greatest interfaces.</p>
<p>I&#8217;m not overwhelmed with Unity. It&#8217;s OK but not really earth shattering. You have the option to switch back to the &#8220;classic&#8221; Gnome interface if you wanted to but I haven&#8217;t done that.</p>
<p>One huge annoyance I&#8217;ve noticed about the new Unity interface was a lack of a true &#8220;system tray&#8221;. Many application in Ubuntu (or Linux in general) leverage a similar approach Windows machine do and allow applications to run in a System Tray, cleaning up any task bars you might have. In Unity, there were a couple applications that were visible, like Dropbox, the clock and Volume but several others were not such as Skype and Truecrypt.</p>
<p>This became a big problem for Truecrypt because once I closed the Truecrypt interface I couldn&#8217;t figure out how to get back to it. If I tried to launch the application again the system would report that it the application was already running, which it was. In the past I would get back to the interface through the icon in the system tray but this icon would not display in Unity, at least not until I found a posting on Facebook <a href="http://www.facebook.com/topic.php?uid=6723083591&amp;topic=17003">http://www.facebook.com/topic.php?uid=6723083591&amp;topic=17003</a></p>
<p>This simple command in a terminal window corrected my problem and life is good again</p>
<pre class="brush: bash; title: ; notranslate">gsettings set com.canonical.Unity.Panel systray-whitelist &quot;['all']&quot;</pre>
<p>As you can see I got all my system tray icons back and I am now a little happier with Unity.</p>
<p>&nbsp;</p>
<div class="p_embed p_image_embed"><img src="http://posterous.com/getfile/files.posterous.com/temp-2011-06-22/hugoisrGwyAxDazcgCoEtDxCbmlsuirlFDEiIrpvndHouIyyjvwjfgEFcfaA/Screenshot-1.png.scaled500.png" alt="Screenshot-1" width="385" height="46" /></div>
<p>&nbsp;</p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via email</a> from <a href="http://blog.shocm.me/getting-some-functionality-back-in-the-system">shocm</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2011/06/getting-some-functionality-back-in-the-system-tray-on-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My Non-Open Source (Proprietary) Guilty Pleasures</title>
		<link>http://www.shocm.com/2011/04/my-non-open-source-proprietary-guilty-pleasures/</link>
		<comments>http://www.shocm.com/2011/04/my-non-open-source-proprietary-guilty-pleasures/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 20:33:51 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.shocm.com/2011/04/my-non-open-source-proprietary-guilty-pleasures/</guid>
		<description><![CDATA[Being an &#8220;Open Source&#8221; guy there is a certain stigma that goes along with that title, one being that everything you use has to be Open Source. Where I take great pride in the knowledge there isn&#8217;t really any aspect of my digital life I couldn&#8217;t do without an Open Source solution, I personally don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<div class="posterous_autopost">
<p>Being an &#8220;Open Source&#8221; guy there is a certain stigma that goes along with that title, one being that everything you use has to be Open Source. Where I take great pride in the knowledge there isn&#8217;t really any aspect of my digital life I couldn&#8217;t do without an Open Source solution, I personally don&#8217;t necessarily make Open Source a &#8220;requirement&#8221;. I always look for the best solution and tool for a particular task, for me freedom and access to the code weighs heavily in that decision but is not the only parameters in picking a solution.</p>
<p class="p1">In the interest of full discloser, and because there are people who enjoy pointing out when they &#8220;catch me&#8221; not using Open Source (as if I don&#8217;t know), I present to you a list of my Non-Open Source guilty pleasures that I use frequently (with some justification for using them)</p>
<p class="p2">Note: with the exceptions of OSX and the Microsoft products all solutions below do offer free versions of their products though I typically pay for the upgraded products.</p>
<p class="p3"><strong>Desktop</strong></p>
<ul class="ul1">
<li class="li1">Evernote (<a href="http://www.evernote.com/"><span class="s1">http://www.evernote.com</span></a>) &#8211; There are several alternatives to Evernote, including Open Sources ones such as Tomboy but they all seem to lack either features or cross platform compatibility. Evernote does have a OSX and Windows client but no client for Linux which has always been a huge draw back. Evernote does have a pretty good web interface, which continues to improve and this helps a lot when I am on my Linux desktops. Evernote also have a lot of open APIs and there has been some activity to writing alternative Evernote clients that will run on Linux desktops including one I&#8217;ve checked out called Nevernote (<a href="http://nevernote.sourceforge.net/"><span class="s1">http://nevernote.sourceforge.net/</span></a>)</li>
<li class="li1">Navicat (<a href="http://www.navicat.com/"><span class="s1">http://www.navicat.com/</span></a>) &#8211; I simple like this tool. The user interface and feature set is wonderful. There are tons of Open Source GUI clients to connect to MySQL database and even though 99% on my database activity is connecting to a MySQL backend every now and then I need to connect to MSSQL, Oracle, or PostgreSQL and my Navicat Premium allows me to do this in one client. It also has a wonderful feature of establishing my MySQL connections over SSH which I love when I need to work on my Windows boxes. It&#8217;s baked in so I don&#8217;t have to establish my own separate SSH tunnel. They also have clients for Windows, OSX, and Linux</li>
<li class="li1">Dropbox (<a href="http://db.tt/AyOLUYV"><span class="s1">http://db.tt/AyOLUYV</span></a>) – I have to be honest, I’ve used Dropbox for several years but it is always on my hit list to move to an alternative Open Source solution. There seems to be a new one that drops every month. When I get comfortable with the staying power and feature set that Dropbox offer, I will probably drop Dropbox.</li>
<li class="li1">OSX (<a href="http://www.apple.com/macosx">http://</a><span class="s1"><a href="http://www.apple.com/macosx">www.apple.com/macosx</a><a href="http://www.apple.com/macosx/">/</a></span>) &#8211; This is really a decision of convince than anything else. There are typically a greater number “vendor support” desktop application that are not support on Linux desktops such as the previously mentioned Evernote. However OSX is BSD at heart and lets me retain a lot of the Open Source tools I am accustomed to on my Linux desktop including a very power command line and scripting ability. My OSX desktop also affords me the unique benefit of running virtualization software such as Virtualbox (<a href="http://www.virtualbox.org/"><span class="s1">http://www.virtualbox.org/</span></a>) and allow me to run Windows, several Linux distributions, and OSX all on one physical machine. This is really nice especially when needing to do testing.</li>
</ul>
<p class="p3"><strong><span id="more-716"></span>Servers</strong></p>
<ul class="ul1">
<li class="li1">Splunk (<a href="http://www.splunk.com/"><span class="s1">http://www.splunk.com/</span></a>) &#8211; Of all the proprietary products I use Splunk is probably the one I am most wishful would go full Open Source or someone would start a Open Source project to match the abilities on Splunk. Splunk is kind of hard to explain but think if Google went to a Unix party where the command lines tail and grep were hanging out and they all hooked up together. Splunk would we the result of that. This is a crazy cool and powerful tool that your typical end user probably not appreciate or understand, you really need to be some sort of systems administrator or hard core, log loving, developer to really embrace and appreciate it. Splunk has very open APIs that access the core of their system which is nice because as a developer you are able to extend and build onto the product, but the core itself is proprietary. This means the core can change breaking whatever you built to extend it and you don&#8217;t have the option of forking the old core and continuing down whatever path you feel is better.</li>
</ul>
<p class="p1"><span class="s2"><strong>Software as a Services </strong><em>or SaaS</em></span> &#8211; SaaS is an interesting arena. Where many of the services are built on Open Source solutions, the service themselves are proprietary, but at the same time their &#8220;Cloud&#8221; nature is about accessibility hence they typically have a lot of open API that allow you to tie into and develop for the service in many ways. My justification for these services is typically unilaterally related to accessibility.</p>
<ul class="ul1">
<li class="li1">Remember The Milk (<a href="https://www.rememberthemilk.com/"><span class="s1">http://www.rememberthemilk.com/</span></a>) &#8211; Great task management system</li>
<li class="li1">Grooveshark/Pandora/mSpot &#8211; I&#8217;m not a big iTunes guy and enjoy always being able to get to my music as well as enjoy the ability to discover new music.</li>
<li class="li1">Google Docs / GMail &#8211; Not a huge fan of Google Docs functionality but having the ability to collaborate and share supersedes that.</li>
<li class="li1">Twitter/Posterous/Facebook/Other Misc Microblogging services &#8211; Just general online social life stuff.</li>
</ul>
<p class="p3"><strong>Exceptions (Disclosure to my Disclosure)</strong><span class="s3"> </span></p>
<ul class="ul1">
<li class="li1">Microsoft Stack (Windows7/Office/Outlook/Visio/Project/blah/blah/blah) &#8211; From a work perspective the company I work for makes heavy use of a Microsoft including Exchange, Sharepoint, and Windows Desktops. Because of that, and the fact that there are company policies around &#8220;acceptable and supported desktops&#8221;, you may see me using one of these products. I&#8217;m not to say I initially avoid these products, I just don&#8217;t naturally gravitate to them.</li>
</ul>
<p class="p4">&nbsp;</p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via email</a> from <a href="http://blog.shocm.me/my-non-opensource-guilty-pleasures">shocm</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2011/04/my-non-open-source-proprietary-guilty-pleasures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH AutoComplete on OSX</title>
		<link>http://www.shocm.com/2011/01/ssh-autocomplete-on-osx/</link>
		<comments>http://www.shocm.com/2011/01/ssh-autocomplete-on-osx/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 04:19:26 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.shocm.com/2011/01/ssh-autocomplete-on-osx/</guid>
		<description><![CDATA[I am a very heavy user of SSH, like everyday all day type of user. I know a couple cool SSH tricks like port forwarding and mapping remote drives. One thing that always bugged me was the lack of auto complete when I was on my OSX machine. You see with SSH, you can define [...]]]></description>
			<content:encoded><![CDATA[<div class="posterous_autopost">
<p>I am a very heavy user of SSH, like everyday all day type of user. I know a couple cool SSH tricks like port forwarding and mapping remote drives. One thing that always bugged me was the lack of auto complete when I was on my OSX machine. You see with SSH, you can define a bunch of individual host and configurations unique to those host in a file called .ssh/config. It&#8217;s a great tool to have and when you do have some host define, on a Linux machine, you can type in the command ssh, then the first couple if letters of the host and hit tab. It will act as any tab completion does for commands and fill in as much of the hostname as it can before it requires some other unique identifier. However, this cool autocomplete feature didn&#8217;t happen naturally of my OSX box.</p>
<p>Through the years, I&#8217;ve had an idea of what I needed to do to create my own script to handle it. There is the complete command, the trick is grepping the config file and pulling out the right information. I decided to be lazy and just manually created several alias for my ssh server. The alias approach worked, but this grew into a very long list of alias and wasn&#8217;t very efficient. So tonight I decided I was going to write the script to meet my needs and about 2 clicks on Google links later, I found someone who had actually already completely done it. <span style="font-family: verdana, tahoma, helvetica, arial, sans-serif;"><span style="font-size: 12px;">Nem W. Schlecht posted his script on a Macworld hints forum a couple years ago. Here is a link to that original thread <a href="http://goo.gl/Wd4Z5">http://goo.gl/Wd4Z5</a> but the piece of magic that did the trick is below. As a added bonus, it also creates auto complete from servers it finds in your known_host file. I will repost his post, not just the code, because he has some wise advice on where to place the code </span></span></p>
<blockquote><p><span style="font-family: verdana, tahoma, helvetica, arial, sans-serif;"><span style="font-size: 12px;">The macports suggestion is a good one, but IMO, includes too much. If you don&#8217;t have macports installed, you can add the following to your .bash_profile (I wouldn&#8217;t add it to my .bashrc, since that gets read in by cron jobs and remote commands). </span></span></p>
<p style="margin-top: 5px;">There are a couple improvements here. First, this will also read in aliases in your ~/.ssh/config file. Secondly, it will ignore commented out entries in your ~/.ssh/known_hosts file. Finally, this is a function and not a static list. Thus, it is immediately aware of any new additions to either file (although on really slow machines it will be slower than a static list).</p>
<pre class="brush: bash; title: ; notranslate">
_complete_ssh_hosts ()
{
        COMPREPLY=()
        cur=&quot;${COMP_WORDS[COMP_CWORD]}&quot;
        comp_ssh_hosts=`cat ~/.ssh/known_hosts | \
                        cut -f 1 -d ' ' | \
                        sed -e s/,.*//g | \
                        grep -v ^# | \
                        uniq | \
                        grep -v &quot;\[&quot; ;
                cat ~/.ssh/config | \
                        grep &quot;^Host &quot; | \
                        awk '{print $2}'
                `
        COMPREPLY=( $(compgen -W &quot;${comp_ssh_hosts}&quot; -- $cur))
        return 0
}
complete -F _complete_ssh_hosts ssh
</pre>
</blockquote>
<p>Don&#8217;t forget you need to &#8220;source&#8221; you file to get the new command to load in your terminal or you can close your terminal window and open a new one. </p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via email</a> from <a href="http://blog.shocm.me/ssh-autocomplete-on-osx">shocm</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2011/01/ssh-autocomplete-on-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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[<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>1</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[<p>Came across<a href="http://www.shocm.com/wp-content/uploads/2010/05/Ubuntu10.04.jpg"><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>
<pre class="brush: bash; title: ; notranslate">
sudo dpkg-reconfigure console-setup
</pre>
<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[<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>
<pre class="brush: bash; title: ; notranslate">
Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!

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.
</pre>
<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>
<pre class="brush: bash; title: ; notranslate">
sudo /etc/init.d/nagios3 stop
sudo dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw
sudo dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3
sudo /etc/init.d/nagios3 start
</pre>
<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>6</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[<p><a href="http://www.shocm.com/wp-content/uploads/2010/04/Sony-Developer-Network.jpg"><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>1</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>Shocm</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[osx]]></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[<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><strong>The issue</strong></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>The Actual Error</strong></p>
<p>When I try to create my first controller this is what happens</p>
<pre class="brush: bash; title: ; notranslate">
ruby script/generate controller main welcome
</pre>
<p>And this is what the system kicked out to me</p>
<pre class="brush: bash; title: ; notranslate">
/Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/initializer.rb:271:in `require_frameworks': RubyGem version error: rack(1.0.0 not ~&amp;gt; 1.0.1) (RuntimeError)

from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/initializer.rb:134:in `process'
from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
from /Users/eric/Dropbox/Code/Rails/r4music1/config/environment.rb:9
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/commands/generate.rb:1
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from script/generate:3
</pre>
<p><strong>Sidebar</strong><br />
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.</p>
<p><strong>The Fix</strong><br />
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.<br />
We begin by uninstalling the problem package </p>
<pre class="brush: bash; title: ; notranslate">
sudo gem uninstall rack
</pre>
<p>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.<br />
Here is what that looked like</p>
<pre class="brush: bash; title: ; notranslate">
sudo gem uninstall rack
Remove executables: rackup in addition to the gem? [Yn]  Y
Removing rackup
You have requested to uninstall the gem: rack-1.0.0
actionpack-2.3.3 depends on [rack (~&amp;gt; 1.0.0)]
actionpack-2.3.5 depends on [rack (~&amp;gt; 1.0.0)]
If you remove this gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn]  Y
</pre>
<p>OK, that was a little scary but we will fix it.<br />
I did manually remove the directory for the older version of rack</p>
<pre class="brush: bash; title: ; notranslate">
sudo rm -rf /Library/Ruby/Gems/1.8/gems/rack-1.0.1/
</pre>
<p>Now we reinstall things. Don&#8217;t forget we need to reinstall the rails itself</p>
<pre class="brush: bash; title: ; notranslate">
sudo gem install -v=2.3.5 rails
sudo gem install rack
</pre>
<p>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.</p>
<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>
]]></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[<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[<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>
	</channel>
</rss>

