<?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>Deft Flux &#187; Open Source</title>
	<atom:link href="http://deftflux.com/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://deftflux.com</link>
	<description>recycling truckloads of electrons daily</description>
	<lastBuildDate>Mon, 24 May 2010 15:40:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ruby on Rails</title>
		<link>http://deftflux.com/2009/03/13/ruby-on-rails/</link>
		<comments>http://deftflux.com/2009/03/13/ruby-on-rails/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 15:04:32 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://deftflux.com/?p=34</guid>
		<description><![CDATA[We at Deft Flux have been using Ruby on Rails for a new web site.  We are developing a web site that will help inspectors of homes and businesses do their jobs better and easier.  The site will automate the communications between the inspection requesters, the inspection managers, and the inspectors and make information transfer [...]]]></description>
			<content:encoded><![CDATA[<p>We at Deft Flux have been using Ruby on Rails for a new web site.  We are developing a web site that will help inspectors of homes and businesses do their jobs better and easier.  The site will automate the communications between the inspection requesters, the inspection managers, and the inspectors and make information transfer reliable. But back to Ruby on Rails.  After using the Ruby language and the Rails framework for a couple of months now, we are in love.  The Ruby language is terse; it is powerful. What else could you ask for?  The Rails framework makes it easy tie your object oriented application into your relational database of choice.  Moreover, Rails automates your database migrations when you upgrade your application so that you don&#8217;t accidentally bollix things.</p>
<p>We understand that some commercial languages (e.g. .NET and ColdFusion) and PHP are implementing frameworks like Rails.  We are stoked that Ruby on Rails is amongst the pioneers and that the power of the language makes it a pleasure to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://deftflux.com/2009/03/13/ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gnu For Windows</title>
		<link>http://deftflux.com/2008/10/02/gnu-for-windows/</link>
		<comments>http://deftflux.com/2008/10/02/gnu-for-windows/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 18:26:39 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://deftflux.com/?p=4</guid>
		<description><![CDATA[We here at Deft Flux have always preferred Unix style operating systems and commands to Microsoft.  The problem was that our clients always use Microsoft operating systems and until recently, it was always too much of a hassle to get gnu utilities up and running on a Microsoft workstation, especially when you&#8217;re moving to a [...]]]></description>
			<content:encoded><![CDATA[<p>We here at Deft Flux have always preferred Unix style operating systems and commands to Microsoft.  The problem was that our clients always use Microsoft operating systems and until recently, it was always too much of a hassle to get gnu utilities up and running on a Microsoft workstation, especially when you&#8217;re moving to a new one every few months.  Well, since the good folks at gnu started compiling programs for windows and providing installation programs (to cover dependancies), we decided every workstation needs gnu utilities.  First, we install gvim because it is the best text editor ever written.  Then we install grep, core utilities, and finally sed.  Thus we have assembled, on a Microsoft workstation, a group of what are arguably the most useful programs ever written, pound for pound.</p>
<p><span id="more-4"></span>Now when you are using gvim, you are editing files faster than ever.  But when you are using grep and sed and so on, you get a request to remove commas from the names of 20,000 files and you say &#8220;with pleasure.&#8221;<code>dir /b | grep , | \<br />
sed -e "s/^.*/\d034&amp;\d034 /;h" -e "s/,/_/;x" \<br />
-e "s/^.*/mv &amp;/;G" -e "s/\n//"</code></p>
<ul>
<li>We used dir at the beginning because it runs faster than ls in a Windows directory with 20,000 files.  One could just as easily use ls.</li>
<li>Even though we could have done the same thing with sed, we used grep just to take away one sed command.</li>
<li>We broke the sed commands into pieces because we were having problems with how Windows was passing arguments to sed.  This also makes the line [slightly] more readable.</li>
<li>The sed edits operate on this wise:
<ul>
<li>Add quotation marks to the beginning and the end of the file name.</li>
<li>Save the resulting string in a buffer (clipboard).</li>
<li>Replace commas in the file name with underscores.</li>
<li>Exchange the fixed file name with the buffer.  Now we&#8217;re working with the original file name.</li>
<li>Add the mv command before the original file name.</li>
<li>Paste the fixed filename after the mv and original file name.</li>
</ul>
</li>
</ul>
<p>Redirect this output to a file and you have a script to remove all of those pesky commas.  Sweet?  We think so.</p>
]]></content:encoded>
			<wfw:commentRss>http://deftflux.com/2008/10/02/gnu-for-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
