<?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 Mike Street on Medium]]></title>
        <description><![CDATA[Stories by Mike Street on Medium]]></description>
        <link>https://medium.com/@mikestreety?source=rss-e22160fc1c37------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*sQxzgbVt0ab7xjWjm-Hv7g.jpeg</url>
            <title>Stories by Mike Street on Medium</title>
            <link>https://medium.com/@mikestreety?source=rss-e22160fc1c37------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 04:44:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mikestreety/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[Writing more evergreen blog post topics is hard]]></title>
            <link>https://mikestreety.medium.com/writing-more-evergreen-blog-post-topics-is-hard-4963cc049800?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/4963cc049800</guid>
            <category><![CDATA[evergreen]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Sun, 19 Feb 2023 00:00:38 GMT</pubDate>
            <atom:updated>2023-02-23T09:35:53.695Z</atom:updated>
            <content:encoded><![CDATA[<p>Evergreen topics are the golden egg of blog posting; posts which don’t age and don’t become irrelevant over time and they are something I really wish I was able to write. A lot of my posts are about the here and now “this is how you do this thing with this technology”. They might still be right in 1, 2 or 3 years time, or they might have expired before I’ve even built up the courage to publish.</p><p>The most popular posts on this very blog are potentially fleeting. <a href="https://www.mikestreety.co.uk/blog/migrating-gitlab-from-one-server-to-another/">Migrating Gitlab to another server</a> or <a href="https://www.mikestreety.co.uk/blog/creating-a-docusaurus-docker-image-for-consistent-rendering-of-your-documentation/">Creating a Docusaurus Docker container</a> can easily be rendered useless with the release of a new version or a change in the commands to be run. It’s not as easy as “Gitlab has released a new version”, if Twitter changes their intent URL structure then this post on <a href="https://www.mikestreety.co.uk/blog/build-your-own-share-this-component/">Building your own share component</a> would become very unhelpful.</p><p>It’s not easy creating evergreen content — I envy those that can come up with philosophical or timeless <em>talks</em> as well as posts. If you want to be seen as a “thought leader” (horrible phrase, but you get my drift) then you need to start creating blog posts and presentations that don’t age and will always be relevant.</p><p>I have managed to write <em>some</em> evergreen blog posts — my <a href="https://www.mikestreety.co.uk/blog/the-git-commit-hash/">Git commit hash</a> and “ <a href="https://www.mikestreety.co.uk/blog/making-sure-youre-not-doing-everything-at-work/">Making sure you’re not doing everything at work</a>” posts don’t have an expiry date (unless Git fundamentally change the way hashes are made) but the <a href="https://www.mikestreety.co.uk/diary/">majority of my posts</a> are fixed to a specific time, framework or command structure.</p><p>I see posts and opinions crop up and sometimes kick myself. Blogs which get the web development community rallying behind expressed views which I hold, and have done for a while but I just never considered it blog worthy enough (or a popular enough opinion). Perhaps I need to stop holding back when it comes to writing about my opinion. Perhaps I need to <a href="https://andy-bell.co.uk/just-post/">“just” post</a> whatever is on my mind or put down thoughts whenever I roll my eyes or tut at something in the industry. On the flip side, I should write more about the positive things I see on the web — as much as the moans and groans get the most traction, it’s always enjoyable to see some good thoughts and feelings be posted.</p><p><em>Side note</em>: The irony is not lost on me that I am writing an evergreen blog post about not being able to write evergreen blog posts!</p><p>In a bid to try and generate some ideas for Evergreen blog posts topics, I turned to the “hot new tech of the moment”, <a href="https://chat.openai.com/">ChatGPT</a> (does this mean this post is no longer Evergreen?!).</p><p>I wanted to see what it could suggest for “ <strong>Web development evergreen topic ideas</strong>”. The list of topics was quite predicable — nothing new or any curve balls, however it is still a list I might come back to when I’m feeling in need to writing but have no direction.</p><p>The list generated was:</p><ul><li>Responsive design and mobile optimization</li><li>Search engine optimization (SEO)</li><li>Security and privacy considerations</li><li>Web performance optimization</li><li>The role of APIs in web development</li><li>The future of web development technologies, such as WebAssembly or Web VR</li><li>Web accessibility and inclusive design</li><li>Progressive web apps (PWA)</li><li>Design patterns and best practices for creating user-friendly websites</li><li>The use of artificial intelligence and machine learning in web development</li></ul><p>Generating any kind of evergreen content is hard. Scrap that, generating any kind of content is hard. However, at the end of the day, does it really matter?</p><p><em>Originally published at </em><a href="https://www.mikestreety.co.uk/blog/writing-more-evergreen-blog-post-topics/"><em>https://www.mikestreety.co.uk</em></a><em> on February 19, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4963cc049800" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Be Code Agnostic]]></title>
            <link>https://mikestreety.medium.com/be-code-agnostic-35f31f637821?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/35f31f637821</guid>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Thu, 05 Jan 2023 00:00:27 GMT</pubDate>
            <atom:updated>2023-02-27T10:36:37.334Z</atom:updated>
            <content:encoded><![CDATA[<p>I wrote a blog about being <a href="https://www.liquidlight.co.uk/blog/how-to-become-device-agnostic-and-what-it-means-for-your-data/">device agnostic</a> which is an idea about ensuring your data is not tied to one kind of device, or one manufacturer. I believe you should be able to export your data regularly (in a generic format) or it should exist in a more device-fluid state. Services and devices shouldn’t try to lock users in by holding their data hostage. The idea is you can move between devices (or lose a phone) and not be ground to a halt (or be worried about where your data has gone).</p><p>While converting my website from Craft CMS to 11ty, a similar concept approached me: when creating websites, we should try and make our content as <strong>code agnostic</strong> as possible. This not only applies to our personal websites, but should apply to our clients sites as well.</p><p>Code should just be the transportation for the content and should not influence how it is crafted. If the package/library/CMS you are using or the framework that powers your website disappeared, can you honestly say that you could easily access your content to migrate to a new platform?</p><p>With the move to 11ty, a lot of my content was already written in Markdown in the Craft CMS database. Despite them falling out of fashion with the cool kids, database powered websites are often a great measure of code agnosticism. These frameworks and content management systems rarely stuff too much opinionated code in there. Although, saying that, we use TYPO3 at work which has &lt;a href=&quot;t3://page?uid=713&quot;&gt;&lt;/a&gt; style links. These would be difficult to parse/transpose into complete URLs if you were migrating, but I digress.</p><p>Craft CMS is great example of keeping content, content. I was able to download all my posts as a JSON and didn’t have to do any processing on the content itself. With the export, I was able to write a small PHP script that turned the big array into individual Markdown files. As a side-note, JSON, like Markdown, is a great framework-free file format. They seem to have become a pretty solid and reliable standard that the web industry has embraced.</p><p>Sure, 11ty requires some <a href="https://www.11ty.dev/docs/data-frontmatter/">front matter</a>, but that seems to be moving into a standard when writing content with Markdown. It does make me feel slightly “off” that framework specific content is in my files, but I feel confident that, if 11ty disappeared tomorrow and my computer died, I could extract, process and get my content extracted again — it’s about finding a compromise between framework standards and keeping it clean.</p><p>Throughout my site, I have &lt;div class=&quot;info&quot;&gt; boxes and such. I considered turning these into <a href="https://www.11ty.dev/docs/shortcodes/">11ty shortcodes</a>, but this tied me deeper into the 11ty ecosystem. I love 11ty, but if the shortcode syntax changed, or I needed/wanted to migrate my content elsewhere, I would need to do a lot of find and replacing. I figured it best to stick to plain ol&#39; HTML.</p><p>I suppose that is the crux of it really — it’s not necessarily about whether your content does or does not have framework specific code in it, it’s whether you feel confident in getting it out. Can the framework specific code be extracted and parsed? Are you tied in or can you get your words out without too much trouble?</p><p>Perhaps you need a headless CMS? A headless CMS is a content management system without the front-end. You use APIs and to access the data for a website which means you can use any technology you want to build your website or app.</p><p>This blog seems to be turning into a massive advocacy into custom APIs serving up data. The nature of a good API ensures the content stays code agnostic so it can be used by many apps. I’ve never used GraphQL, but I can see the appeal as the <em>data</em> is just data, and the framework determines how it gets that content and how it uses it.</p><p>So be more code agnostic, let your content be content and your code be code.</p><p><em>Originally published at </em><a href="https://www.mikestreety.co.uk/blog/be-code-agnostic/"><em>https://www.mikestreety.co.uk</em></a><em> on January 5, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35f31f637821" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making sure you’re not doing everything at workMaking sure you’re not doing everything at work]]></title>
            <link>https://mikestreety.medium.com/making-sure-youre-not-doing-everything-at-workmaking-sure-you-re-not-doing-everything-at-work-1f19922a42a1?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f19922a42a1</guid>
            <category><![CDATA[delegation]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[management]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Fri, 15 Jan 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-01-15T10:02:44.247Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“How can I better manage my own &amp; my teams workloads so that we’re all equally busy rather than one is manic and one is twiddling thumbs?”</em></p><p>This was a question from a long-time friend, <a href="https://mrqwest.co.uk/">Ant</a> over on the <a href="https://ontheside.network/">OnTheSide</a> Slack group the other day. He had recently become manager to a team of two and was asking for some advice on delegation.</p><p>He specifically tagged me, <a href="https://sijobling.com/">Si</a> and <a href="https://www.danblundell.com/">Dan Blundell</a>, members of the community who have all found ourselves in managerial positions.</p><p>It took me a while to gather my thoughts because, I have no formal managerial training and didn’t want to lead anyone astray. I, like many others, have found myself managing a team through no formal route, and I am always trying to improve my management skills (Side-note: if anyone knows of any good dev management podcasts, i’m all ears).</p><p>I will try and avoid turning this into a “be a good manager” post, as I have no authority for it to be that. Instead, will try and focus on the delegation part of my role and the advice I would give.</p><p>As someone who has recently moved up into a director role, I find myself being point-of-contact for technical quotes, queries and questions within the small agency I work at. These often result in work that needs doing and it is so very easy for me to “just do it” rather than hassling anyone else or going through the rigmarole of assigning tasks. This in itself is a false perception — processes exist for tasks to be assigned. Assigning work to employees is not hassling them if it is an expected part of their job.</p><p>When you become a manager through the routes I have, you start to think very highly of yourself. All too often thoughts such as <em>“I can do this better”</em>, <em>“it will be quicker if I do it”</em> or <em>“let’s not bother anyone else”</em>.</p><p>The danger with thinking these things is you will get very busy very quickly and you will find yourself always the one the tasks (and normally they are the most boring ones).</p><p>Rather than being the gatekeeper of work, i.e. the manager that only passes things on when you are too busy, be the overflow that takes work when your team is too busy. On paper, it seems like if your team is doing all of your work, you will be twiddling your thumbs — but it gives you time to organise and, most importantly, check-in on your team.</p><p><strong>Delegation should be the default state</strong>.</p><p>Something I’ve found asking myself daily, if not hourly, is “Do <strong>I</strong> need to do this?”. If the answer is no (and it probably will be), then it gets passed on. If it is the knowledge or skills that are preventing someone else from doing this work then pass it on and train them. You are there to train or assist them in getting the job done so they can do it in future. This also prevents so much reliance on you — what if you’re not around to do it next time?</p><p>There will always be edge cases where you <em>do</em> need to do the task; time constraints (e.g. it is urgent, or your team doesn’t have time), historical knowledge, or, you just simply want to do it yourself because it looks like fun (managers prerogative).</p><p>Delegating by default is also a great way of quickly seeing where the gaps are in your team. When the chance arises, I will reassign work which I know is a knowledge gap for one of the developers.</p><p>Rather than me picking up the work, I let the developers read through (and they often try to resolve) the task, before coming to me for help. I can then show them when <em>they</em> are in the right mindset. As the manager, I expect my day to be jumping around switching gears — I want the developers to feel comfortable and thinking about the task when we sit down to work it out together. More often then not, the developers either solve the issue without my intervention or need a lot less assistance than I was expecting, which is a win-win and gives you more confidence in your team.</p><p>In time, you will find yourself training less and less and being able to pass on more and more of the edge-cases. These not only give you the time to train your team further, but free up more of your time to focus on the wellbeing of your team.</p><p>I’m sure this is a mishmash of quotes, but I strongly believe that <strong>you should train your team to be as good as you, and then push them to be better</strong>.</p><p>The other quote I often think of is <em>“What if we train them and they leave? What if we don’t and they stay?”</em>. You are doing nobody any favours by keeping tasks to yourself. If you don’t “trust” the work your team do, then assign the work but get them to check it with you before it leaves the office (but if you don’t trust your team, there is something else there…).</p><p>So delegate more, check in with your team more. Check your own task list, is there anything that can be passed on? Become the place works gets sent when your team is stacked. Be the type of manager that has the time to train and assist people. Be the kind of person that has capacity to ease someone’s workload if the are struggling. Work the same hours as everyone else.</p><p><em>Originally published at </em><a href="https://www.mikestreety.co.uk/blog/making-sure-youre-not-doing-everything-at-work"><em>https://www.mikestreety.co.uk</em></a><em> on January 15, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f19922a42a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why should you consider Cloudflare for your website?]]></title>
            <link>https://medium.com/liquid-light/why-should-you-consider-cloudflare-for-your-website-7042f0a49c2a?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/7042f0a49c2a</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[cloudflare]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Sun, 05 Apr 2020 00:00:00 GMT</pubDate>
            <atom:updated>2020-05-05T14:39:58.914Z</atom:updated>
            <content:encoded><![CDATA[<p>Cloudflare is a service which, among other things, provides a CDN (Content Delivery Network), firewall, and performance layer for your website. It has plenty of paid upgrades and features and is a developer’s dream, but what advantage does it have for you to put your website “behind” Cloudflare and how does it work?</p><h3>Asset caching</h3><p>Cloudflare has some mega servers which cache your static assets for you, once they have been requested once. This has a huge benefit of saving your server load and bandwidth. With a non-cloudflare’d server, if a user requests a web page which features 10 images, the browser has to make 10 additional requests to your server. If each image is 1mb, that would be an extra 10mb your server would have to find, process and serve. This, multiplied by each user on your website, is more load and takes up valuable resources which could impact performance for other users.</p><p>With Cloudflare, they do Asset Caching. Once each image has been served once, they store a copy on their servers. When the second user requests the same image, Cloudflare serves it up from their servers, meaning your server has more time to do the important things — like processing that transaction or sending that email. It also helps your website performance, as many hands make light work.</p><p>Below is a screenshot from one of our client’s Cloudflare accounts, showing statistics from the past week — that’s a 90% caching rate.</p><figure><img alt="Screenshot showing Cloudflare cached 156gb of traffic" src="https://cdn-images-1.medium.com/max/1024/0*wBkroznQ-ov8H1-z.png" /></figure><p>If you want to take it one step further, you can cache static pages as well. Pages without contact forms or dynamic content are ideal candidates for this.</p><h3>Worldwide CDN</h3><p>Along with the asset caching, Cloudflare has a worldwide Content Delivery Network. With this, your cached asset gets replicated across servers in over 200 cities worldwide. When your user requests an asset, rather than serve it from your server which is in one location, Cloudflare will serve up the asset from the nearest server, meaning your website loads fast all over the world, not just near the country your server is in.</p><p>When we put Liquid Light behind Cloudflare our <em>worldwide</em> average total time for loading the homepage went from 1.121 seconds to 0.357 seconds. This was a combination of the CDN and the caching.</p><h3>Firewall &amp; DDOS Protection</h3><p>Along with the caching and CDN, Cloudflare helps protect your site against brute-force attacks and threats against your website. Cloudflare has the advantage of serving over 12 million websites and so can identify malicious bots and users more easily than any operating system firewall. If Cloudflare thinks you are suspicious, it can show a challenge which allows “normal” users to still access your site. These firewall and security measures are ever evolving and being developed, meaning every day your website is becoming more secure and protected.</p><h3>Security — we don’t get logins to your domains or Cloudflare</h3><p>On the topic of security, when using Cloudflare you can share your account with us without sharing your login details. More and more companies are heading in this direction recently and Cloudflare is no exception. You set up the account in your name with your email address and then you can allow us access to your account. This means you don’t have to share your password and can revoke access at any time.</p><h3>Nice DNS management</h3><p>This is a slightly nerdy one, but the DNS management within Cloudflare is excellent, and can be controlled via an API. DNS records are like driving directions for your browser. When you enter your domain name, the DNS records tell your browser where to go to get to their destination. This doesn’t normally affect day-to-day operation, but being able to update your records easily saves a lot of time should you need to change your server or add a verification record (usually Google Search Console requires this).</p><h3>Advanced features</h3><p>All of the features above come with the free (yes, free) Cloudflare account. If you decide to upgrade to Pro (or even Business), this unlocks a whole host of features including:</p><ul><li><strong>Image optimisation</strong> — serving images up in a next-gen image format if the user’s browser supports it (smaller, faster-loading images)</li><li><strong>Next-gen delivery</strong> — You can enable HTTP/2, which optimises the speed and order the webpage loads (more about this on the <a href="https://blog.cloudflare.com/better-http-2-prioritization-for-a-faster-web/">Cloudflare blog</a>)</li><li><strong>More page rules</strong> — Page rules allow you to cache, redirect or do a multitude of other things to pages and urls before the user even reaches your server. With the free account you get 3, as you upgrade you unlock more of these</li><li><strong>Better security</strong> — From the Pro package up, you get a more enhanced firewall</li></ul><p>As a side-note, if you look at their <a href="https://www.cloudflare.com/pricing/">pricing page,</a> you will also notice that at least Pro is recommended for “mission-critical” projects.</p><h3>Cloudflare workers</h3><p>Cloudflare workers are not directly part of the standard Cloudflare service per se, they are a separate offering, but by using Cloudflare for your DNS allows you to utilise them to their full potential. They allow you to run your own apps on the Cloudflare servers or modify intercept requests for a page or image to add functionality.</p><p>For one of our clients, we have used Cloudflare workers to prevent an extra request to their server. At the time of writing we have saved their server from having to deal with over 3.5 million requests in the last <em>week</em>.</p><figure><img alt="Screnshot showing Cloudflare workers server 3.5 million requests" src="https://cdn-images-1.medium.com/max/1024/0*_D2xAMW45H_rbj1z.png" /></figure><p>Cloudflare workers have a free tier or you can pay $5 a month for more than 100,000 requests in a day.</p><h3>How would you set up Cloudflare?</h3><p>If you’re interested in using Cloudflare for your website, the setup is fairly straightforward, with a bit of technical know-how. Before you’ll start, you will need to know who currently controls your domain name — as a change will need to be done when you are ready to switch over.</p><ol><li>To start with, head to <a href="https://www.cloudflare.com/">Cloudflare</a> and click “<strong>Sign Up</strong>”</li><li>Create an account</li><li>Next, enter your website’s address (e.g. <a href="http://www.liquidlight.co.uk/">www.liquidlight.co.uk</a>)</li><li>Choose a plan — you can change this later. If you are confident you wish to use Cloudflare then chose the <strong>Pro</strong> plan, otherwise choose <strong>Free</strong></li><li>Cloudflare will then scan your domain name for your current DNS records. If you have access to your existing domain DNS records, you can take this opportunity to ensure Cloudflare has detected all the existing records correctly. If not, don’t worry as we can confirm this before switching to Cloudflare</li><li>Once confirmed, you will be presented with two nameservers (e.g. dave.ns.cloudflare.com) — make a note of these for later. Nameservers are what tell your domain name (and anyone entering your domain name) where the server is</li><li>Click “<strong>Done, check nameservers</strong>” and “<strong>set up later</strong>” on that step and the following</li><li>If you wish for someone else to access your Cloudflare account to help configure it, you can click the person silhouette in the top right, and then “<strong>Account Home”</strong>. Click “<strong>Members</strong>” along the top and enter the email address of the person you wish to give access to</li><li>Once configuration is complete, whoever is in control of your domain can change the nameservers to the Cloudflare ones you made a note of in step 6. Before they do, get them to confirm the DNS records match those in Cloudflare.</li></ol><p>If you have any questions then get in touch as we can help you out.</p><p>So are you thinking of switching to Cloudflare? Have you heard of any other benefits or have any questions? Let us know</p><p><em>Originally published at </em><a href="https://www.liquidlight.co.uk/blog/why-should-you-consider-cloudflare-for-your-website/"><em>https://www.liquidlight.co.uk</em></a><em> on April 5, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7042f0a49c2a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/liquid-light/why-should-you-consider-cloudflare-for-your-website-7042f0a49c2a">Why should you consider Cloudflare for your website?</a> was originally published in <a href="https://medium.com/liquid-light">Liquid Light</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How do you deal with designers who design without any thought?]]></title>
            <link>https://medium.com/liquid-light/how-do-you-deal-with-designers-who-design-without-any-thought-c7924a6b4776?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7924a6b4776</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Tue, 10 Dec 2019 00:00:00 GMT</pubDate>
            <atom:updated>2019-12-10T09:41:40.400Z</atom:updated>
            <content:encoded><![CDATA[<p>I was listening to a recent podcast of <a href="https://syntax.fm/">Syntax</a>, when there was a “Potluck” question episode ( <a href="https://syntax.fm/show/194/potluck-gatsby-vs-next-is-google-home-spying-on-you-flat-file-cms-css-frameworks-hosting-client-sites-more">number 194 to be precise</a>) the other day and one of the questions (about 13 minutes 11 seconds in) really got me thinking:</p><blockquote><em>How do you deal with designers who design without any thought about how dev will implement it?</em></blockquote><p>This question really intrigued me and wobbled me off my privileged vantage point. The fact that people are in the unfortunate position of not being able to see eye-to-eye with their designer and, as developers, are having to ratify designs and components because the designer created a new pattern on a whim, or changed a stable component.</p><p>I can only speak from experience, and that experience is agency based. I’ve been in the (maybe un)fortunate position to have worked in agencies for the last 10 years, and work with the in-house designers. On the rare occasion where an external designer is used, I still have my keen-eyed colleagues to lean on, when clarification or simplification is required.</p><p>Don’t get me wrong, this process isn’t without its problems. The designers at Liquid Light can still be prone to inconsistent components or using many greys (I think I had one design which had 10 different shades of grey, like a terrible E. L. James spin-off), however our processes are built to help eradicate these inconsistencies and allow the developer to develop.</p><p>When I say “developer” or “development”, I generally mean front-end development. Taking a design and splitting it, crafting it, making it come alive in the web.</p><p><em>As a side-note</em>, a lot of people are able to “do” CSS, but it takes a lot of time and knowledge to “do it well.’’ All too often you see arguments on the internet about CSS being easy, and that it’s not real development. Let me put the record straight. <strong>CSS is hard</strong>, it takes a lot of time and practice to be <strong>good.</strong> CSS <em>definitely</em> adheres to <a href="https://saralouhicks.com/bushnells-law/">Bushnell’s Law</a>.</p><p>With that out the way, let’s get back to dealing with designers.</p><h3>Our Workflow</h3><p>As a very “simple” overview of our design to developer workflow, we used to have the following:</p><p>The issue here was that there would be elements, or components, which had not been considered (as they may not have appeared on the inner page designs). With each of these, the designer would have to design components on-the-go. With each new component needed, the designer opened the design files they would notice inconsistencies, or make better decisions about how things should look. This then ripples back to development and the spiral continues downward into ever evolving “improvements”.</p><p>Don’t get me wrong, requiring “ad-hoc” design is always going to happen no matter what your process is, but as long as you have a process, as long as you have (to use a buzz-word) a <em>design system,</em> then the knock-on effects should be minimal.</p><p>There was another issue which arose with this design-by-page process and that is inconsistency in the spacing, padding, fonts etc. No design, unless you have infinite time, is 100% perfect, however having pages of designs makes it hard to know which is the “source of truth” — which padding should we be taking as gospel.</p><p>With these issues identified, we added an extra step into our design process:</p><ol><li>Wireframes &amp; style tiles</li><li>Homepage and inner page designs</li><li><strong>Components page design</strong></li><li>Front-end development</li></ol><p>The components page was the designers responsibility to gather and design most of the potential components within the site. We have a good idea what most sites need — headings, featured paragraphs, buttons etc. For the developer, the components page then became the <strong>single source of truth</strong>.The components page is where the developer gets the font sizes, the padding, the colours. The inner page designs still exist, but are there to get a sense of how components work together and how they might be laid out on a page.</p><p>This means if a button was being created, the font size, padding, spacing etc. would be taken from the components page. It sped up development, as there were no more back-and-forth of “which one is right?”. It also sped up the design process, as the designers could spend their time perfecting the components page, without fear of having to go through each of the other pages and update them. With the introduction of Sketch into our workflow and their graceful handling of text styles and symbols, however, having inconsistent headings across pages seems a thing of the past.</p><p>Once the project has launched, the style guide becomes a section on the website and this then becomes the <strong>source of truth</strong>. Developers, designers and account managers alike can browse this part of the site and pick components for the new section of the site they are developing. They can also confirm if a component exists before requesting it from the development team.</p><p>Problem solved, right? We think Liquid Light has another trick up its sleeve to compliment the workflow and that is its people.</p><h3>Our Team</h3><p>When a new site is being created a Liquid Light, we don’t have predefined teams which the project gets assigned to. Instead, we build the team around the project itself. This means that we have different designers working with different developers, utilising everyone’s strengths.</p><p>This, I feel, is a major benefit with developers interacting with designers. Each person brings their own flair and expertise to the project, and getting an opportunity to mash those flairs together in infinite combinations is what makes our websites so special.</p><p>Designers get to feed off developers as to what was done on a previous project they might not have been involved in and likewise, developers get to see fresh designs if they’ve not worked with that particular creative in a while.</p><p>Most of our designers have had experience with small amounts of front-end development. They are by no means “coders”, but they understand the physics of the web and produce designs which may push the boundaries, but are always possible to create. This is a huge advantage as they appreciate the constraints of CSS. I could imagine, and have seen, the complications that arise when a pure print designer creates something for the web. There is talent and nuances involved in web design which aren’t always apparent.</p><p>With the potential of multiple designers and developers getting involved, having this single source of truth with the components page is paramount to the design staying cohesive through the whole project. This is especially important in the post-launch phase. As the components page gets translated to a living, breathing style guide within the site, it means everyone in the company sings from the same hymn sheet.</p><p>I think it is important for developers and designers to speak the same visual language. At the end of the day, you are all working towards one common goal — to make something awesome. If there is internal politics or friction between teams or colleagues, this is only going to create a sub-par product. It’s not a war, or a “who is better than who” contest, it is about creating something incredible that the client is proud to call theirs (and ultimately, something they are happy to pay for).</p><p>How do you ensure your team gels and designers understand developers needs?</p><p><em>Originally published at </em><a href="https://www.liquidlight.co.uk/blog/how-do-you-deal-with-designers-who-design-without-any-thought/"><em>https://www.liquidlight.co.uk</em></a><em> on December 10, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7924a6b4776" width="1" height="1" alt=""><hr><p><a href="https://medium.com/liquid-light/how-do-you-deal-with-designers-who-design-without-any-thought-c7924a6b4776">How do you deal with designers who design without any thought?</a> was originally published in <a href="https://medium.com/liquid-light">Liquid Light</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to become device agnostic and what it means for your data]]></title>
            <link>https://medium.com/liquid-light/how-to-become-device-agnostic-and-what-it-means-for-your-data-ce4e6661cd12?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce4e6661cd12</guid>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[the-cloud]]></category>
            <category><![CDATA[device-agnostic]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Tue, 29 Oct 2019 00:00:00 GMT</pubDate>
            <atom:updated>2019-10-29T08:57:12.202Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ajIJX5gmMDekTTKP_u4pjA.gif" /><figcaption>Keeping your data in the cloud could be beneficial — Illustration by Eunji Jeong</figcaption></figure><h4>/dɪˈvʌɪs aɡˈnɒstɪk/</h4><blockquote>Allow the user to view, edit and add to their data regardless of the technology used</blockquote><p>Last month my phone had to be sent off for repair. For a lot of people, sending off their mobile phone would bring on “the fear”. Worries about losing data and “what if I need that” start to settle in. “How do I back up my data?” becomes the new thought occupying your mind for days, until you eventually have to give in and send off your phone regardless. These feelings could also be found in someone who is getting a new phone, be it from the same vendor (Apple/Android) or switching to the “dark side” (not sure if that is going from Apple to Android or the other way round — it depends which group of fanboys you talk to).</p><p>With the modern age, everything has gone digital. No more do we need to trudge to a camera shop to get our films developed, long are the days we rushed home, dug out the AV cable and plugged our video camera into the TV (which was deeper than it was wide) to re-watch Darren falling off his bike while trying to jump over that kerb — and when was the last time anyone used an address book?</p><p>With all the information we need on our digital devices, we can now re-watch that video instantly or get a phone number using a few taps, so it’s no wonder that with the sudden loss of a device (and with it the loss of convenience) that panic and frustration can quickly take hold. The problem is that electronics can break — often we can recover the data on them, but sometimes it is gone for good.</p><p>With the above in mind, I was actually surprised to realise something while my phone was being repaired. As I was setting up the loan phone from my carrier, where I had expected anxiety, I instead noticed how calm I felt, which can be attributed to how device agnostic I had actually made myself over the last few years.</p><p>Being “ <strong>device agnostic</strong> “ refers to the ability to access your data, regardless of the method or device. The device should merely determine and enhance (or deteriorate) the user experience, rather than restrict the access to the data — this same methodology is applied to web development — why should mobile users get access to less content?!</p><p>So how does one achieve this perfect zen, this complete independence from any one gadget? I have the answer for you, it’s <strong>the cloud</strong>.</p><p>I feel like this is time for a slight warning — I am not saying this is a definitive guide, but it might help you on your path of agnosticism, also, don’t expect to do this in half an hour one evening. This is a lot of time investment with taking its path but it is well worth it — in my opinion.</p><p>With the emergence of “the cloud” over the last few years (spoiler: “the cloud” has always existed in some form or another, it is just a fancy name for the same thing), a whole host of SaaS ( <a href="https://en.wikipedia.org/wiki/Software_as_a_service">Software as a Service</a>) products have cropped up which break the traditional “buy it once for a lifetime” model and move to a subscription based service approach.</p><p>Many SaaS products provide a free tier for limited data storage or functionality — be wary of these as the ago-old adiom applies <strong>“If you’re not paying for the product, you are the product”.</strong> Generally this means that if there is no money exchanged, the company is likely to be selling your data and personal information for monetary gain — companies have to get revenue from somewhere. One thing to note is that you can never be 100% certain that just because you’re paying a company to store your data, it doesn’t mean they aren’t selling it for extra profit.</p><p>If you are comfortable with big conglomerates using your data, then there are some fantastic services you can take advantage of. If you don’t trust, or don’t want to use a big company with your data (think Google or Apple) you can splash a bit of cash and make a “cloud” of your own. A cloud is a server, which you can set up at home by either using an old computer or by purchasing a dedicated machine, like a Network Attached Storage (NAS) device which can store you data &amp; install your own apps.</p><p>The benefits of a NAS is, once set up, it is an always-on machine which you can access from anywhere in the world.</p><h3>Ecosystems</h3><p>Below I’ve listed out categories for problems you may be trying to solve. Under each category I’ve listed several services which help solve this problem. You may notice that several problems can be solved with one service or suite of services. Be wary about putting all your digital eggs in one SaaS basket, as you are relying on the service staying in business for you to be able to access your data.</p><p>Again, the topic of big conglomerates comes up. These may have the aforementioned potential selling-your-data-for-profit down-side, they do have the advantage of having millions of pounds turnover (probably from selling other people’s data) which means they are a lot less likely to go under which makes your data “more secure”.</p><p><strong>Please note: </strong>No matter which approach you go for, remember to read the terms and conditions (and some research into the potential-shadiness of your preferred company) before pressing the sign-up button.</p><h3>📷 Photos</h3><p>This is the one most people worry about when losing their device. All the photos, all the memories. Things that were once kept in a box in a cupboard or in the loft for you to while away an afternoon looking through. Instead, they are now on your phone, kept for the memories or sent to friends for the laughs.</p><p>How can you ensure that even if your device is lost, broken or stolen that you can still find your photos? There are several options. All of the services listed below have an auto backup option, meaning you won’t have to remember to keep uploading those precious memories.</p><ul><li>🆓 <a href="https://photos.google.com/">Google Photos</a> — The most popular option by far (based on our office). Google Photos allows for free, unlimited backups of your photos — just not at full resolution. It allows you to categorise, tag and (if you are in America) group by faces. The search is hugely powerful — you can search by keyword (e.g. Car will show you any picture where it thinks there is a car) or even by emoji 🚙. Google photos is available via the website, or apps on your devices</li><li>💵 <a href="https://www.amazon.co.uk/photos">Amazon Photos</a> — A similar service but from the international go-to online shop, it is included when you pay for Amazon Prime service.</li><li>💵 <a href="https://www.icloud.com/">iCloud</a> — Apple’s answer to Google’s offering. You can sync straight from your i-devices and is great if all your devices are of the Apple variety. This falls down, however, if you wish to use an android device to back up your photos</li><li>💵/🆓 <a href="https://www.dropbox.com/">Dropbox</a>, <a href="https://www.box.com/">Box</a>, <a href="https://onedrive.live.com/">OneDrive</a> — If you’re not keen on giving the “Big 3” your data, there are several, less photo focused, alternatives. Dropbox, Box and OneDrive all offer apps allowing you to sync your photos — but the files get bundled in with anything else you have stored there. You get some free storage initially but may wish to upgrade with paid-for storage should you have more than 5 photos.</li><li>🆓 <a href="https://www.plex.tv/en-gb/">Plex</a>, <a href="https://nextcloud.com/">Nextcloud</a>, <a href="https://owncloud.org/">Owncloud</a> — If you are wary about giving anyone your photos, you can set up your own cloud, with either Nextcloud or Owncloud. Both of these are a self hosted version of Dropbox/Box. The alternative is Plex, a self-hosted media server with photo backups. With either of these, you will need somewhere to host your data, be it a computer in your house or a NAS. You can also set them up on remote servers if you are that way inclined</li></ul><h3>🗂 Documents &amp; Files</h3><p>You’ve got your childhood photographic memories sorted, but what about all those word documents you have kicking about your computer?</p><ul><li>🆓 <a href="https://drive.google.com/">Google Drive</a> — Google’s offering on the “general document space” is a bit clunky with its navigation. However, it does have the huge added advantage of being able to make spreadsheets, documents and presentations without needing a single bit of software on your device (except connection to the internet)</li><li>💵/🆓 <a href="https://www.dropbox.com/">Dropbox</a>, <a href="https://www.box.com/">Box</a>, <a href="https://onedrive.live.com/">OneDrive</a>, <a href="https://nextcloud.com/">Nextcloud</a> — This is the category where these dedicated “cloud drives” really shine. Great interfaces and they make it easy to navigate and share documents and folders. You can even make your files publicly accessible if you wanted anyone to have your data. Nextcloud is the self hosted version of the others.</li></ul><h3>🎧 Music</h3><p>If, like me, you spent hours crafting your music library, ensuring each file was exactly where it should be, using something like <a href="https://picard.musicbrainz.org/">Picard</a> to add obscure meta-data such as the record label, then moving to the cloud (or even worse, dumping it for a streaming service) will be heart wrenching. Fear not, however, for most streaming services take as much care over their catalog as you ever did.</p><ul><li>💵/🆓 <a href="https://www.spotify.com/">Spotify</a> — Spotify is the big gun in the streaming service industry. Most people have heard of it and a lot of people subscribe. They do free plans with adverts or subscription plans for you or your family.</li><li>💵 <a href="https://www.amazon.co.uk/Amazon-Music/">Amazon Music</a> — much like Amazon Photos, Amazon music comes with your Prime subscription, so you need to pay for that to get access. It has a similar selection in music to Spotify</li><li>💵 <a href="https://tidal.com/">Tidal</a> — If you’re an audiophile and want a less popular service, then Tidal is for you. Rumour has it that artists get more of your money when signing up to the service.</li><li>💵 <a href="https://soundcloud.com/">Soundcloud</a> — Once a place for bands to upload their original material, Soundcloud has created a “Pro” paid-for version, so you can check out the likes of Taylor Swift or Rage Against Machine alongside that band you heard down the pub the other day.</li><li>🆓 <a href="https://www.plex.tv/music/">Plex</a> — Plex is the free, self-hosted alternative which uses the music library you own. All your organising and categorising would pay off with Plex as it scans your files for the meta information. Plex can run on any machine, but for 24/7 access it is best to run it on a server or NAS. You can then enable cloud access meaning you can listen to your tunes anywhere.</li></ul><h3>🏃‍♂️ Activity Tracking</h3><p>For those fitness freaks, it’s great to make sure we track every last mile exercised. Be it going nowhere on a treadmill or hitting the hills on a bike, it’s good to know how far, for how long and how hard. Smart phones have these kind of apps built in — be it Apple Health or Google Fit, it’s tempting to use the built-in apps. The trouble is, as with most built-in software, it is hard to get your data out and almost-impossible to migrate it to a different service.</p><p>With that in mind, it’s best to use a third-party service which can be used on all your devices. There are a whole host of apps out there, such as MyFitnessPal and RunKeeper, but below are my personal favourites:</p><ul><li>💵/🆓 <a href="https://www.strava.com/">Strava</a> — the go-to activity tracking app for cyclists and runners. The features it has are numerous. The free version is great, but if you want more analysis you can pay for “Summit”</li><li>🆓 <a href="https://www.fitbit.com/">Fitbit</a> / <a href="https://www.garmin.com/">Garmin</a> — Both Fitbit and Garmin offer free data analysis when you purchase one of their devices, so there is some 💵 involved. Both services sync the data up to the cloud, which means you can access your information from the web and any device you are signed into. They also both sync with Strava — for collating your “activities” — such as a run or bike ride</li></ul><h3>🔐 Passwords</h3><p>Using the same password for everything is <a href="https://askleo.com/cant-just-use-one-password-everywhere/">not very good</a>, however, remembering lots of different passwords is hard. Asking your browser to remember your passwords is one solution, however, if your browser disappears (as it is attached to your phone) you will, potentially, lose all your passwords. Using a cloud-based password manager means you sign in and your passwords are there. Most password managers have the ability to lock out or deauthorise a device should the worst happen.</p><ul><li>💵 <a href="https://1password.com/">1Password</a> -When you say “Password Manager” to any one in the infosec world, 1Password will most likely be the one they suggest. Secure, lovely interface and user experience and, in my opinion, the best of the bunch. They have recently moved to a monthly fee, which is a shame, but worth it.</li><li>💵/🆓 <a href="https://www.lastpass.com/">LastPass</a> — 1Password’s main competitor — not as slick as 1Pasword but they do offer a free tier</li><li>🆓 <a href="https://lockwise.firefox.com/">Firefox Lockwise</a> — Recent launch from the browser manufacturer, this has a mobile app and works in Firefox if that is your jam</li></ul><h3>🤔 Final thoughts</h3><p>As you can see, for each problem there are often several solutions. Except for time in setting it up, I see no major benefit in using the phone company’s built in software. Sure it is easier to begin with, but if you ever plan to change your hardware, that is where SasS solutions really come into their own.</p><p>I’m sure there are apple fans-boys unable to sleep after reading this post, protesting that iCloud does everything, which is true. However, as Apple slowly increase the price of their hardware and decrease the quality of service, more and more people are moving away from their ecosystem and suddenly struggling to extract their data (this last sentence may be based solely on 2 friends of mine).</p><p>Manufacturer solutions are <strong>not</strong> the only way. Explore your options, find what works best and enjoy having access to your data.</p><p>Anything you disagree with? Anything you would like to add to the list? Let me know in the comments below.</p><p><em>Originally published at </em><a href="https://www.liquidlight.co.uk/blog/how-to-become-device-agnostic-and-what-it-means-for-your-data/"><em>https://www.liquidlight.co.uk</em></a><em> on October 29, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce4e6661cd12" width="1" height="1" alt=""><hr><p><a href="https://medium.com/liquid-light/how-to-become-device-agnostic-and-what-it-means-for-your-data-ce4e6661cd12">How to become device agnostic and what it means for your data</a> was originally published in <a href="https://medium.com/liquid-light">Liquid Light</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The technical challenges in building a data portal]]></title>
            <link>https://medium.com/liquid-light/the-technical-challenges-in-building-a-data-portal-a7cb8f30da55?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7cb8f30da55</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[dataviz]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Fri, 12 Apr 2019 00:00:00 GMT</pubDate>
            <atom:updated>2019-10-25T11:16:52.735Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h4InIntfRuSeNoBg.jpg" /></figure><h4>We recently designed and built a data portal which collects disaggregated data from multiple sources from 40 countries for Leonard Cheshire and The Department for International Development.This data is presented on the portal in a series of visualisations across 16 development indicators, grouped into the four themes of inclusive education, economic empowerment, technology/innovation and stigma/discrimination.</h4><h4>The portal presented us with a few technical challenges which we thought we would share.</h4><h3>Data import &amp; storage</h3><p>Leonard Cheshire needed to be able to update data easily and by themselves on a regular basis. The nature of the data was also very hierarchical so from a data perspective and included 3 levels of information::</p><ul><li>Country — which includes multiple indicators</li><li>Indicator — which includes multiple disaggregates</li><li>Disaggregate</li></ul><p>We used a CSV format which included one CSV for each of the above levels to make it easy to update only the data needed. As the data is imported on upload, these hierarchical relationships are re-created and then cached in the website to make page requests to view the data as efficient as possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Pghel7Kk_sNOcn8G.jpg" /></figure><h3>Data wrangling &amp; empty values</h3><p>An interesting issue appeared regarding ‘missing data’ — how should missing numerical data be represented on the website? Initially, these cases were shown as ‘0’. Yet we realised this was not a good representation of the information — as ‘0’ could be interpreted as ‘we gathered the data and it was zero’ as opposed to ‘we did not gather the data, no data was available’. Given one of the key purposes of the site was to highlight gaps in the availability of disability data — this was a particularly a key distinction to make clear on the website. Thus these empty values were represented as ‘N/A’. helping to highlight key areas &amp; countries with missing data.</p><p>In the front end of the site, N/A was translated as ‘No Data’ and this message was placed directly on the charts where there would have been a percentage value (and corresponding coloured bar)</p><h3>Dynamic Data Display</h3><p>In web development (especially when using a CMS) it is very common to use HTML templates to render content, with content hierarchies and structures reflected in the template. As an analogy, the template is like a mould, a pre-existing structure where different aspects of the data ‘flow’ into different and specific areas within it.</p><p>For this dataset there was a high degree of variability in the data available between countries. Out of the four indicator themes, countries could have all four themes represented or just the one theme. Similarly, a particular indicator for one country might have many disaggregates, and for another country, none at all. To address these and other variations, the final templates ended up being minimal, so with a particular data/page view its structure was almost entirely determined by the data itself, rather than a template.</p><h3>The display layer — what visitors see</h3><p>The data disability portal is very graph heavy, with some pages showing 10, or more, bar charts. When developing this site, our main priorities were accessibility and performance.</p><p>When developing graphs for websites, the first instinct is to reach for a JavaScript library to display the data and, in some cases, we have done this. However, the main bar charts are created entirely using CSS, with the JavaScript charts only being loaded when and where required.</p><p>Avoiding the use of a JavaScript library for the majority of charts instantly makes the data more accessible. The figures and graph headings are embedded in the HTML, making it easier for screen readers and other assistive technologies to access the data. This also has a speed and performance benefit, as the browser is aware of what it needs to create as it loads the page — it doesn’t need to revisit or redraw any elements once everything has been displayed.</p><p>There are some graphs which are unable to be recreated using CSS alone and radar charts are a perfect example of this. When necessary, we have used Highcharts JavaScript charting library to display data, who offer a free licence for non-profits. We have used radar charts to enhance the site and allow the user to consume the data in a different format. Those browsing the website without JavaScript enabled would not be missing out on accessing the data — we use radar charts as an alternative to the bar charts.</p><p>Another example of using native HTML and CSS is the world map on the homepage. This, again, could have been created dynamically using a library. However, we chose to embed the map as an SVG in the HTML. This carries not only the accessibility benefits but allows the map code to be cached and compressed. The map metadata (the colours and statistics in the popup) are all dynamically built using the lists below. This creates a central source of truth — when the lists update the map updates along with it.</p><p>Because of the dynamic nature of the map and the slightly more complex interactions, we decided to hide it for both users without JavaScript enabled and those on a smaller screen. Once again, however, the user is not missing out on accessing any information as the lists are still present.</p><p>While developing the data portal, ensuring the data and content were accessible was at the forefront of our minds. The website features a “skip to main content” link (which is accessible with the keyboard) which will jump the user down to the main content, along with a “back to top” link in the footer. We also regularly ran the website through audit tools such as Google’s Lighthouse tool to ensure we were adhering to the rules set out by them.</p><h3>In summary</h3><p>The biggest challenge to this project (apart from a challenging timeline) was creating a robust site which much complexity, while still providing the client with a way of self-serving — being able to add their own data, having it validated for errors and published without our involvement.</p><p>By using a CSV format, the site editors can easily add new countries or indicators by simply adding to a spreadsheet and uploading this sheet to the Content Management System. The downside of this is that errors in the spreadsheet will be published on the site. We tackled this by adding in lots of validation and error checking during the data processing stage. Indicator text formatting and checking the relationship between the various spreadsheets made sure that if errors were in the sheets, the new information would not be published. An email would be sent to the editors outlining exactly what has failed.</p><p><a href="https://www.disabilitydataportal.com/"><strong>View the finished project here</strong></a></p><p><em>Originally published at </em><a href="https://www.liquidlight.co.uk/blog/the-technical-challenges-in-building-a-data-portal/"><em>https://www.liquidlight.co.uk</em></a><em> on April 12, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7cb8f30da55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/liquid-light/the-technical-challenges-in-building-a-data-portal-a7cb8f30da55">The technical challenges in building a data portal</a> was originally published in <a href="https://medium.com/liquid-light">Liquid Light</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I kicked a millennial habit]]></title>
            <link>https://mikestreety.medium.com/how-i-kicked-a-millennial-habit-ceb7a78b398b?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/ceb7a78b398b</guid>
            <category><![CDATA[addiction]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[millennials]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[habits]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Thu, 22 Jun 2017 18:26:44 GMT</pubDate>
            <atom:updated>2017-06-25T16:34:30.036Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Hello, my name is Mike Street and I’m addicted to my phone.</em></blockquote><p>It’s not often you change a habit and it’s certainly not every day you claim a YouTube video changed your life, but last week I altered what was the norm for me. Now, I appreciate how “millennial” and “first world problem” this truly sounds, and I apologise for that, but I finally stopped being <strong>addicted to my phone</strong>.</p><p>I’m not one for watching that many TED talks or presentations (although that’s another habit I seem to have picked up of late), but from some reason I was drawn to a video — an extract from an American show titled “Inside Quest”. This one in particular featured Simon Sinek who was answering the “Millennials in the Workplace” question and how people are addicted to phones and social media. The video can be found at the end of this post.</p><p>During the 15 minute video, he explained phone addiction in a new way. I’ve only ever heard it in a condescending, middle-aged, “why won’t these blasted kids get off their phones?”, lecturing kind of way. I’ve known for ages I’ve had an addiction but have never had any motivation to end it — why would I when I get so much “pleasure” from my phone.</p><p>He also explained how he “kicked” the habit. He tells how he has gone about taking away the incentive to look at your phone — passing on to the person you’ve gone out to dinner with or even leaving it at home. He also pointed out how rude and distracting it was, for the person you’re talking to to be looking at their phone and not you.</p><p>I tried to end this addiction once before and have already been through all the notification settings for various apps, turning off the ones that were not important. I also tried uninstalling apps such as Facebook, but my fingers just found the web browser and logged in. Now Chrome <em>is</em> my Facebook app and I was still looking at my phone just as much.</p><p>The points in the video Simon raised resonated with me, and I started looking at how I used my phone and how I could change my habits to stop being so reliant on the device. How I could stop being so immediate with notifications and how I can stop pulling my phone out at every opportunity. My outlook now is that if it is important, people will ring me.</p><p>It’s not just this video that made me decide to do this. I’ve just got back from a camping trip and it was so nice to just sit, let your mind wander. Doing this made me not so scared to be bored and device-less.</p><p>My first step was my Fitbit. I own a <a href="https://www.fitbit.com/uk/blaze">Blaze</a> which one of it’s selling points for me were all the notifications you could receive. These had to stop, as the moment my gadget buzzed I would lose track of the conversation to read my watch. I turned off all notifications except phone calls (as per the point above).</p><p>My phone also stays on silent all the time so I can get to notifications when I want to address them, not when my phone demands.</p><p>The next point to address was my constant “dual screening” in the evenings. I would sit and “watch” TV, while scanning Facebook, Twitter etc. These would distract me enough from the TV for me to lose track of the story line, but not engross me enough for me not to need a second source of entertainment. When sitting down to watch TV now, my phone goes on the table or in the kitchen — out of reach, away from temptation.</p><p>When I got into work and sat down at my desk, my first action was not to check my emails but to pull out my phone and rest it in front of me. During the day I would then instantly pick up my device whenever it’s little screen lit up — getting that hit of dopamine Simon mentions, answering to it’s every beck and call. This now doesn’t happen and the phone stays firmly in my pocket until i’m ready to look at it.</p><p>These are all just small steps but already, a week later I’m noticing a difference. I do find myself slipping up every now and then, but I’m getting better (I think). I’ve also mentioned it to my wife and have noticed a difference in her “presence”.</p><p>To some people, this blog post may seem like a “poor me” or “well done you” attention seeking post and in a small way it is but I post it in the hope it makes someone else aware and helps someone else break that “habit”.</p><p>Let me know how you get on!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FhER0Qp6QJNU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DhER0Qp6QJNU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FhER0Qp6QJNU%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4009303810580fb129372e12c32200fd/href">https://medium.com/media/4009303810580fb129372e12c32200fd/href</a></iframe><p><em>Originally published at </em><a href="https://www.mikestreety.co.uk/blog/how-i-kicked-a-millennial-habit"><em>www.mikestreety.co.uk</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ceb7a78b398b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use a Raspberry Pi with multiple WiFi networks]]></title>
            <link>https://mikestreety.medium.com/use-a-raspberry-pi-with-multiple-wifi-networks-2eda2d39fdd6?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/2eda2d39fdd6</guid>
            <category><![CDATA[wifi]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Mon, 30 Jan 2017 10:34:44 GMT</pubDate>
            <atom:updated>2017-01-30T10:35:08.348Z</atom:updated>
            <content:encoded><![CDATA[<p>I have recently been carrying my Raspberry Pi back and forth between my home and my local hack space — <a href="http://www.buildbrighton.com/">BuildBrighton</a>.</p><p>Both places have WiFi and with a Raspberry Pi A+ missing an ethernet port, you need to ensure you can access the Pio to do any sort of development (and I can’t always guarantee a HDMI compatible display will be available).</p><p>It’s fairly easy and isn’t restricted to just two — you can add as many WiFi networks as you wish. All you need to know is the SSID and password.</p><p>With access to the Pi, edit the following file with sudo access:</p><pre>$ sudo nano /etc/network/interfaces</pre><p>It should look something like this:</p><pre>auto lo<br>iface lo inet loopback<br>auto eth0<br>allow-hotplug eth0<br>iface eth0 inet dhcp<br>auto wlan0<br>allow-hotplug wlan0<br>iface wlan0 inet manual<br>wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf<br>iface location1 inet dhcp<br>iface location2 inet dhcp</pre><p>If your internet is working, there is no need to tweak too much. The most important lines are</p><pre>wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf<br>iface location1 inet dhcp<br>iface location2 inet dhcp</pre><p>If your WiFi credentials are in the this file, save them somewhere and delete them, replacing with the above.</p><p>For every location, add the iface line with a unique identifier in the example above i&#39;ve used location1 and location2. This can be anything (keep it lowercase and one word for consistency).</p><p>Now edit the wpa_supplicant.conf file - make sure you have your WiFi details to hand for this bit!</p><p>Edit the file:</p><pre>$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf</pre><p>It should already have the first couple of lines, but then after add a network array for each location</p><pre>ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev<br>update_config=1<br>network={<br>    ssid=&quot;WIFI SSID&quot;<br>    psk=&quot;WIFI PASSWORD&quot;<br>    id_str=&quot;location1&quot;<br>}<br>network={<br>    ssid=&quot;WIFI SSID&quot;<br>    psk=&quot;WIFI PASSWORD&quot;<br>    id_str=&quot;location2&quot;<br>}</pre><p>Replace the WIFI PASSWORD and WIFI PASSWORD with the correct credentials (leaving the &quot; in place).</p><p>The id_str needs to match <em>exactly</em> the keyword you used in the interfaces file.</p><p>Save the file and reboot the Pi. You should now be connected to your current network and when you head to your second location, it should connect there as well.</p><p><em>Originally published at </em><a href="https://www.mikestreety.co.uk/blog/use-a-raspberry-pi-with-multiple-wifi-networks"><em>www.mikestreety.co.uk</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2eda2d39fdd6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Find and remove vendor prefixes in your CSS using Regex]]></title>
            <link>https://mikestreety.medium.com/find-and-remove-vendor-prefixes-in-your-css-using-regex-de41ba4731bb?source=rss-e22160fc1c37------2</link>
            <guid isPermaLink="false">https://medium.com/p/de41ba4731bb</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Mike Street]]></dc:creator>
            <pubDate>Mon, 21 Nov 2016 09:56:34 GMT</pubDate>
            <atom:updated>2016-11-24T09:30:15.510Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently set out to remove all of the vendor prefixes from the CSS for all of our clients at work. This is because we use Gulp with Autoprefixer — which means we have up-to-date prefixes and cleaner SCSS.</p><p>One way of doing this would be to open every CSS file, search for -moz, then search for -webkit etc. Some of the CSS I was searching through is well over 5 years old and is rife with vendor prefixes.</p><h3>Regex to the rescue! <a href="https://www.mikestreety.co.uk/blog/find-and-remove-vendor-prefixes-in-your-css-using-regex#regex-to-the-rescue">#</a></h3><pre>\-(moz|o|webkit|ms|khtml)\-(?!font-smoothing|osx|print|backface).+?;</pre><p>This is the regular expression I came up with. Using Atom’s built in “Find in Project” tool, with the regex button checked, I was quickly able to find and eliminate the prefixes.</p><p>There are some instances that might not be catered for with this — use it at your own risk!</p><h3>Regex breakdown <a href="https://www.mikestreety.co.uk/blog/find-and-remove-vendor-prefixes-in-your-css-using-regex#regex-breakdown">#</a></h3><p>For those interested, I’ve broken down the expression below:</p><ul><li>\- This is a literal dash (so far matching: -)</li><li>(moz|o|webkit|ms|khtml) The pipe and brackets act as an <em>or</em> statement (so far matching: -moz OR -o OR -webkit OR -ms OR -khtml)</li><li>\- Another literal dash - (so far matching: Everything before, but with an extra dash e.g. -moz-)</li><li>(?!font-smoothing|osx|print) Similar to the <em>or</em> statement before, the <a href="https://en.wikipedia.org/wiki/Interrobang">interrobang</a> means <strong>not</strong>. (so far matching: Everything beggining with the previous <em>or</em> statements, unless they are followed by font-smoothing OR osx OR print OR backfire. This means stamens such as -webkit-font-smoothing: antialiased; and -moz-osx-font-smoothing: grayscale; are <strong>ignored)</strong></li><li>.+? This selects <em>anything</em> following the previously selected selected, until the final ; (at the end of the regex) - this means the <em>whole</em> line is selected.</li></ul><p><a href="https://regex101.com/r/bSeudW/1">See the Regex in action!</a></p><h3>Deleting the lines <a href="https://www.mikestreety.co.uk/blog/find-and-remove-vendor-prefixes-in-your-css-using-regex#deleting-the-lines">#</a></h3><p>For those interested in how I quickly deleted the lines, I installed the <a href="https://atom.io/packages/delete-lines">delete-lines</a> plugin and passed the same regex into the field when I had the file open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2_gL9r0clbwBXNS1.png" /></figure><p><em>Originally published at </em><a href="https://www.mikestreety.co.uk/"><em>www.mikestreety.co.uk</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de41ba4731bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>