Python and Data Security (Hashing Algorithms)

Posted by Jack McKew on Fri 21 June 2019 in Python • Tagged with python, security • 5 min read

Data security is becoming more and more prevalent in today's society than ever before. We must make a conscious effort to secure both our physical lives, but also our digital lives as well. With data privacy, sharing of information and access control becoming integrated into most people's life in some …


Continue reading

Hands On Machine Learning Chapter 1

Posted by Jack McKew on Fri 14 June 2019 in Machine Learning • Tagged with machinelearning • 6 min read

I've recently been making my way through the book "Hands-On Machine Learning with Scikit-Learn and Tensorflow", and thought I will put a summary of the chapter as a post, along with my personal answers to each of the chapter's exercises. The book in particular is published by O'Reilly and can …


Continue reading

Parallel Processing in Python

Posted by Jack McKew on Fri 07 June 2019 in Python • Tagged with python • 3 min read

Parallel processing is a mode of operation where the task is executed simultaneously in multiple processors in the same computer. The purpose of this is intended to reduce the overall processing time, however, there is often overhead between communicating processes. For small tasks, the overhead is detrimental to the length …


Continue reading

Distributing Python Code

Posted by Jack McKew on Fri 31 May 2019 in Python • Tagged with pyinstaller, python • 2 min read

This post will cover a way of distributing Python code such that is can be used by someone that does not have Python installed. One of the major drawbacks with Python that the gap is slowly being closed is how easy it is to distribute Python code.

At a minimum …


Continue reading

Python Decorators Explained

Posted by Jack McKew on Fri 24 May 2019 in Python • Tagged with python • 3 min read

Python decorators are one of the most difficult concepts in Python to grasp, and subsequently a lot of beginners struggle. However they help to shorten code and make it more 'Pythonic'. This post is going to go through some basic examples where decorators can shorten your code.

Firstly you have …


Continue reading

Explained: Voltage Drop

Posted by Jack McKew on Fri 10 May 2019 in Engineering • Tagged with electrical • 2 min read

Voltage drop is a electrical phenomenon in that wires carrying current always have resistance, or impedance to the current flow. Voltage drop is defined as the amount of loss that occurs through part of or all of a circuit due to resistance/impedance.

The most well known analogy for explaining …


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

Efficient Frontier for Balancing Portfolios

Posted by Jack McKew on Fri 26 April 2019 in Python • Tagged with python, data, analysis • 5 min read

Following last 2 weeks’ posts (Python for the Finance Industry & Portfolio Balancing with Historical Stock Data), we now know how to extract historical records on stock information from the ASX through an API, present it in a graph using matplotlib, and how to balance a portfolio using randomly generated portfolios …


Continue reading

Portfolio Balancing with Historical Stock Data

Posted by Jack McKew on Fri 19 April 2019 in Python • Tagged with finance, python • 4 min read

Following last weeks' post (Python for the Finance Industry). This post is to demonstrate a method of determining an optimized portfolio based on historical stock price data.

First of all while attempting to tackle this problem, I stumbled across many very informative articles in which based on what I learned …


Continue reading

Python for the Finance Industry

Posted by Jack McKew on Fri 12 April 2019 in Python • Tagged with python, finance • 3 min read

This is the first post in a series of posts dedicated for demonstrating how Python can be applied in the finance industry. Personally, the first thing that comes to mind when I think of the finance industry is the stock market. For fellow Australians, our main stock exchange is the …


Continue reading