<?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>Choc In To Joyville &#8211; Cadbury&#8217;s Hackday &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/2012/05/choc-in-to-joyville-cadburys-hackday/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Thu, 01 May 2025 14:24:36 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>Choc In To Joyville &#8211; Cadbury&#8217;s Hackday &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Choc In To Joyville - Cadbury's Hackday]]></title>
		<link>https://shkspr.mobi/blog/2012/05/choc-in-to-joyville-cadburys-hackday/</link>
					<comments>https://shkspr.mobi/blog/2012/05/choc-in-to-joyville-cadburys-hackday/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sun, 27 May 2012 20:37:44 +0000</pubDate>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[cadbury]]></category>
		<category><![CDATA[cadburyhack]]></category>
		<category><![CDATA[hackday]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=5732</guid>

					<description><![CDATA[Before Cadbury&#039;s inaugural hackday began there were a number of rumblings on the blogs about the extact nature of Cadbury&#039;s intentions. See Thayer Prime&#039;s and Emma Mulqueeny&#039;s thoughts on the subject.  As it happens, after a bit of gentle poking, some of the terms were clarified.   The event itself went rather well, but I&#039;d like to point out a few points where it didn&#039;t quite live up to the Hack…]]></description>
										<content:encoded><![CDATA[<p>Before Cadbury's inaugural hackday began there were a number of rumblings on the blogs about the extact nature of Cadbury's intentions. See <a href="http://thayerprime.wordpress.com/2012/05/06/when-hackdays-just-arent-cool-some-pr-advice-for-brands-and-companies/">Thayer Prime</a>'s and <a href="http://mulqueeny.wordpress.com/2012/05/06/types-of-hack-day/">Emma Mulqueeny</a>'s thoughts on the subject.</p>

<p>As it happens, after a bit of gentle poking, some of the terms were clarified.
<img src="https://shkspr.mobi/blog/wp-content/uploads/2012/05/Cadbury-IP.jpg" alt="Cadbury IP" title="Cadbury IP" width="600" height="65" class="aligncenter size-full wp-image-5737"></p>

<p>The event itself went rather well, but I'd like to point out a few points where it didn't quite live up to <a href="http://hackdaymanifesto.com/">the Hack Day Manifesto</a>.</p>

<ul>
<li>Registration - due to some confusion with the registration form, <a href="https://twitter.com/TheLocalPCShop/status/206396684824088577">some entrants were turned away</a>.</li>
<li>Checking for clashes - sadly <a href="http://nhshackday.com/">NHS Hack Day</a> was also on. It's hard to avoid clashes, but both seemed well attended.</li>
<li>WiFi - a bit patchy and no security.</li>
<li>Power sockets - far too few, requiring the staff to go out and buy more.</li>
<li>Dietary requirements - lack vegetarian food.  The catering staff seemed somewhat taken aback that veggie friendly fare was asked for. After a few polite comments, food was provided.</li>
<li>APIs - there were none on offer. We did get a bunch of nice Cadbury's assets to play with though.</li>
<li>Prizes - a contentious one this. The prizes were, if anything, <em>too</em> generous. £500 and new phone is quite an incentive. The top prize was £10,000!  This lead to a number of professional teams entering, and some people bringing along pre-built apps to polish. Naturally, I'm just bitter because I didn't win anything.</li>
</ul>

<p>That said, the event was very good - especially as a first effort from the team.</p>

<p>A specially mention on the "Accessibility" front - this was the first event I've been to where a sign language interpreter was provided.</p>

<p>Oh, and while some hackdays give away stickers, memory sticks, and even phones - Cadbury's provided basically unlimited chocolate! Including a 1KG bar of Dairy Milk for everyone!</p>

<p><img src="https://shkspr.mobi/blog/wp-content/uploads/2012/05/1kg-choc.jpeg" alt="1kg of chocolate" title="1kg choc" class="aligncenter wp-image-5734"></p>

<h2 id="my-hack"><a href="https://shkspr.mobi/blog/2012/05/choc-in-to-joyville-cadburys-hackday/#my-hack">My Hack</a></h2>

<p>My hack allowed a user to scan a Cadbury's barcode, see nutrional information about their treat, as well as "checking in" to the chocolate on Twitter. I then added some gubbins about finding your local sports centre &amp; tweeters near you.  It looked a bit like this:
<img src="https://shkspr.mobi/blog/wp-content/uploads/2012/05/Choc-In-Front-Page.png" alt="Choc In Front Page" title="Choc In Front Page" width="480" height="800" class="aligncenter size-full wp-image-5736"></p>

<p>So, anyway, here's my 3 minute demo video:</p>

<iframe title="Choc In To Joyville #CadburyHack - Terence Eden" width="620" height="349" src="https://www.youtube.com/embed/P1n4G7_PaWY?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>

<h3 id="android"><a href="https://shkspr.mobi/blog/2012/05/choc-in-to-joyville-cadburys-hackday/#android">Android</a></h3>

<p>The Android aspect is pretty simple, it just calls ZXing and then throws the result to an HTML5 site.
Which, should make it easy to port to any other system.</p>

<h3 id="cadburys-api"><a href="https://shkspr.mobi/blog/2012/05/choc-in-to-joyville-cadburys-hackday/#cadburys-api">Cadbury's API</a></h3>

<p>As I've discussed before, Xpath is a wonderful thing. I've turned Cadbury's Nutrition Information site into an ersatz API.</p>

<p>I used Yahoo's YQL Console to construct a JSON feed of the dietary info.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2012/05/Cadbury-API.jpg" alt="Cadbury API" title="Cadbury API" width="600" height="386" class="aligncenter size-full wp-image-5744">

<p>Which means we can display data like this for any of Cadbury's products:
<img src="https://shkspr.mobi/blog/wp-content/uploads/2012/05/Choc-In-Nutrition.png" alt="Choc In Nutrition" title="Choc In Nutrition" width="480" height="800" class="aligncenter size-full wp-image-5735"></p>

<h2 id="whats-next"><a href="https://shkspr.mobi/blog/2012/05/choc-in-to-joyville-cadburys-hackday/#whats-next">What's Next</a></h2>

<p>A number of people commented on how useful the dietary aspect was.  As a vegetarian, I'm often a bit unsure as to which sweets are veggie friendly.  I know coeliacs face similar issues.</p>

<p>Translating all of Cadbury's barcodes into their relevant ID numbers may prove a bit of a challenge - but it would be a good excuse to try every single one of Cadbury's products....</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=5732&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2012/05/choc-in-to-joyville-cadburys-hackday/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
