<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Robin Heathcote on Medium]]></title>
        <description><![CDATA[Stories by Robin Heathcote on Medium]]></description>
        <link>https://medium.com/@robin.heathcote?source=rss-5ce7324a3727------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GrqXgIBxeEtsekuEsC2Uaw@2x.jpeg</url>
            <title>Stories by Robin Heathcote on Medium</title>
            <link>https://medium.com/@robin.heathcote?source=rss-5ce7324a3727------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 02:24:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@robin.heathcote/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How Student Beans removed its code issuance bottleneck with AWS’s DynamoDB]]></title>
            <link>https://medium.com/pion/how-student-beans-removed-its-code-issuance-bottleneck-with-awss-dynamodb-529818312c53?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/529818312c53</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Fri, 12 Feb 2021 16:12:06 GMT</pubDate>
            <atom:updated>2021-02-16T11:14:45.750Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*vmtC49DI-_uzP5zjel2nXg.png" /></figure><h3>How Student Beans removed its code issuance bottleneck with AWS’s DynamoDB.</h3><p>Student Beans gives students access to great discounts for the brands they love via discount codes. The infrastructure to issue codes was designed for the modest levels of traffic the platform experienced in its infancy. However, with larger clients coming on board, and an increasing user base, code issuance had become a bottleneck, particularly during high traffic events such as clients launching sales and the dreaded Black Friday sales.</p><p>This blog post outlines how the engineering team at Student Beans learnt how to make the most of the scalability features of DynamoDB and NoSQL using early and regular load testing to ensure it was the correct solution to overcome this bottleneck.</p><h4>Locked up</h4><p>Previously, when a student requests a discount code through Student Beans the request was received by a Ruby on Rails API server which connected to a MySQL database. Some of these discount codes need to be unique to a student and have a specified time to live. To ensure uniqueness, the database updates to the codes table were wrapped in ActiveRecord transactions.</p><p>However, during bursts of high traffic, this would result in low level database locking issues, as too many requests wanted access to data from the same table. This would slow repsonse times down dramatically and could even grind the whole service down to a halt.</p><p>Despite many attempts to optimise the infrastructure, eventually it became evident that a more scalable solution was required. With the problem stemming from low level MySQL issues, the team decided to explore NoSQL databases as an option, particularly AWS’s DynamoDb.</p><h4>NoSQL? No problem</h4><p><a href="https://aws.amazon.com/dynamodb/">DynamoDB</a> is a key-value document store that boasts rapid performance at any scale and offers a lot of the features our platform required to handle high traffic events such as the ability to automatically scale up and down.</p><p>As a new technology for the engineering team, we decided to create rapid prototypes of the key functionality in small Ruby Scripts. This allowed for early load testing of the database to prove its viability.</p><p>To reduce development time the data structure was copied over from the current service and then gradually adapted to get the most out of NoSQL and DynamoDB.</p><p>There is a Ruby gem named <a href="https://github.com/Dynamoid/dynamoid">Dynamoid</a> which leverages the <a href="https://docs.aws.amazon.com/sdk-for-ruby/v2/api/index.html"><em>aws-sdk</em></a> and acts as a ORM to communicate with the DynamoDB service via API requests. It aims to stay as close to the familiar Ruby on Rails ActiveRecord ORM. The data structure for our use case only required one model with no relationships. A simplified version of the <em>DiscountCode</em> class used is shown below:</p><pre>class DiscountCode<br>  include Dynamoid::Document</pre><pre>  table name: :discount_code, key: :id, capacity_mode: :on_demand</pre><pre>  field :code, :string<br>  field :student_id, :string<br>  field :redeemed_at, :string<br>  field :discount_id, :integer<br>  field :discount_id_student_id, :string<br>  field :lock_version, :integer<br>  field :random_key, :number</pre><pre> global_secondary_index <br>   name: ‘discount_id_student_id_random_key_index’,<br>   hash_key: :discount_id_student_id,<br>   range_key: :random_key,<br>   projected_attributes: :all<br>end<br></pre><p>The Dynamoid gem provides a rake (a Ruby task management tool) task to create the table in DynamoDB: rake dynamoid:create_tables which creates a table for each of the classes where the Dynamoid::Documentmodule is included. These tables can then be managed within AWS via the DynamoDB dashboard.</p><p>Another rake task was setup to allow batches of dummy discount codes to be uploaded into the table. Dynamoid provides a <em>Model#import </em>method as an low-level optimised way to bulk create objects. Under the hood this method batches the write requests to DynamoDB to make it more efficient.</p><h4>Please AWS, I want some more</h4><p>DynamoDB has two read/write capacity modes: provisioned and on demand. With the default provisioned mode, you specify how much throuput you require to your table and this is billed accordingly.</p><p>Our initial load tests using the provisioned mode were immediately throttled as the provisioned throughput specified was insufficient. Instead, the table was configured to use <a href="https://aws.amazon.com/blogs/aws/amazon-dynamodb-on-demand-no-capacity-planning-and-pay-per-request-pricing/"><em>on_demand</em> mode</a>. This is useful if it is not possible to predict the levels of traffic you will receive. It allows the throughput to scale up and down depending on the traffic received and the account is billed for what is used.</p><h4>No index? That’s a no go</h4><p>After that first hurdle, the first requests to fetch a discount code from DynamoDB were still slow to respond, and the DynamoDB logs suggested adding an index. Without an index, DynamoDB uses SCAN operations which are very slow as they access every document in the table. Instead, by adding indexes the more performant QUERY operations are available which allow conditions to be passed when making requests to retrieve documents.</p><p>There are<a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SecondaryIndexes.html"> two types of indexes</a> available in DynamoDB: Local Secondary Indexes (LSI) and Global Secondary Indexes (GSI). To enable the retrieving of a discount code using a field that was not the base table’s partition key, a GSI was required.</p><h4>Get this student a code, pronto.</h4><p>To issue a code to a user, a query was required to find a document in DynamoDB which satisfied two conditions:</p><ul><li>the code belongs to the correct offer</li><li>the code has not already been issued to another user</li></ul><p>The <em>discount_code</em> documents stored this information in two different fields: <em>discount_id</em> and <em>student_id.</em> In order to find codes that satisfied both conditions efficiently, a compound partition key of the two was added as the hash key of the GSI:</p><pre>global_secondary_index <br>   name: ‘discount_id_student_id_random_key_index’,<br>   hash_key: :discount_id_student_id,<br>   projected_attributes: :all<br>end</pre><p>To use the index implicitly in Document.where requests, the Dynamoid gem requires that all the attributes of the original table are included in the index. Thereforeprojected_attributes: all was also specified on the index.</p><p>This field was then populated whenever a DiscountCode document was created like so:</p><pre><br>DiscountCode.create(discount_id_student_id: ‘100-null’)<br></pre><p>Enabling non-issued codes to be looked up using:</p><pre><br>DiscountCode.where(<br>‘discount_id_student_id’: ‘100-null’<br>).record_limit(1)<br></pre><p>When issuing a code to a user the ‘null’ section of the <em>hash_key</em> would be updated with the <em>student_id</em> to mark it as ‘issued’ and would therefore no longer be returned when another user requests a discount code.</p><h4>Lockdown those updates</h4><p>GSI’s are “eventually consistent” meaning updates to documents are not always instant across all the shards of the database. At periods of high concurrency, our implementation needed to ensure that issued codes were unique.</p><p>With the Dynamoid gem, if a field named <em>lock_version</em> is added to a document it is automatically incremented when a document is updated via the <em>update!</em> method:</p><pre><br> discount_code.update!(if: { lock_version: 1 }) do |i|<br>   i.set(<br>     student_id: student_id,<br>     redeemed_at: datetime.to_s,<br>     discount_id_student_id: “#{discount_id}-#{student_id}”<br>   )<br> end</pre><p>If concurrent requests attempted to load and update the same document an error is returned from DynamoDB and a DynamoidDB::Errors::StaleObjectErroris raised by the Dynamoid gem. This error was rescued and a limited retry mechanism was implemented.</p><p>A conditional update was also used to ensure that only codes with a <em>lock_version</em> of one, ie not already issued, can be issued to a student.</p><p>We then ran more high concurrency load tests to confirm that each user received a unique code and found that this implementation satisfied our uniqueness requirements.</p><h4>Pick a code, any code</h4><p>However, quite a high proportion of requests returned a non 200 response, leaving students without a discount code. Concurrent requests were often retrieving and attempting to update the same documents from DynamoDB. This was regularly triggering the retry mechanism until the limit was reached and returning a non-200 response.</p><p>To avoid the same documents being read on concurrent requests, the implementation was changed to make each request select from a different subset of documents in the index<em>.</em></p><p>If a <em>sort_key</em> is added to an index(they are optional), additional operations are available on QUERY operations. Therefore, a sort key named <em>random_key</em> was added which was assigned a random number.</p><pre><br>DiscountCode.create(<br>  discount_id_student_id: ‘100-null’,<br>  random_key: SecureRandom.random_number<br>)<br></pre><p>Requests where then filtered requiring a <em>sort_key</em> greater than that than of a randomly generated number passed on the request like so:</p><pre><br>DiscountCode.where(<br>  ‘discount_id_student_id’: ‘100-null’,<br>  ‘random_key.gt’: SecureRandom.random_number<br>).record_limit(1)<br></pre><p>This obviously has quite a high chance of failure, but the requests are fast and cheap so again a retry mechanism was implemented to handle this.</p><p>Load testing this implementation showed vastly reduced and impressive response times. It was then pitched against the existing MySQL implementation simulating traffic levels that were known from previous events to cause issues. The MySQL database failed mid way through the test as expected. While DynamoDB was able to issue the discount codes for the entire test with no evidence of any strain. At this point, the engineering team were satisfied that moving to our code issuance architecture over to DynamoDB was the solution to our code issuance struggles. It was time to get building!</p><h4>Sayonara, SQL</h4><p>The product team had originally set the engineering team a target of an issuance rate of 50 issuances per second. As our load testing had smashed that completely out of the park we set about building a fairly simple, Ruby on Rails API micro-service to connect to the shiny new DynamoDB table. Its sole responsibility being to issue and return a discount code for a student. As we load tested the service further to find its limits, we soon realised that there was no longer a limit to the issuance rate. With DynamoDB, increasing the issuance rate was now simply a case of adding more resources to the platform.</p><p>Recently, during the busiest Black Friday event that Student Beans had ever experienced the new service peaked at issuance rates of 116 codes per second without a sweat. A truly astonishing improvement compared to the 10 codes per second that the infrastructure could safely run at before.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=529818312c53" width="1" height="1" alt=""><hr><p><a href="https://medium.com/pion/how-student-beans-removed-its-code-issuance-bottleneck-with-awss-dynamodb-529818312c53">How Student Beans removed its code issuance bottleneck with AWS’s DynamoDB</a> was originally published in <a href="https://medium.com/pion">Pion</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Archipelago: Aqua Fields Riverine Lodge Part 3]]></title>
            <link>https://medium.com/rchipelago/archipelago-aqua-fields-riverine-lodge-part-3-736b5092efc1?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/736b5092efc1</guid>
            <category><![CDATA[fiction]]></category>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[adventure-travel]]></category>
            <category><![CDATA[short-story]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Sun, 16 Jun 2019 09:39:03 GMT</pubDate>
            <atom:updated>2019-06-16T09:55:15.053Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>If I could do it again,<br>I’d climb more trees<br>I’d pick and I’d eat more wild<br>Blackberries<br>~ Bloc party — Waiting for the 7:18</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GhLPhNG4t3NTmLX2uaQfbA.jpeg" /></figure><p>Read also: <a href="https://medium.com/rchipelago/rchipelago-aqua-fields-riverine-lodge-7c8e734ad0ef">Part1</a> &amp; <a href="https://medium.com/rchipelago/rchipelago-aqua-fields-riverine-lodge-part-2-e2445e6618c6">Part 2</a></p><p>It is a peculiar thing, to feel the crunch of a walnut in a Waldorf salad but it absolutely cannot be left out nor can it replaced by any other nut. Whilst crunching the last remaining, and dearly cherished, walnut of his salad, Archipelago turned to the back of the “Green ‘un” newspaper that lay exhausted and slightly sickly looking on the table next to him. On it was printed the football scores of the local youth league, and Archipelago found himself astonished that one team had recently won their latest encounter 32 goals to nil. He did wonder if the pitch which this game had been played on had in fact been tipped vertically in favour of the home team, such that each time the ball was placed on the ground for another kick off it simply rolled into the opposing goal without hindrance.</p><p>Suddenly, the waiter cast open the lodge’s front door letting that that lay outside, inside and calling: “Say look at this day, what shall we make of it?” unveiling an inviting view of the mountains beyond. Each singular peak in the distance appeared pinned to the sky with a luscious floral hillside draping down from it. The very force in which the waiter had thrown open the door had managed also to move Archipelago from his chair and the wind, which was now barreling into the lodge, approached him with outstretched arms, and eagerly pulled him to the doorway encouraging him to leave. At which point each clock within the room held its breath and steadied its arms, eagerly anticipating the setting of Archipelago’s foot outside of the lodge.</p><p>“With a day like this I think it’d be rude to not get back on my way” Archipelago decided. And with that decision the lodge exhaled the invading wind. The waiter smiled with what seemed like relief as the clocks carried on their daily business of following each tick with an accompanying tock. “Marvellous news, thank god I won’t need to cook again, I daresay that salad nearly finished me off” the waiter replied “I’ll have Bryn over there fetch the car around” motioning to the gnome on the reception desk who was sat absentmindedly holding his fishing rod and quite frankly not looking fit to fish never mind drive. “It’s just my bag I need actually, I’m on foot” Archipelago responded “I’ll just nip up and grab it”.</p><p>His eyes then caught sight of his backpack outside, propped against a tree. It was basking in the sunlight holding in its over fed belly of the many things he had packed. “Oh, never mind I guess” said Archipelago going over to grab it. He looked for the trail that brought him to lodge the prior evening but he found only a stubborn circular wall of trees, each one standing proudly with arms folded. “Trails grow back in pretty quickly round here” said the bemused waiter. “Hungry forest this, take that one over there to the hills” he finished pointing to a small opening in the trees which wouldn’t be seen unless one knew where to look. At its entrance, a lone woodpecker of unassuming plumage was perched on the first tree watching the two of them. Every so often it turned and pecked at the tree’s trunk before looking back at them with an impatient look on its face as if suggesting Archipelago should get a wriggle on.</p><p>“If you are heading over those hills, I’d better give you some sound advice” the waiter suggested. He took an aged and crumpled up piece of paper out of his pocket and set about unravelling it. He cleared his throat and recited: “If you find yourself going over, you’d be better going around. But if you find yourself going the long way around, would it be quicker to go over… Or have I got that back to front?” He began fumbling with the note, turning it in an all manner of orientations before finishing “Don’t worry though you will find us on the other side if needs be. Ta Ta” and with that he gave Archipelago a firm nudge out of the lodge and slammed the door shut behind him. Within a few silent seconds the piano inside sprang into tune and there was a calamitous commotion to be heard only from within.</p><p>The ability of a sock to hold one’s toes within it is to many an important measure of its quality. Archipelago, having felt an emerging hole in his sock began wiggling his big toe through it, pondering whether or not the story of a sock is better told by the holes themselves instead? Leading with his now exposed big toe, his first step from the lodge was indeed the hardest but each one that followed fell forwards with a comforting ease. Every five paces or so his new companion, the woodpecker, dutifully fluttered to the following tree and pecked at its trunk, and this he took as signal for the all clear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oS51FxgIaXqB6gL1R9nTtg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=736b5092efc1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rchipelago/archipelago-aqua-fields-riverine-lodge-part-3-736b5092efc1">Archipelago: Aqua Fields Riverine Lodge Part 3</a> was originally published in <a href="https://medium.com/rchipelago">∆rchipelago</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[∆rchipelago — Aqua Fields Riverine Lodge Part 2]]></title>
            <link>https://medium.com/rchipelago/rchipelago-aqua-fields-riverine-lodge-part-2-e2445e6618c6?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2445e6618c6</guid>
            <category><![CDATA[fiction]]></category>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[short-story]]></category>
            <category><![CDATA[creative-writing]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Fri, 25 Jan 2019 10:29:00 GMT</pubDate>
            <atom:updated>2019-01-25T13:31:48.327Z</atom:updated>
            <content:encoded><![CDATA[<h3>∆rchipelago — Aqua Fields Riverine Lodge Part 2</h3><blockquote>Maybe you’ll get what you wanted<br>Maybe you’ll stumble upon it<br> Everything you ever wanted<br> In a permanent state<br>~ Coldplay — White Shadows</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*65EU8dah_kG5S_DWUdfW4A.png" /></figure><p><a href="https://medium.com/rchipelago/rchipelago-aqua-fields-riverine-lodge-7c8e734ad0ef">Part 1</a></p><p><a href="https://medium.com/rchipelago">The ∆rchipelago series</a></p><p>“Ahh… another dawn” thought the sun, clearing its throat, stretching and extending its neck as it dared to peer over the mountains, checking for the all clear. “Well, best start the clock I guess” it muttered as it’s radiant light gently roused the dark which lay sprawled out snuggly in the valleys. As the dark woke, the frosted grass and tree branches batted their eyelashes, glistening in the dawn’s first glimpse. The day drew breath and woke the world with a gentle breeze that blew along a trail, through the woods and squeezed through the cracks of Archipelago’s room window at the Aqua Fields Riverine Lodge.</p><p>Perched at his small desk looking out through the window into the woods, Archipelago felt a draught which brought a fluttering shudder down his spine. “Let the wild carry you” was all that lay written on an otherwise blank page within a journal Atoll, his father, had given him with those words before leaving. Behind him, his ruffled bed sat limp and abandoned, sad that its partner for the night had left it. A slowly rising steam warmed his chin, rising from a cup of fresh coffee which sat happily sharing its opulent aroma with all that was nearby.</p><p>Archipelago’s gaze was tied to the deflated balloon which hung in the trees. His thoughts cast back to a fond memory with his father where the two of them were headed deep into a forest he’d not visited before. He remembered the unusual woodland scents becoming familiar and the pine trees that encroached suffocatingly at first but soon relaxed to allow their passing. Eventually, they reached an opening where the light crept in. They came out atop a small and gently trickling waterfall which fed a pond guarded on all sides by trees. “This is the spot,” Atoll said proudly, clearly satisfied that he’d found it once again despite the lack of any indication of its whereabouts. “I’ve been coming here for years, it’s been a place to come to when everything has gotten too much” he spoke softly, looking down over the pond. “I’ve always found that having a place to sit and watch something other than yourself to be quite comforting in those times”.</p><p>It was a drop of wisdom that would stick with Archipelago, and with it, they both sat a moment in stillness as time trickled by. The stillness broke when Atoll abruptly checked his watch and said “get down and be still” in a hushed tone as he lay on his front on the rock slab above the waterfall. Archipelago followed his lead and lay still on the ground beside him. Moments later there was a rustle in the trees at either side of the pool which suddenly stopped. It was then, that warily, a stag appeared from behind the trees and began to drink from the pond. After his first sip, he looked up to see a doe emerge from the trees at the other side. They both held each other’s gaze in complete attention. Time lingered there a moment with the atmosphere taught as a tuned string. Archipelago noticed the ripples from the waterfall were now stretching further into the pool before separating between them as if that space now held a new dynamic which was more inviting than before. They both then took a drink together before casting each other one last glance before retreating back into the trees.</p><p>“Those two seem to appear here at this same time every time I come here,” he said, clearly still touched by seeing it. “Seeing something as simple as that helped me realise that life was far larger than I first thought when I was younger” he continued turning to his son. “We are only a small thread of a weave and there’s plenty of space between us to hold all our problems. But it’s small moments like that one, that even though you are on the outside, can help unravel even the tightest of knots”.</p><p>___</p><p>A deep rumbling emerged from Archipelago’s belly and at that instant, an almighty call bellowed from below: “Breakfaaaast!” He recognised the coarse voice as the un-encouraging man he’d spoken to at reception the night before. Feeling the pangs of hunger, he set off in search of food, grabbing the key out of the smiling metal teapot he’d dropped it in for safe keeping. Entering the corridor he seemed to be much closer this morning to the stairs, for which his empty stomach was thankful for. “What time do you call this?” the waiting receptionist greeted him with. “Erm, the morning?” Archipelago responded confusingly having only recently set eyes on the dawn. “Ahh of course” the receptionist cheerfully agreed, visibly counting out the letters in his head before scribbling something down onto the newspaper on his desk, “been struggling with that one all night I have”.</p><p>Archipelago took a seat at the only table in the room, enjoying the bright, lively notes of a nearby piano that seemed to be playing on its own. “Taught itself that did” the receptionist informed him, noticing his interest. “Sat there doing nothing for ages it did, before Mrs Hubbard said it looked lonely without a book of notes to accompany it, so she brought it a book and all of a sudden it seemed to find its tune” the receptionist told him, placing a menu in front of him, “can’t shut the bloody thing up now” he finished.</p><p>“First things first then, do you take chutney with your cheese?” the receptionist asked. “I’m sorry?” Archipelago asked. “Chutney with your cheese? Do you like it?” “Oh, erm not a big fan really sorry” he stumbled. “Oh but you haven’t tried ours now have you? I’ll bring you some” the receptionist said, turning to leave. “Wait I haven’t ordered anything yet” Archipelago called after him with an impatient annoyance rising from his expecting stomach but the receptionist had already left. He turned and picked up the menu opening it to read the only sentence on it: “You will get what you’re given, don’t worry you’ll like it.”</p><p>Scanning the room, Archipelago noticed the presence of a prominent woman in all the photos hung in frames upon the walls. The photos were quite aged, but the presence of the woman brought life to them all despite the bleak weather that painted each picture. One picture caught his eye in particular, where the woman stood beside a man, slightly taller than her, watching two springer spaniels fight over a stick cast out into a pond. There was a fog around them which held them closer together. It hung so close it seemed like the little view they had in front of them was all that existed in the world, and in that frame, it was all they needed to see.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2445e6618c6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rchipelago/rchipelago-aqua-fields-riverine-lodge-part-2-e2445e6618c6">∆rchipelago — Aqua Fields Riverine Lodge Part 2</a> was originally published in <a href="https://medium.com/rchipelago">∆rchipelago</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nested Attributes]]></title>
            <link>https://medium.com/@robin.heathcote/nested-attributes-a00a49a3d8cb?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/a00a49a3d8cb</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Mon, 01 Oct 2018 07:34:55 GMT</pubDate>
            <atom:updated>2018-10-01T07:34:55.537Z</atom:updated>
            <content:encoded><![CDATA[<h3>Recently I was working on an issue that required the updating of a child association through the parent via a form. In Rails this is made possible by using the #accepts_nested_attributes_for class method. When this is enabled an attribute writer is defined _attributes which allows that attribute to be updated through the parent model. Which looks like this:</h3><p>foo.update(bar_attributes: attribute: attribute)</p><p>It is an extremely useful tool, however, I found it took a bit of getting used to fully appreciate its capability and to successfully implement it.</p><p>I like to think of these associations as totalitarian relationships, basically the parent is dictating the state of its children (or basically a very pushy parent). So lets create a scenario, Darth Vader for example, he’s a jovial fella, lets take a look at his relationship with his Stormtroopers.</p><h3>Setting up</h3><pre>class DarthVadar has_many :stormtroopers accepts_nested_attributes_for :stormtroopers end</pre><p>Isn’t it nice when things just sound like exactly what they are? The method added to the class takes the name of the association.</p><p>stormtroopers_attributes=(attributes)</p><p>Note here, the association (“stormtroopers”) is plural and the word attributes is plural. This is because it is a has_many relationship and because multiple attributes can be updated at the same time. For a has_one relationship it would be stormtrooper_attributes.</p><p>This is what your params will appear as, when a form on DarthVadar is submitted:</p><pre>darth_vadar_instance: { stormtrooper_attributes: { 0{ attribute_1: attribute_1, attribute_2: attribute_2}, 1{ attribute: attribute } }</pre><p>Multiple stormtroopers can be updated at the same time. Which is kinda helpful seen as though most of the stormtroopers are fairly similar and it would be annoying to have to brainwash each one individually since they are all the same anyway. Although I heard in the new film that Daniel Craig was behind one of the stormtroopers, but could you tell? Of course not, he is a stormtrooper, just because he is James Bond doesn’t mean he can’t be brainwashed by Darth Vader stroking a cat.</p><p>Notice something else about the params above? It appears that there is a hash of hashes here being updated. The indexes of 0 and 1 refer to different stormtroopers id’s. Therefore it is possible to update one stormtrooper with one set of attributes, and another with a different set of attributes as they are passed through the form. Therefore, not all stormtroopers would be born equal, some maybe a little devious, now theres a storyline…</p><h3>Saving your attributes</h3><p>As with all params being passed through to the database, we want to avoid mass assignment for security and only allow the saving of those things that we permit, so lets avoid those .permit! ’s! To do this we need to whitelist the params which we do through a private method in the controller.</p><pre>def darth_vadar_params params.require(:darth_vadar).permit(stormtrooper_attributes: [:attribute_1, :attribute_2]) end</pre><p>By whitelisting the params this way you are telling Rails to expect multiple attributes to be updated for multiple stormtroopers and permit only the ones you want.</p><p>Within your update controller method it is a case of :</p><pre>def update @darth_vadar.update_attributes(darth_vadar_params) end</pre><p>Make sure you only pass one argument here, it’s not a hash, I got tripped up with this. So there you go, that’s how to update as many stormtroopers as you like through Darth Vader himself. Now that is brainwashing down to a tee! The force is strong with this one!</p><h3>Validations and errors</h3><p>On updating your child model the same validations will be run as they would if you were updating the child directly and the errors for this can be found via calling darth_vadar.errors . I wouldn’t recommend questioning Darth Vadar’s judgement but just incase he did the errors on the children will be found there.</p><p>It is also possible to add the reject_if option to the accepts_nested_attributes method in the parent controller if you want certain criteria to be met before creating or updating children. You can pass either a proc here or a symbol referring to a method if say you wanted to reject stormtroopers from being updated if it turns up say in a pink uniform after a night on the heavy stuff…</p><pre>class DarthVadar has_many :stormtroopers accepts_nested_attributes_for :stormtroopers, reject_if: :not_very_dark_side def not_very_dark_side(attributes) attributes[:uniform].not_white end end</pre><p>well it would be very “Dark side” after all would it…</p><p>So that’s all folks, its worth noting I’m a fairly new developer so I’m always open to feedback and new ideas if you spot anything wrong or anything that can be improved!</p><p><em>Originally published at </em><a href="https://gist.github.com/RobinHeathcote/36c9b642e467002156e4febae477c5a0"><em>gist.github.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a00a49a3d8cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[∆rchipelago – Aqua Fields Riverine Lodge]]></title>
            <link>https://medium.com/rchipelago/rchipelago-aqua-fields-riverine-lodge-7c8e734ad0ef?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c8e734ad0ef</guid>
            <category><![CDATA[short-story]]></category>
            <category><![CDATA[fiction-writing]]></category>
            <category><![CDATA[creative-writing]]></category>
            <category><![CDATA[fiction-series]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Tue, 14 Aug 2018 07:08:07 GMT</pubDate>
            <atom:updated>2018-08-14T08:06:52.436Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ubBTgAhqHbxP3QnOLhDXcw@2x.jpeg" /></figure><h3>Part 1</h3><blockquote>I’ll drop and speak a charm<br>Take the weather from your heart<br>And the weight from on your toes</blockquote><blockquote>Weather ~ Novo Amor</blockquote><p>“I still don’t understand how they fly Dad” a young and curious Archipelago asked bewilderedly to his father as they lay atop a hill. It was their weekend spot, beneath vanilla skies when it didn’t get dark til late, spectators to the queueing planes soaring effortlessly over-head. “I wouldn’t trouble yourself with that son, be content with simpler things like an untethered balloon.” replied Atoll, squinting to figure out the airline of the plane above them. “I don’t think we’ve gotten closer to pure flight than with balloons. They are freedom, no forced direction or prior influence, they may get snagged in a particularly spot but will eventually break free and be on their way once more” he paused, letting out a brief sigh, “planes just follow orders, it’s mathematics, their whole life is pre-determined” he finished.</p><p>The memory of this conversation whispered within Archipelago’s mind as he looked into the unfathomable deserted canyon before him. Here, years later in a place far away, similar skies looked down upon him as he stood, projecting the memory onto the canvas of the canyon walls. There was, however, not a plane to be seen, though the wings of a distant bird could be seen riding the currents, swirling in the air with no purposeful direction.</p><p>“Good morning to you, you’ve reached the Aqua Fields Riverine Lodge, how may I help?” greeted a voice on the end of the telephone, with the sort of fibrous warmth you feel when wrapped in your warmest blanket. “Oh thank god, I’m so glad I’ve reached you, I could really do with a room tomorrow, do you have one?” replied a frail and exhausted Archipelago. “Oh my dear, you sound as if you are swirling in the centre of a hurricane, you poor thing. You must be exhausted, we have a name for that here, we call it jiggery-pokered. Fear not, that we can definitely take care of” the woman replied assuringly. Archipelago was frozen, suffering with a mountain chill that had truly crept in, the sort that you just cannot shake. Wrapped in a sleeping bag inside a jiggling tent that was struggling to stand still, he’d decided to make his call to get some respite from the elements, he was in desperate need of a warm bed and a good meal. He made his requests over the phone, explaining his long and tiring journey, to which the friendly receiver on the end of the line took note and offered her confidence that he needn’t worry, and that he should look forward to his arrival where everything, she assured, would be in place.</p><p>The thought of that call , quietened the mountain howls and warmed him through the night and into the next morning. That voice, the first he’d heard in a few days, had seeped into his bones, energising him from the inside and propelling him to make up the miles to the lodge the next day. Assured of a restful night, he’d arrived at the last good lookout point before the sun began rolling its way down towards dusk. Caught in his memories of his father, his mind eventually regathered and the view before him regained it’s detail as if a candle passed over a painting hidden by the dark. He set off towards the lodge, another stop off point on this journey of little direction, now though, he felt to be gravitating towards a place he was meant to reach.</p><p>Ahead, there was a parting in the trees. A persistent breeze had blown him along the dusty trail, dispersing his thoughts of fatigue like the seeds of a dandelion. At the opening, Archipelago stopped, as did the wind, which reduced to a stillness that seemed to stop time. There was a vacuous silence of which in the centre sat a perfectly unassuming lodge, wooden as the trees guarding it and apparently unappealing except for a small porch basking in the evening sunlight. Over the door hung a rigid weatherbeaten sign, which read: “Rest, and be thankful”. It resonated instantly with him, reminding him of home, as he made his way through the entrance.</p><p>Inside, the cackle of a glowing fire, surprised Archipelago as the evening warmth, which had brought beads of sweat to his brow, still lingered. It was a dark room, which held a musk of a damp wood, and the dust hung to the furniture as if it had nowhere else to go. “Bit warm for a fire isn’t it?” Archipelago asked the receptionist, who had taken absolutely no interest in his arrival whatsoever. “We always light that, supposed to give a warm welcome you see, don’t worry it’ll go out when it’s done it’s bit” the receptionist replied in a low mumble, not taking his eyes off his coffee which he stared blankly into as he stirred it. “Have a name?” he questioned now looking at Archipelago’s feet seemingly confused at how he’d tied his laces. Archipelago felt the rising disappointment move through him, that this might not be the warm restful oasis he’d hoped for. “It’s Archipelago, I called yesterday. I spoke to a woman on the phone”. The receptionist grunted and reluctantly turned behind him to a small cupboard of keys, picking out a brass one which hung on a hook that had the name M.Hubbard above it. “Here.” he said passing the key to Archipelago. “Upstairs last door on the right, it’ll know you when it sees you. Checkout is 30 minutes after you’ve finished breakfast, whenever that will be”.</p><p>Upstairs Archipelago walked to the end of the dark carpeted corridor, running his hands down the walls on either side feeling the cracks beneath, plastered over like chapstick on broken lips. As he reached his door, loud clanging noises and hurried movement could be heard inside which after a few moments of commotion, stopped abruptly. With bated breath Archipelago placed the brass key into the hole and turning the owl shaped handle he opened the door. A cool refreshing waft of air passed over him with the subtle scents of mint and sage as his eyes, body and mind softened at the inviting bedroom before him. It was simple space yet strangely, had the unlikely sense of home, in which the evening light yawned on its way in and poured onto the bed. Out of the window was a beautiful view out over the trees towards the mountains that stood obstinately in the distance proudly guarding the horizon. A small deflated balloon was snagged in the trees and briefly caught Archipelago’s eyes. It looked lost, though it’s obscure presence did little to diminish his need for rest. He placed his things on a small table which housed a thirsty kettle sat limp in the sun, a tired bag of local coffee that needed a pick-me-up and a selection of hand-baked biscuits that longed for more butter, and without questioning the simple perfection before him, he fell onto the bed, and was overcome with the relief of a comfort he’d not felt for a long time.</p><blockquote>Read the rest of the series: <a href="https://medium.com/rchipelago">https://medium.com/rchipelago</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PQTZEyPk1v6Axmgxpc16UA@2x.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c8e734ad0ef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rchipelago/rchipelago-aqua-fields-riverine-lodge-7c8e734ad0ef">∆rchipelago – Aqua Fields Riverine Lodge</a> was originally published in <a href="https://medium.com/rchipelago">∆rchipelago</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rails Escape Routes using Constraints]]></title>
            <link>https://medium.com/code-ine/rails-escape-routes-using-constraints-c0686577f54e?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0686577f54e</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[ruby-on-rails-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Fri, 27 Jul 2018 16:01:18 GMT</pubDate>
            <atom:updated>2018-08-01T12:31:13.159Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Escape Routes, here we’ll be using the Rails Routes file to navigate our way through an app. Recently at <a href="http://createk.io/">Createk</a> we’ve been working to remove a technology from a client’s web app as it was making it difficult to modify the app. This required re-routing a lot of the pages and recently brought about an interesting problem, which took some head scratching.</p><p>One particular route for a polymorphic model needed to be directed to one of six different Controllers depending on the type of resource passed to it whilst maintaining the same url and path helpers.</p><p>To picture this, imagine the age old adage of being faced with six different doors. Behind one is that shiny new Tesla you’ve been pining for, (don’t worry, it’s already constructed, no silly 3 year waiting times). Behind all the others, you fall into the Upside Down, and no-one wants to be there, as everything is upside down (sorry Australia).</p><p>What the app had done previously was to wastefully perform two separate requests. One to a determinator Controller which would find the type of the polymorphic model and then make another request via AJAX to the specific controller based on the resource’s type which would then point it to the correct view template.</p><h4>The pass through get out of jail for (not so) free card</h4><p>We ran into a similar scenario earlier in this process which had two controllers to choose between. For this, I paired with a colleague who had a neat solution known as a pass through. As there were just two Controllers we allowed the route to first try the controller that it would most likely need. But if it wasn’t the correct one the request would “pass through it” and try the next.</p><p>To do this in this initial controller we add a before_action: like so:</p><pre>class OneTypeController &lt; ApplicationController<br>  before_action :pass_through_to_next_controller`<br>end<br></pre><p>and the pass_through_to_next_controller method looks like so:</p><pre>def pass_through_to_next_controller<br>  if resource.another_type? <br>    head :ok, ‘X-Cascade’ =&gt; ‘pass’<br>  end<br>end</pre><p>The X-Cascadeheader is set in the request env and is a Rack middleware convention that tells the request to pass back through the middleware and look back in the routes file for another route. So we just needed to place the other route underneath and it would fall into the correct one.</p><p>The routes look like so:</p><pre><br>get ‘resource/:resource_id/’ =&gt; ‘one_type#show’, as: :resource_one_type<br>get ‘resource/:resource_id/’ =&gt; ‘another_type#show’, as: :resource_another_type</pre><p>So this is the equivalent of just picking between two doors, if you get it wrong, well you’ll have to struggle your way through the upside down to find the door at the other end and finally climb into your lovely Tesla (hopefully its charged incase that pesky Demogorgon is hot on your tail). Be careful though, as passing the request all the way back through the middleware stack will slow down your response. Therefore if there are more than two routes for the request to take, it is better to use another option…</p><h4>Knock Knock Who’s There? — Rails Constraints</h4><p>So obviously passing through six times would take a bit of time. Luckily, Rails give us something we can work with. It gives us the opportunity to try each door and ask “knock knock, who’s there?” with <a href="http://(https//api.rubyonrails.org/v4.2.0/)">constraints</a>. Using constraints on a set of routes means that they are only available if the specified requirements are met. You can use Regex for matching and also make them dynamic in which case we can pass a lamda or an argument to the constraint with the request to see if it matches our constraint.</p><p>In the routes file we aimed to be as light on the database as possible. So we used:</p><pre><br>constraints(ResourceConstraint.new(‘OneType’)) do<br> get ‘resource/:resource_id/’ =&gt; ‘one_type#show’, as: resource_one_type<br>end</pre><pre>constraints(ResourceConstraint.new(‘AnotherType’)) do<br> get ‘resource/:resource_id/’ =&gt; ‘another_type#show’, as: resource_another_type<br>end<br></pre><p>and created a constraint in app/constraints to do the matching:</p><pre><br>class ResourceConstraint<br>  def initialize(type)<br>    <a href="http://twitter.com/type">@type</a> = type<br>  end</pre><pre>  def matches?(request)<br>    resource = current_resource(request)<br>    resource.type == <a href="http://twitter.com/type">@type</a><br>  rescue ActiveRecord::RecordNotFound<br>    false<br>  end</pre><pre>  def current_resource(request)<br>    Resource.find(request[:resource_id])<br>  end<br>end<br></pre><p>Here we use the request parameters to load the resource and check its type in the important matches?(request) method. If it is correct, the routes within the block are available, if not it moves on to the next constraint. It isn’t perfect as we are loading up the resource each time, but it is better than going through the middleware stack each time to find the correct match.</p><p>So we get to go up to each door and ask if it is the one we are looking for, if it is we head in, if not we try the next. Oh good, no monsters and we get to stay the right way up, so lets hop in that Tesla and try out that ludicrous mode!</p><h4>The fallbacks</h4><p>Lastly, we decided to put a fallback in, just incase all the doors happened to be locked. As a truly respectful Escape Routes company we need to handle this gracefully and don’t leave users stuck in limbo. So after our constraint blocks we add:</p><p>get &#39;resource/resource_id&#39; =&gt; &#39;application#render_404&#39;, as: :resource_index</p><p>This points to a render_404 method incase nothing matches the constraint and also gives the added bonus of allowing for a generic path helper for these routes.</p><p>Constraints proved to be a handy solution to a bit of routing problem. It isn’t perfect as it requires the loading of the resource each time but it saves us having to go all the way through the middleware to then come all the way out again without changing the path helpers or the urls.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0686577f54e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-ine/rails-escape-routes-using-constraints-c0686577f54e">Rails Escape Routes using Constraints</a> was originally published in <a href="https://medium.com/code-ine">Code_ine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tales of the Jurassic Coast — Day 3]]></title>
            <link>https://medium.com/heathgoat/tales-of-the-jurassic-coast-day-3-14b4a5610b2a?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/14b4a5610b2a</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[running]]></category>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[marathon]]></category>
            <category><![CDATA[journal]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Mon, 21 May 2018 08:44:01 GMT</pubDate>
            <atom:updated>2018-05-21T11:57:04.089Z</atom:updated>
            <content:encoded><![CDATA[<p>Lulworth Cove — Studland Bay</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dRlvD4CjwPxGUPeuQALs4g.jpeg" /><figcaption>You cant see it, but there was a horrendous climb just before this. I literally ran and smiled for two seconds for the photo 😜</figcaption></figure><p><strong>Blank Space</strong></p><p>Yesterday’s course ended with some pretty epic hills, but they paled in comparison to the mountain of pasta and smoked mackerel Steph made for me that night. I went to bed with a belly full of carbs and a mind still running for the finish line.</p><p>I woke up in the morning but my legs were still hitting the snooze button repeatedly. They were shattered. Off I went back to HQ, with my body again wondering what the hell I was doing. The day’s briefing brought up two notable points. One, the day started climbing the cliffs within a military practice range, where we were warned to stay between the yellow posts, and also not to lick anything, as they used all sorts of weird artillery in there. And secondly, was the finish. With a wry smile on his face, the organiser described the last 3km of the route. Where, having successfully covered 3 marathons distance, the final stretch was a long slog across a sandy beach. Instantly, my mind went to memories of chasing our whippets through sand dunes at Holywell Bay in Cornwall, I knew this was going to hurt.</p><p><strong>Bad Blood</strong></p><p>Onto the coach I went, and I don’t know what sparked it, perhaps it was the pressure of making it to the finish, but I was a bag full of nerves and my stomach had turned in knots. The poor guy that was sat next to me got the silent treatment, as I was frozen in my chair and all my focus was on avoiding throwing up. It was a lovely drive back to Lulworth Cove, but I couldn’t wait to get off of that coach.</p><p>Eventually though, I was freed. Relieved, I dropped off my warm clothes, loaded the route on my watch, dibbed in at the start and set off as soon as I could. Immediately, the route began to steeply climb back on to the cliffs. Looking down over a sleepy Lulworth Cove, which was warming in the morning sun made me remember that this was the final day of the event and I was here to enjoy the challenge and the incredible scenery I was running through.</p><p><strong>Style</strong></p><p>I decided to slip in behind the leading runner and try to push a little at the start to cover some ground. After a few minutes, I couldn’t help but analyse who I was following. And if there is such a thing as admiring a runners form, I certainly was; I hadn’t felt this way about a man’s physicality since I first set eyes on Benedict Cumberbatch’s cheek bones in Sherlock. He was clearly a European mountain runner, carrying minimal gear, but his composure and smooth running style were truly inspiring. He never stopped running. Even on the steepest climbs he continued running, with precise baby steps he delicately climbed without the slightest hint of struggle. Eventually, we were passed by a few extremely enthusiastic runners that were gunning it up the hills but I stayed behind the European chap, who I’d now come to call “Twinkle Toes”, figuring that slow and steady was the way to go and hoping to share in his aura of calm and seemingly unfazed tranquility.</p><p>Me and Twinkle Toes had obediently been running through the yellow posts until we came to a sudden junction at the top of a hill with two sets of posts. One leading along the top of the ridge, another seemingly running directly off the top, descending to the right. We’d seen the guys in front go straight on and at first we followed them. But almost at the same time, we both glanced at our watches and questioned their decision. We turned right, shouted to the other guys to come back and enjoyed a rapid descent down the hill. The guys who were ahead eventually passed us shouting to the others “stay close to these guys, they’re human sat-navs”.</p><p>I couldn’t let Twinkle Toes do all the hard work as I was starting to feel like the guys in the Tour De France that sit behind the leader and let them do all the graft. I willed up all my strength and took the lead for a while. After passing through the second checkpoint, where I decided to add another electrolyte tablet to my drink, we were back on the coast on a muddy single track after a brief venture inland. For a while I was flying, I felt strong, with light legs and a belly full of energy, jovially passing the walkers, and seeing how they were getting on. I passed the couple I’d met on the first day and wished the guy a happy birthday, he was smashing it and it was great to see. What a way to celebrate!</p><p><strong>All You Had To Do Was Stay</strong></p><p>Unfortunately, it didn’t last. Suddenly out of no-where the power in my legs escaped me. I’d built a small lead over the others, but straight away I knew I’d be relinquishing it. I tried with all my might to carry on running but I couldn’t. I’d never hit the wall like this and I decided I needed to walk. I was massively demoralised and panicked, this was new territory. I still had half of the day to go. Twinkle Toes passed me, I wished him well and tried to regain focus. I was telling myself to find my breath, using things I’d picked up from yoga and meditation and slowly over 5 minutes the worry seeped away and I re-awakened my body and found my willpower again.</p><p>Before I set off on this race, I’d found a new song by Taylor Swift that I hadn’t really listened to before called “All You Had To Do Was Stay” and that line from the chorus was my mantra, I must have repeated it hundreds of times on this final day and for some reason, it really helped.</p><p>There was one other motivation, and that was that Stephanie was waiting for me at the third checkpoint. Seeing her blue jacket in the distance as I descended a grass banking to Checkpoint Three was unbelievably up lifting after having to pick myself up from hitting a wall. I was really hurting and flagging by then, but I still tried to put on a brave face, I’m not sure I was particularly successful though.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*tnUvpO-yU9yGvW_nxvhRpA.jpeg" /><figcaption>Checkpoint 3, get me those jelly babies!</figcaption></figure><p><strong>Out of the Woods</strong></p><p>Now there was a final climb to get over and then the tortuous stretch along the beach to the finish. Leaving the checkpoint I slipped into a group of three runners that had been with me the whole day and we would end up running the final stretch together. It was me, a woman who lived in Dorset and a guy that was only running this day. Talk was minimal, but enough to encourage each other. Before the climb was a small section on the beach which had us clambering over sea defences. A spectator began running with us and kept asking us questions and he wouldn’t leave us alone. He kept asking how long we’d been running for and he never seemed satisfied with my answer. I literally couldn’t figure out what he was wanting and it was the last thing I needed right now. The focus was on the finish.</p><p>The climb was tough, any other day it would have been fairly simple but I took it steady and chatted with the others. The woman was shocked this was my first multi-marathon attempt and she told me that this was her training ground, I was hugely envious. As we reached the top we could see the beach ahead of us, “those bastards” the woman said, we were all thinking it and my legs were cowering at the sight. The finish looked a long way away and first we had to run in a big loop around the headland. I could see Twinkle Toes serenely gliding off in the distance and after a brief pause, I fired up the legs for the final push.</p><p><strong>Clean</strong></p><p>Running towards the beach, there wasn’t anything memorable to note, not that I can remember anyway. I ran side by side with the other guy, the woman just behind and for 20 mins hardly a word was spoken. We all knew what was coming and our heads were down. Finally, we dropped to the beach and maintained the formation wishing each other luck for the final trudge through purgatory. I’d picked up a handful of jelly beans at the last checkpoint and slipped them into my pocket for this, creating an imaginative trail like Hansel and Gretel to get me to the end. Again we ran in focused silence cheered on by the people enjoying the beach and the good weather. There was supposed to be a flag marking the point where we turned into the dunes to the finish and it worried me that I couldn’t see one.</p><p>This stretch for me marks some of the best running I’ve ever done. Somehow, I slipped into an unreal sense of determined flow and I didn’t even realise the guy I’d been running with had fallen off big time. I was in a constant state of fluid motion, which is my favourite state to exist in. I wasn’t going to reduce down to a walk, I couldn’t, I run to see the extent of my grit, to see how far I can push my mind knowing my body will follow. I could sense the woman I’d been running with still going strong behind me and that really helped egg me on. Trail running requires constant surveying of the ground beneath your feet and it was challenging with an exhausted mind to find the firm areas of sand or dried sea-weed to not let your feet sink too much and loose momentum.</p><p>Eventually I turned the point at which Studland Bay ended and the coast turned around the corner and there before me was the flag and the entrance to the dunes. A crowd had gathered to congratulate us and somehow all of a sudden I dibbed in for the last time was greeted by Steph and I was handed my finishing medal.</p><blockquote>Day 3 position: 8th, 5hr 19 minutes</blockquote><blockquote>Overall position: 6th, 15hr 40 minutes</blockquote><blockquote>3 Days, 84 miles</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CoxQt-dnE7dOXRVMkGivkg.jpeg" /><figcaption>Time for a well earned chocolate digestive!</figcaption></figure><blockquote><em>The greats weren’t great because at birth they could paint</em></blockquote><blockquote><em>The greats were great ’cause they paint a lot</em></blockquote><blockquote><em>Put those hours in and look at what you get</em></blockquote><blockquote><em>Nothing that you can hold, but everything that it is</em></blockquote><blockquote><em>Ten thousand hours felt like ten thousand ants</em></blockquote><blockquote><em>Ten thousand ants, they carry me</em></blockquote><blockquote><em>Ten Thousand Hours — Macklemore &amp; Ryan Lewis</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14b4a5610b2a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/heathgoat/tales-of-the-jurassic-coast-day-3-14b4a5610b2a">Tales of the Jurassic Coast — Day 3</a> was originally published in <a href="https://medium.com/heathgoat">Heathgoat</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[∆rchipelago — Mallow twists]]></title>
            <link>https://medium.com/rchipelago/rchipelago-mallow-twists-66f33aad4483?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/66f33aad4483</guid>
            <category><![CDATA[fiction]]></category>
            <category><![CDATA[short-story]]></category>
            <category><![CDATA[fiction-writing]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Wed, 09 May 2018 21:44:31 GMT</pubDate>
            <atom:updated>2018-05-09T21:50:03.993Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DSil4puLw4CfBUxSavzacw.jpeg" /></figure><p><em>I etched a face of a stopwatch</em></p><p><em>On the back of a raindrop</em></p><p><em>And did a swap for the sand in an hourglass</em></p><blockquote><em>Piledriver Waltz ~ Arctic Monkeys</em></blockquote><p>Eeny, meeny, miny, moe… somewhere there was a dangling drop which dripped and splashed on the head of a young chick. With a shiver of it’s head, the water sprayed over her brothers and sisters who lay peacefully sleeping, nested on the side of a cliff. The elder brother shivered, the eldest sister jumped in fright and the others just continued to snore. All the while her mother slowly woke gently warmed by the yawning sun, which slowly stretched itself into the sky.</p><p>“Right, breakfast!” she cawed, calling the nest to arms, “those bellies aren’t going to fill themselves”. Begrudgingly, the young birds wriggled and slowly came to life. Seeing the youngest spring to up she quickly added: “Not you of course my darling, you aren’t quite ready yet”. With that, the loving mother held her youngest within her wings as they watched the others plunge out of the nest towards the sea below, before unfolding their wings and rising into the morning sky.</p><p>Oh, how the youngest yearned to join them, to cast off, somersault and swirl down in a helter-skelter dive to the ocean before feeling the lift in her wings cast her as a kite into the sky where she could wriggle in the wind. Ever protective, the mother felt the weight of her daughter’s wishes but couldn’t relinquish her maternal hold on her last child just yet.</p><p>One whimsical day, a rock fell from the sky pulling a dark canvas down to the horizon, abruptly turning a day blazed in seemingly eternal sunshine to a warm brooding summer storm. Suddenly, the mother heard quickened steps splashing along the track above the nest. Seeing the others huddling for warmth against the rain, she flew up to check out the flurry.</p><p>“We are going to be drenched, look at those clouds!” a soft voice shouted back to her partner. “Oh don’t worry, I always come prepared for such events” a boy replied assuringly. The mother bird finally reached the top of the cliff, peering over to find a young boy searching below a lone tree. “Here we go” he said, reaching down to pick up a twig, “now just imagine this is an umbrella and we wont feel the rain, we’ll just hear it” he finished gleefully catching up with the girl ahead pretending to shelter her from the rain.</p><p>Bewildered, the girl gazed up into invisible shelter held above her head feeling the rain fall wash over her face. “Pity, it was such a lovely day, for once the sun was shining on us Arc” she said. Archipelago, was gazing out to sea, comforted, seeing the individual drops of water fall into the welcoming arms of the ocean. His mind became busy pondering over clever lines, finally replying “well at least with these clouds, I’ll be able to see if you also glow in the dark”.</p><p>Perched on a branch of the lone standing tree, the mother bird watched curiously as the two people wrapped in each others arms facing the wind, looked out over the cliff. Occasionally, the boy glanced over at his partner, watching as the rain drops clung from her hair before eventually dripping onto her dress. He looked at her as if he thought she could step foot out onto the ocean and walk across it unfazed and perfectly balanced.</p><p>Having seen much to worry about in the outside world, the mother was warmed that this sort of tale wasn’t just wrapped within make-believe. Leaving her branch to rejoin her children, she flew right by the girl’s hair. Feeling Archipelago’s eyes follow her flight over the cliff edge, she swooped down to her nest. Perching gently, she stretched out her wings sheltering her shivering chicks from the pouring rain, and whispered to her youngest “tomorrow, you’ll fly my dear, there’s a world out there worth seeing”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66f33aad4483" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rchipelago/rchipelago-mallow-twists-66f33aad4483">∆rchipelago — Mallow twists</a> was originally published in <a href="https://medium.com/rchipelago">∆rchipelago</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tales of the Jurassic Coast — Day 2]]></title>
            <link>https://medium.com/heathgoat/tales-of-the-jurassic-coast-day-2-12e39976f7b8?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/12e39976f7b8</guid>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[fitness]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[marathon]]></category>
            <category><![CDATA[running]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Mon, 16 Apr 2018 08:23:33 GMT</pubDate>
            <atom:updated>2018-04-16T12:13:18.875Z</atom:updated>
            <content:encoded><![CDATA[<p>Isle of Portland — Lulworth Cove</p><p>Read the series: <a href="https://medium.com/heathgoat">here</a></p><p><strong>12-hours to recover</strong></p><p>You are never going to recover from a 28 mile run in 12 hours and be fresh for the next day, but I figured a little TLC for my body would go a long way. Before the event, I attended a few deep stretching classes with<a href="http://www.wearefera.com/"> Fera</a> created by a good friend named Skoti. Skoti’s classes are quite unique and unusual in their approach, in hindsight, I think regularly attending his Climb-Fit and Animal classes were key to me not feeling any strains or tightness during the event. So much so that I completely avoided injury despite the massive increase in mileage compared to what I was used to. This is quite a big deal for me, I have often been plagued with knee and hip injuries but more recently, these seem to have fallen away.</p><p><a href="http://www.wearefera.com/">Fera</a> focuses on re-awakening the body towards the animalistic movement patterns that the human body thrived from when we were hunter-gathers as opposed to the seat based snack-gathers we are today. I decided before the event that I would use some of the deep stretching techniques from the Flexibility Camp to prepare my body for the next day. It was gentle, but half an hour on the mat worked wonders on my body and calmed my mind.</p><p>My backup team in the shape of Stephanie was en-route so I figured I would try to take a nap. Unfortunately, as soon as my head hit the pillow my brain had other ideas. The prospect of the 2 days remaining began playing over in my head. Laying there restlessly, my phone rang, and I heard the welcome sound of a familiar Scottish voice. It was my friend Darren, checking-in and giving me the sort of motivational pep talk that I needed. Speaking to someone who understands the scale of the event and has experienced the sort of things you are going through proved to be the calming voice of reason my brain yearned for. In the space of half an hour I went from exhausted and anxious, to being determined and re-invigorated, ready for tomorrow, I was hugely grateful.</p><p>Eventually Steph arrived in a little Citroen C3, and feeling the warming support and positivity she brought, I could finally relax a little and appreciate the scale and fun of the adventure. Straight away she was on the case and knew what I needed, some serious calories so we headed straight out to the supermarket to get some pizzas and garlic bread.</p><p><strong>Restart</strong></p><p>The next morning I woke up and prepared to head back to HQ. Today I would be starting with the runners, the walking group would be heading out an hour before. Armed with a new pair of socks and some slightly damp shoes I headed out. On the bus over, I received the news from Steph that the results for Day 1 were out. I’d placed 11th, and was in complete shock. Having set off with the walking group the day before, I had no idea about my pace so I was pretty chuffed. Having heard that, the nerves turned to excitement and I was ready to get going, I was intrigued as to how my body would feel.</p><p><strong>Isle of Portland — hero-to-zero</strong></p><p>Today the route started with a 13 mile run around the Isle of Portland, which is home to a fairly large prison built into the cliffs. During the day’s briefing, we were warned about two things. First, beware of the Young Offenders Institute. If you ended up there, you’d gone wrong and the only way back was a nasty climb. Secondly, the end of the route, which finished at Durdle Door and Lulworth Cove. Here, he said, was where the Jurassic Coast properly started, ie, get ready for the brutal sea cliffs.</p><p>I started with the first mini bus of runners. We headed out along the causeway running in single file, with no-one really wanting to take the lead. My body really didn’t know what to do with itself. I had pretty severe chest pains and felt nauseous. I tucked in behind the woman leading the pack and tried to settle down. Eventually, when we set foot onto Portland, the woman in front of me headed up a side street. My watch said straight on, and knowing I just had to climb onto the cliffs I followed it and became the leading runner. I hit the climb pretty hard and opened a gap to the group behind. My body had finally woken up, I slipped into gear and found my groove. This was my kind of running, along sea cliffs, with the waves crashing below me on a winding gravel track. The sea-fret was coming in, and cloaking the cliffs, it felt as though I was on Shutter Island. I reached the first checkpoint having already passed the majority of the walkers and grabbed a few sneaky Fig Rolls and Jaffa Cakes. Heading along the other side of the island was where the navigation became tricky. I wanted to avoid the Young Offenders trap but the coastal path was heading back down to the sea, exactly where the Young Offenders Institute was, somewhere ahead. It was a tough call and my watch was no use, the difference between the two options was too small for it to pick up so I headed down and eventually caught and sped past another group of walkers/runners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_UE0Ykpp4MwvE-qf0t5xDg.jpeg" /><figcaption>Looking back to the Isle of Portland, its amazing how far your legs can take you</figcaption></figure><p>I was feeling strong, my legs felt way better than they did yesterday and I was loving the terrain. So much so that I completely missed the turn off. I could see a pretty large structure ahead and was beginning to worry that I’d got it wrong. Then I heard someone shouting behind me. Thankfully, the guys behind had seen me and told me to come back. I turned around, and now I could clearly see the Coastal Path sign engraved in a stone. “People miss this every year” one said, grinning. I thanked them a million times and began the climb back up the cliffs. I reached the top and there was an old woman there cheering people on. “Well done” she said “You‘re looking strong, its weird though, most people have gone past me on the road this year”. My heart sank, the lead I’d built, I knew had instantly disappeared. I’m still not sure now if I should have stayed up high and on the road, but hey-ho.</p><p>Now it was time to get off of the island. The organiser said that everyone gets off the island in their own way, just head downwards he said, the checkpoint is back here at HQ. I could see the HQ down below me, and sort of fudged my way down, I definitely didn’t pick the quickest route as by the time I reached checkpoint two, a lot of the runners from my mini-bus were already there. It was pretty hard to take, considering I’d hit the gas on the island and tried to push, but its all part of the experience. I fuelled up on my Tribe bars and more Fig Rolls and Jaffa cakes, refilled my bottles and headed back out.</p><p><strong>Weymouth Heroes</strong></p><p>The next part before the climbs was a pretty flat section through Weymouth. There wasn’t too much that was memorable about it, but I could see the climbs that were waiting for us. I like it when you can see the route ahead, it means you know where you need to save energy for and also you can start to build the right mindset that you are going to need in order to tackle them when you get there. Running along the promenade in Weymouth was fun, it was really busy and so many people were cheering us on, there were some pretty tired runners on there, so I settled in and started to pick them off.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YXqhLLDxIrhyMqVaquKGIg.jpeg" /><figcaption>This is what I do this for, my kinda running</figcaption></figure><p>For some reason during this event I kept mentally breaking sections up into “shifts”. I’d see a section of the course and try and keep going until a gate or a checkpoint or something. If I’d run well, I’d keep telling myself: “That was a pretty good shift, I’m pleased with that”. The promenade was one such shift, I kept a pretty consistent speed along there and felt super focused. Next was the tricky bit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*8IfGAHOghh4_lC2JzH6fUg.jpeg" /><figcaption>Looking back over the steep climbs and descents of the finish</figcaption></figure><p><strong>Quad Burners</strong></p><p>At the final checkpoint I could see the start of the climbs ahead. It was time to dig deep. Across the water behind me I could see the Isle of Portland still enshrouded in mist. I’d come a hell of a long way! I took it steady up the first climb, it was very muddy and tricky to keep going. I was starting to feel the strain at this point but the views were stunning. The rolling white cliffs were laid out before me and I knew I had a friendly face waiting for me at the finish. I pushed on and eventually arrived at the iconic cliffs near Lulworth cove. Before me was a really long decent down to the start of the first sharp climb, it was pretty technical, a big drop off into the sea to the side and a pretty tiny track. I was loving it. The quads though, began to burn. I passed a chap on the way down who stopped to give his knees a break. The cliffs were pretty daunting, short but very sharp. I knew they needed to be done, so I just got on with it, I’d just eat or sing to myself (in my head of course) knowing eventually the top would arrive. I didn’t run up any of them, my tactic for the event, was fast walking up the hills, and then run down the other side. It worked pretty well, I still managed to catch and overtake people on them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*09RgVYKCi4MnzYCHZgFKBg.jpeg" /><figcaption>Durdle Door, I’d always wanted to see this after learning about it in Geography at school</figcaption></figure><p>The downhills were mega steep, and the quads continued to burn. I’d never felt the burn in my quads like this before, but in someways it felt good, they were working to protect my knees, which weren’t really feeling a thing. My shoes were also designed for this, they had a mega grip which bit into the grass and mud so I flew down. After the third of these cliffs, I could finally see Durdle Door and the sun was finally shining. I was flagging now but all of a sudden, I saw a familiar bright blue jacket and there was Steph. She had given up time working on her course to support me down here, it was so valuable to me, and was massively appreciated. There is no piece of kit or energy giving food that can bring you the sort of boost that she brought me.</p><p>Now I knew the finish must be close, and it couldn’t come any sooner. “Hey duck, where’s the finish?” I asked, trying to look calm and composed. “You’re nearly there, you are so close!” she said. I thought the end would be at the top of a tourist path which seemed to lead to a car park. I crawled up the hill, my legs were absolutely done. But there were no flags. At the top, the route took another right and cruelly climbed a bit higher before a long descent to another car park at the finish. Realistically, that final climb was nothing, and Steph was right, I was really close. But it felt like purgatory, I was very thankful to be at the finish. I couldn’t believe I’d made it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g0NAt10QwkT4YnRjWLH6bw.jpeg" /><figcaption>Game face. So close yet so far, I was working hard, having seen the camera man to hide the pain and exhaustion</figcaption></figure><blockquote>Distance: 28 miles</blockquote><blockquote>Time: 4:52</blockquote><blockquote>Ascent: 3,857ft</blockquote><blockquote>Position: 11th</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12e39976f7b8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/heathgoat/tales-of-the-jurassic-coast-day-2-12e39976f7b8">Tales of the Jurassic Coast — Day 2</a> was originally published in <a href="https://medium.com/heathgoat">Heathgoat</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tales of the Jurassic Coast]]></title>
            <link>https://medium.com/heathgoat/tales-of-the-jurassic-coast-2d413d2f4315?source=rss-5ce7324a3727------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d413d2f4315</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[running]]></category>
            <category><![CDATA[trailrunning]]></category>
            <category><![CDATA[marathon]]></category>
            <category><![CDATA[fitness]]></category>
            <dc:creator><![CDATA[Robin Heathcote]]></dc:creator>
            <pubDate>Tue, 03 Apr 2018 08:25:07 GMT</pubDate>
            <atom:updated>2018-04-16T12:37:21.418Z</atom:updated>
            <content:encoded><![CDATA[<h4>Day 1 — Charmouth to Isle of Portland</h4><p>Read the series: <a href="https://medium.com/heathgoat">here</a></p><h4>Registration</h4><p>I’d like to say I meticulously plan everything to a fine detail for things like this, but usually, I end up getting something wrong. I’d read the pre-race info what seemed like a million times before I arrived at the event, and checked over my kit for Day 1 a million more. The thought of getting to registration and not being able to race because of some silly technicality makes me unnecessarily anxious.</p><p>For the event I’d finally bought myself a running vest made by Salomon. I knew these had become popular especially among the pros as it hugs the body (like an item of clothing) and your water is right up there with you in the front. I love gear, I worked in outdoor shops for around 7 years, and this is probably one of the best advances in outdoor kit I’ve seen. I’ve had back and shoulder trouble with my previous pack before, none of which occurred during this event. There was a fairly extensive required kit list for this, so carrying it comfortably for 3 days was worth investing in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C6gozEOloAfNJHYjr-BUrg@2x.jpeg" /><figcaption>Have I got my waterproof? Might just check again…</figcaption></figure><p>I woke up at 5:30am on Day 1 in my apartment at Chesil Beach Holiday Park, wearing jogging bottoms, socks, and 2 layers to stay warm (the heating was terrible) and with my pack checked (again), I headed for the bus, 3 hours earlier than I needed to…</p><h4>Know the field</h4><p>Walking towards the bus, I met 3 of the people that would eventually provide me with some essential energy and camaraderie for each day. If there’s one thing I learned in 2017, it’s the power of sharing a challenge or adventure with others. Through running with Lululemon at the Manchester store on Wednesdays and eventually with the <a href="http://www.wearefera.com/#/runclub/">Fera Tribe</a> on Mondays, I’ve been able to run among a flourishing community of runners and friends of different skills, approaches and attitudes towards running and witnessing them progress. It is an inspiration I took with me, and many times along this challenge, when I reached a marker or a particular distance, I often told myself “its just another 5km with the running club” and the thought of that and being with the group provided welcome motivation.</p><p>Arriving at HQ I registered, received my number (139) and passed my kit check (phew) and went up for breakfast. I noticed my breakfast of a slice of brown toast, one piece of bacon, some coffee and a bowl of Alpen was quite a bit more frugal than everyone else’s. I looked around and realised I was also dressed a little more lean than the rest of the group.</p><p>Sitting down with my buddies from the bus, I asked if Group 2 were able to go with Group 1 this morning because I thought I’d read that in the race info that they could. Group 2 was for people expecting to run the whole event, quickly, and Group 1 was for the mixture of walkers and occasional runners. Getting to the start involved a 50 minute drive to Charmouth, we were running back to the Isle of Portland and the event HQ today. I looked at the checkpoint closing times for Group 2 and realised I had an hour and a half to reach the first checkpoint. It was just over 10km but involved a lot of climbing and as the event was self navigated I was a little nervous. I wanted to head out with Group 1 just to be safe and so did a few other runners. So much so that there wasn’t enough room on the mini busses. It was either sneak out with the rest of the walkers or wait 2 hours to go with the group I was supposed to. I ended up getting a taxi to the start line half an hour later with a few other walkers who gave me a bit of good info about Day 2 and also warned me about Chesil beach today.</p><h4>It’s best to start in the right direction</h4><p>Before I headed down for the event I looked at the routes for each day and plotted them on OS Maps online so that I could load them onto my watch. I always take a paper map just in case, but recently the OS maps app on my phone has been great, especially when navigating the moors in bad weather. Now with my watch, I just follow a line, if I stray off of the line, I know I’ve gone wrong, but its not foolproof. I also sketched the topography for each day in a notebook so I knew where to push and where to save energy for, mainly to make me feel a bit more like I knew what I was doing. Day 1 involved a lot of climbing straight away, including a climb to the highest point on the Jurassic Coast. The latter part of the route was fairly flat however.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xpzT7HdVkFfbNz2T_bT_Eg.jpeg" /><figcaption>My notes for Day 1, topography sketch not to scale 😜</figcaption></figure><p>Having disembarked my taxi and dibbed in at the start line, I was away, with a small group of walkers who’d missed the first busses. Within 30 seconds of starting I’d taken the wrong turn and my watch vibrated and flashed “Off of route”. Fan-bloody-tastic. All I had had to do at the start was head downhill and join the coast path (this had been mentioned in the morning brief), I saw the sign pointing in exactly the right direction, I proceeded to run straight past the sign and followed the group in front. Great start. I couldn’t turn around, I was too embarrassed, not back up the hill with the marshals watching. So for the first 5 minutes I was running in the opposite direction to the finish. All the gear, including a watch basically with sat-nav, and still no idea!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KMeQ-Q1WsiD5DyS3_yosUA.jpeg" /><figcaption>My first look down the Jurassic Coastline</figcaption></figure><p>Eventually I saw I could cut across a “path” and meet back up with where I was supposed to be. Unfortunately after the snow melt from the previous weekend it was a complete quagmire. So before I reached mile 1, my shoes and socks were drenched and I was covered in mud. Nevertheless, I picked up the coast path and looked a long way down the sea cliffs to the horizon, I couldn’t even see the Isle of Portland where the finish was, which was supposedly 26.2 miles away, but the view before me brought a smile to my face, and my engines started firing.</p><h4>#heathgoat</h4><p>I’m a bit weird in that I like hills. I was brought up in a valley, and always enjoyed the climbs when biking with my Dad. I’ve always preferred putting the bike in a high gear and powering up them over the “Granny gear” and smile approach. Reaching the top of the hill out of breath feeling the strain in the legs always makes me appreciate the view at the top that little bit more. I quickly caught up with the walkers over the first hills before the first checkpoint and passed the peeps from breakfast. Seeing them and having a quick chat with them, checking in to see how they were getting on, put a warming spring in my step. They were moving at some pace and running a lot more of it than I thought and I was happy to see they were also enjoying it and relishing the challenge. Realising the energy I got from chatting to them, I made the effort to at least say “Hi” to pretty much everyone I passed and engage in a bit of conversation. Running long distances can be lonely, and what better way to get out of your head than sharing the ridiculousness of the experience with others.</p><h4>Chesil Beach</h4><p>My sister’s partner Sam, who had run the event before, warned me about the slog running alongside and on Chesil Beach. It’s a spit of land, made of a fine pebbles that goes on for miles. It is pretty unique, but running on it? I wouldn’t recommend it. I’d cleared the hills and was approaching the half marathon mark. The route had dropped pretty much to sea level now and it was wet, very wet. It took us a long the edge of fields, next to the beach which was saturated, then became full on mud and finally took us onto the beach. My legs were getting heavy and my breakfast was wearing off. I’d planned to eat at checkpoint 2 so I was determined to get there. I had run on beaches before but this was horrific. I felt like Sisyphus running with a boulder attached behind me, I was using so much effort and getting nowhere. The route was described as “arduous” in the brief that morning by the organiser, and I was definitely feeling that now. And ahead, there was no sign of any respite. There was a woman in front of me in the distance. I set my sites on her and dug in. Eventually came the sound of a ringing bell and some supporters shouting their encouragement in a car park at the end of this seemingly never ending stretch. I’d see this woman with the bell all over on the event, and she would become another much needed pick me up, that kept me going.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4EPDYxfSLtGuseZvy-FEPA.jpeg" /><figcaption>After the first hill of the challenge, might as well get a quick pic</figcaption></figure><h4>The long and (not so) winding road</h4><p>For some reason I always find miles 16–20 really, really long. I don’t know if this is a thing in marathon running, I don’t really know anything about marathon running but it just seems to take forever. I had planned a playlist for this part to keep me going (yes, it consisted mostly of Taylor Swift), I knew the end of today was going to drag. Unfortunately though, my headphones broke. Not straight away, I had a dribble of noise through one ear to begin with, but eventually they gave up, after a mile or so. Thanks Apple. And here began a problem. I was tiring, I was in unusual territory for my body. I’m quite comfortable up to 17 miles but anything more I didn’t have much practice in. It seems silly now, to not have trained in the marathon distance, but to me, a marathon like this is a mental game. If I could run a half quite easily, doing it again is mostly in the brain. Unless you want to run it fast, in which case my “wing-it” approach probably isn’t the best.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kyVUoBJo5zQa_4oip4ZY5Q.jpeg" /><figcaption>Just before the headphones died, mile 15</figcaption></figure><p>My mentality for approaching this event, was not to swallow the whole event as a whole. I wouldn’t allow myself to see the big picture, I broke it into micro-chunks. Chunks I knew, “just another 5km run club”, “another run around Glossop” etc that way I could keep checking off things and stay in a positive mind set. There’s a lot of time to run through things in your mind on something like this, a lot of calculations your brain can make, if you get lost in the enormity of the challenge, its going to be a long day.</p><p>One mistake I did make however, was assuming the distance. The event is described as 3 marathons in 3 days. So I’d started the day counting down from 26.2 miles. When I reached 26.2 miles however, and could clearly see the finish quite a way ahead, on the Isle of Portland, it was pretty hard to swallow. I was struggling. I’d been running alone for a while now, I’d not been overtaken the whole time and I’d passed the walkers a long time ago. The last few miles I kept walking every so often, luckily there was someone that kept appearing in the back of my eyesight that was keeping me in check. I wasn’t letting him over take me. “It is no-where near as bad as the Langdale Horseshoe” I kept telling myself, and I carried on.</p><p>I battled on to the finish, the last stretch was 2.5km along the causeway to the HQ, I settled in, dug down and didn’t stop until the finish. I was greeted with the soup, cake and coffee. What an incredible combination. There were about three others at the finish, (the rest of Group 2 — the runners were still to come through having started 2 hours later). I sat thankful for reaching the finish, and began to realise I had to do this again, tomorrow. Others began to trickle in, all with a similar exhausted exuberance to myself that I enjoyed seeing. An older guy sat with me who’d completed the event before and we got chatting. I asked how do the legs feel the next day, how do you cope? “You’d be surprised” he told me, “You’ll be fine, don’t worry”. It’s what I needed to hear.</p><p>I checked the estimated recovery time on my Suunto watch, it said over a hundred hours. I picked up my things, said my goodbyes and walked back along the causeway to the apartment, to begin preparing for the next day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IRNCgkcMHLCgfD3FR9iZNg.jpeg" /><figcaption>It wasn’t a muddy run…</figcaption></figure><blockquote>Day 1 completed: 5:16:40</blockquote><blockquote>Position: 11th</blockquote><blockquote>Ascent: 3,416ft</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d413d2f4315" width="1" height="1" alt=""><hr><p><a href="https://medium.com/heathgoat/tales-of-the-jurassic-coast-2d413d2f4315">Tales of the Jurassic Coast</a> was originally published in <a href="https://medium.com/heathgoat">Heathgoat</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>