<?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 Simon Cooper on Medium]]></title>
        <description><![CDATA[Stories by Simon Cooper on Medium]]></description>
        <link>https://medium.com/@sfcooper?source=rss-a4e561fb1baf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HWnKB6w4YVwR1vRc.jpg</url>
            <title>Stories by Simon Cooper on Medium</title>
            <link>https://medium.com/@sfcooper?source=rss-a4e561fb1baf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:42:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sfcooper/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[Starmer Wants the UK to be an AI Powerhouse]]></title>
            <link>https://medium.com/@sfcooper/starmer-wants-the-uk-to-be-an-ai-powerhouse-a3587e2de3f8?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3587e2de3f8</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Fri, 17 Jan 2025 11:17:51 GMT</pubDate>
            <atom:updated>2025-01-17T11:17:51.785Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CNSZ9LO1YPEx9jDEeo1lpg.jpeg" /></figure><p>Earlier this week, the UK Prime Minister, Kier Starmer, <a href="https://www.gov.uk/government/news/prime-minister-sets-out-blueprint-to-turbocharge-ai">announced ambitious plans</a> to turn the UK into an AI powerhouse. The Government is correctly realising that investing in AI and delivering its fantastic benefits is crucial to maintaining growth ambitions alongside our fellow G7 countries. That said, the UK is already a leading nation for AI; we have a long legacy in this area with pioneers like Alan Turing and research companies such as Deep Mind (now owned by Google, of course). However, with the pace of development in the AI industry, the Government is right not to sit back but take a far more involved approach to cementing the UK at the heart of AI.</p><p>In this week’s newsletter:</p><ul><li>Google continues to develop it’s AI overviews</li><li>The UK establishes the AI Safety Institute</li><li>British start-up Synthesia is valued at $2.1 billion</li></ul><h3>Curated News</h3><h3>Google Expands its AI Overviews</h3><p>Google is expanding its AI search engine tool, AI Overviews, to the UK and other countries. Despite initial challenges in the US, including inaccuracies, Google has worked to resolve these issues. The tool will now be available in multiple countries, offering support in local languages and enhancing user navigation.</p><h3>UK AI’s Safety Institute</h3><p>The UK has established the AI Safety Institute (AISI) with £100 million in public funding to evaluate AI risks, marking it as the world’s first government-led body for AI safety testing. The AISI has assessed various AI models, including Google’s Gemini Ultra and OpenAI’s o1, aiming to detect AI dangers early. However, results and actions from these tests often remain undisclosed due to security and intellectual property concerns.</p><h3>Synthesia Valued at $2.1 billion</h3><p>British AI start-up Synthesia reached a $2.1 billion valuation after raising $180 million in a recent funding round. The company specializes in creating realistic human faces and speech through AI technology, eliminating the need for traditional cameras, actors, or film studios. The investment will support product development and expansion into markets like Japan, Australia, Europe, and North America.</p><h3>Upcoming AI Events</h3><p><a href="https://www.mrs.org.uk/event/conferences/ai-in-mr-2025">AI: Powering Up Insights 2025</a><br>Radisson Blu Edwardian, London, Jan-23</p><p><a href="https://www.cityandfinancialglobal.com/the-ai-regulation-summit-2025/home">The AI Regulation Summit 2025</a><br>London, Jan-27</p><p><a href="https://www.ai-expo.net/global/">AI &amp; Big Data Expo 2025</a><br>London Olympia, Feb-5 &amp; 6</p><p>This article was originally posted on <a href="https://www.plainai.co.uk/the-weekly/the-weekly-14/">Plain AI</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3587e2de3f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Plain AI — My new site]]></title>
            <link>https://medium.com/@sfcooper/plain-ai-my-new-site-40b986e7bd6a?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/40b986e7bd6a</guid>
            <category><![CDATA[mls]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Mon, 09 Dec 2024 14:20:53 GMT</pubDate>
            <atom:updated>2024-12-09T14:20:53.296Z</atom:updated>
            <content:encoded><![CDATA[<h3>Plain AI — My new site</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XBsCASxhjM2Zl95kfDJRpw.png" /><figcaption>www.plainai.co.uk</figcaption></figure><p>I used to post articles on Medium some time ago. As you’ll see, they were mostly topics related to my experience in coding, sharing knowledge where I had learned to do something. I have learnt many, many things from the writings of others (and Stackoverflow, of course), so it felt right that I gave something back.</p><p>However, times changed and I stopped coding. However I’ve always felt the desire to share knowledge with people and have a somewhat creative outlet. I have therefore started a new blog related to AI and data, (dah dahhh), which is a sector I’ve been working in for a while.</p><p>My site, <a href="https://www.plainai.co.uk/">Plain AI</a>, is geared to words non-technical folk who might be domain experts in their own field, but want to learn more about AI.</p><p>If this sounds like you, I’d love you to take a look.</p><p><a href="https://www.plainai.co.uk/">https://www.plainai.co.uk/</a></p><p>Thanks,</p><p>Simon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40b986e7bd6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Host VueJS App on Heroku]]></title>
            <link>https://medium.com/@sfcooper/host-vuejs-app-on-heroku-4eb0b46bd17d?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/4eb0b46bd17d</guid>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[heroku]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[heroku-cli]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Tue, 15 May 2018 07:58:09 GMT</pubDate>
            <atom:updated>2018-05-15T07:59:47.678Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve recently started to play around with creating a front end to my Ruby on Rails app with the VueJS framework. You can read more about how to do this on a previous post I wrote:</p><p><a href="https://medium.com/@sfcooper/creating-an-app-with-rails-api-backend-vuejs-frontend-403d2df61dab">Creating an app with Rails API backend VueJS frontend.</a></p><p>However, I now wanted to push this into the real world and not just my laptop, and host it on Heroku. There isn’t any specific buildback for a Vue app yet outside of the standard Node.js, and it turns out there’s a few extra steps you need to take. After some crawling around reading other articles, I’ve got it down to the following.</p><p>Install Express.js</p><pre>$ npm install express --save</pre><p>Create server.js in your root:</p><pre>//yourApp/server.js</pre><pre>var express = require(&#39;express&#39;);</pre><pre>var path = require(&#39;path&#39;);</pre><pre>var serveStatic = require(&#39;serve-static&#39;);</pre><pre>app = express();</pre><pre>app.use(serveStatic(__dirname + &quot;/dist&quot;));</pre><pre>var port = process.env.PORT || 5000;</pre><pre>app.listen(port);</pre><pre>console.log(&#39;server started &#39;+ port);</pre><p>Update your package.json scripts with a new start script and a build process to run on your Heroku server:</p><pre>&quot;start&quot;: &quot;node server.js&quot;,</pre><pre>&quot;heroku-postbuild&quot;: &quot;npm install --only=dev --no-shrinkwrap &amp;&amp; npm run build&quot;,</pre><p>My total scripts now looks like:</p><pre>//yourApp/package.json</pre><pre>&quot;scripts&quot;: {</pre><pre>&quot;dev&quot;: &quot;webpack-dev-server --inline --progress --config build/webpack.dev.conf.js&quot;,</pre><pre>&quot;start&quot;: &quot;node server.js&quot;,</pre><pre>&quot;heroku-postbuild&quot;: &quot;npm install --only=dev --no-shrinkwrap &amp;&amp; npm run build&quot;,</pre><pre>&quot;lint&quot;: &quot;eslint --ext .js,.vue src&quot;,</pre><pre>&quot;build&quot;: &quot;node build/build.js&quot;</pre><pre>},</pre><p>From there, it’s the standard stuff to create your Heroku app with the <a href="https://devcenter.heroku.com/categories/command-line">Heroku CLI</a> installed:</p><pre>$ heroku create yourApp --region eu</pre><pre>$ git init</pre><pre>$ git add .</pre><pre>$ git commit -m &quot;initial commit&quot;</pre><pre>$ git push heroku master</pre><p>Heroku will automatically detect it’s a node.js app and will add the correct build back.</p><p>You can then open your creation at:</p><pre>$ heroku open</pre><p>Enjoy…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4eb0b46bd17d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating an app with Rails API backend VueJS frontend.]]></title>
            <link>https://medium.com/@sfcooper/creating-an-app-with-rails-api-backend-vuejs-frontend-403d2df61dab?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/403d2df61dab</guid>
            <category><![CDATA[vue-router]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[axios]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Tue, 08 May 2018 21:08:11 GMT</pubDate>
            <atom:updated>2018-05-16T07:08:23.428Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been playing around with Ruby on Rails for just over a year now. In that time I’ve managed to create a couple of websites making use of Rails CRUD features, but ultimately rather basic from a UX point of view. For one of my Rails resources, I have ideas of adding more interactivity such as lazy loading/pagination and dynamic search/filtering etc. As I only do a bit of coding in my spare time, I’m still on a huge learning curve, and I’ve just arrived at that point where I think, I need some JavaScript to help me with those ideas for my site.</p><p>I won’t go into the reasons why, but I’ve landed on trying to learn <a href="https://vuejs.org/">VueJS</a> as my JavaScript framework of choice. (ok so I’ll tell you one important reason, it would seem I can add individual components to an existing site.) However, this post isn’t about integrating those features into my existing site, rather I’m going to show you how to combine two separate apps for the frontend and backend, utilising the rather powerful Rails API only feature for the backend and VueJS for the interactive frontend.</p><h4>Your Rails App</h4><p>Rails will be responsible for everything behind the scenes. So this includes managing the Postgres database, the models, controllers and your JSON output. As our separate VueJS app will handle the front end, we’ll want to create our Rails app without any views which we do by using — api on our command. I also want to use Postgres as my database opposed to the default SQLite so I also include -d postgresql. (I’m calling my app ‘sandbox’ so obviously change this to whatever you wish):</p><pre>$ rails new sandbox --api -d postgresql</pre><p>Because our Rails app and VueJS app will be hosted on two separate servers, one of the first things we’ll need to handle is Cross-Origin Resource Sharing, (or CORS). Luckily Rails makes this easy to do. Under Config&gt;Initializers you’ll find cors.rb. Comment the existing text out, and add your domain in the Origin and Resource, like so:</p><pre>/sandbox/config/initializers/cors.rb</pre><pre>Rails.application.config.middleware.insert_before 0, Rack::Cors do<br> allow do<br>  origins &#39;*&#39;<br> <br>  resource &#39;*&#39;,<br>   headers: :any,<br>   methods: [:get, :post, :put, :patch, :delete, :options, :head]</pre><pre>  end<br> end</pre><p>As I’m just playing around here, I’ve used ‘*’ to denote ‘all’ for both Origins and Resource. In a Production app, you would of course want to add your specific domain.</p><p>You will also need to add the rack-cors Gem. Head over to your Gemfile, and you’ll notice it’s already listed, so just delete the comments:</p><pre># Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible</pre><pre>gem &#39;rack-cors&#39;</pre><p>Then in the console:</p><pre>$ bundle install</pre><p>Now we’re set on the config side, we can create our first model. My sandbox app is going to be very simple, and will have one model for Contacts that will have two fields for ‘name’ and ‘relationship’.</p><p>First we need to set up our database:</p><pre>$ rails db:create</pre><p>We can then create the scaffold for our model in the console very easily.</p><pre>$ rails generate scaffold Contacts name:string relationship:string</pre><p>This will automatically generate a migration file for us, which should look like the below:</p><pre>class CreateContacts &lt; ActiveRecord::Migration[5.2]<br> def change<br>  create_table :contacts do |t|<br>   t.string :name<br>   t.string :relationship</pre><pre>   t.timestamps<br>   end<br>  end<br> end</pre><p>We then need to run the migration:</p><pre>$ rails db:migrate</pre><p>et voila!</p><p>We have now added our first resource to the backend of our app. If you check out your routes.rb file, you should see Rails has already add the Contacts Resource to your routes.</p><pre>/sandbox/config/routes.rb</pre><pre>Rails.Application.routes.draw do<br> resources: contacts<br>end</pre><p>As this is an API only app, when you go to the Views folder, you will immediately observer that even though we ran a scaffold, there are no views for our Contacts. This is exactly what we want! However our Controller will look pretty standard, apart from each method will now have</p><pre>render json: @contacts</pre><p>This means the resource will only be available in JSON format, opposed to the more typical HTML.</p><p>To see this in action, lets add some records to our Contacts table. We can easily do this through the console:</p><pre>$ rails console</pre><p>This opens up an interactive rails session from where we can write directly to our database:</p><pre>2.4.0 :001 &gt; Contact.create!(name: &#39;Simon&#39;, relationship: &#39;me&#39;)</pre><p>This will add a new contact with the name ‘Simon’ and relation listed as ‘me’. You can go ahead and add as many records as you wish.</p><p>Ok, so now let’s see some of the fruits of our labour. Let’s get the rails server up and running:</p><pre>$ rails server</pre><p>And then in your browser go to localhost:3000. Here you should see the standard ‘Your on Rails’ page, but go to localhost:3000/contacts and you should see a JSON output of the records you created.</p><p>And basically that’s it for the backend!</p><h4>Your VueJS App</h4><p>So now we have an API endpoint set up, we want to create our frontend app so our users have a user interface to interact with. We’ll do this with the Vue-CLI.</p><p>You might need to first install Vue-CLI:</p><pre>$ npm install -g vue-cli</pre><p>Read about more installation options at <a href="https://vuejs.org/v2/guide/installation.html">https://vuejs.org/v2/guide/installation.html</a></p><p>Then in your console, navigate to where you want to create your new Vue app. I wanted to use the Webpack template for my app so run:</p><pre>$ vue init webpack sandboxfront #or whatever name you wish </pre><p>(you might get a message in the console complaining about running ‘vue init’ , if so ‘Please run yarn global add <a href="http://twitter.com/vue/cli-init">@vue/cli-init</a> and try again’)</p><p>The console will ask you some config questions, but you can largely just enter Y for the default options.</p><p>The magic of Vue-CLI will have now created a basic Vue app for you with a bunch of configuration already handled. From here you can cd into your app and get the server running with:</p><pre>$ npm run dev</pre><p>And navigating in a new browser to localhost:8080, will show you the standard vue welcome page.</p><p>A key concept to Vue is that of Components. In my mind, I think of these as the V in MVC. Where our Rails app is handling the M &amp; C. If you navigate to sandboxfront/src/components, you’ll notice we already have the classic HelloWorld template in a .vue file. This is driving the welcome page.</p><p>I want to create another page in our fledgling Vue app, so a very useful add-on here is the Vue Router. You can install this with:</p><pre>$ npm install vue-router</pre><p>(If you’re used to installing NPM packages in Rails, you’ll be comforted in the fact that Vue is very similar with all dependencies being installed under a node_modules directory)</p><p>With Vue-Router installed, you will now see a /sandboxfront/src/router/index.js file has been created. Coming from Rails, you can liken this to the /config/routes.rb file.</p><p>Let’s now create a new route so that we can display our list of Contacts from the Rails API.</p><pre>import Vue from &#39;vue&#39;<br>import Router from &#39;vue-router&#39;<br>import Contacts from &#39;@/components/Contacts&#39; #add this line</pre><pre>Vue.use(Router)</pre><pre>export default new Router ({<br> routes: [<br>  {<br>    path: &#39;/&#39;,<br>    name: &#39;HelloWorld&#39;,<br>    component: &#39;HelloWorld&#39;<br>  },<br>  {                         #add these lines<br>    path: &#39;/contacts&#39;,<br>    name: &#39;Contacts&#39;,<br>    component: &#39;Contacts&#39;<br>   }<br>  ]<br>})</pre><p>This will allow you to navigate to localhost:8080/contacts</p><p>However the app will complain that it cannot find the ‘Contacts’ Component so create Contacts.vue within the Components directory now.</p><p>Vue Components will nearly always have the three elements of :</p><ul><li>template</li><li>script</li><li>style</li></ul><p>The &lt;template&gt; code will be rendered as HTML by the browser, so this is where we’ll add the components as users will see.</p><pre>&lt;template&gt;<br> &lt;div id=&quot;contacts&quot;&gt;<br>  &lt;div v-for=&quot;(contact, index) in contacts&quot; :key=&quot;contact.id&quot;&gt;<br>   &lt;p&gt;{{contact.name}} is my {{contact.relationship}}&lt;/p&gt;<br>  &lt;/div&gt;<br> &lt;/div&gt;<br>&lt;/template&gt;</pre><p>So what’s going on here!</p><p>You’ll no doubt recognise part of this code as HTML, with the stranger code being Vue. This makes VueJs a fairly easy language to pick up.</p><p>It’s important that all vue code is wrapped in one single element, which we do with a simple div tag &lt;div id=”contacts”&gt; . We then want to iterate over our contacts list, which is done with the v-for tag, and as each one is unique we add a key on the ID. We then have a couple of placeholders for the text we want rendered on the page. As with some other languages we have the handlebars {{ }} to handle this. You might have picked up that the code inside starts with the resource and then the element we want.</p><p>Next we need to add the script to actually make this work. Next thing to do is to get our Vue App to read from our Rails API. One of the most common methods of consuming APIs with Vue is to use Axios.</p><pre>$ npm install axios</pre><p>Read more about Axios here <a href="https://vuejs.org/v2/cookbook/using-axios-to-consume-apis.html">https://vuejs.org/v2/cookbook/using-axios-to-consume-apis.html</a></p><pre>&lt;script&gt;<br>import axios from &#39;axios&#39;</pre><pre>export default {<br> data() {<br>  return {<br>   contacts: [],<br>   name: [],<br>   relationship: [],<br>   errors: []<br>  }<br> },<br> created() {<br>  axios.get(&#39;localhost:3000/contacts&#39;) <br>  .then(response =&gt; {<br>   .this.contacts = response.data<br>  })<br> .catch(e =&gt; {<br>  this.error.push(e)<br>  })<br> },<br>}<br>&lt;/script&gt;</pre><p>Note ‘localhost:3000/contacts’ is our API endpoint from our Rails API.</p><p>You can leave &lt;style&gt; blank, or add some CSS if you’re heart desires.</p><p>Now if you have both servers up and running, going to localhost:4040/contacts should render the list of records you added to the Contacts table in your Rails App.</p><p>Tada!</p><p>There are a number of other CRUD actions you might want to do here, and I’ll write this up in further posts.</p><p>This is my first ‘how-to’ type post, so please do give me some feedback; good and bad!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=403d2df61dab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Men — It’s good to talk.]]></title>
            <link>https://medium.com/@sfcooper/men-its-good-to-talk-cbc7589db570?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbc7589db570</guid>
            <category><![CDATA[suicide]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[project84]]></category>
            <category><![CDATA[men]]></category>
            <category><![CDATA[depression]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Mon, 26 Mar 2018 19:50:42 GMT</pubDate>
            <atom:updated>2018-10-10T13:51:18.842Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SeXP9ZsAw7jN0CAz." /><figcaption>Photo by <a href="https://unsplash.com/@tjump?utm_source=medium&amp;utm_medium=referral">Nik Shuliahin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Just as men find it hard to talk, I’m also struggling to start writing this post. There’s a number of thoughts jumbled in my head, and trying to get it out in a coherent and readable format is a challenge. I’m also aware the content will open up a part of me that I don’t easily share. It’s only a recent and brief conversation I had on LinkedIn, that’s even got me to sit at a keyboard.</p><p>And when I say talk, I mean opening up to each other about feelings and emotions. For sure men can readily talk about Aussies tampering with a cricket ball, or the pros and cons of iOS vs Android till the cows come home, but talking about the challenges of our personal or work lives is a rare conversation. It’s frightening to see the impact that mental health is having on men in particular. Samaritans tweeted that <a href="https://twitter.com/samaritans/status/905715557206564865">Middle-aged men are still at greatest risk of taking their own lives</a> and also 3 times more likely to commit suicide than women according to the ONS. To highlight these devastating numbers, <a href="https://www.standard.co.uk/news/uk/eighty-four-statues-of-male-suicide-victims-appear-on-itvs-southbank-studios-in-striking-campaign-a3799271.html">ITV have installed 84 statues on top of their studios on London’s Southbank depicting the 84 men that commit suicide each week</a>.</p><h3>Evening Standard on Twitter</h3><p>Eighty four harrowing suicide statues appear on roof of ITV studio #Project84 https://t.co/7nWbRcr5kS</p><p>And so I’d like to share some of my story, and whilst I didn’t have suicidal thoughts, I did have some dark times a few years back after a relationship ended. Looking back I can see it was actually a very stressful and ultimately destructive relationship, and one I’m much better out of, but at the time I had the usual feelings when these things come to an end. Her leaving left me feeling alone and of course unwanted with all of the self questioning that comes with that, but it also left me with a rent that was a challenge to pay for by myself when coupled with my other financial commitments. From the sadness of a relationship breaking down, I continued to spiral downwards. I never sought medical help at the time, and I still haven’t, but looking back I can see I dropped into a period of depression. Life became a haze. I felt disconnected to everything. There was very little I cared about anymore. Sitting in a dark and cold flat I would question what the hell was it all worth? What’s the point? Why am I doing this? I did that terrible thing of constantly comparing my life to that of my friends and peers, questioning why I didn’t own a lovely house with a nice garden. Where were my children I should be caring for by now? Why wasn’t I running my own business? Facebook and Instagram were just torture shows. Of course a rational person knows that people are clever with what they share on social media. Their streams are a highly curated set of images and comments that depict their lives as one of glamour and success. Skiing here, cocktails there, promotions, cars, children… Rarely do we post the dark side of our lives and the issues we really should be talking about.</p><p>At one point, my lack of passion had been picked up by my colleagues. I was ‘invited’ to lunch with two senior members. I’m aware of what the main purpose was, but when my response to the question of “How can we help?” was, “I have some challenges at home”… I was met with “We can’t help there, what can we do at work?”. This was quiet a blow. An opportunity to discuss some of my mental issues was instantly cut off. The two members were male, and I’m fairly sure it would have been a different response were they female.</p><p>My drinking increased and on at least two occasions, I can remember walking the streets on my way home in floods of tears. People avoiding this crazy man.</p><p>And that wasn’t the only time I cried. I recall one Friday night, after a pretty bog standard week, arriving at the flat with the realisation the only meaningful human interaction I would have that weekend would be when I got back into work on the Monday morning. I now understand that I’m a extrovert and get mental energy through the interaction with others, and am now much more adept at keeping my human contact well planned.</p><p>Looking back, it’s massively obvious I should have spoken to someone, anyone, but in those days it didn’t seem an option. My mindset was to just be strong, man up and get though it. And the thought of trying to have a conversation with a friend was just uncomfortable.</p><p><strong><em>And this is the problem for young men</em></strong></p><p>We don’t talk, we don’t open up for fear of being seen as a <a href="https://www.urbandictionary.com/define.php?term=Wuss">wuss</a>. How often do we hear the phrase “Man up” or alternatives such as “<a href="https://www.urbandictionary.com/define.php?term=Grow%20a%20Pair">grow a pair</a>”? Our whole society is based around the man being strong and the woman weak. Well neither part of that stands true.</p><p>Ultimately I did “get through it”. Time does heal. Something that did help my road to recovery was joining a community choir, which did raise some eyebrows amongst my friends, but singing, especially in the company of others, is a special thing. I was able to release some of those emotions, and whilst I couldn’t express my self to friends and family, I could sing my heart out to Gloria in Excelsis Deo.</p><p>For anyone reading this with mental challenges, I wish I had a silver bullet, some insightful answer in to how to get out of a dark hole, but I don’t really. All I can say is talk to people. Doesn’t matter who, but let people know you are suffering.</p><p>If sharing this helps just one person see the light at the end of the tunnel, then it was worth it writing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbc7589db570" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Just Like Wine]]></title>
            <link>https://medium.com/@sfcooper/just-like-wine-576e276f88ae?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/576e276f88ae</guid>
            <category><![CDATA[coffee]]></category>
            <category><![CDATA[third-wave-coffee]]></category>
            <category><![CDATA[coffee-beans]]></category>
            <category><![CDATA[coffee-roasters]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Wed, 31 Jan 2018 21:44:17 GMT</pubDate>
            <atom:updated>2018-01-31T21:52:23.288Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VEWUL3zNP_W36BzwQ0EHfA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/U6_jTXxXOUY?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Michał Grosicki</a> on <a href="https://unsplash.com/search/photos/coffee-bags?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>For those of us that like the odd glass of wine, we’d probably be able to tell people the types of wine we like. At the most basic whether it’s red or white, or even rosé. We could probably tell people we like an Argentinian Malbec, or maybe a Sauvignon Blanc from New Zealand. It might be that we have favourite vineyards or regions. For many years coffee drinkers probably wouldn’t be able to say the same. The most we might tell someone is that we like a cappuccino over a latte. However, with the <a href="https://www.perfectdailygrind.com/2017/04/third-wave-coffee-different-specialty/">Third Wave of Coffee</a> truly upon us, this is very much changing. Just like wine, coffee is produced from a fruit, although it’s the bean that’s used opposed to the natural juices, and just as with vineyards and grapes, the location coffee farm s and variety of fruit, can all have a significant influence on the flavour of the coffee we drink. As a consequence, coffee aficionados are now able to tell you they prefer roasts from Colombia, or a coffee made from the ‘Red Bourbon’ variety.</p><h4>If you like that, try this…</h4><p>Something I’ve wanted to do on <a href="https://www.gourmetcoffee.london/roasts">gourmetcoffee.london</a> since starting to put it together, was to have a feature where coffee drinkers could rate the roasts they drank, and with some magic calculations, then show them other coffee’s they might also like. I’m not quite at the point just yet, but I am now building a database of coffee roasts. I have 38 listed at the time of writing, so some way to go, but I am excited to see how this develops, and intrigued to see if it can truly become a useful resource to coffee fans.</p><p>Please do feel free to add coffee roasts yourself, (you’ll have to register on the site with an email or via Facebook to stop spam, but it’s quick enough), as it’s clearly going to take me some time to move from 38 to 100+</p><p><a href="https://www.gourmetcoffee.london/roasts/new">Add A New Coffee Roast</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=576e276f88ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Successfully Working From Home]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@sfcooper/successfully-working-from-home-c9090315bb7a?source=rss-a4e561fb1baf------2"><img src="https://cdn-images-1.medium.com/max/2600/1*2mJytjiN7UPxVUwpU1GTVg.jpeg" width="5737"></a></p><p class="medium-feed-snippet">I&#x2019;ve not long started working for an international company, and so far I&#x2019;m the only employee in the UK. Whilst many of us have had the odd&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@sfcooper/successfully-working-from-home-c9090315bb7a?source=rss-a4e561fb1baf------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sfcooper/successfully-working-from-home-c9090315bb7a?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9090315bb7a</guid>
            <category><![CDATA[working-from-home]]></category>
            <category><![CDATA[startup-life]]></category>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Fri, 08 Dec 2017 14:39:33 GMT</pubDate>
            <atom:updated>2017-12-08T14:45:38.944Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Are Pay As You Go Airport Lounges Worth It?]]></title>
            <link>https://medium.com/@sfcooper/are-pay-as-you-go-airport-lounges-worth-it-3cb2d4a7900a?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cb2d4a7900a</guid>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[airport-lounge]]></category>
            <category><![CDATA[airports]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Fri, 08 Dec 2017 13:47:26 GMT</pubDate>
            <atom:updated>2017-12-08T13:47:26.009Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*ZPlanyZiZ_RciJsStZRYAQ.jpeg" /></figure><p>Airport lounges are secluded private rooms, normally hidden away from the main throng of an airport terminal. They provide a moment of calm to catch on some work emails, or relax with a drink and snacks. Lounges can be broken down into two types. Firstly you have the airline lounge. These are operated by the airlines themselves and are very much reserved for their passengers flying in First or Business class, or hold the top tier of their relevant frequent flyer loyalty schemes. Some of these lounges are the most sophisticated way you can travel. In days gone by, the most famous and exclusive was British Airways Concord Lounge at Heathrow, and yes you guessed it, you had to be flying on the famous supersonic jet Concord to gain entry. Whilst those days may have gone forever, the airline lounges are still fairly exclusive. The other type of lounge is the independent lounge. These are run independently of the airline and airport, with some names in the UK being №1 Lounges, and Aspire. You still can’t wander into these as you like, but for a fee, or a membership card such as Priority Club will get you access regardless of your airline or class of ticket.</p><h3>What’s In A Lounge</h3><p>Inside an airport lounge, you can typically expect to find a selection of food, (largely cold snacks) and drinks, both alcoholic and non. You can also find free WiFi, newspapers and magazines, and some also offer spa and shower facilities. Most will also offer some services to print and fax, and others might have meeting rooms.</p><h3>What’s the Price?</h3><p>Depending on the individual lounge, you can just turn up and pay on the door from around £25-£40. If you go online and pre-book, you will normally get a small discount, №1 Lounges, will also throw in a pass for the priority security lane. You can also gain access through membership schemes. One of the largest is Priority Pass, and has a global network of over 1,000 lounges. You can pay £69 for an annual pass, with an additional £15 per visit fee, up to £259 for unlimited free visits. You can also get Priority Pass as a benefit with some credit cards, for example the American Express Platinum card, although this card as an annual fee of £450.</p><h3>The Experience</h3><p>This is where I will be honest. Based on my own personal experiences of visiting airport lounges all over the world, the independent lounges vary massively in their quality. Some offer cold snacks only, some have limited alcoholic drinks, and others just look very tired and in dire need of refurbishment. Others can be very good, the Sala VIP lounge in Madrid for instance is very large, has self pour spirits and wine, and a good selection of snacks including pizza which flies off the plate as soon as it’s bought out! But one of the biggest problems I have is capacity. I have the Priority Plus membership, so whilst I can book ahead for free, I slightly begrudge having to pay a booking fee to reserve my spot. As the general awareness of these lounges has grown, and more people prepared to stump up the fee, it’s harder and harder to get in. There have been a good number of occasions in the last year where I was turned away.</p><h3>So Are They Worth It?</h3><p>This is a tight call. Of course on the one hand it is nice to get away from the main terminal, but the atmosphere isn’t always as calm as you might want. I recall being at Heathrow once, at around 8:30am with someone complaining that the lounge had run out of champagne. And for the fee, you would have to try and get through quite a bit of food and drink to cover your costs. If you get access as a benefit, then that’s good, but personally I would think twice about turning up and paying at the door.</p><p>Originally posted on the site <a href="https://www.bhx-birmingham-airport.co.uk/posts/are-pay-as-you-go-lounges-worth-it%3F">bhx-birmingham-airport.co.uk</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cb2d4a7900a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rebuilt bhx-birmingham-airport.co.uk]]></title>
            <link>https://medium.com/@sfcooper/rebuilt-bhx-birmingham-airport-co-uk-10ebee3f93e1?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/10ebee3f93e1</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[elixir]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[phoenix-framework]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Mon, 13 Nov 2017 12:31:44 GMT</pubDate>
            <atom:updated>2017-11-13T12:33:30.846Z</atom:updated>
            <content:encoded><![CDATA[<p>So this was one of the first proper websites I managed to build ~10 years or so ago. It was written with HTML and styled with CSS naturally but I also made some use of the very popular PHP language. I started out writing in in Adobe Dreamweaver I believe, and whilst that software made something things easier for me (like reusable library snippets). As my coding skills have developed I’ve migrated to tools that a far better at giving me total control of what code is added and what isn’t, and these days I use the very popular <a href="https://atom.io/">Atom</a>, from the folks at <a href="https://github.com/">GitHub</a>.</p><p>But the need to update bhx-birmingham-airport.co.uk didn’t come from the software I used, but largely from the fact my coding skills were very limited. So I decided to learn a new language that was both popular and very well established, which was Ruby on Rails. Getting to understand this language unlocked pretty basic, but previously out of reach, tasks of writing to a database, and retrieving and displaying information form that same database. As a practical exercise, I created a new site for my growing love of speciality coffee, <a href="https://www.gourmetcoffee.london/">gourmetcoffee.london</a> and I’m now able to post new articles, display relevant posts, show the top most commented on etc. In this process I also chose to my my hosting from my previous company who did not offer Ruby on Rails in my existing package without paying a large increase. So I moved to Heroku, which is both cheaper, but also far more flexible. It also let’s me host my site securely. Something which is vital in this day and age.</p><p>So, with all of my new found skills, I’ve know for around half a year, I should go back and basically re-write the Birmingham airport site. So I did just that. Whilst I’ve simply ported the majority of the content, the new version will offer me better security, and more flexibility as and when I wish to develop it further and it means I’ll be able to write my own posts without needing to bolt on a dedicated blog solution such as Wordpress. However, I actually chose yet another programming language Elixir, using the Phoenix Framework for this site, as I’m finding a little simpler than Rails, and It’s good to learn a couple to be able to compare and contrast.</p><p>The site can still be found at the old address <a href="https://www.bhx-birmingham-airport.co.uk/">bhx-birmingham-airport.co.uk</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10ebee3f93e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruby on Rails/Heroku Cheat Sheet]]></title>
            <link>https://medium.com/@sfcooper/ruby-on-rails-heroku-cheat-sheet-4a2d98dc49b7?source=rss-a4e561fb1baf------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a2d98dc49b7</guid>
            <category><![CDATA[ruby-on-rails-development]]></category>
            <category><![CDATA[heroku]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[rails]]></category>
            <dc:creator><![CDATA[Simon Cooper]]></dc:creator>
            <pubDate>Tue, 13 Jun 2017 09:48:38 GMT</pubDate>
            <atom:updated>2018-05-13T09:45:52.172Z</atom:updated>
            <content:encoded><![CDATA[<p>New App</p><pre>$ rails new app-name</pre><p>New App with just API</p><pre>$ rails new app-name --api</pre><p>New App with Postgres</p><pre>$ rails new app-name -d postgresql</pre><p>New App with API and Postges</p><pre>$ rails new app-name --api -d postgresql</pre><p>Start the server</p><pre>$ rails server</pre><p>that can also be abbreviated to</p><pre>$ rails s</pre><p>Delete single database record via console</p><pre>Item.find(1).destroy</pre><p>Delete multiple database records via console</p><pre>Item.destroy([1, 6, 5, 8, 12, 14])</pre><p>Delete database record on heroku</p><pre>$ heroku run rails console --app myApp</pre><pre>myModel.find(1).destroy</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a2d98dc49b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>