<?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>Blinkray</title>
	<atom:link href="http://blinkray.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blinkray.com</link>
	<description>Changing things for the better</description>
	<lastBuildDate>Mon, 30 Apr 2012 01:52:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Developing for the Commerce Business Apps Challenge</title>
		<link>http://blinkray.com/developing-for-the-commerce-business-apps-challenge/</link>
		<comments>http://blinkray.com/developing-for-the-commerce-business-apps-challenge/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 01:30:09 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[blueprint]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[Commerce Business Apps Challenge]]></category>
		<category><![CDATA[contests]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[farmers markets]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[webfaction]]></category>

		<guid isPermaLink="false">http://blinkray.com/?p=53</guid>
		<description><![CDATA[A month or so ago I stumbled across a post about the Commerce Business Apps Challenge. I&#8217;ve never entered any kind of development contest. Besides work, the only development I&#8217;ve ever done was for myself and my pet projects that consisted primarily of trying &#8230; <a href="http://blinkray.com/developing-for-the-commerce-business-apps-challenge/">Continued</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blinkray.com/developing-for-the-commerce-business-apps-challenge/iphone/" rel="attachment wp-att-80"><img class="alignleft size-medium wp-image-80" title="iphone" src="http://blinkray.com/assets/iphone-159x300.png" alt="" width="159" height="300" /></a>A month or so ago I stumbled across a post about the <a href="http://docbusinessapps.challenge.gov/">Commerce Business Apps Challenge</a>. I&#8217;ve never entered any kind of development contest. Besides work, the only development I&#8217;ve ever done was for myself and my pet projects that consisted primarily of trying new technologies. However, it interested me because I&#8217;ve been tinkering with open data available from <a href="http://www.data.gov/">Data.gov</a> off and on for a while now. Honestly, there&#8217;s a veritable treasure trove of data available there. There are almost endless opportunities for applications that you can build using the data available there.</p>
<p>With that in mind I decided to enter the contest. First prize is 5K and who couldn&#8217;t use some extra cash, right? Although I found out about the contest a little late in the game, I was reasonably sure that I could put something together that, even if I didn&#8217;t win or place at all, would still be useful to someone. However, putting together an app in 30 days with all kinds of other things going on isn&#8217;t exactly a non-complex task. I also have a job and a family and both of those place other requirements on my time. So, I had to utilize my time effectively and come up with a decent idea that wasn&#8217;t too grandiose.</p>
<p>I thought a nice compliment to the contest submission would be a post that essentially outlined my development and the decisions ( and mistakes ) I made. It was certainly a bit of a learning process. In my research I came across something that, in my own mind, changed the course of things and hopefully made my efforts more focused.</p>
<p><span id="more-53"></span></p>
<h2>Sifting through the data:</h2>
<p>The first thing of course, and since it was a requirement of the contest, that had to be done was sift through the mountains of available datasets. The whole time you&#8217;re doing it the glaring question is, &#8220;What can you possibly do with this data?&#8221; Part of the requirement for this app is that you must use at least one set of data from DOC. You are more than welcome to use any other data, but at a minimum one <strong>must</strong> be from DOC. This was a little confusing at first &#8211; trying to determine what is from where &#8211; but I <em>think</em> I ultimately cleared that up for myself.</p>
<p>One caveat when starting to look at data available is that it might be wise that you either be knowledgable about the data in the first place or know someone who is. Some of the data has good documentation and some does not. I found this out when I started working on my first idea.</p>
<h2>The first idea:</h2>
<p>At first I started looking at Health Care data. I had a good idea of what might be possible, but I wasn&#8217;t sure I was using DOC data. Also, when I looked at the health care datasets available and the data that lived within, I was able to use it and possibly form the necessary relations between the datasets. However, at times I questioned whether these relationships were correct. Ultimately I decided I needed to look for a different idea that was smaller in size.</p>
<h2>The second idea:</h2>
<p>Consumed with the strong belief that my first idea, no matter how feature-rich and packed with volumes of data it was, wasn&#8217;t entirely going to work, I set out to find a new idea with only three weeks until the submission deadline. I decided to take a look at the Farmers&#8217; Markets dataset. The initial set I found only had the names and locations of markets across the USA. I built a quick mapping app to try out the data and it seemed to work, but there was one problem . . . the latitude and longitude were reversed in the data. After I fixed that all seemed pretty good.</p>
<p>This idea, in my opinion, was probably going to work for me. I really only had three weekends to spend on the idea and even those were partially spoken for. At work my team is really focused on our Best of the Web submission this year so I can&#8217;t miss work and there is the likelihood I may have to spend a little weekend time at work. I did a little Googling for Farmers&#8217; Market apps and there was no over-abundance of those. One iPhone app I did find seemed to have a few disappointed customers. The clincher was the fact that I found some more data that had more information packed in it.</p>
<p>With all this in mind I decided to determine exactly how I was going to build the app.</p>
<h2>The requirements:</h2>
<p>The rules state that you can build any kind of app &#8211; be it an iPhone, iPad, Android, web browser or even desktop app. I didn&#8217;t want to focus on any specific platform. If I was going to develop this app it was going to be available for every platform &#8211; although the desktop is the one exclusion to that. On the desktop the user is more than welcome to use a web browser. In my own mind, unless there is some compelling reason or functionality requirement that specifically targets a device, an app should be built such that any Internet-enabled device can reliably access it.</p>
<p>For the purposes of this app I decided the following:</p>
<p>The user will access the URL of the Farmers&#8217; Market Finder app using either an Android, IPhone, iPad device or a web browser. Regardless of the fact that they have set their geo-location functionality either on or off they will be able to provide their location. While allowing their location to be determined by geo-location functionality will be more accurate, they can alternatively provide their city and state. Farmers&#8217; Markets in their vicinity will be revealed using Google Maps. The will be able to click or tap on a map icon and the name of the market and Street View will be shown in the Info Window. They may click or tap on a button inside the info window to get more information.</p>
<p>If they have elected to get more information they are taken to a new URL in which they may view the name, address and URL of the website for the market. They may also view the offerings available at that market and lastly, they may view driving directions to the market.</p>
<h2>Building it:</h2>
<p>Obviously Google Maps plays a large part of the functionality behind the app. However, what I considered to be the biggest win was <a href="http://twitter.github.com/bootstrap/index.html">Bootstrap from Twitter</a>. With it I was able to achieve the cross platform goals I originally decided in the requirements. The baked-in responsive design of Bootstrap allows for any device to work with this application.</p>
<p>The backend is <a href="https://www.djangoproject.com/">Django</a> with a relational database. Last, but not least, it is hosted by an awesome web host &#8211; <a href="http://www.webfaction.com?affiliate=blinkrayjim">Webfaction</a>.</p>
<p>For the most part, development on this project was grabbed whenever possible. Small things cropped up from time to time in testing. For the most part all browsers work fantastic. Firefox does something weird that I haven&#8217;t yet pinpointed. Perhaps the geo-location backend for it is just slow, but it seems to take longer than I like to get the geo-data back. Also, sometimes it works unreliably. It&#8217;s rare, but it sometimes happens.</p>
<p>Also, this:</p>
<pre class="prettyprint linenums">  navigator.geolocation.getCurrentPosition( initiate_position,handle_errors );</pre>
<p>had to be changed to this:</p>
<pre class="prettyprint linenums">navigator.geolocation.getCurrentPosition(function(position) {
 clearTimeout(location_timeout);
 initiate_position(position);
  }, function(error) {
   clearTimeout(location_timeout);
    handle_errors(error);
 });</pre>
<p>In order for things to work in Firefox.</p>
<p>As I said, I&#8217;m not 100% sure why, but I didn&#8217;t want to leave Firefox out of potential compatible browsers.</p>
<h2>But does it work?</h2>
<p>I believe so. You can take a look at the <a href="http://blinkray.com/farmers-markets-finder-screenshots/">screen shots here</a>, but for the best experience try it out for yourself:</p>
<p><a href="apps.blinkray.com/maps" class="btn btn-primary">Try the Farmers&#8217; Market Finder!</a> </p>
<p>Please, if you give it a try leave some comments and let me know what you think. Does it work for you? Have any problems. Let me know. The app has yet to be accepted as an &#8220;official&#8221; entry, but it has been submitted.</p>
]]></content:encoded>
			<wfw:commentRss>http://blinkray.com/developing-for-the-commerce-business-apps-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Data App Development</title>
		<link>http://blinkray.com/open-data-app-development/</link>
		<comments>http://blinkray.com/open-data-app-development/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 14:49:01 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[open data]]></category>

		<guid isPermaLink="false">http://blinkray.com/?p=40</guid>
		<description><![CDATA[About a month or so ago I found an announcement for an app development contest. I&#8217;ve never done that so I thought I might give it a shot. The grand prize is 5K. The catch is that you have to &#8230; <a href="http://blinkray.com/open-data-app-development/">Continued</a>]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 270px"><img src="http://projects.blinkray.com/static/img/markets/markets.jpg" alt="" width="260" height="172" /><p class="wp-caption-text">Open Data App Development</p></div>
<p>About a month or so ago I found an announcement for an app development contest. I&#8217;ve never done that so I thought I might give it a shot. The grand prize is 5K. The catch is that you have to utilize data from data.gov. There are other requirements. I&#8217;ll touch on those in another post because the entry deadline is May 1 &#8211; so I&#8217;ll probably post again with more details at that time.</p>
<p>Mostly I just wanted to post today for a couple of reasons:</p>
<p>1. I really need to get some content out here. I&#8217;ve been making all kinds of changes to stuff on this site, but nothing really satisfies me to the point that I want to make it stick.</p>
<p>2. The main reason for number 1 is that I&#8217;ve come to a conclusion about things and they need to get solidified. I&#8217;m working on that with what little free time I can grab.</p>
<p>There&#8217;s lots and lots of data at data.gov. If you&#8217;re into developing apps you know that your app is nothing without data. The challenge is finding data and then trying to do something fairly creative with it. Perhaps you have a creative idea and the only thing left is to get the data, but for me it was the other way around. There was lots of data but no exceptionally creative idea behind it.</p>
<p>The other challenge is dealing with the data. For the most part, there is what there is. Along the way I looked at several datasets only to find that there were fields that would have been nice, but didn&#8217;t exist. In some cases there were complimentary datasets, but no indication of how they fit together.</p>
<p>Some data may be incorrect. I found data that was obviously incorrect. Those problems will just have to exist unless I can find the time to fix it. In the mean time the best I can do is display a disclaimer.</p>
<p>A few details. I built the app with the following:</p>
<ol>
<li><a href="https://www.djangoproject.com/">Django</a></li>
<li><a href="http://twitter.github.com/bootstrap/">Bootstrap from Twitter</a></li>
<li><a href="http://www.data.gov/communities/node/244/data_tools">Data from Data.gov</a></li>
<li><a href="https://developers.google.com/maps/">Google Maps</a></li>
<li>Awesome web hosting from <a href="http://www.webfaction.com?affiliate=blinkrayjim">Webfaction</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blinkray.com/open-data-app-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emerging with renewed vim and vigor</title>
		<link>http://blinkray.com/emerging-with-renewed-vim-and-vigor/</link>
		<comments>http://blinkray.com/emerging-with-renewed-vim-and-vigor/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 13:59:40 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[stuff]]></category>

		<guid isPermaLink="false">http://blinkray.com/?p=11</guid>
		<description><![CDATA[I&#8217;m not sure how long it&#8217;s been since I started up this site. It&#8217;s probably getting pretty close to a year. Lately, however, I decided to close out a bunch of old stuff and try something new. Right now I&#8217;m &#8230; <a href="http://blinkray.com/emerging-with-renewed-vim-and-vigor/">Continued</a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_10" class="wp-caption alignleft" style="width: 310px"><a href="http://blinkray.com/emerging-with-renewed-vim-and-vigor/sony-dsc/" rel="attachment wp-att-10"><img class="size-medium wp-image-10" title="Sealed in snow" src="http://blinkray.com/assets/snow_car-300x202.jpg" alt="Sealed in snow" width="300" height="202" /></a><p class="wp-caption-text">After a brief hiatus . . . .</p></div>
<p>I&#8217;m not sure how long it&#8217;s been since I started up this site. It&#8217;s probably getting pretty close to a year. Lately, however, I decided to close out a bunch of old stuff and try something new.</p>
<p>Right now I&#8217;m experimenting with this Roots theme that utilizes Twitter&#8217;s Bootstrap CSS framework.</p>
<p>While the site is predominantly empty right now, I&#8217;m re-building and will hopefully have something worthwhile out here before long.</p>
]]></content:encoded>
			<wfw:commentRss>http://blinkray.com/emerging-with-renewed-vim-and-vigor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

