I use the Google Drive as my shared drive across my different devices. A Macbook, a Chromebook and a Linux desktop. Whilst it is easy to set up on a Mac, Chrome and PC … on Linux it is not. There is no official Linux Google Drive app that will enable a sync to the Linux drive, so we need to set it up.

There are different ways of doing it and a number of tools. These notes use the command line tool rclone. …


My Chromebook is perfectly good coding machine, but we should make it easier for Chromebook users to get started in programming.

Today’s Chromebook users are tomorrow’s professional coders

Image for post
Image for post
2019 Chromebook Google market share

In early 2020, Google was reporting over 40 million users in education, using Chromebooks. This is already a significant segment using these systems.

But Chromebooks seem to be off the radar for coding and data science. It would be a great shame for us all if some young people with tech talent don’t get started on programming or data science because it’s a little too hard on a Chromebook. …


The Python “unsync” library is a very easy way to create async code. This gives a practical example of how to use on a simple trading bot.

There are many ways to skin the async cat

In Python there are many valid ways of parallelising your code, including:

  • The older way — using the threading and multiprocessing libraries
  • The newer way — using async and await from the asyncio library embedded into core Python from 3.7 onwards
  • The easier way (I think)— using the @unsync decorator from the Python unsync library
Image for post
Image for post

What is so great about ‘unsync’?

I’ve used all the above methods on different projects and they all work fine. …


Steps for configuring VSCode to play nicely with both ESLint and Prettier for Quasar / Vue.js

The issue

Prettier formats the JS code in a nice opinionated way. However this is not fully aligned with ESLint and therefore the build fails due to ESLint errors.

There are a number of good tutorials on this for example here, but these do not work out of the box and need some tweaks for Quasar / Vue.js

Four steps

1. Install VS Code plugins

  • Vetur
  • Prettier
  • ESLint

… and any other useful plugin. These could include (Bracket Pair Colorizer, Sass, Vue VSCode Snippets)

Enable format on save in VSCode in this project or globally in the Settings JSON…


How to install Node.js /NPM, Quasar / Vue.js and VS Code on Chrome OS

This is a short succinct guide, to set up a Chromebook for front-end development after a powerwash. It takes about 5 minutes.

Image for post
Image for post

Quasar is a powerful front-end framework for building PWA (progressive web app) applications with a Material Design look and feel, on top of the Vue.JS framework. Quasar is particularly powerful when it comes to deploying those apps as webapps, Electron apps, iOS and Android apps.

What this guide will set up

This guide focuses on what needs to be in place for Quasar front-end development. It will:

  • Install Node.js and NPM for package…

How to get up and running with Python 3.8 on your Chromebook in under 10 minutes.

Step 1— Install Python 3.8 prerequisites

From the Linux terminal app on the Chromebook:

sudo apt-get updatesudo apt-get install build-essentialsudo apt-get install libreadline-gplv2-dev libncursesw5-dev \
libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
sudo apt-get install libffi-dev liblzma-dev

Step 2— Download and extract Python 3.8 source

Note — If you want to use a later version just replace the version number (3.8.1) in all the next steps with the latest version number

cd /usr/srcsudo wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgzsudo tar xzf Python-3.8.1.tgz

Step 3— Compile and install Python 3.8

cd Python-3.8.1sudo ./configure --enable-optimizationssudo make altinstall

Notes — The altinstall option leaves the original Python untouched. …


Image for post
Image for post
Photo by Brett Jordan on Unsplash

Today’s new was that Arron Banks’ account was hacked, exposing many private Twitter messages. It is reported that this was a SIM Swap attack.

What is a SIM Swap and how can it be avoided?

The SIM Swap attack

Someone gains access to your account without needing your password. How does it work?

  1. A hacker only needs to know your username (usually email address) and your mobile phone number. This is very easy as both of these are almost certainly freely available on the web or dark web. …

Can I set up a Chromebook for software development? What do I need to install? And is it actually any good for development?

I have been playing with a Chromebook recently. I like how they are small and low power. They are also useful for taking on the road. I have been exploring how well a Chromebook works as the main development machine on the go.

This post covers the installation of the main tools to get the Chromebook ready for development.

2020 update — new scripts

There are now some scripts available you can use (at your own risk) that automate many of the steps involved in this post. …


Harry on Greek ferry
Harry on Greek ferry
Harry’s Greek quest on public transport

This is a description of the trip that Harry (our German Pinscher) and myself took from London to the west coast of Greece and back.

Hopefully it will inspire some people to take this option rather than driving.

Why take public transport?

  • Same amount of time as driving — 3 days / 3 nights
  • Slightly cheaper than driving
  • Some time to relax and work on the way
  • A day in Paris and a day in Venice for sightseeing on the way

Routing and timing

Route from London to Paxos via Paris and Venice
Route from London to Paxos via Paris and Venice

Our trip would take us from London to the island of Paxos (near Corfu) on the west coast of Greece.

Our route was via the Channel tunnel, then Paris, then on to Venice, and then a long ferry down the Adriatic to Igoumenitsa on the north west coast of Greece. …


In this post we show how to set up a simple Telegram channel for your trading bot. Telegram is a great way to communicate with your bot when you are on the move. It is also a good way to share the bot’s activity with selected collaborators.

Image for post
Image for post

Why Telegram?

Telegram is a cross-platform messaging service with encryption and has a good API. It enables you to set up a channel for your bot that you can use to talk to it, or it can post update messages for you.

Image for post
Image for post

What can the bot do?

Our bot should enable users to interact with the trading bot, to find out the status and manage the bot. …

About

Matt Gosden

Insurance meets tech meets music. #insurtech

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store