<?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>Jase Bell &#187; code4pizzacollator</title>
	<atom:link href="http://www.jasebell.co.uk/category/code4pizzacollator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasebell.co.uk</link>
	<description>Founder of Datasentiment, Java/iPhone/Android/Blackberry developer/hack* (delete as applicable)</description>
	<lastBuildDate>Fri, 03 Sep 2010 20:08:03 +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>The pros and cons of video conferencing.</title>
		<link>http://www.jasebell.co.uk/2010/01/20/the-pros-and-cons-of-video-conferencing/</link>
		<comments>http://www.jasebell.co.uk/2010/01/20/the-pros-and-cons-of-video-conferencing/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 00:02:46 +0000</pubDate>
		<dc:creator>jasonbell</dc:creator>
				<category><![CDATA[Digital Circle]]></category>
		<category><![CDATA[code4pizzacollator]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.jasebell.co.uk/?p=147</guid>
		<description><![CDATA[Tonight was the night for a code4pizza meeting in Belfast.  Now I&#8217;m fairly settled with the idea that I&#8217;m in the minority when it comes to location.  So Matt and I tried Skype video from my house to Core Belfast. The Pros Well I was certainly there and I could say hello to folk.  I [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight was the night for a code4pizza meeting in Belfast.  Now I&#8217;m fairly settled with the idea that I&#8217;m in the minority when it comes to location.  So Matt and I tried Skype video from my house to Core Belfast.</p>
<p><strong>The Pros</strong></p>
<p>Well I was certainly there and I could say hello to folk.  I got the majority of the conversations which is the main point of the night.  I didn&#8217;t have to stay there all night, I could break off into a group of one if I wanted to but it wouldn&#8217;t have been much fun.</p>
<p style="text-align: center;"><a title="Share photos on twitter with Twitpic" href="http://twitpic.com/ytuzi"><img class="aligncenter" src="http://twitpic.com/show/thumb/ytuzi.jpg" alt="Share photos on twitter with Twitpic" /></a></p>
<p><strong>The Cons</strong></p>
<p>Laptop microphones are the main issue as they are designed for one to one conversations and not a public forum.  I kept a chat window open just in case I needed to type something.  Luckily the good folk in Belfast gave me space to speak when I needed to.</p>
<p>The only other real drag was that I couldn&#8217;t have pizza.  I&#8217;ll have to go back to the drawing board on that one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasebell.co.uk/2010/01/20/the-pros-and-cons-of-video-conferencing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Code4PizzaCollator: The first outside test.</title>
		<link>http://www.jasebell.co.uk/2010/01/11/code4pizzacollator-the-first-outside-test/</link>
		<comments>http://www.jasebell.co.uk/2010/01/11/code4pizzacollator-the-first-outside-test/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 18:04:15 +0000</pubDate>
		<dc:creator>jasonbell</dc:creator>
				<category><![CDATA[code4pizzacollator]]></category>

		<guid isPermaLink="false">http://www.jasebell.co.uk/?p=142</guid>
		<description><![CDATA[On my way back from Derry today I gave the Code4Pizza app a whirl to see how it would perform in the realworld.  Better than I had imagined to be honest&#8230;. My original concern turned out to be no concern.  When you speed past a stop and get the location I was afraid that the [...]]]></description>
			<content:encoded><![CDATA[<p>On my way back from Derry today I gave the Code4Pizza app a whirl to see how it would perform in the realworld.  Better than I had imagined to be honest&#8230;.</p>
<p>My original concern turned out to be no concern.  When you speed past a stop and get the location I was afraid that the GPS would take time to update.  What actually happens is that the GPS lat/lon data will constantly update as the device is moved.  All you then have to do it tap the &#8220;Store Location&#8221; button and it&#8217;s saved.</p>
<p>As well as Code4PizzaCollator there&#8217;s a web based app by Alex McRoberts which does the same sort of thing.  It&#8217;s in development at the moment but it will work on iPhone, Andriod and other mobile devices with a connection. You can find it here <a href="http://www.koachi.com/mapit/">http://www.koachi.com/mapit/</a></p>
<p>The reason I didn&#8217;t go with a fully connected app was simple.  Connections in the NW of the province are up and down.  You don&#8217;t get much 3G coverage apart from Derry and Coleraine at present.  So I wanted to be able to collate data and send in one go to a server when I wanted to.</p>
<p>One unanswered (possibly because it&#8217;s unasked) is: at a bus station do I register every stop? I think it&#8217;s a good idea for the following reason.  Ultimately I&#8217;d like to see an app where a tourist could stand at any bus stop and with GPS pull the info on the different buses that leave and at what times. With near field connectivity (NFC) we should be paying the bus fares with our phones as well, this is already happening in some European countries already.</p>
<p>First we need to complete data and that&#8217;s where the crowdsourcing comes in.  With these two apps there&#8217;s no reason to say we can&#8217;t collect the bus stop data for the whole province.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasebell.co.uk/2010/01/11/code4pizzacollator-the-first-outside-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code4PizzaCollator: The first push.</title>
		<link>http://www.jasebell.co.uk/2010/01/09/code4pizzacollator-the-first-push/</link>
		<comments>http://www.jasebell.co.uk/2010/01/09/code4pizzacollator-the-first-push/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 20:34:37 +0000</pubDate>
		<dc:creator>jasonbell</dc:creator>
				<category><![CDATA[code4pizzacollator]]></category>

		<guid isPermaLink="false">http://www.jasebell.co.uk/?p=140</guid>
		<description><![CDATA[An excellent day of coding today as I spent the day hooking up the database storage to the iPhone.  This was all new to me but there&#8217;s some good documentation out there.  I used some sample code from Bill Dudney and Chris Adamson&#8217;s book &#8220;iPhone SDK Development&#8221; so I could get used to using SQLite [...]]]></description>
			<content:encoded><![CDATA[<p>An excellent day of coding today as I spent the day hooking up the database storage to the iPhone.  This was all new to me but there&#8217;s some good documentation out there.  I used some sample code from Bill Dudney and Chris Adamson&#8217;s book &#8220;iPhone SDK Development&#8221; so I could get used to using SQLite (cos I&#8217;m a MySQL kinda guy).</p>
<p>The most useful thing I learned today&#8230;.. the way that the SDK will copy the SQLite database to a WHOLE new place.  Turns out the insert code was working fine I just didn&#8217;t know where it was going.<br />
<code><br />
</code></p>
<p><code></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco;"><span style="color: #2b839f;">NSArray</span> *searchPaths =</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco;"><span style="white-space: pre;"> </span>NSSearchPathForDirectoriesInDomains</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #2b839f;"><span style="color: #000000;"><span style="white-space: pre;"> </span>(</span>NSDocumentDirectory<span style="color: #000000;">, </span>NSUserDomainMask<span style="color: #000000;">, </span><span style="color: #0000ff;">YES</span><span style="color: #000000;">);</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco;"><span style="white-space: pre;"> </span><span style="color: #2b839f;">NSString</span> *documentFolderPath = [searchPaths <span style="color: #2b839f;">objectAtIndex</span>: 0];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #2b839f;"><span style="color: #000000;"><span style="white-space: pre;"> </span></span>dbFilePath<span style="color: #000000;"> = [documentFolderPath </span>stringByAppendingPathComponent<span style="color: #000000;">:</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #2b839f;"><span style="color: #000000;"><span style="white-space: pre;"> </span> </span>DATABASE_FILE_NAME<span style="color: #000000;">];</span></p>
<p></code></p>
<p><code>NSLog(documentFolderPath);</code> is your friend.</p>
<p>So it&#8217;s all coming along nicely, the first commit went up to <a href="http://github.com/jasebell/Code4PizzaCollator">github</a> this afternoon so other people can have a play with it (assuming that you&#8217;re all bored with the snow now).  The next job is to bundle up the saved locations and send them to a server (somewhere to be decided).  There&#8217;s plenty of resources on getting an iPhone app to pull JSON data in <em>from</em> a URL but not a lot about transmitting it.  This is going to be fun <img src='http://www.jasebell.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasebell.co.uk/2010/01/09/code4pizzacollator-the-first-push/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code4PizzaCollator: Enriching the community, crowdsourcing and doing something useful.</title>
		<link>http://www.jasebell.co.uk/2010/01/09/code4pizzacollator-enriching-the-community-crowdsourcing-and-doing-something-useful/</link>
		<comments>http://www.jasebell.co.uk/2010/01/09/code4pizzacollator-enriching-the-community-crowdsourcing-and-doing-something-useful/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 01:12:09 +0000</pubDate>
		<dc:creator>jasonbell</dc:creator>
				<category><![CDATA[barcamp derry]]></category>
		<category><![CDATA[code4pizzacollator]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[startups]]></category>

		<guid isPermaLink="false">http://www.jasebell.co.uk/?p=133</guid>
		<description><![CDATA[So what&#8217;s the big idea? A few months ago Matt Johnston organised a small event called Code4Pizza.  The idea being to get the bus stop data for the province and trying to get it out into the community so the community could do something useful with it. As with all things in Belfast I very [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_132" class="wp-caption alignright" style="width: 182px"><img class="size-full wp-image-132" title="Code4Pizza Collator" src="http://www.jasebell.co.uk/wp-content/uploads/2010/01/blogpostc4p.jpg" alt="The basic design from Interface Builder" width="172" height="350" /><p class="wp-caption-text">The basic design from Interface Builder</p></div>
<p><strong>So what&#8217;s the big idea?</strong></p>
<p>A few months ago <a href="http://cimota.com/blog/">Matt Johnston</a> organised a small event called <a href="http://digitalcircle.ning.com/events/code4pizza-crowdsourcing">Code4Pizza</a>.  The idea being to get the bus stop data for the province and trying to get it out into the community so the community could do something useful with it.</p>
<p>As with all things in Belfast I very rarely get to them.  All my business is really in the north west, the idea is not to get into a pity party about how nothing goes on over here.  It does, we had <a href="http://www.barcampderry.com/">Barcamp Derry</a> in October and nothing stopped the Belfast folk coming over&#8230;. so&#8230;&#8230;..</p>
<p>For those kind folk who heard me talk at Barcamp Derry I did mention a few things about &#8220;just doing it&#8221; and how I don&#8217;t mind how the code is in the first release as long as it works.  Something that some of my collegues at Learning Pool are now making sure I won&#8217;t forget <img src='http://www.jasebell.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I love the idea of Code4Pizza but I can&#8217;t really do anything from where I&#8217;m sitting, or can I?  In getting myself back in line with iPhone development and getting my head around Interface Builder&#8217;s little ways I wanted to do the following:</p>
<ul>
<li>Create an open source project that other members of the Code4Pizza community could work on if they wanted.</li>
<li>With the app use it to provide <a href="http://www.opendatani.info/">Open Data NI</a>, <a href="http://www.translink.co.uk">Translink</a> and Code4Pizza more data on where the bus stops for other parts of the province are (Belfast is well documented but it seems from conversations with folk that some parts of the province aren&#8217;t great).  Instead of whining about how Translink don&#8217;t do anything why not help out instead?</li>
<li>It means that I can learn some new stuff.  I&#8217;m not up on my git and github repository skills so it&#8217;s good excuse to polish those up too.</li>
<li>I get to know the iPhone SDK a lot better by doing something useful than just another bunch of little demos.</li>
</ul>
<p>All good reasons as far as I&#8217;m concerned.</p>
<p><strong>So how does it work?</strong></p>
<p>My commute to Pooly Towers is on the bus every morning. Now I&#8217;ve been on the same route many times over the last couple of months so I know where the stops are.  All I need is a method to track them and store them.  That&#8217;s where the app comes in.</p>
<p>All I want to store is the latitude and longitude when I pass the stop and what route I was on.  The idea is that developers all over the province can download the source code from github and install it themselves and collate more data if they are on the bus.  If we can crowd source the other data outside of Belfast then I think that will benefit everyone in the province at the end of the day.</p>
<p><strong>So, where is it?</strong></p>
<p>The source code will be hosted on <a title="Code4PizzaCollator on github" href="http://github.com/jasebell/Code4PizzaCollator">github</a>.  I haven&#8217;t put the initial core release of code up but I&#8217;ll announce on Twitter when I do.</p>
<p><strong>So, what stage is the code at?</strong></p>
<p>So far the application can pickup the location via GPS.  The button actions work it&#8217;s just the SQLite3 database that needs sorting out and the mechanism to upload the data.  There&#8217;s a field for the route of the bus number as well but I have left the alphabetic characters in the keyboard as I know there are some route numbers like &#8220;FY8&#8243; in the Derry area.</p>
<p>There&#8217;s only three buttons: one to get the location, one to store the location and one to upload the stored locations to an online place (like a website/db etc).</p>
<p>The icon is done&#8230;. it&#8217;s a pizza.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasebell.co.uk/2010/01/09/code4pizzacollator-enriching-the-community-crowdsourcing-and-doing-something-useful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
