<?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>dbaranski.net</title>
	<atom:link href="http://www.dbaranski.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbaranski.net</link>
	<description>Programming... it&#039;s personal</description>
	<lastBuildDate>Wed, 30 Jun 2010 00:44:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The need for JavaScript &#8220;Frameworks&#8221;</title>
		<link>http://www.dbaranski.net/2010/06/the-need-for-javascript-frameworks/</link>
		<comments>http://www.dbaranski.net/2010/06/the-need-for-javascript-frameworks/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 00:42:29 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cappuccino]]></category>
		<category><![CDATA[design patterns]]></category>
		<category><![CDATA[JavaScriptMVC]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[sproutcore]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=158</guid>
		<description><![CDATA[This title seems relatively understandable, but I assure you I don&#8217;t mean libraries like, JQueries, Dojo, or YUI..  Quite on the contrary. The difference between frameworks and libraries is the pivotal point. Libraries vs Frameworks Libraries simply provide functionality. For example, JQuery is an awesome library. It can enhance any website adding interactivity with minimalistic [...]]]></description>
			<content:encoded><![CDATA[<p>This title seems relatively understandable, but I assure you I don&#8217;t mean libraries like, JQueries, Dojo, or YUI..  Quite on the contrary.  The difference between frameworks and libraries is the pivotal point.</p>
<p><strong>Libraries vs Frameworks</strong></p>
<p>Libraries simply provide functionality.  For example, JQuery is an awesome library.  It can enhance any website adding interactivity with minimalistic and efficient code.  When people think of frameworks on the other hand.  Things such as Django and Rails come to mind.  The difference might be coming more clear now.</p>
<p>Most importantly, frameworks provide an MVC structure to work on. They provide a structured approach to getting to job done.  Good framework will keep your code clean and actually give you less that will &#8220;just work&#8221; better.</p>
<p>Web application developers generally neglect the use of MVC in highly dynamic web pages when they really shouldn&#8217;t.  To be specific I believe that the Model (M in MVC) is ignored quite too often.</p>
<p>JavaScript does have frameworks,  quite a few in fact, with some of the most notable being <a href="http://www.sproutcore.com/">SproutCore</a>, <a href="http://cappuccino.org/">Cappuccino</a>, and <a href="http://javascriptmvc.com/">JavaScriptMVC</a>.  Far too often they are unheard of or unused.  From what I&#8217;ve seen it&#8217;s simply the complexity level and browser support (slow JavaScript) that really keeps people away.  But as those tides turn it&#8217;s time to re-think our front end strategy.</p>
<p><strong>The real divide</strong></p>
<p>Here&#8217;s what I suggest all <em><strong>good </strong></em>web apps should look like.  A two-tiered approach.<a href="http://www.dbaranski.net/wp-content/uploads/2010/06/dual_mvc.png"><img class="aligncenter size-full wp-image-162" title="dual_mvc" src="http://www.dbaranski.net/wp-content/uploads/2010/06/dual_mvc.png" alt="" width="363" height="595" /></a></p>
<p><strong>Front-end MVC</strong></p>
<p>The part of the MVC that gets trampled the most in front-end coding has got to the the Model.  Without it, data has no form of encapsulation and becomes a big pile of variables.  It&#8217;s hard to find cohesion between data-sets and the front end becomes complicated to understand.  Models also make it easy to cache previously used data.</p>
<p>Views seem harder to picture but it would be the currently visible portion of the web page.  Currently active and running widgets would account for the View here as well.  Anything dealing with or CRUDing (Create, Read, Update, Delete) HTML.</p>
<p>If you can segregate your JavaScript into logical Models and Views then Controllers will naturally be responsible for handling the actions and events.  And JavaScript is really good with that stuff <img src='http://www.dbaranski.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Cleaner Code Ahead</strong>!</p>
<p>Always think of web applications as two separate tiers (which they are!) and you will realize that the browser deserves good object design as well.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 114px; width: 1px; height: 1px; overflow: hidden;">http://cappuccino.org/</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2010/06/the-need-for-javascript-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canvas Art and Data Visualization</title>
		<link>http://www.dbaranski.net/2010/04/canvas-art-and-data-visualization/</link>
		<comments>http://www.dbaranski.net/2010/04/canvas-art-and-data-visualization/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 14:50:39 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[processing-js]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=139</guid>
		<description><![CDATA[I just keep running across neat stuff on the web.. Here&#8217;s two newer sites that might impress: Harmony Cool HTML5 Canvas drawing pad.  A neat take on new technology.  I expect much more artsy stuff like this to come out in the near future. Prezi Need a presentation but worried it will bore your audience [...]]]></description>
			<content:encoded><![CDATA[<p>I just keep running across neat stuff on the web.. Here&#8217;s two newer sites that might impress:</p>
<p><a href="http://mrdoob.com/projects/harmony"><strong>Harmony</strong></a></p>
<p>Cool HTML5 Canvas drawing pad.  A neat take on new technology.  I expect much more artsy stuff like this to come out in the near future.</p>
<p><a href="http://prezi.com/"><strong>Prezi</strong></a></p>
<p>Need a presentation but worried it will bore your audience to death?  Try out this new and inventive way to get your ideas across.  It&#8217;s free and hosted online.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2010/04/canvas-art-and-data-visualization/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Git on CentOS 5</title>
		<link>http://www.dbaranski.net/2010/03/installing-git-on-centos-5/</link>
		<comments>http://www.dbaranski.net/2010/03/installing-git-on-centos-5/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 13:37:13 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[epel]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=120</guid>
		<description><![CDATA[This technique requires the &#8220;Extra Packages for Enterprise Linux&#8221; repo.. So this is not a .rpm install from some untrusted site. It&#8217;s from the RedHat repos themselves. Firstly, install the EPEL package. More information on EPEL is available from their site. Then, install git and you&#8217;re done! su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm' yum install git [...]]]></description>
			<content:encoded><![CDATA[<p>This technique requires the &#8220;Extra Packages for Enterprise Linux&#8221; repo.. So this is not a .rpm install from some untrusted site. It&#8217;s from the RedHat repos themselves.</p>
<p>Firstly, install the EPEL package.  More information on EPEL is <a href="https://fedoraproject.org/wiki/EPEL">available from their site</a>.  Then, install git and you&#8217;re done!</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'</span><br />
yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">git</span></div></div>
<p>See the <a href="https://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3F">EPEL FAQ </a>for more details.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2010/03/installing-git-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow SSH Logins on CentOS 5</title>
		<link>http://www.dbaranski.net/2010/03/slow-ssh-logins-on-centos-5/</link>
		<comments>http://www.dbaranski.net/2010/03/slow-ssh-logins-on-centos-5/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 04:42:18 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=110</guid>
		<description><![CDATA[Following any of the usual how-to&#8217;s didn&#8217;t leave me with a successfully speedy login.. I eventually tracked down the problem to a particularly monumental bug in RedHat&#8217;s OpenSSH server (apparently fixed up stream.. it does us all now no good).. The fix edit /etc/ssh/sshd_config Find and change the lines (or add if missing): GSSAPIAuthentication yes [...]]]></description>
			<content:encoded><![CDATA[<p>Following any of the usual how-to&#8217;s didn&#8217;t leave me with a successfully speedy login.. I eventually tracked down the problem to a particularly monumental bug in RedHat&#8217;s OpenSSH server (apparently fixed up stream.. it does us all now no good)..</p>
<h4>The fix</h4>
<ol>
<li>edit <code class="codecolorer text default"><span class="text">/etc/ssh/sshd_config</span></code></li>
<li>Find and change the lines (or add if missing):
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">GSSAPIAuthentication yes<br />
...<br />
#UseDNS yes</div></div>
<p>to</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">GSSAPIAuthentication no<br />
...<br />
UseDNS no</div></div>
</li>
<li>Enjoy</li>
</ol>
<h4>Side Note</h4>
<p><strong>If you use CentOS you&#8217;re probably unable to reboot your SSH server and you don&#8217;t know it.</strong></p>
<p>I also experienced this problem while attempting to restart the ssh server. Everything seemed to work but when checking the logs it showed serious errors.  It complained about being unable to bind to port 22.  To see if you have the same problem follow these steps..</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/etc/init.d/sshd reload<br />
tail /var/log/secure</div></div>
<p>If you find something like the following:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sshd[20213]: Server listening on :: port 22.<br />
sshd[20213]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.</div></div>
<p>then you&#8217;ve got problems.. It&#8217;s basically saying that the localhost IPv6 address (represented as &#8220;::&#8221;) is hogging port 22 instead of 0.0.0.0 (means ANY IPv4 address).  If that&#8217;s what you want, then great! If not..</p>
<p>edit</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/etc/ssh/sshd_config</div></div>
<p>and change it to look as follows from</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#ListenAddress 0.0.0.0</span><br />
<span style="color: #666666; font-style: italic;">#ListenAddress ::</span></div></div>
<p>to</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ListenAddress 0.0.0.0<br />
<span style="color: #666666; font-style: italic;">#ListenAddress ::</span></div></div>
<p>Hope this helps!</p>
<p><strong>References</strong></p>
<ul>
<li><a href='http://www.ubuntugeek.com/fix-for-ssh-slow-to-ask-for-password-in-ubuntu-feisty-fawn.html'>http://www.ubuntugeek.com/fix-for-ssh-slow-to-ask-for-password-in-ubuntu-feisty-fawn.html</a></li>
<li><a href='http://bugs.centos.org/view.php?id=3234'>http://bugs.centos.org/view.php?id=3234</a></li>
<li><a href='http://www.openssh.com/faq.html#3.3'>http://www.openssh.com/faq.html#3.3</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2010/03/slow-ssh-logins-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JSON Data Wrappers</title>
		<link>http://www.dbaranski.net/2010/03/json-data-wrappers/</link>
		<comments>http://www.dbaranski.net/2010/03/json-data-wrappers/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 17:19:46 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[JSON]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=25</guid>
		<description><![CDATA[Many people use JSON nowadays to output information. Its lightweight and awesome! So why not. But I find that people neglect to maintain an appropriate syntax, if you will, while writing JSON output. Now, what I mean by &#8220;wrappers&#8221; is that most examples I&#8217;ve seen send back a JSON list. This list should always be [...]]]></description>
			<content:encoded><![CDATA[<p>Many people use JSON nowadays to output information.  Its lightweight and awesome! So why not.  But I find that people neglect to maintain an appropriate syntax, if you will, while writing JSON output.</p>
<p>Now, what I mean by &#8220;wrappers&#8221; is that most examples I&#8217;ve seen send back a JSON list. This list should always be wrapped with additional server information in case of internal server errors (500 errors) or the need for other clarifications (errors, total item counts, etc).</p>
<h3>A basic example wrapper</h3>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&#123;</span><br />
<span style="color: #3366CC;">&quot;status&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;ok&quot;</span><span style="color: #339933;">,</span><br />
<span style="color: #3366CC;">&quot;message&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span><br />
<span style="color: #3366CC;">&quot;resultCount&quot;</span><span style="color: #339933;">:</span> <span style="color: #CC0000;">10</span><span style="color: #339933;">,</span><br />
<span style="color: #3366CC;">&quot;resultOffset&quot;</span><span style="color: #339933;">:</span> <span style="color: #CC0000;">3</span><br />
<span style="color: #3366CC;">&quot;resultSet&quot;</span> <span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;one&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;two&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;three&quot;</span><span style="color: #009900;">&#93;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Using this Style of wrapper I know:</p>
<ul>
<li>There were no problems on the server side (the status entry)</li>
<li>There are 10 results in total for whatever I want (the resultCount entry)</li>
<li>The results are offset by 3 (the resultOffset)</li>
<li>I have 3 results to display to the end user (the resultSet entry)</li>
</ul>
<p>Note that some of these parameters could be optional (like offset).  But make sure that whoever is writing the JavaScript knows this!  It could otherwise cause unrecoverable JavaScript errors.</p>
<h3>Server Error handled gracefully</h3>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&#123;</span><br />
<span style="color: #3366CC;">&quot;status&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;error&quot;</span><span style="color: #339933;">,</span><br />
<span style="color: #3366CC;">&quot;message&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Database Error&quot;</span><span style="color: #339933;">,</span><br />
<span style="color: #3366CC;">&quot;resultCount&quot;</span><span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span><br />
<span style="color: #3366CC;">&quot;resultSet&quot;</span> <span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Here&#8217;s an example of a server 500 that, despite being completely unrecoverable, still gracefully displays JSON as to not cause execution errors in the browser.  Note that I omitted <code class="codecolorer text default"><span class="text">resultOffset</span></code> as I am using this parameter optionally.  I do return an empty <code class="codecolorer text default"><span class="text">resutSet</span></code> though.  JUST in case someone forgot to program any error handling in the JavaScript.</p>
<h3>Looking Forward</h3>
<p>This is only a simple example of what your wrapper should include, feel free to add other information like a timestamp for when it was served or other important data.  To get you started look at some examples from <a href="http://code.google.com/apis/ajaxsearch/documentation/">Google</a> or <a href="http://developer.yahoo.com/common/json.html">Yahoo</a> for ideas.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2010/03/json-data-wrappers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebooting the Blog</title>
		<link>http://www.dbaranski.net/2010/02/rebooting-the-blog/</link>
		<comments>http://www.dbaranski.net/2010/02/rebooting-the-blog/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 01:03:24 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=5</guid>
		<description><![CDATA[Well, It&#8217;s been some time since I&#8217;ve posted anything in my blog (about a year) and I figured it was time to do some spring cleaning.  I&#8217;ve dumped Drupal in exchange for WordPress now since it fits my needs better and it far easier to maintain. If anyone came to this site from a link [...]]]></description>
			<content:encoded><![CDATA[<p>Well, It&#8217;s been some time since I&#8217;ve posted anything in my blog (about a year) and I figured it was time to do some spring cleaning.  I&#8217;ve dumped Drupal in exchange for WordPress now since it fits my needs better and it far easier to maintain.</p>
<p>If anyone came to this site from a link or Google search I will make the old blog available shortly for archival purposes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2010/02/rebooting-the-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No Bluetooth on Ubuntu because of Bluesoleil</title>
		<link>http://www.dbaranski.net/2009/06/no-bluetooth-ubuntu-because-bluesoleil/</link>
		<comments>http://www.dbaranski.net/2009/06/no-bluetooth-ubuntu-because-bluesoleil/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 23:18:53 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bluetooth]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=77</guid>
		<description><![CDATA[For quite some time I simply couldn&#8217;t get Ubuntu to recognize my bluetooth adapter! I knew it worked because when I got the adapter and tried the provided software (Which just happened to be Bluesoleil) everything worked. After deciding not to use the proprietary software i removed it and the adapter stopped working. Running the [...]]]></description>
			<content:encoded><![CDATA[<p>For quite some time I simply couldn&#8217;t get Ubuntu to recognize my bluetooth adapter!  I knew it worked because when I got the adapter and tried the provided software (Which just happened to be <a href="http://www.bluesoleil.com/">Bluesoleil</a>) everything worked.  After deciding not to use the proprietary software i removed it and the adapter stopped working.</p>
<p>Running the general command to start up bluetooth only gave a cryptic message..</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ bluetoothd -d -n<br />
Can't open HCI socket: Address family not supported by protocol (97)</div></div>
<p>After googling around lead me to the fact that some kernel modules wern&#8217;t loaded for bluetooth. &#8220;Heh&#8221; I though since it WAS working fine before.  So I tried to enable the missing modules as per some other instructions:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ sudo modprobe bluetooth<br />
FATAL: Could not open '/lib/modules/2.6.27-9-generic/kernel/net/bluetooth/bluetooth.ko': No such file or directory</div></div>
<p>again.. more head scratching.. so after going to where the missing bluetooth.ko file should be located i find bluetooth.ko.bak instead. since there is no bluetooth.ko file I just removed the .bak extension and retried modprobe again.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ sudo modprobe</div></div>
<p>Success!  As to why it was a .bak file I had NO idea until i googled it.  I found <a href='http://forum.eeeuser.com/viewtopic.php?pid=330338#p330338'>another user</a> with the same .bak file which commented on bluesoleil doing the move. So I finally find the culprit of my bluetooth despair!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2009/06/no-bluetooth-ubuntu-because-bluesoleil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Zend Studio on 64 bit Ubuntu</title>
		<link>http://www.dbaranski.net/2009/04/running-zend-studio-64-bit-ubuntu/</link>
		<comments>http://www.dbaranski.net/2009/04/running-zend-studio-64-bit-ubuntu/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 17:07:04 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[64-Bit]]></category>
		<category><![CDATA[Zend Studio]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=69</guid>
		<description><![CDATA[If you&#8217;re trying to install Zend Studio on a 64 bit install of Ubuntu you will run into trouble unless you install the libc6-i386 and ia32-libs. Here is the command you need: sudo apt-get install libc6-i386 ia32-libs (This information came from the ubuntu forums)]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re trying to install Zend Studio on a 64 bit install of Ubuntu you will run into trouble unless you install the libc6-i386 and ia32-libs.  Here is the command you need:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo apt-get install libc6-i386 ia32-libs</div></div>
<p>(<a href=\"http://ubuntuforums.org/showthread.php?t=553508\">This information came from the ubuntu forums</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2009/04/running-zend-studio-64-bit-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pidgin MSN Spam</title>
		<link>http://www.dbaranski.net/2009/02/pidgin-msn-spam/</link>
		<comments>http://www.dbaranski.net/2009/02/pidgin-msn-spam/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 17:58:31 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=83</guid>
		<description><![CDATA[For some reason the Pidgin messaging program that comes with Ubuntu seems to think users want to receive messages from the entire world. That&#8217;s not necessarily a bad thing but there are too many spam bots out there to make this particular feature quite annoying. Luckily it&#8217;s a simple fix to turn off said spam [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason the Pidgin messaging program that comes with Ubuntu seems to think users want to receive messages from the entire world. That&#8217;s not necessarily a bad thing but there are too many spam bots out there to make this particular <em>feature</em> quite annoying.</p>
<p>Luckily it&#8217;s a simple fix to turn off said spam (thanks to <a href="http://techtites.com/2008/10/30/how-to-prevent-msn-spam-in-pidgin-tutorial-thursday/">Techtites article</a>)</p>
<ol>
<li>Run pidgin and open the buddy list window.</li>
<li>Go to Tools &gt; Privacy.</li>
<li>Choose the account that&#8217;s bothering you with spam (in my case MSN) and select the desired contact options (again, in my case it was <em>Allow only the users on my contact list</em>)</li>
<li>Enjoy spam free living.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2009/02/pidgin-msn-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SRCDS Linux auto-update fix</title>
		<link>http://www.dbaranski.net/2009/02/srcds-linux-auto-update-fix/</link>
		<comments>http://www.dbaranski.net/2009/02/srcds-linux-auto-update-fix/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 07:46:27 +0000</pubDate>
		<dc:creator>Dominic Baranski</dc:creator>
				<category><![CDATA[SRCDS]]></category>
		<category><![CDATA[auto-update]]></category>
		<category><![CDATA[how-to]]></category>

		<guid isPermaLink="false">http://www.dbaranski.net/?p=58</guid>
		<description><![CDATA[The Problem For some reason the Linux version of the dedicated server does not auto-update properly. It will simply fail to find the srcds bin file and have you do it manually for every update which gets very frustrating. The problem originates from the introduction of a new subdirectory for all &#8220;new&#8221; source engine games. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The Problem</strong></p>
<p>For some reason the Linux version of the dedicated server does not auto-update properly.  It will simply fail to find the srcds bin file and have you do it manually for every update which gets very frustrating.</p>
<p>The problem originates from the introduction of a new subdirectory for all &#8220;new&#8221; source engine games. Luckily, this can be fixed with just two new &#8220;cd&#8221; lines in the script file!</p>
<p><strong>The Fix</strong></p>
<ol>
<li>Find and open the file <code class="codecolorer text default"><span class="text">srcds_run</span></code> for editing (It will be a script file).  It can be found in the game directory like  <code class="codecolorer text default"><span class="text">/orangebox</span></code> or <code class="codecolorer text default"><span class="text">/l4d</span></code></li>
<li>search for the line <code class="codecolorer text default"><span class="text">update()</span></code>.  It can be found around line number 295.</li>
<li>Make it look like this:
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">update<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #007800;">PWD</span>=<span style="color: #7a0874; font-weight: bold;">pwd</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">cd</span> ..<br />
&nbsp; &nbsp; updatesingle<br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$PWD</span><br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></div>
</li>
</ol>
<p>This should update any &#8220;new&#8221; srcds server by going back one directory, running srcds, and returning to the previous directory.</p>
<p><strong>Notes</strong><br />
I suggest saving this new copy of srcds_run as something else like &#8220;srcds_run_tf2&#8243;.  This will prevent the file from ever being overwritten by an update and will keep the original file if ever needed again.</p>
<p>Updated: Nov 26th<br />
- Made this how-to more generic for any game like l4d</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbaranski.net/2009/02/srcds-linux-auto-update-fix/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
