-
Continue reading →: Pareto Principle aka 80/20 Rule (DevOps)
I am attempting to improve my coding skills with some optimisation and came across the Pareto Principle, also known as the 80/20 rule. Although not just a coding / DevOps rule, as it’s background is in economy, the Pareto Principle fits code efficiency very well (or efficiently). So what is…
-
Continue reading →: Semantic Versioning (DevOps)
You may have noticed that programs, apps and libraries for your favourite code may use a numbering system that is not just sequential whole numbers. For example, a look at a Python requirements.txt file shows the Python libraries in use and the version. This is called semantic versioning. What Does…
-
Continue reading →: What Is Technical Debt? (DevOps)
Just as financial systems have financial systems have financial debt, technical systems have technical debt. Technical debt is a shortcut taken to help quickly launch a feature or meet an urgent deadline. When the shortcut is used, it is generally with the intention of revisiting the work later on to…
-
Continue reading →: Adding Badges To Read Me File (GitHub)
Ever wanted to add one of those badges that say “passing”, or even “failing” to your GitHub repositories README file? I recently created a project and had GitHub Actions run tests on the project so I could get an automatic notification if any changes broke my project. One option I…
-
Continue reading →: Generating / Reading QR Codes via Python (Python)A blog post looking at using Python to create or read QR Codes.
-
Continue reading →: Azure Load Testing (Azure)
In this blog post I am going to look Azure Load Testing, using it to test how much my web application can take before it breaks. I am currently hosting my Flask (Python) web application within Microsoft Azure. Orignally I tried to go with the cheapest compute option I could…
-
Continue reading →: An Asset WebApp (Flask / Python)
The Software Engineering & Agile module of my degree apprenticeship is coming to a close. With that in mind I think I can now share the coding I’ve done for the assignment especially as I needed to store it in a public repository (it’s on my GitHub at https://github.com/geektechdude/qa-se-webapp )…
-
Continue reading →: Running Flask As A Linux Service (Linux / Python)
Continuing on with the Software Engineering & Agile module of my degree, I need to be able to show my Flask web application running. After picking a cloud platform (in this case Azure) I git cloned my repository to the Linux Ubuntu instance that will be running it and realised…
-
Continue reading →: Using GitHub Actions To Add Continuous Integration (CI) To A Project (GitHub / Python)In this blog post I will be discussing Continuous Integration (CI) with GitHub Actions. Readers of previous blog entries may remember that I’ve tackled Continuous Integration (CI) with GitLab previously (see: https://geektechstuff.com/2021/04/05/python-unit-test-and-some-ci-via-gitlab-python/ ) and that last autumn (2021) I got into more testing (see: https://geektechstuff.com/2021/10/06/personal-update-django-and-mvc-mtv/ ). Thankfully both have helped as the current module…
-
Continue reading →: AttributeError: ‘FlaskClientTestCase’ object has no attribute ‘app_context’ – Unit Testing (Python)
Less of blog post and more of a reminder to myself. When using Flask and Unit Testing with Python, if either of the below errors occur (or something similar): Then it may be because the setUp function of the test class has not set up correctly. Spent some time going…


