Define Functions Iteratively With Python

Posted by Jack McKew on Fri 01 January 2021 in Python • Tagged with python, software-development • 4 min read

An interesting problem came up recently, there was a piece of code absolutely full of the same function calls over and over again, meaning if anything ever need to change, that would have to be changed in over 500 places, not ideal. Thoughts go back to single responsbility, and don't …


Continue reading

Property Based Testing in Python

Posted by Jack McKew on Fri 16 October 2020 in Python • Tagged with python, software-development • 4 min read

Building software can be challenging, but maintaining it after that initial build can be even moreso. Being able to test the software such that it verifies the software behaves as expected is crucial in building robust software applications that users depend upon, being able to automate this testing is even …


Continue reading

Getting Started in Python

Posted by Jack McKew on Thu 20 February 2020 in Python • Tagged with python • 4 min read

Resources & tips for getting started in Python

Glossary

One of the most useful skills in my opinion in all walks of life is the ability to find information & answers. A very useful tool for doing this is the internet & search engines like Google. In my opinion being able to search …


Continue reading

Automatically Generate Documentation with Sphinx

Posted by Jack McKew on Mon 03 February 2020 in Python • Tagged with python • 5 min read

Document code automatically through docstrings with Sphinx

This post goes into how to generate documentation for your python projects automatically with Sphinx!

First off we have to install sphinx into our virtual environment. Pending on your flavour, we can do any of the following

1
2
3
pip install sphinx …

Continue reading

Migrating from Wordpress to Pelican

Posted by Jack McKew on Fri 20 December 2019 in Software Development • Tagged with python • 5 min read

For some time now I have been wanting to move away from Wordpress, due to my specific case of wanting to embed custom HTML and JavaScript code snippets to enable interactive data visualisation. Furthermore my previous workflow of posts was disjointed in which I would develop the code in a …


Continue reading

Making Executables Installable with Inno Setup

Posted by Jack McKew on Fri 08 November 2019 in Software Development • Tagged with python • 1 min read

Following on from last week's post on making executable GUIs with Gooey, this post will cover how to make the executables we have packaged up into installable files so our users can run them easily.

Once we have created the executable file for our GUI (which will be located in …


Continue reading

What is MongoDB?

Posted by Jack McKew on Fri 03 May 2019 in Software Development • Tagged with database, mongodb • 3 min read

Recently after looking for a different flavour of database apart from MySQL (which is what I am personally use to), I had always heard about MongoDB. So after some investigation, I found that MongoDB has a platform MongoDB University to familiarize yourself with their product.

I completed their very first …


Continue reading

Episode 12 - What is Git?

Posted by Jack McKew on Fri 08 February 2019 in Software Development • Tagged with software, git • 2 min read

One of the biggest issues when working on any project regardless of what industry, discipline or context, as soon as a new 'version' of design or update comes along, the issue of version control appears. When this change(s) come along in the life cycle of a project, it is …


Continue reading

Episode 6 - Containerization

Posted by Jack McKew on Fri 28 December 2018 in Software Development • 2 min read

Recently I was researching into ways to more efficiently and effectively distribute software and I stumbled across containerization of applications. Containerization of application is when an application is run on an OS-level virtualization without spinning up an entire virtual machine for the application.

Previously the way I had been distributing …


Continue reading