<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<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>voteuk &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/category/voteuk/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Thu, 30 Oct 2025 15:05:31 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>voteuk &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[OpenTech 2010]]></title>
		<link>https://shkspr.mobi/blog/2010/09/opentech-2010/</link>
					<comments>https://shkspr.mobi/blog/2010/09/opentech-2010/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sun, 12 Sep 2010 15:02:44 +0000</pubDate>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[voteuk]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[data.gov.uk]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[Open Data]]></category>
		<category><![CDATA[opentech]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=2456</guid>

					<description><![CDATA[A quick report on OpenTech 2010 - the London event for geeks interested in Government data, openness and generally doing good things with tech and data.  Copyright Matt Jones used under a Creative Commons non-commercial, attribution, share-alike licence.  I attended last year&#039;s event which inspired me to create my &#34;VoteUK&#34; service for the 2010 general election.  I had considered doing a talk…]]></description>
										<content:encoded><![CDATA[<p>A quick report on <a href="https://www.opentech.org.uk/events/opentech2010/">OpenTech 2010</a> - the London event for geeks interested in Government data, openness and generally doing good things with tech and data.</p>

<p></p><div id="attachment_2457" style="width: 354px" class="wp-caption aligncenter"><a href="http://magicalnihilism.com/2009/11/07/get-excited-and-make-things/"><img aria-describedby="caption-attachment-2457" class="size-full wp-image-2457 " title="3365682994_ba6b7ccc1c_o" src="https://shkspr.mobi/blog/wp-content/uploads/2010/09/3365682994_ba6b7ccc1c_o.png" alt="Get Excited And Make Things" width="344" height="494"></a><p id="caption-attachment-2457" class="wp-caption-text">Copyright Matt Jones used under a Creative Commons non-commercial, attribution, share-alike licence.</p></div><p></p>

<p>I attended <a href="https://www.opentech.org.uk/events/opentech2009/">last year's event</a> which inspired me to create my "<a href="https://shkspr.mobi/blog/category/voteuk/">VoteUK</a>" service for the 2010 general election.  I had considered doing a talk about the trials and tribulations of using open - and not so open - data.  Instead, <a href="https://web.archive.org/web/20150612235438/http://lanyrd.com/2010/opentech/stb/">I gave a more general talk</a> about how to harness the power of the mobile web to empower people - and why iPhone apps are the <em>wrong</em> way to get data to the masses.</p>

<p>More details in a moment.  First off, my thoughts on the rest of the presentations.
<span id="more-2456"></span></p>

<h2 id="mozilla-drumbeat"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#mozilla-drumbeat">Mozilla Drumbeat</a></h2>

<p>The new projects coming out of Mozilla Drumbeat look great - I'm particularly enamoured with <a href="https://web.archive.org/web/20100701174337/http://www.drumbeat.org/universal-subtitles">Universal Subtitles</a>.  For too long, web video has been inaccessible to those with hearing difficulties - or who do not understand the language spoken.</p>

<h2 id="visionon-tv"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#visionon-tv">Visionon.tv</a></h2>

<p>A rather ramshackle presentation from <a href="https://web.archive.org/web/20100926150549/http://www.visionon.tv/">VisionOn.tv</a>.  I fail to see what they're doing different than <a href="http://www.getmiro.com/">Miro</a> in terms of getting activist video out to the masses.  Their ideas of training Citizen Journalists seems to be a good one - but they failed to articulate what exactly their credentials were.</p>

<h2 id="openly-local"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#openly-local">Openly Local</a></h2>

<p>Chris Taggart gave an inspiring talk about <a href="https://web.archive.org/web/20100913214015/http://www.openlylocal.com/">Openly Local</a>. His efforts in scraping inaccessible data and setting them free are truly heroic.  The work he did to <a href="http://countculture.wordpress.com/2010/09/06/introducing-open-charities-opening-up-the-charities-register/">open up to obstinate Charities Commission</a> should be the stuff of geek legend.</p>

<h2 id="linkedgov-filling-in-the-gaps"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#linkedgov-filling-in-the-gaps">LinkedGov: Filling in the Gaps</a></h2>

<p>Hadley Beeman took us through the <a href="https://web.archive.org/web/20100823061528/http://hadleybeeman.posterous.com/government-opendata-building-the-filling-in-t">intricacies of tying up hundreds of disparate data sets</a>.  Not a naturally exciting topic, but one which went to the very heart of the issue of open data. Thousands of separate databases, all containing indecipherable acronyms, frustrate even the hardiest geek.</p>

<h2 id="open-data-in-clinical-trials"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#open-data-in-clinical-trials">Open Data in Clinical Trials</a></h2>

<p><a href="http://www.badscience.net/2010/08/give-us-the-trial-data/">Ben Goldacre</a> retains his title as most impassioned speaker.  Working with <a href="http://www.louisecrow.com/">Louise Crow</a>, they are in the process of <a href="http://github.com/crowbot/trials">opening up clinical trial data</a>. With this, they hope to be able to see which drug companies are withholding trial information from the public.</p>

<h2 id="rewiring-the-state"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#rewiring-the-state">Rewiring the State</a></h2>

<p>The speakers from Young Rewired State were the stars of the day.  Seeing the dedication and enthusiasm of people - not yet school-leavers - as they hack away at open data was hugely uplifting.  A <a href="https://web.archive.org/web/20100911221150/http://rewiredstate.org/projects">full list of the projects is available</a>.</p>

<p>The most impressive was <a href="http://issyl0.co.uk/">Issy Long</a>'s site to display <a href="https://web.archive.org/web/20101003122748/http://govspark.org.uk/">Government energy usage "GovSpark"</a>.  I'm sure this young woman will go far.</p>

<h2 id="data-gov-uk"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#data-gov-uk">Data.gov.uk</a></h2>

<p>The <a href="http://www.data.gov.uk/">data.gov.uk</a> folks were out in strength. They <a href="https://www.opentech.org.uk/events/opentech2009/schedule/">announced data.gov.uk at OpenTech 2009</a>.  This presentation was a summary of where they have got to and where is left to go.</p>

<p>I demo'd <a href="https://shkspr.mobi/blog/2010/04/elections-in-a-digital-age-blogging-tweeting-and-buzzing-to-the-polls/">VoteUK</a> to <a href="https://web.archive.org/web/20091225034029/https://thayer18.livejournal.com/">Thayer Prime</a> and won a swish t-shirt! Hurrah!</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2010/09/shirt.jpg" alt="Yay! I won a data.gov.uk tshirt. Hurrah! Thanks @thayer." width="600" height="450" class="aligncenter size-full wp-image-51353">

<h2 id="wild-ducks-an-open-source-symbian-phone"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#wild-ducks-an-open-source-symbian-phone">Wild Ducks - An Open Source Symbian Phone</a></h2>

<p><a href="http://twitter.com/teknolog">Sebastian Brannstrom</a> from Symbian took to the stage to talk about marrying Open Hardware with the newly opened Symbian Source Code.  The (unfinished) result is <a href="https://web.archive.org/web/20100929223706/http://developer.symbian.org/wiki/index.php/Category:Wild_Ducks">Wild Ducks</a> - a completely* open phone.  Open hardware and open software.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2010/09/160239950.jpg" alt="ARM Coretex A8 omap3530 open source phone from Symbian." width="164" height="153" class="aligncenter size-full wp-image-51354">

<p>If you are interested in helping, the group meets every Sunday to <a href="https://web.archive.org/web/20100311235527/http://developer.symbian.org/wiki/index.php/Wild_ducks_project/Pizza">eat pizza</a> and hack.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2010/09/wild-ducks.jpg" alt="Help Wild Ducks make an open source phone." width="600" height="450" class="aligncenter size-full wp-image-51355">

<p>*The radio driver, has to be closed source for various legal and regulatory reasons.</p>

<h2 id="why-doesnt-your-site-work-on-my-mobile-phone"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#why-doesnt-your-site-work-on-my-mobile-phone">Why Doesn't Your Site Work On My Mobile Phone</a></h2>

<p>My presentation.  Slides and further discussion are available.  Unfair of me to comment - so I'll let twitter do the twalking.</p>

<blockquote class="social-embed" id="social-embed-24203766548" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/gdb_" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRv4BAABXRUJQVlA4IPIBAADQCgCdASowADAAPqlEnEmmI6MhONScAMAVCUAQRVRFGL50woCkx125pWmExmvFBA1VC68l2wvuvrHtPh32sDY4lcsy15DrzUNCc2NnW4KVXry8BU0TPy4k5ez8iRMQAAD++F++KFUXVbD0l+UO5d3vE6faVJog489tWsVdNm7gR/ivcXb11rv7CPF1xwEeZI8P4jj7Ws4P/wzdjWuUcgF6OiNos3tjp2QuHxNTdT0rfnvblNpv8AOIfux3x+C409HZCezyeEVLkhJFQglmJdzjrErHiQPSWbajLBCk+gI/dWE61Nvt6NwRWFPm0yYRVclhgzz5EtTez6qjuFBUL0XzScnHpOrE7uGB+SDSvY+gSRbsimz1U8YGuU13m/lOOd+RyHHD+D1JVUraTip/SCv1Kzd4UoZRXrTjhCxW/lasAqtucUS76m2SyLc/S0EZi1SAniOHjamfHksIdLi8UQErO2AhKj4H2Qkmme4yyNuD+5apooYvZatQlhVSGkjBrirywqs6ncnzrGiWyuyebxZjJLXpdrB+qcabDkyIApX7J8mP2JoaOiLEz9RfuHxGXI/2DGi59AQvQMn+evgWLwBKySIww2bWwz7UOPyWH0NdEV3uhgP8nZmRSvB5G2GCFg9y8+fBpWTwTeKmpFqn/ROAAAA=" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Graham Bleach</p>@gdb_</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody">Great talk from <a href="https://twitter.com/edent">@edent</a> at <a href="https://twitter.com/hashtag/opentech">#opentech</a> about not neglecting older phones when developing for mobile web.</section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/gdb_/status/24203766548"><span aria-label="0 likes" class="social-embed-meta">❤️ 0</span><span aria-label="0 replies" class="social-embed-meta">💬 0</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2010-09-11T15:37:28.000Z" itemprop="datePublished">15:37 - Sat 11 September 2010</time></a></footer></blockquote>

<blockquote class="social-embed" id="social-embed-24203519116" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/dogsbodyorg" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRr4BAABXRUJQVlA4ILIBAAAwCQCdASowADAAPrVSn0wnJKKiJyyQ4BaJQBZdteQZylIYJepKErAd5J7eOgzjzlyOVnQqKZCnpqk9v+pJa6C2g0GOD4UT9gtbHH+D/yEs2qZgAP7+t5ogIq+jmMr0p9FNBTXuyGs4HJDV/aw0EEol9Q6aZGO/ePI2yZ81WJlnAXd6NMfir7nDHol2YKUKDggj+83lvOjk9ZR5tkyOikm7zJp0p/n/27G2++VIcJX3rie+WBRl9wHgSMXK1lnvccrzWQpmXrodZVdOInCAAAd82T0ebUGTXDOlVDs8btmZSGVeRNN860fIcjjWWzClu6xtJOOR+CyPcD+Q+NYW9a+IW/bWne+q4Ux0Ssy76xo7OyBv5+0sURvqdw+PV39Q7MdKjpEJcWA4McNftjLdLpjTxss2B/d8YI+VemSs+qG7DDsMRBTAQWXrvPEu6wwemXAjGGZhXXXbNbMYofEMPRt72fn0RppL18zWzANC7NoT1O1rLj7MMM5MWxHANv09nTuWNf6pFjM4AKz1Z7kp7JjB5WlLOIZ1tasvoDu6KcwvBifsYWV1EKn62W4iRejuz5gAAA==" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Dan Benton</p>@dogsbodyorg</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody">If to are developing for mobile then I encourage you to look up <a href="https://twitter.com/edent">@edent</a> .  Some great real stats and real world advice <a href="https://twitter.com/hashtag/opentech">#opentech</a></section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/dogsbodyorg/status/24203519116"><span aria-label="1 likes" class="social-embed-meta">❤️ 1</span><span aria-label="0 replies" class="social-embed-meta">💬 0</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2010-09-11T15:34:23.000Z" itemprop="datePublished">15:34 - Sat 11 September 2010</time></a></footer></blockquote>

<h2 id="people-power-in-your-pocket"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#people-power-in-your-pocket">People Power in Your Pocket</a></h2>

<p>Craig Heath lead an informative session around security and personal privacy.  I'd advise anyone interested in mobile to take a look at <a href="https://web.archive.org/web/20100220204808/http://secblog.symbian.org/2010/01/28/security-roadmap-and-strategy-published//">Symbian's Security Roadmap and Strategy</a>.  This talk would have been more suited to the <a href="https://web.archive.org/web/20100923140912/http://overtheair.org/blog">Over The Air conference</a> - but for mobile wonks like me, was very interesting.</p>

<h2 id="frontlinesms"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#frontlinesms">FrontlineSMS</a></h2>

<p>This is exactly the sort of empowering technology I love hearing about. The <a href="https://web.archive.org/web/20200907230250/https://www.frontlinesms.com/">FrontlineSMS project</a> aims to be "Outlook for SMS".  Using a cheap laptop, a GSM dongle and free software - anyone can become a campaigner.  It's used for coordinating disaster relief, informing farmers about diseases in their area, telling trader the best prices.  Its software has been expanded to work for medical, legal, business and political campaigns.  Open Source - so hack away!</p>

<h2 id="apps-for-good"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#apps-for-good">Apps for Good</a></h2>

<p>I really admire the theory behind <a href="http://www.appsforgood.org/">Apps for Good</a> - teach disenfranchised young people how to make apps.  However, I think their approach is 100% wrong.  They'd clearly done no market research - they were trying to create Android apps when their target demographic are BlackBerry users (as they admitted).  Some of the projects they showed off would have been much more successful and useful as mobile websites.  For example, the <a href="https://web.archive.org/web/20101013221514/http://www.stopandsearch.org/">Stop and Search</a> app is only available on expensive Android handsets.  I'm not saying they shouldn't have created the app - just that they should have created it as an enhancement for a mobile website.</p>

<iframe title="stopsmall.mov" width="620" height="465" src="https://www.youtube.com/embed/Y1wMx4g83r0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>

<p>That said, I'm filled with hope when I see what they are doing.  Getting young people into programming, designing, creating is vital to raising their awareness of the opportunities out there.</p>

<h2 id="overall"><a href="https://shkspr.mobi/blog/2010/09/opentech-2010/#overall">Overall</a></h2>

<p><img src="https://shkspr.mobi/blog/wp-content/uploads/2010/09/acta.jpg" alt="Loving the ACTA stickers at #OpenTech." width="600" height="450" class="aligncenter size-full wp-image-51356">
A fantastic day - huge thanks to Sam Smith and all the organisers.  It's really inspired me to get cracking on some of the open data ideas I've had bubbling away.  Every Council Chief, Mayor and Senior Civil Servant should attend OpenTech 2011 and understand why we need <a href="https://www.ted.com/talks/tim_berners_lee_the_next_web?subtitle=en">Open Data</a> and what magical things we will create using it.</p>

<p>Huge thanks to the Government for sponsoring the event and <em>finally</em> creating an open data platform.  Data.gov.uk shows how to do a successful IT project which comes in quickly and cheaply. And is genuinely useful.  Kudos.
<a href="http://data.gov.uk/"><img src="https://shkspr.mobi/blog/wp-content/uploads/2010/09/hmg-250px.jpg" alt="The Govenment" title="Print" width="250" height="58" class="aligncenter size-full wp-image-2458"></a></p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=2456&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2010/09/opentech-2010/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[I Love Open Source]]></title>
		<link>https://shkspr.mobi/blog/2010/02/i-love-open-source/</link>
					<comments>https://shkspr.mobi/blog/2010/02/i-love-open-source/#respond</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Fri, 26 Feb 2010 22:21:40 +0000</pubDate>
				<category><![CDATA[voteuk]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[Open Source]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=1758</guid>

					<description><![CDATA[As I mentioned in my last post about VoteUK, I found the TheyWorkForYou API to be a little lacking when it came to image sizing.  I posted a request asking if there was a pattern to the image sizes and, if not, was it possible to have the sizes returned in the API.  The &#34;standard&#34; open source reply - &#34;fix it yerself&#34; - was predictably swift.  So I did.  The source code is remarkably accessible -…]]></description>
										<content:encoded><![CDATA[<p>As I mentioned in <a href="https://shkspr.mobi/blog/2010/02/voteuk-updates/">my last post about VoteUK</a>, I found the TheyWorkForYou API to be a little lacking when it came to image sizing.</p>

<p>I <a href="https://groups.google.com/a/mysociety.org/g/mysociety-community/c/7JZo-nCZis0/m/NUQM5GCHjLAJ">posted a request</a> asking if there was a pattern to the image sizes and, if not, was it possible to have the sizes returned in the API.</p>

<p>The "standard" open source reply - "<em>fix it yerself</em>" - was <a href="https://groups.google.com/a/mysociety.org/g/mysociety-community/c/7JZo-nCZis0/m/qTDLZCaSRAcJ">predictably swift</a>.</p>

<p>So I did.</p>

<p>The <a href="http://github.com/mysociety/theyworkforyou">source code</a> is remarkably accessible - although a few more comments wouldn't go amiss.&nbsp; This was my first experience with GIT and Github.&nbsp; It was easy to get the code and, luckily, I didn't have to dive too far in to its syntax.</p>

<p>I had initially thought about using the EXIF data within the images to get the width and height.&nbsp; Unfortunately, not every image can be guaranteed to have (accurate) EXIF data.&nbsp; PHP to the rescue once again with the <a href="http://php.net/manual/en/function.getimagesize.php">getimagesize() </a>function.</p>

<p>So, where we previously had</p>

<pre>if ($image) $row['image'] = $image;</pre>

<p>This becomes</p>

<pre>if ($image) {
    list($width, $height) = getimagesize($image);
    $row['image'] = $image;
    $row['image_height'] = $height;
    $row['image_width'] = $width;
}</pre>

<p>Many thanks to Matthew Somerville for <a href="https://groups.google.com/a/mysociety.org/g/mysociety-community/c/y3_fmrVWk80/m/hUaNUpmZ8d0Jl">testing and releasing the patch in double quick time</a>. You can <a href="http://github.com/mysociety/theyworkforyou/commit/b6d93223b1d29dc1cc3bbe00abc61307ed89e0af">examine the changes</a> made to the code.</p>

<p>So now the API returns,</p>

<pre><img>/images/mps/10409.jpg
<image_height>59</image_height>
<image_width>49</image_width></pre>

<p>Brilliant!</p>

<p>So, I have a problem, I can see how much effort it will be to fix, I suggest a solution, it works and goes into production.&nbsp; That's the awesome power of open source.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=1758&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2010/02/i-love-open-source/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[VoteUK - Updates]]></title>
		<link>https://shkspr.mobi/blog/2010/02/voteuk-updates/</link>
					<comments>https://shkspr.mobi/blog/2010/02/voteuk-updates/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sun, 14 Feb 2010 16:03:09 +0000</pubDate>
				<category><![CDATA[voteuk]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[vote]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=1633</guid>

					<description><![CDATA[After the tragic death of Ernest Marples, I&#039;m sorry to say that the site fell in to a bit of disrepair. With no postcode data and no new boundary data, it looked like VoteUK was going to be permanantly out of business.  Thanks - once again - to the clever-clogs at TheyWorkForYou, at least half of the problem has been solved.  The API call getConstituency now has a future parameter.  Adding …]]></description>
										<content:encoded><![CDATA[<p>After the tragic death of <a href="https://web.archive.org/web/20140208154955/http://ernestmarples.com/blog/2009/10/amazing/">Ernest Marples</a>, I'm sorry to say that the site fell in to a bit of disrepair. With no postcode data and no new boundary data, it looked like VoteUK was going to be permanantly out of business.</p>

<p>Thanks - once again - to the clever-clogs at TheyWorkForYou, at least half of the problem has been solved.</p>

<p>The API call <a href="http://www.theyworkforyou.com/api/docs/getConstituency">getConstituency</a> now has a future parameter.&nbsp; Adding future=1 to the call will return the constituency the Postcode will be in for the 2010 General Election.</p>

<p>I've also made use of TWFY's <a href="http://www.theyworkforyou.com/api/docs/getMP">getMP</a> API call.&nbsp; It returns enough detail about the current MP to be useful - including a photo.</p>

<p>So, a valid postcode will get you something like this:</p>

<p></p><div id="attachment_1634" style="width: 330px" class="wp-caption aligncenter"><img aria-describedby="caption-attachment-1634" class="size-full wp-image-1634" title="MP Photo" src="https://shkspr.mobi/blog/wp-content/uploads/2010/02/device.png" alt="MP Photo" width="320" height="480"><p id="caption-attachment-1634" class="wp-caption-text">MP Photo</p></div><p></p>

<p>One thing to note about the photos.  Each one is a different size.  This gives us two small problems.</p>

<p>Firstly there is no guarantee of how small the photo is.  Should one MP's photo be massive, that could cause a problem for the phone trying to download it. All the ones I've tried so far have been thumbnail size.</p>

<p>Secondly, because we don't know the height and width of the image, we can't put the height and width attributes in the &lt;img&gt; tag.&nbsp; Not only is this poor HTML, but it will mean that rendering the page will take longer and - depending on the phone - page reflow may occur.</p>

<p>To mitigate this issue, I'm using <a href="https://web.archive.org/web/20100124112510/http://tinysrc.net/?wpmp_switcher=desktop">http://tinysrc.mobi/</a> - it will automatically shrink the picture to fit the phone.&nbsp; This doesn't help with the page reflow issue though.</p>

<p>As for geo-locating Postcodes - I suggest you <a href="https://web.archive.org/web/20101011235747/http://osconsultation.ernestmarples.com/">respond to Ordnance Survey's consultation</a> and / or lobby your MP.</p>

<p>Until there's an official source for postcode data, I've gone back to using Yahoo!'s geo-location API.&nbsp; I then pass these co-ordinates on to the Google Maps API.</p>

<p>So, VoteUK lives on.&nbsp; Next steps are to make sure that all the <a href="http://www.whatdotheyknow.com/request/postcodes_within_constituency_bo">data I got from the Electoral Commission</a> is valid and build a framework for volunteers to enter their local candidate details.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=1633&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2010/02/voteuk-updates/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Free Our Postcodes]]></title>
		<link>https://shkspr.mobi/blog/2009/10/free-our-postcodes/</link>
					<comments>https://shkspr.mobi/blog/2009/10/free-our-postcodes/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Thu, 08 Oct 2009 12:24:23 +0000</pubDate>
				<category><![CDATA[politics]]></category>
		<category><![CDATA[voteuk]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[free our data]]></category>
		<category><![CDATA[linked data]]></category>
		<category><![CDATA[post codes]]></category>
		<category><![CDATA[post office]]></category>
		<category><![CDATA[postcode]]></category>
		<category><![CDATA[Royal Mail]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=633</guid>

					<description><![CDATA[VoteUK is no more.  In order to precisely show you where your electoral registration office was, I needed to take its postcode and covert it to latitude and longitude.  That&#039;s the service Ernest Marples provided.  A few days ago, the Post Office - in their infinite wisdom - set their legal dogs on those running Ernest Marples.  The Post Office charges for the file that they generated which c…]]></description>
										<content:encoded><![CDATA[<p><a href="https://web.archive.org/web/20110724053126/http://voteuk.shkspr.mobi/?p=about">VoteUK</a> is no more.&nbsp; In order to precisely show you where your electoral registration office was, I needed to take its postcode and covert it to latitude and longitude.&nbsp; That's the service <a href="https://web.archive.org/web/20140208154955/http://ernestmarples.com/blog/">Ernest Marples</a> provided.</p>

<p>A few days ago, the Post Office - in their infinite wisdom - <a href="https://web.archive.org/web/20130929021938/http://ernestmarples.com/blog/2009/10/ernest-marples-postcodes-has-been-threatened-by-the-royal-mail/">set their legal dogs on those running Ernest Marples</a>.</p>

<p>The Post Office charges for the file that they generated which converts post codes to location.&nbsp; It can cost anywhere from £1,000 to £4,000 per year to get accurate data.&nbsp; That's a price that I can't afford - neither can many non-profits, startups or innovators.</p>

<blockquote><p>"<a href="https://web.archive.org/web/20160322165720/http://www.tom-watson.co.uk/2009/10/postcodes-adam-crozier-letter/">I take the position that the postcode file and the data set of physical coordinates that go with it are a national asset that should be freely available to any UK citizen</a>"&nbsp; - Tom Watson MP</p></blockquote>

<p>The Guardian has shown that <a href="http://www.guardian.co.uk/technology/2009/oct/07/newly-asked-question-royal-mail-postzon">there is more economic benefit to the UK by setting this data free</a>.</p>

<p>So, what can be done about it?</p>

<ul>
    <li><a href="https://web.archive.org/web/20110602104829/http://petitions.number10.gov.uk:80/nfppostcodes/">Sign the petition to the Prime Minister</a></li>
    <li>Write a blog post, send a tweet, and tell your friends what’s happening!</li>
    <li>Call, email or fax your MP</li>
</ul>

<p>The Royal Mail is in its death-throes. It is vital that data created and supported by public money is returned to the public before it is sold off to the highest bidder... only to be <a href="https://licensing-centre.poweredbypaf.com/pricing.html#solution-provider/PAF">sold back to us</a>.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=633&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2009/10/free-our-postcodes/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[VoteUK - Some Minor Setbacks]]></title>
		<link>https://shkspr.mobi/blog/2009/08/voteuk-some-minor-setbacks/</link>
					<comments>https://shkspr.mobi/blog/2009/08/voteuk-some-minor-setbacks/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Fri, 28 Aug 2009 08:48:55 +0000</pubDate>
				<category><![CDATA[voteuk]]></category>
		<category><![CDATA[free our data]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[linked data]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=438</guid>

					<description><![CDATA[One of the problems with creating a service which deals with elections, is that boundaries change.  One year you might be in the Electoral Constituency of Woking, the next year it might be Guildford.  Boundaries have to shift in order to keep each MP with roughly the same number of constituents.  The work to determine how these boundaries should be formed is done by The Boundary Commission.  They …]]></description>
										<content:encoded><![CDATA[<p>One of the problems with creating a service which deals with elections, is that boundaries change.&nbsp; One year you might be in the Electoral Constituency of Woking, the next year it might be Guildford.&nbsp; Boundaries have to shift in order to keep each MP with roughly the same number of constituents.</p>

<p>The work to determine how these boundaries should be formed is done by <a href="https://boundarycommissionforengland.independent.gov.uk/">The Boundary Commission</a>.&nbsp; They have produced a report to show how the boundaries will be set out at the next General Election.&nbsp; There report - while detailed, thorough and no doubt accurate - is utterly useless.&nbsp; Well, from a "<a href="https://web.archive.org/web/20090927031340/http://linkeddata.org/">linked data</a>" perspective.&nbsp; It's a <a href="https://webarchive.nationalarchives.gov.uk/ukgwa/20080610181907/http://www.official-documents.gov.uk/document/cm70/7032/7032.asp">57 MB PDF if you want to see for your self</a>.</p>

<p>I was expecting, along with the rationales, maps and population densities to see something like</p>

<blockquote><p>Constituency: Woking
</p><p>Ward: Mount Herman East
</p><p>Postcodes: GU22 0XX, GU22 0XY, GU22 0XZ ...</p></blockquote>

<p>Or, indeed, anything which would allow one to easily link the data to other sources.&nbsp; This is what the report contains.</p>

<p></p><div id="attachment_439" style="width: 606px" class="wp-caption aligncenter"><img aria-describedby="caption-attachment-439" class="size-full wp-image-439" title="surreymap-small" src="https://shkspr.mobi/blog/wp-content/uploads/2009/08/surreymap-small.png" alt="A Detailed Map of Surrey" width="596" height="421"><p id="caption-attachment-439" class="wp-caption-text">A Detailed Map of Surrey</p></div><p></p>

<p>While the map is pretty detailed, it doesn't contain any geo-spatial co-ordinates.&nbsp; It looks like it has just been drawn by hand in ink.&nbsp; There is no way to extract any information out of this map.</p>

<p>The also produce a list of constituencies and wards.</p>

<p></p><div id="attachment_440" style="width: 414px" class="wp-caption aligncenter"><img aria-describedby="caption-attachment-440" class="size-full wp-image-440" title="surreyss-crop" src="https://shkspr.mobi/blog/wp-content/uploads/2009/08/surreyss-crop.png" alt="This is not text - it's a screen shot!" width="404" height="312"><p id="caption-attachment-440" class="wp-caption-text">This is not text - it's a screen shot!</p></div><p></p>

<p>There are three problems with this.</p>

<ol>
    <li>It's a screen shot.&nbsp; I don't mean that I've taken a screen shot, I mean that they have taken a screenshot of the text and pasted it into the report.&nbsp; There is no way to copy the text out of there.</li>
    <li>Even if it were possible, they don't list the Government standard codes for the wards</li>
    <li>There are no postcodes or other forms of information which tie the ward to a specific place.</li>
</ol>

<p>Gah!</p>

<p>So, how can I find this information?&nbsp; I know! I'll write to those nice folk at Parliament</p>

<blockquote><p>Dear Sir or Madam,
</p><p>I notice that you provide a website which allows Constituency lookup from a postcode (<a href="http://findyourmp.parliament.uk/" target="_blank" rel="noopener">http://findyourmp.parliament.uk/</a>)
</p><p>Do you have the data for the *new* Constituencies proposed by the Boundary Commission?
</p><p>The Boundary Commission has maps of the new areas (<a href="http://www.statistics.gov.uk/pbc/default.asp" target="_blank" rel="noopener">http://www.statistics.gov.uk/pbc/default.asp</a>) but these don't have postcodes on them.
</p><p>I'm happy to make an FoI request if that is your preferred way of releasing the information.
</p><p>If you do not have the information - would you be able to tell me who does?
</p><p>Many thanks</p></blockquote>

<p>A few days later I got back this.</p>

<blockquote><p>Dear Sir,
</p><p>Thank you for your enquiry asking if we have the post codes for the new Constituencies proposed by the Boundary Commission.
</p><p>I am afraid, the House of Commons Information Office is unable to give you a list of the post codes for the proposed "new" constituencies Boundaries. The House purchases a list of postcodes for each Parliamentary constituencies from the Office of National Statistics and the new list will not be purchased until nearer the time of the General Election when the changes in Parliamentary constituencies take effect.
</p><p>You may like to contact the Office of National Statistic to see if you can purchase a list from them of the new constituencies.
</p><p>Customer Contact Centre
</p><p>Office for National Statistics
</p><p>Room 1.015
</p><p>Government Buildings
</p><p>Cardiff Road
</p><p>Newport
</p><p>South Wales
</p><p>NP10 8XG
</p><p>Telephone - +44 (0) 845 601 3034
</p><p>I hope this is helpful</p></blockquote>

<p>So, off to the ONS!  I took a look through their website, couldn't find what I wanted, so I emailed them.</p>

<blockquote><p>I'm looking for some definitive data on the electoral constituencies and their comprising wards for the next general election. &nbsp;That is, those incorporating the boundary changes in the Boundary Commission's Fifth periodical report.
</p><p>Under "Names and codes for Electoral Geography" your document "Westminster Parliamentary Constituencies" only lists the 647 constituencies from the 2005 election. &nbsp;Do you have the data for the upcoming election?
</p><p>Similarly, in "Names and codes for Administrative Geography" I'm not sure if the document "Wards (Eng) Dec 2008 Names and Codes" contains the latest wards. &nbsp;There also seems to be no schema to link Wards to Constituencies that I can see.
</p><p>Do you hold such information?</p></blockquote>

<p>Which sadly got back</p>

<blockquote><p>Dear Terence,
</p><p>Thank you for your recent enquiry
</p><p>Please be advised that this information is currently not available. This is because current wards are split across the new boundaries and a review of these is about to be carried out which makes them subject to change.
</p><p>If you have any further questions, please let me know.</p></blockquote>

<p>So, no luck there.</p>

<p>Is this really so hard? All I want is to know that Postcode X is in Ward Y of Constituency Z.&nbsp; It would appear that this information just isn't held anywhere.  The review has been completed by the Boundary Commission but they either don't consider linked data or they don't share it.  I just wish they would <a href="http://www.freeourdata.org.uk/">Set Our Data Free</a>.</p>

<p>Or am I barking up the wrong tree entirely?</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=438&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2009/08/voteuk-some-minor-setbacks/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[VoteUK - Some Progress!]]></title>
		<link>https://shkspr.mobi/blog/2009/08/voteuk-some-progress/</link>
					<comments>https://shkspr.mobi/blog/2009/08/voteuk-some-progress/#respond</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sat, 22 Aug 2009 17:54:07 +0000</pubDate>
				<category><![CDATA[voteuk]]></category>
		<category><![CDATA[FoI]]></category>
		<category><![CDATA[vote]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=424</guid>

					<description><![CDATA[As you may recall from previous instalments of my thrilling blog, I&#039;m trying to find the location of every polling station in the UK.  This is proving to be rather tricky - if not impossible.  The  data aren&#039;t centrally held and, in any case, polling stations aren&#039;t announced until an election is called.  So I went for the next best thing.  Using the wonderful What Do They Know site to make a Fr…]]></description>
										<content:encoded><![CDATA[<p>As you may recall from previous instalments of my thrilling blog, I'm trying to find the location of every polling station in the UK.</p>

<p>This is proving to be rather tricky - if not impossible.&nbsp; The&nbsp; data aren't centrally held and, in any case, polling stations aren't announced until an election is called.</p>

<p>So I went for the next best thing.&nbsp; Using the wonderful <a href="http://www.whatdotheyknow.com/">What Do They Know</a> site to make a <a href="http://www.whatdotheyknow.com/request/postcodes_within_constituency_bo">Freedom of Information Act request</a>, I asked the Electoral Commission for details of every council and which postcodes they cover for elections.</p>

<p>I'm delighted to say that, after a friendly chat with the very helpful Iredia Oboh I now have the data I need!</p>

<p>Check out the nearly finished <a href="https://web.archive.org/web/20090827214319/http://voteuk.shkspr.mobi/">VOTEUK</a>.</p>

<p>I have a table listing every one of the 17 million postcodes in the UK.&nbsp; Each postcode has a "Council ID".</p>

<p>I have a table listing every Council with their contact details and their "Council ID".</p>

<p>Using the joy that is MySQL I can take a postcode and find the details of the Council who administer elections in that area.</p>

<pre>$query = "SELECT Council_ID from postcode_councilID WHERE postcode = '". $postcode . "'";
$result=mysql_query($query);
$row = mysql_fetch_array($result);
$council_id = $row["Council_ID"];
$info_query = "SELECT * FROM councils WHERE Council_ID = " . $council_id;
$info_result=mysql_query($info_query);
$info_row = mysql_fetch_array($info_result);</pre>

<p>So, I can take <a href="https://web.archive.org/web/20110724053126/http://voteuk.shkspr.mobi/?p=about">W1A 1AA</a> and find that it's administered by Westminster Council, their email address, phone number and postcode.</p>

<p>The data can be found on the <a href="http://www.whatdotheyknow.com/request/postcodes_within_constituency_bo#incoming-40909">FoI request</a>. Note that the CSV files are in UTF-16. You may wish to convert them to UTF-8 or ASCII depending on what you will be doing with the data.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=424&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2009/08/voteuk-some-progress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[BarCamp Transparency #BCT09]]></title>
		<link>https://shkspr.mobi/blog/2009/07/barcamp-transparency-bct09/</link>
					<comments>https://shkspr.mobi/blog/2009/07/barcamp-transparency-bct09/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Thu, 30 Jul 2009 11:48:14 +0000</pubDate>
				<category><![CDATA[politics]]></category>
		<category><![CDATA[voteuk]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=331</guid>

					<description><![CDATA[An inspiring day.    There were, I think, two main points of contention.  1) Information wants to be free - but personal information wants to be private.  2) Raw Data Now. Should we wait for standards - or just make them up as we go along?  As for (1) I&#039;m happy for everyone to see my data if I can see theirs. Might reduce hypocrisy.  I&#039;m aware that I&#039;m in the minority here. There are a lot of …]]></description>
										<content:encoded><![CDATA[<p>An inspiring day.</p>

<p><a title="Remember to tag *EVERYTHING* #BCT09 on Twitpic" href="http://twitpic.com/boqoi"><img src="https://shkspr.mobi/blog/wp-content/uploads/2009/07/bct09.jpg" alt="Remember to tag *EVERYTHING* #BCT09 on Twitpic"></a></p>

<p>There were, I think, two main points of contention.</p>

<p>1) Information wants to be free - but personal information wants to be private.</p>

<p>2) Raw Data Now. Should we wait for standards - or just make them up as we go along?</p>

<p>As for (1) I'm happy for everyone to see my data if I can see theirs. Might reduce hypocrisy.&nbsp; I'm aware that I'm in the minority here. There are a lot of sociological and usability issues as well.</p>

<p>For (2) I'm in the minority in that I think JFDI is a very bad idea.  I want clear and <em>stable</em> standards. I don't want to fuss around with RSS on one site, JSON on the next and Serialised PHP on another - all with wildly different ontologies.  For Government data - there should be central and enforced standards.  I will take time and be painful - but it will save us effort and pain in the long run.</p>

<p>A particular highlight for me was meeting Paul Hiscoe of <a href="https://web.archive.org/web/20081119135719/http://www.transparencydata.co.uk/Site%202/TransparencyData.html">Transparency Data</a>. They are the people behind <a href="http://www.scoresonthedoors.org.uk/">Scores on the Doors</a> (SOTD). SOTD collate publicly accessible data on food hygiene inspections by local councils. They then make those data easily available in a single place. They also, for a cost, provide an API for restaurant review sites and the like.</p>

<p><a title="Brilliant! It's mobile! http://sotd.tv #BCT09 on Twitpic" href="http://twitpic.com/bot4c"><img src="https://shkspr.mobi/blog/wp-content/uploads/2009/07/Food-hygiene-ratings-on-mobile.jpg" alt="Brilliant! It's mobile! http://sotd.tv #BCT09 on Twitpic"></a></p>

<p>That's it. That's all they do. They do it simply and well. They don't need to build a community, monetize, find a freemium proposition, charge end users, advertise, have a discussion board etc. They provide a simple and effective service. That's something certain people attending found to be too difficult a concept.</p>

<p>Not everything needs to be monetized. Especially when we, the taxpayers, have already paid. We pay for the information to be collected, collated and made available. There is no need to charge us again! Not every service is a business.</p>

<p>I also presented a talk about filming the police.
<a title="My session at #BCT09 come along, there's a video! on Twitpic" href="http://twitpic.com/bp0f8"><img src="https://shkspr.mobi/blog/wp-content/uploads/2009/07/Filming-the-police.jpg" alt="My session at #BCT09 come along, there's a video! on Twitpic"></a></p>

<p><a href="https://twitter.com/edent/status/2852732630">Qik only uploaded the first half</a> - I'll try and get the rest working later.</p>

<h3 id="a-few-bad-points"><a href="https://shkspr.mobi/blog/2009/07/barcamp-transparency-bct09/#a-few-bad-points">A Few Bad Points</a></h3>

<p>In truth this was a great BarCamp and produced some of the most stimulating conversations. The minor quibbles I have are mostly logistical. I only mention them because Sylwia specifically asked to hear what they could do better next time. They also serve as a gentle reminder for anyone else planning a BarCamp.</p>

<p>Oxford on a Sunday isn't the most accessible place. But it did make a nice change from London.</p>

<p>Gaps between session.  There were none. It would have been good to have a five minute breather to let people go to the loo / stretch their legs / etc.</p>

<p>Lack of presenters.  The three main rooms seemed well booked, but there were a lot of tourists.  While I'm sure all had presented at a BarCamp before, a bit of encouragement could have given to get people presenting.</p>

<p>Crèche.  I think it's great that people feel they can bring their kids to events like this.  But they need to be given something to do.  Having a screaming child run through your presentation is, at best, merely annoying.  A few colouring-in books (or whatever kids have these days) might have calmed things down.</p>

<p>Vegetarian food. There was none.  Well, to be fair, there was potato salad, cous-cous and crisps.  I'm aware that I'm at fault for not stating in advance that I had particular dietary needs - but a few cheese sandwiches wouldn't have been too hard to conjure up!</p>

<p>Overall, minor quibbles on an otherwise excellent and informative day.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=331&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2009/07/barcamp-transparency-bct09/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Mashed Up Maps]]></title>
		<link>https://shkspr.mobi/blog/2009/07/mashed-up-maps/</link>
					<comments>https://shkspr.mobi/blog/2009/07/mashed-up-maps/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Wed, 08 Jul 2009 11:20:38 +0000</pubDate>
				<category><![CDATA[voteuk]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[mashup]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=241</guid>

					<description><![CDATA[As part of my project to create a mobile polling station locator site, I&#039;ve been playing with various mapping APIs.  As a base experiment, I passed the postcode of a polling station (GU22 7DT) to both Google Maps and Yahoo Maps.  Here are the results.   -   Two things of interest to note.  Firstly, Google has a specific &#34;Mobile&#34; call in the API, it reformats the map image to be more readable on…]]></description>
										<content:encoded><![CDATA[<p>As part of my project to create a <a href="https://shkspr.mobi/blog/2009/07/getting-people-to-the-polling-station/">mobile polling station locator</a> site, I've been playing with various mapping APIs.</p>

<p>As a base experiment, I passed the postcode of a polling station (GU22 7DT) to both Google Maps and Yahoo Maps.  Here are the results.</p>

<p><img class="size-full wp-image-243" title="ymaps1" src="https://shkspr.mobi/blog/wp-content/uploads/2009/07/ymaps1.gif" alt="Yahoo! Maps" width="240" height="240"> - <img class="size-full wp-image-244" title="gmaps1" src="https://shkspr.mobi/blog/wp-content/uploads/2009/07/gmaps1.gif" alt="Google Maps" width="240" height="240"></p>

<p>Two things of interest to note.</p>

<p>Firstly, Google has a specific "Mobile" call in the API, it reformats the map image to be more readable on the mobile - I think you'll agree that Google edges out Yahoo here.</p>

<p>Secondly, Google maps is <em>less accurate</em> than Yahoo! Maps.  Severely so.  While maps.google.com is highly accurate when passed a postcode, the API seems only to look at the first part and discard the rest.  Yahoo on the other hand is unnervingly precise.</p>

<p>What to do?  Well, as all the cool kids are doing, let's have ourselves a mashup!</p>

<p>We can call Yahoo Maps to get the Latitude and Longitude of a postcode thusly
<code>http://local.yahooapis.com/MapsService/V1/geocode?appid=YD-9G7bey8_JXxQP6rxl.fBFGgCdNjoDMACQA--&amp;zip=gu227dt&amp;state=uk</code>
This will return
<code>&lt;Latitude&gt;51.318691&lt;/Latitude&gt;</code>
<code>&lt;Longitude&gt;-0.543540&lt;/Longitude&gt;</code>
<code>&lt;Address/&gt;</code>
<code>&lt;City&gt;Woking, GU22 7DT&lt;/City&gt;</code>
<code>&lt;State&gt;United Kingdom&lt;/State&gt;</code>
<code>&lt;Country&gt;GB&lt;/Country&gt;</code>
We take the Latitude and Longitude and pass it to Google Maps like so
<code>http://maps.google.com/staticmap?center=<span style="color: #ff0000;">$lat</span>,<span style="color: #ff0000;">$long</span>&amp;markers=<span style="color: #ff0000;">$lat</span>,<span style="color: #ff0000;">$long</span>,tiny&amp;zoom=14&amp;size=240x240&amp;maptype=mobile&amp;key=&amp;sensor=false</code>
Which nets us this map.</p>

<p></p><div id="attachment_242" style="width: 250px" class="wp-caption alignnone"><img aria-describedby="caption-attachment-242" class="size-full wp-image-242" title="gmap2" src="https://shkspr.mobi/blog/wp-content/uploads/2009/07/gmap2.gif" alt="Google Map from Yahoo Geo Location" width="240" height="240"><p id="caption-attachment-242" class="wp-caption-text">Google Map from Yahoo Geo Location</p></div><p></p>

<p>Hey presto! Better looking than the Yahoo Map and better accuracy than the Google Map.</p>

<p>The geocoding prescision of the Google Maps API is very poor for UK postcodes.  There really shouldn't need to be this need sort of work around.</p>

<p>This is the sort of data that the UK government should be providing.  The <a href="https://web.archive.org/web/20090609045317/https://openspace.ordnancesurvey.co.uk/openspace/support.html">Ordnance Survey have an API</a> but it seems restricted to JavaScript which isn't very useful for most mobile phones.  Nevertheless I'll have a play with it and see if it's more useful.</p>

<p><em>Edit</em></p>

<p id="line1">I am now using <a href="https://web.archive.org/web/20140208154955/http://ernestmarples.com/blog/">Ernest Marples' Postcode Latitude/Longitude Lookup API </a>which has much greater accuracy than either Google or Yahoo.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=241&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2009/07/mashed-up-maps/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Getting People To The Polling Station]]></title>
		<link>https://shkspr.mobi/blog/2009/07/getting-people-to-the-polling-station/</link>
					<comments>https://shkspr.mobi/blog/2009/07/getting-people-to-the-polling-station/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Wed, 01 Jul 2009 12:54:10 +0000</pubDate>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[voteuk]]></category>
		<category><![CDATA[vote]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=217</guid>

					<description><![CDATA[It has always depressed me how little the British make of elections. We don&#039;t have voter registration drive, &#34;Kiss me; I&#039;ve voted&#34; badges&#34; or much in the way of celebrating our democracy.  Perhaps it&#039;s our reserved nature. But I think it has a direct effect on the declining number of people voting.  We&#039;re going to have a General Election within a year - how do we encourage people to register and…]]></description>
										<content:encoded><![CDATA[<p>It has always depressed me how little the British make of elections. We don't have voter registration drive, "Kiss me; I've voted" badges" or much in the way of celebrating our democracy.</p>

<p>Perhaps it's our reserved nature. But I think it has a direct effect on the declining number of people voting.</p>

<p>We're going to have a General Election within a year - how do we encourage people to register and then vote?</p>

<p>I want to create a dual-aim mobile site.</p>

<ul>
    <li>How do I register to vote?
<ul>
    <li>Enter home postcode (or use geolocation), get back phone number for registration.</li>
</ul>
</li>
    <li>Where do I vote?
<ul>
    <li>Enter home postcode (or use geolocation), get back an address and a map of your local polling station.</li>
</ul>
</li>
</ul>

<p>Simple, right?</p>

<p>(Why mobile? Well, partly because I'm a mobile guy and partly because more people have access to a phone than a PC. You can use the phone to call voter registration direct from the web page. You can also take the mobile map with you to help find the polling station.)</p>

<h2 id="the-problems"><a href="https://shkspr.mobi/blog/2009/07/getting-people-to-the-polling-station/#the-problems">The Problems</a></h2>

<h3 id="getting-the-data"><a href="https://shkspr.mobi/blog/2009/07/getting-people-to-the-polling-station/#getting-the-data">Getting the Data</a></h3>

<p>The UK has a patchwork of different authorities responsible for various aspects of our lives. Because of this, there's a surprising lack of centrally held information. I submitted a <a href="http://www.whatdotheyknow.com/request/list_of_polling_station">Freedom of Information Act request to the Electoral Commission</a>. They simply don't track where all the UK's polling stations are.</p>

<p>So, to get a list of polling stations I'd need to contact every returning officer in the UK. With nearly 700 MPs, that could be tricky - but not impossible.</p>

<h3 id="where-to-vote"><a href="https://shkspr.mobi/blog/2009/07/getting-people-to-the-polling-station/#where-to-vote">Where to vote.</a></h3>

<p>Calculating the distance between two postcodes is not simple, but can be done. The problem is, your nearest station may not be where you are registered to vote. Can you vote at a different station? Does a user get shown a list of local polling stations? If not, can returning officers supply data (in a suitable format) showing which postcodes vote at which stations?</p>

<h3 id="virality"><a href="https://shkspr.mobi/blog/2009/07/getting-people-to-the-polling-station/#virality">Virality.</a></h3>

<p>I am not politically neutral - but the site must be. What good, neutral content can attract repeat visitors? What will encourage people to text the address to their friends?</p>

<p>I was impressed with the work <a href="http://www.hopenothate.org.uk/">Hope Not Hate</a> did - can that be built on?
The deadline for registering to vote is always 11 days before an election. Can the site be built sufficiently before the election? How to encourage voters to come back on polling day?
I want a UK version of this to send to my friends</p>

<iframe title="5 Friends Uncensored" width="620" height="349" src="https://www.youtube.com/embed/0vtHwWReGU0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>

<p>So, that's the idea and the problems - any thoughts?</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=217&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2009/07/getting-people-to-the-polling-station/feed/</wfw:commentRss>
			<slash:comments>16</slash:comments>
		
		
			</item>
	</channel>
</rss>
