This is part of a series discussing everything required to get an all-encompassing grasp of the Python programming language in as short a time as possible. Whether you are a beginner or an expert, I intend for you to learn something new.

PIP is a powerful tool that everyone should know how to use. But everyone has also at some point been in the position where Python’s PIP has given them trouble and they have been lost as to how to proceed. I have picked up a number of methods of troubleshooting PIP that have been very successful for me.

How to use PIP


What’s happening with the smartphone industry?

It is well known that smartphone innovation has stagnated in recent years. As we have pushed for smaller bezels, no ports and under-screen cameras, there has been less space for drastic change. There have, of course, been the few companies, namely LG and Sony, who have tried new form factors and technologies but they are obviously less popular with the general consumer. This means that the more generically built devices from Samsung and Apple are going to have more influence because they do better. LG has recently shut down its smartphone sector because all of the new things they were…


Birds flocking like boids
Birds flocking like boids

This is the first part in a series that will be exploring various coding challenges for beginners and experts alike. These articles will be going in-depth about the concepts of various projects while keeping everything simple and logical enough to understand. I will not be including any real code, so as to allow you to create this project in whichever language or framework you prefer.

What is a boid?

The word boid comes from a program developed by Craig Reynolds to simulate the flocking behaviour of birds. This behaviour is also very similar to that of fish and other flocking animals. While, the behaviour…


This is part of a series discussing everything required to get an all-encompassing grasp of the Python programming language in as short a time as possible. Whether you are a beginner or an expert, I intend for you to learn something new.

When writing python code, you may want to make your code shorter. This could be due to character restraints or to make the code look cleaner. These tricks will be specifically useful for coding challenges like Clash of Code where you win by having fewer characters.

Swapping Variables

A line that will get a lot of mileage is one…


This will be a simple guide on installing Marlin on almost any 3D printer in about 3 steps.

Downloading Marlin

The first step is to get the Marlin firmware files downloaded from GitHub. There are two options for this. The first and more commonly used is the firmware releases. The second is the bugfix branch. The difference is that the latter contains fixes to bugs that may exist in the current release of Marlin. It is up to you to choose as you wish, however if one does not work, it is highly likely that the other will do the trick.

You…


This is the first part in a series that will be going over all types of programmatical algorithms. These articles will be going in-depth about various common algorithms while keeping everything simple and logical enough to understand.

Bubble sort is one of the first and easiest sorting algorithms anyone should learn. It has a worst case time complexity of O(n 2), which occurs if the dataset is reverse sorted, and a best case complexity of O(n) when the array is already sorted. This makes it a relatively slow algorithm, however for smaller datasets on modern computers, it is perfectly adequate.

Example + Explanation


IP stands for Internet Protocol, which is a set of rules for the format of data that devices transfer over the internet. An IP address, which is a unique address assigned to every device, that uses this protocol on a network and helps to identify those devices from one another. This address, much like a house address, tells other devices where to send data or where is received from.

There are currently two standards for an IP address. The older version was IPv4 which allowed for 4 billion unique addresses and used numerical values in the address. As the internet…


This article will be going over how to automate WhatsApp Web or any other webpage programmatically using a Python module named selenium. This may be limited by some pages that use Captchas specifically to prevent the use of bots, however selenium is perfectly fine for experiments.

This article is heavily inspired by a recent project I completed: WhatsappPlusPlus, wherein I automated WhatsApp Web to create a floating window to text my friends, much like the Facebook chat heads, but far more primitive. …


This is the first part in a series that will be covering in-depth descriptions of various electronic components that are commonly used by hobbyists. These articles should help you use these components in any circuit and result in a high level of confidence when experimenting with electronics. Everything will be kept simple and definitions will be provided where it is deemed necessary.

Relays are, as simply as possible, a form of electronic switch. This means that you can have one circuit control whether or not another circuit is on. On Amazon you can currently get about 5 relays for £6.99


Almost any technological problem nowadays can be solved via creative programming, however it is sometimes difficult to see how this is the case. Some problems are inherently simple, such as getting user input and outputting information, however larger applications (e.g. social media apps) require a bit more thought. In this article, I will be outlining the common methods used to convert a complex idea into a working application. These methods are also often taught as part of the school curriculum, and you may be familiar with them if you have ever taken Computer Science or a similar subject.

Abstraction

Abstraction is…

KDavidson

A developer and electronics enthusiast wanting to share his experiences

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