<?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>Floyd's Thoughts... &#187; Didn&#8217;t know Yesterday</title>
	<atom:link href="http://www.floydprice.com/category/didnt-know-yesterday/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.floydprice.com</link>
	<description>Because Everything is Interesting!!!</description>
	<lastBuildDate>Fri, 18 Jun 2010 05:32:05 +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>Best Buy &#8211; Open Sources IdeaX</title>
		<link>http://www.floydprice.com/2010/06/best-buy-open-source-ideax/</link>
		<comments>http://www.floydprice.com/2010/06/best-buy-open-source-ideax/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 21:38:17 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Didn't know Yesterday]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=209</guid>
		<description><![CDATA[Best Buy has received much acclaim for its IdeaX platform over the last year, and rightly so. For anyone who isn&#8217;t away of IdeaX its an Idea Gathering application that allows Best Buy to capture ideas and comments from customers and staff members, which can then be voted or commented on buy other customers or [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bestbuy.com">Best Buy</a> has received much acclaim for its <a href="http://bestbuyideax.com/">IdeaX</a> platform over the last year, and rightly so. For anyone who isn&#8217;t away of IdeaX its an Idea Gathering application that allows Best Buy to capture ideas and comments from customers and staff members, which can then be voted or commented on buy other customers or staff members. The basic idea is that good ideas will organically rise to the top as votes and comments increase the &#8220;score&#8221; given to an Idea. Best Buy can then take a &#8220;good&#8221; idea and make it into a reality.</p>
<p>Idea Gather Applications (also known as Idea Management Apps) are not a new thing, many American corporates have already embraced this concept including Google and Dell, and while each have great apps the Best Buy IdeaX platform stands head and shoulders about the competition.</p>
<p>While browsing Hacker News the other day i noticed a post saying that the Best Buy IdeaX platform has been open sourced! This is a great step for Best Buy, Come on, a big non-tech US corporate releasing an Open Source product!!! its unheard of! Whats more the app is written in Ruby on Rails, which in its self is a massive step for a big corporate who would traditionally have written apps like this in C# or Java.</p>
<p>Check out the <a href="http://bbyidx.com/">project home page</a> for the full story, and be sure to take a look around the code <img src='http://www.floydprice.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>The project does take some getting going, you have to me using Postgress and be sure to check out the mad Postgress Specific stuff going on in the migrations. I plan on getting a version of it up and running on EC2 over the next few days (time permitting) so I will issue some instructions in a later post.</p>
<p>All I can say is Hat Tip to Best Buy, Great job!</p>
<p> </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2010/06/best-buy-open-source-ideax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes 8 really does have a &#8220;Genius&#8221; feature.</title>
		<link>http://www.floydprice.com/2008/09/itunes-8-really-does-have-a-genius-feature/</link>
		<comments>http://www.floydprice.com/2008/09/itunes-8-really-does-have-a-genius-feature/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 16:40:04 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[Didn't know Yesterday]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Reality]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=119</guid>
		<description><![CDATA[As you know iTunes 8 has a new feature called Genius, which when activated will create a playlist based on the song that you are currently listening to. Let me take this opportunity to say that the iTunes Genius feature is&#8230; well GENIUS! It has changed the way I use iTunes for ever! Once your [...]]]></description>
			<content:encoded><![CDATA[<p>As you know iTunes 8 has a new feature called Genius, which when activated will create a playlist based on the song that you are currently listening to.</p>
<p>Let me take this opportunity to say that the iTunes Genius feature is&#8230; well GENIUS! It has changed the way I use iTunes for ever!</p>
<p>Once your iTunes library get over a few thousand tracks you often find that you loose the ability to put your hand on a great track to listen to next, the grouping of albums, artists, genres, etc makes it almost impossible to create a &#8220;Fresh&#8221; new playlist that hangs together well, Genius solves this issue in an instant.</p>
<p>The icing on the cake is the Genius side bar that includes songs that would fit well into the playlist that you don&#8217;t already own, in the few hours that I have been using it, I have already found several &#8220;GEMS&#8221; that i would normally not have in my library.</p>
<p>The only down side to the Genius feature that i can see it that I&#8217;m now going to spend even more cash on iTunes each day! Doh!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2008/09/itunes-8-really-does-have-a-genius-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something I didn&#8217;t know Yesterday #2</title>
		<link>http://www.floydprice.com/2008/08/something-i-didnt-know-yesterday-2/</link>
		<comments>http://www.floydprice.com/2008/08/something-i-didnt-know-yesterday-2/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 19:46:44 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Didn't know Yesterday]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=45</guid>
		<description><![CDATA[Rails (or should i say ActiveSupport) adds a blank? instance method to object that encapsulates the nil? &#124;&#124; empty? check that I find myself doing all the time. A quick review of the source show that the empty? method is added to the following: # An object is blank if it's nil, empty, or a [...]]]></description>
			<content:encoded><![CDATA[<p>Rails (or should i say ActiveSupport) adds a blank? instance method to object that encapsulates the nil? || empty? check that I find myself doing all the time.</p>
<p>A quick review of the source show that the empty? method is added to the following:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">  <span style="color:#008000; font-style:italic;"># An object is blank if it's nil, empty, or a whitespace string.</span>
  <span style="color:#008000; font-style:italic;"># For example, &quot;&quot;, &quot;   &quot;, nil, [], and {} are blank.</span>
  <span style="color:#008000; font-style:italic;">#</span>
  <span style="color:#008000; font-style:italic;"># This simplifies</span>
  <span style="color:#008000; font-style:italic;">#   if !address.nil? &amp;&amp; !address.empty?</span>
  <span style="color:#008000; font-style:italic;"># to</span>
  <span style="color:#008000; font-style:italic;">#   if !address.blank?</span></pre></div></div>

<p>The full source is actually very simple (I Love Ruby)</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC00FF; font-weight:bold;">Object</span>
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">def</span> blank?
    <span style="color:#9966CC; font-weight:bold;">if</span> respond_to?<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:empty</span>?<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&amp;&amp;</span> respond_to?<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:strip</span><span style="color:#006600; font-weight:bold;">&#41;</span>
      empty? <span style="color:#9966CC; font-weight:bold;">or</span> strip.<span style="color:#9900CC;">empty</span>?
    <span style="color:#9966CC; font-weight:bold;">elsif</span> respond_to?<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:empty</span>?<span style="color:#006600; font-weight:bold;">&#41;</span>
      empty?
    <span style="color:#9966CC; font-weight:bold;">else</span>
      !<span style="color:#0000FF; font-weight:bold;">self</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC00FF; font-weight:bold;">NilClass</span> <span style="color:#008000; font-style:italic;">#:nodoc:</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> blank?
    <span style="color:#0000FF; font-weight:bold;">true</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC00FF; font-weight:bold;">FalseClass</span> <span style="color:#008000; font-style:italic;">#:nodoc:</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> blank?
    <span style="color:#0000FF; font-weight:bold;">true</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC00FF; font-weight:bold;">TrueClass</span> <span style="color:#008000; font-style:italic;">#:nodoc:</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> blank?
    <span style="color:#0000FF; font-weight:bold;">false</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC0066; font-weight:bold;">Array</span> <span style="color:#008000; font-style:italic;">#:nodoc:</span>
  alias_method <span style="color:#ff3333; font-weight:bold;">:blank</span>?, <span style="color:#ff3333; font-weight:bold;">:empty</span>?
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC00FF; font-weight:bold;">Hash</span> <span style="color:#008000; font-style:italic;">#:nodoc:</span>
  alias_method <span style="color:#ff3333; font-weight:bold;">:blank</span>?, <span style="color:#ff3333; font-weight:bold;">:empty</span>?
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC0066; font-weight:bold;">String</span> <span style="color:#008000; font-style:italic;">#:nodoc:</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> blank?
    empty? <span style="color:#006600; font-weight:bold;">||</span> strip.<span style="color:#9900CC;">empty</span>?
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#CC00FF; font-weight:bold;">Numeric</span> <span style="color:#008000; font-style:italic;">#:nodoc:</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> blank?
    <span style="color:#0000FF; font-weight:bold;">false</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2008/08/something-i-didnt-know-yesterday-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something I didn&#8217;t know Yesterday</title>
		<link>http://www.floydprice.com/2008/08/something-i-didnt-know-yesterday/</link>
		<comments>http://www.floydprice.com/2008/08/something-i-didnt-know-yesterday/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 19:23:15 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[Didn't know Yesterday]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=15</guid>
		<description><![CDATA[Using the SVN client you can pass &#8211;xml to most of the commands to get a response in XML! This is great for apps that use the SVN Client API and need to parse the response, for example&#8230; svn log http://svn_url --xml Will produce a nice XML version of the SVN log. For good measure [...]]]></description>
			<content:encoded><![CDATA[<p>Using the SVN client you can pass &#8211;xml to most of the commands to get a response in XML!</p>
<p>This is great for apps that use the SVN Client API and need to parse the response, for example&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> log http:<span style="color: #000000; font-weight: bold;">//</span>svn_url <span style="color: #660033;">--xml</span></pre></div></div>

<p>Will produce a nice XML version of the SVN log.</p>
<p>For good measure you can also use the verbose option to extract even more information&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> log http:<span style="color: #000000; font-weight: bold;">//</span>svn_url <span style="color: #660033;">--xml</span> <span style="color: #660033;">-v</span></pre></div></div>

<p>Pretty cool ey?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2008/08/something-i-didnt-know-yesterday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
