A Walk Through Linux The Directory Structure

The Linux directory structure can sometimes seem confusing, or complex, especially if coming from a Windows, Mac, or even a desktop Linux background where the details of such directories have either not been a concern, or abstracted away from us by the operating system. This is a quick guide to…

Performance Profiling in Python

Ever been in the position of needing to troubleshoot poorly performing Python code, or out of curiosity wanted to see what is taking the longest to execute? This is where you would want to go down the path of profiling your Python code, there are several tools available to do…

Python Lambda Functions - What The?

Like many a new, or seasoned Python developer I often find myself scratching my head at lambda functions whenever I encounter one, simply because of never taking the short amount of time to understand them. After finally getting fed up with them being nothing more than a source of confusion…

Anatomy of Structs in Go

After starting to dive into learning Go over the last six months, being one of the fundamental building blocks of a Go application I found myself using structs a lot. This spurred me to take a deep dive into exactly what a struct is, how they are represented in memory,…

HTTP - A 10,000 Foot Overview

Many people may have heard of HTTP, even worked with it, without having a fundamental understanding of what it is and how it works. HTTP is a client-server protocol that facilitates the transfer of resources between clients and server over networks. The communication is initiated by the client (typically a…

Type Hints in Python - Why Bother?

For very short, or one-off scripts to do some task then it is likely not worth the added effort involved with adding type hints. For anything else beyond a trivial script, it is more than worth the effort.…

Intro to the Python Walrus Operator

The release of Python 3.8 brings with it a new language feature called Assignment Expressions. This new feature exposes the functionality to assign a variable within a Python expression, evaluate the result, then re-use the variable within it’s scope.…