a tumblelog
Tue 28 Apr 2020

Tmux for mere mortals

Tmux has liberated me from tiling window mangers. Not that I didn’t like those, but I occasionally have to work with macOS or default GNOME setups. And over the years I realised that I only need a terminal multiplexor to do terminal tiling for me, the rest of the windows are just fine to be full-screen in separate workspaces.

Source: Tmux for mere mortals, an article by Serge Zaitsev.

Ground Up Python Deployments

Deploying a simple web application can be a daunting task if you have never painstakingly done it by hand. There are numerous configuration files, package installations, and concepts involved in getting your brand new app up and running. Deploying your application traverses many different layers of the stack and requires at least basic knowledge of each to successfully deploy to the public internet. Over the last 4 years I have found many tutorials and copy-paste guides which do a great job at getting your app running on a publicly accessible server, but fail at teaching you how each of the technologies relate with one another along the way. This article is the first of many I will be writing as an attempt to organize my own notes as well as set groundwork for a technology presentation I am planning for a local technology conferences.

Source: Ground Up Python Deployments, an article by Michael Jonaitis.

The Optional `else` in Python’s `try` Statement

This post discusses the else clause in Python’s try statement. Although this particular use of else may not be as forgotten and controversial as its use in Python loops, a gentle reminder of how it works and when it’s useful may still be beneficial. Please note that this post only focuses on the else clause of the try statement and does not intend to cover the entire try statement. For a pretty good initial explanation of how the entire try statement works, refer to the official Python documentation on this topic.

Source: The Optional `else` in Python’s `try` Statement, an article by Shahriar Tajbakhsh.