<?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>databasically // Kansas City Small Business IT &#38;&#38; Ruby on Rails Programming</title>
	<atom:link href="http://databasically.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://databasically.com</link>
	<description>Kansas City Small Business IT</description>
	<lastBuildDate>Mon, 08 Mar 2010 04:11:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;warning: updating the current branch&#8221; when pushing to a git repository</title>
		<link>http://databasically.com/2010/03/08/warning-updating-the-current-branch-when-pushing-to-a-git-repository/</link>
		<comments>http://databasically.com/2010/03/08/warning-updating-the-current-branch-when-pushing-to-a-git-repository/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 04:05:07 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Version Control]]></category>

		<guid isPermaLink="false">http://databasically.com/?p=256</guid>
		<description><![CDATA[I pushed some changes after updating git on my server to git 1.6+ and now I get this:
$ git push origin master
...
warning: updating the current branch
warning: Updating the currently checked out branch may cause confusion,
warning: as the index and work tree do not reflect changes that are in HEAD.
warning: As a result, you may see [...]]]></description>
			<content:encoded><![CDATA[<p>I pushed some changes after updating git on my server to git 1.6+ and now I get this:</p>
<pre name="code" class="css">$ git push origin master
...
warning: updating the current branch
warning: Updating the currently checked out branch may cause confusion,
warning: as the index and work tree do not reflect changes that are in HEAD.
warning: As a result, you may see the changes you just pushed into it
warning: reverted when you run 'git diff' over there, and you may want
warning: to run 'git reset --hard' before starting to work to recover.
warning:
warning: You can set 'receive.denyCurrentBranch' configuration variable to
warning: 'refuse' in the remote repository to forbid pushing into its
warning: current branch.
warning: To allow pushing into the current branch, you can set it to 'ignore';
warning: but this is not recommended unless you arranged to update its work
warning: tree to match what you pushed in some other way.
warning:
warning: To squelch this message, you can set it to 'warn'.
warning:
warning: Note that the default will change in a future version of git
warning: to refuse updating the current branch unless you have the
warning: configuration variable set to either 'ignore' or 'warn'.
</pre>
<p>Woah!  After some research, this is because I didn&#8217;t set up my remote folder as &#8220;bare&#8221;. A non-bare repository has a working copy attached to it, and this warning is telling you that said working copy exists and is currently checked out to the branch you&#8217;re trying to push to.</p>
<p>This is bad, because if you were pushing to a co-worker&#8217;s machine, then when they go to commit or run a diff, things will go awry.  In this case, I just didn&#8217;t set up the repository correctly (it was the first one I&#8217;d done!) so I wasn&#8217;t in danger of losing anything.</p>
<p>The fix is to use <code>--bare</code>:<br />
<code>git init --bare</code> or <code>git clone --bare</code></p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/03/08/warning-updating-the-current-branch-when-pushing-to-a-git-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing sqlite headers on ubuntu (sqlite3.h not found)</title>
		<link>http://databasically.com/2010/03/05/installing-sqlite-headers-on-ubuntu-sqlite3-h-not-found/</link>
		<comments>http://databasically.com/2010/03/05/installing-sqlite-headers-on-ubuntu-sqlite3-h-not-found/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 22:21:47 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://databasically.com/?p=251</guid>
		<description><![CDATA[I was setting up Integrity for the first time and ran into this on my server when bundling gems:
~$ bundle install
...
Installing do_sqlite3 (0.10.0) from rubygems repository at
  http://gemcutter.org/ with native extensions
  /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:482:in
  `build_extensions':
ERROR: Failed to build gem native extension.
  (Gem::Installer::ExtensionBuildError)

/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
*** extconf.rb failed ***
...

The key is the line: [...]]]></description>
			<content:encoded><![CDATA[<p>I was setting up <a href="http://integrityapp.com/">Integrity</a> for the first time and ran into this on my server when bundling gems:</p>
<pre name="code" class="ruby">~$ bundle install
...
Installing do_sqlite3 (0.10.0) from rubygems repository at
  http://gemcutter.org/ with native extensions
  /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:482:in
  `build_extensions':
ERROR: Failed to build gem native extension.
  (Gem::Installer::ExtensionBuildError)

/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
*** extconf.rb failed ***
...
</pre>
<p>The key is the line: <code>checking for sqlite3.h... no</code><br />
The <code>do_sqlite3</code> gem gets compiled natively, but the development headers weren&#8217;t installed on the system and so the compilation won&#8217;t work.</p>
<p>Install them:</p>
<pre name="code" class="ruby">~$ sudo apt-get install sqlite3
~$ sudo apt-get install libsqlite3-dev</pre>
<p>Then, re-bundle:</p>
<pre name="code" class="ruby">~$ bundle install</pre>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/03/05/installing-sqlite-headers-on-ubuntu-sqlite3-h-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Taking Too Long To Boot?</title>
		<link>http://databasically.com/2010/03/01/windows-7-taking-too-long-to-boot/</link>
		<comments>http://databasically.com/2010/03/01/windows-7-taking-too-long-to-boot/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 00:16:04 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://databasically.com/?p=241</guid>
		<description><![CDATA[You may like having a picture for your desktop background. You may be minimalist and choose a solid color. If you&#8217;re the latter, your computer may take about 30 extra seconds to start up. Microsoft has acknowledged this issue and to fix it you can do one of the following:

 Change your background back to [...]]]></description>
			<content:encoded><![CDATA[<p>You may like having a picture for your desktop background. You may be minimalist and choose a solid color. If you&#8217;re the latter, your computer may take about 30 extra seconds to start up. Microsoft has acknowledged this issue and to fix it you can do one of the following:</p>
<ul>
<li> Change your background back to an image.</li>
<li>Turn off the Desktop Window Manager. (Note: this will turn off mouse arrow effects)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/03/01/windows-7-taking-too-long-to-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom date formats in Rails</title>
		<link>http://databasically.com/2010/02/26/custom-date-formats-in-rails/</link>
		<comments>http://databasically.com/2010/02/26/custom-date-formats-in-rails/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 14:58:05 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://databasically.com/?p=235</guid>
		<description><![CDATA[I like to keep my date formats all together, instead of having .strftime() mixed into my code.

Create a file /config/initializers/custom_date_formats.rb
Load your formats into Time::DATE_FORMATS
Time::DATE_FORMATS[:ymd] = "%Y-%m-%d"
Use like so:
@christmas_post.created_at.to_s(:ymd)
# => "2009-12-25"
]]></description>
			<content:encoded><![CDATA[<p>I like to keep my date formats all together, instead of having <code>.strftime()</code> mixed into my code.<br />
<span id="more-235"></span><br />
Create a file <code>/config/initializers/custom_date_formats.rb</code></p>
<p>Load your formats into <code>Time::DATE_FORMATS</code></p>
<pre name="code" class="ruby">Time::DATE_FORMATS[:ymd] = "%Y-%m-%d"</pre>
<p>Use like so:</p>
<pre name="code" class="ruby">@christmas_post.created_at.to_s(:ymd)
# => "2009-12-25"</pre>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/02/26/custom-date-formats-in-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kansas City pictures</title>
		<link>http://databasically.com/2010/02/25/kansas-city-pictures/</link>
		<comments>http://databasically.com/2010/02/25/kansas-city-pictures/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 23:03:51 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Kansas City]]></category>

		<guid isPermaLink="false">http://localhost/?p=229</guid>
		<description><![CDATA[Some fantastic pictures of Kansas City:


The Kansas City skyline at night.  Very nice picture.


Kansas City&#8217;s Nelson-Atkins art museum has an installation of four giant shuttlecocks on the lawn.  A great place to take friends for a picture when you&#8217;re bored.
]]></description>
			<content:encoded><![CDATA[<p>Some fantastic pictures of Kansas City:</p>
<p style="text-align: left;"><a href="http://www.flickr.com/photos/rock_chalk_jhawk_ku/1756456026/"><img class="alignnone" title="Kansas City Skyline at night" src="http://farm3.static.flickr.com/2186/1756456026_b8b7b81730.jpg" alt="" width="500" height="340" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;">The Kansas City skyline at night.  Very nice picture.</p>
<p style="text-align: center;">
<p><a href="http://www.flickr.com/photos/loaring/2706218878/"><img class="alignnone" title="Kansas City Shuttlecocks" src="http://farm4.static.flickr.com/3199/2706218878_99c378bff1.jpg" alt="" width="500" height="333" /></a></p>
<p style="text-align: left;">Kansas City&#8217;s Nelson-Atkins art museum has an installation of four giant shuttlecocks on the lawn.  A great place to take friends for a picture when you&#8217;re bored.</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/02/25/kansas-city-pictures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kansas City Ruby User Group: Kyle J Ginavan on Progressive Enhancement</title>
		<link>http://databasically.com/2010/02/12/kansas-city-ruby-user-group-kyle-j-ginavan-on-progressive-enhancement/</link>
		<comments>http://databasically.com/2010/02/12/kansas-city-ruby-user-group-kyle-j-ginavan-on-progressive-enhancement/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 16:30:59 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Kansas City Ruby User Group]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=186</guid>
		<description><![CDATA[Presentation: Kyle Ginivan on Progressive Enhancement
Progressive enhancement is a strategy for web  design that emphasizes accessibility, semantic markup, and external  stylesheet and scripting technologies. Progressive enhancement uses web  technologies in a layered fashion that allows everyone to access the  basic content and functionality of a web page, using any browser or [...]]]></description>
			<content:encoded><![CDATA[<p>Presentation: <a href="http://twitter.com/kylejginavan">Kyle Ginivan</a> on Progressive Enhancement</p>
<blockquote><p><strong>Progressive enhancement</strong> is a strategy for web  design that emphasizes accessibility, semantic markup, and external  stylesheet and scripting technologies. Progressive enhancement uses web  technologies in a layered fashion that allows everyone to access the  basic content and functionality of a web page, using any browser or  Internet connection, while also providing those with better bandwidth or  more advanced browser software an enhanced version of the page.<br />
<span id="more-186"></span><br />
<a href="http://en.wikipedia.org/wiki/Progressive_enhancement">http://en.wikipedia.org/wiki/Progressive_enhancement</a></p></blockquote>
<div style="text-align:center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="281" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=9403827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="500" height="281" src="http://vimeo.com/moogaloop.swf?clip_id=9403827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object>></div>
<p><a href="http://vimeo.com/9403827">Kansas City Ruby Users Group | February 2010 | Kyle J. Ginavan | Progressive Enhancement | kcrug.org</a> from <a href="http://vimeo.com/wesgarrison">Wes Garrison</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<h3>Resources:</h3>
<p>Nicole Sullivan on Object Oriented CSS</p>
<ul>
<li>Slides: <a href="http://www.slideshare.net/stubbornella/object-oriented-css" target="_blank">http://www.slideshare.net/stubbornella/object-oriented-css</a></li>
<li>Code: <a href="http://wiki.github.com/stubbornella/oocss/" target="_blank">http://wiki.github.com/stubbornella/oocss/</a></li>
</ul>
<p>Other articles:</p>
<ul>
<li>A List Apart: <a href="http://www.alistapart.com/articles/understandingprogressiveenhancement/">Understanding Progressive Enhancement</a></li>
<li>Wikipedia: <a href="http://en.wikipedia.org/wiki/Progressive_enhancement">Progressive Enhancement</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/02/12/kansas-city-ruby-user-group-kyle-j-ginavan-on-progressive-enhancement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kansas City Ruby User Group: Shashank Date on Blocks, Procs, and Lambdas</title>
		<link>http://databasically.com/2010/01/15/kansas-city-ruby-user-group-shashank-date-on-blocks-procs-and-lambdas/</link>
		<comments>http://databasically.com/2010/01/15/kansas-city-ruby-user-group-shashank-date-on-blocks-procs-and-lambdas/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 16:29:06 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Kansas City Ruby User Group]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=189</guid>
		<description><![CDATA[
Kansas City Ruby Users Group &#124; February 2010 &#124; Kyle J. Ginavan &#124; Progressive Enhancement &#124; kcrug.org from Wes Garrison on Vimeo.
]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9403827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9403827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object>
<p><a href="http://vimeo.com/9403827">Kansas City Ruby Users Group | February 2010 | Kyle J. Ginavan | Progressive Enhancement | kcrug.org</a> from <a href="http://vimeo.com/wesgarrison">Wes Garrison</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/01/15/kansas-city-ruby-user-group-shashank-date-on-blocks-procs-and-lambdas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu postfix error &#8212; postdrop: warning: unable to look up public/pickup: No such file or directory</title>
		<link>http://databasically.com/2009/12/02/ubuntu-postfix-error-postdrop-warning-unable-to-look-up-publicpickup-no-such-file-or-directory/</link>
		<comments>http://databasically.com/2009/12/02/ubuntu-postfix-error-postdrop-warning-unable-to-look-up-publicpickup-no-such-file-or-directory/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 20:40:36 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Sysadmin]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=176</guid>
		<description><![CDATA[I installed postfix and got this error:
postdrop: warning: unable to look up public/pickup: No such file or directory.

Turns out that sendmail was previously installed and that was messing things up.  I had to stop sendmail and make the appropriate directory and restart postfix.
Specifically:

mkfifo /var/spool/postfix/public/pickup
ps aux &#124; grep mail
kill 
sudo /etc/init.d/postfix restart

]]></description>
			<content:encoded><![CDATA[<p>I installed postfix and got this error:<br />
<code>postdrop: warning: unable to look up public/pickup: No such file or directory.</code><br />
<span id="more-176"></span><br />
Turns out that sendmail was previously installed and that was messing things up.  I had to stop sendmail and make the appropriate directory and restart postfix.</p>
<p>Specifically:<br />
<code><br />
mkfifo /var/spool/postfix/public/pickup<br />
ps aux | grep mail<br />
kill <sendmail process id><br />
sudo /etc/init.d/postfix restart<br />
</sendmail></code></p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2009/12/02/ubuntu-postfix-error-postdrop-warning-unable-to-look-up-publicpickup-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capistrano deploy error &quot;fatal: unable to create &#039;.git/index.lock&#039;: File exists&quot;</title>
		<link>http://databasically.com/2009/10/21/capistrano-deploy-error-fatal-unable-to-create-gitindex-lock-file-exists/</link>
		<comments>http://databasically.com/2009/10/21/capistrano-deploy-error-fatal-unable-to-create-gitindex-lock-file-exists/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 15:54:35 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Version Control]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=132</guid>
		<description><![CDATA[This isn&#8217;t specific to capistrano, necessarily, but I ran into it deploying.
fatal: unable to create '.git/index.lock': File exists

The fix:
Got to your project&#8217;s shared/cached-copy/.git folder and delete index.lock .  It shouldn&#8217;t ever get hung up like that, but it happened to me.
]]></description>
			<content:encoded><![CDATA[<p>This isn&#8217;t specific to capistrano, necessarily, but I ran into it deploying.</p>
<p><code>fatal: unable to create '.git/index.lock': File exists</code><br />
<span id="more-132"></span><br />
The fix:<br />
Got to your project&#8217;s shared/cached-copy/.git folder and delete index.lock .  It shouldn&#8217;t ever get hung up like that, but it happened to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2009/10/21/capistrano-deploy-error-fatal-unable-to-create-gitindex-lock-file-exists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing: Lowdown, a Cucumber feature editing webapp</title>
		<link>http://databasically.com/2009/08/25/announcing-lowdown-a-cucumber-feature-editing-webapp/</link>
		<comments>http://databasically.com/2009/08/25/announcing-lowdown-a-cucumber-feature-editing-webapp/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 22:35:09 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://localhost/?p=221</guid>
		<description><![CDATA[




An original application completed for Rails Rumble 2009.
Lowdown helps keep your development project on track by helping   developers, designers, project managers and owners all focus on   satisfying stakeholders.
Built along with Sean Cribbs + Scotty   Moon + Paul  du Coudray
While leading the competition after judges&#8217; voting ended, we slipped [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter">
<dl class="wp-caption aligncenter" style="width: 610px;">
<dt class="wp-caption-dt"><img title="Lowdown App" src="/wp-content/images/lowdown-screen.png" alt="" width="600" height="337" /></dt>
</dl>
</div>
<p>An original application completed for <a href="http://r09.railsrumble.com">Rails Rumble 2009</a>.</p>
<p>Lowdown helps keep your development project on track by helping   developers, designers, project managers and owners all focus on   satisfying stakeholders.</p>
<p>Built along with <a href="http://www.prime-motif.com/">Sean Cribbs</a> + <a href="http://www.scottymoon.com/">Scotty   Moon</a> + <a href="http://spurrd.com">Paul  du Coudray</a></p>
<p>While leading the competition after judges&#8217; voting ended, we slipped to 4th place after public voting and ended up taking the &#8220;Best Appearance&#8221; category, which is fantastic.</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2009/08/25/announcing-lowdown-a-cucumber-feature-editing-webapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
