• News,  Studying

    Good bye 2020 and good riddance

    It’s safe to say we all had a 2020 to forget and unfortunately 2021 did not start out so well for me either. But hey, it’s a new year and new plans. Yes I finally decided to pivot my career to focus on Information Security thus I will still be posting about my programming here as well as my Information Security journey and anything I find interesting around these fields. I just finished an edX module in C programming. I’m still focusing on Python and plan to write the PCEP exam in a few weeks time if I have the budget. Today I started reviewing the PCEP course ware in…

  • #100DaysOfCode,  Uncategorized

    Day 1 of #100DaysOfCode

    Today I started with the #100DaysOfCode challenge. The reason for starting the challenge is to force myself to code everyday and getting into the habit of coding. The 1st project I started is to access my CCTV RTSP stream from Linux, using a Python program, since the system only supports Windows and an Android App that feeds the video to a cloud service which I am not fond of. It took some time to figure out the correct RTSP URI format but I managed to get it working and using the RTSP library from PyPi I am now able to view a stream. You can find my GitHub repo here.…

  • Python

    Convert a PyQt ui file to a Python file on Linux

    Part of my Python programming module at Unisa is based on creating GUI applications using the Qt framework, PyQt5 to be more precise. Unfortunately the study guide is based on Windows and not everything works the same way on Linux. The problem I had was not converting the .ui file as saved from Qt Designer to the .py file but with opening and running the application. The first conversion I did was straight from the guide as per below: