8 Promising Python Static Site Generators

A static site generator creates static HTML and markdown files to serve as a website. They’re commonly used to host blogs but not exclusively. I recently researched my options to roll a static site in Python. I’m assessing a few of them as a potential future self-hosted blogging solution for this WordPress blog. Or maybe […]

Aggregating A Python Error Summary from Log Files

Follow these steps to maintain more reliable scripts and catch more of your traceback errors: automate your scripts to run daily, weekly, monthly, etc. Log all your traceback errors with the logging module. I like dumping all of my logs into a single folder. automate aggregating the logs and parsing tracebacks start a feedback loop […]

So You Want to Learn Python?

Here are a few Python concepts for beginners to explore if you are starting out with the language. In this post, I’ll highlight my favorite “must-learn” tools to master that come with your Python installation. Understanding them will make you a more capable Python programmer and problem solver. 1. Built-in Functions. They are awesome! You […]

Pick Stocks Intelligently with ffn

How do you calculate stock valuation metrics like Sharpe ratio? Recently I’ve been reading about common stock valuation metrics and wondered how I can apply them to my stock portfolio. I started reading about different metrics, sketching formulas and entertained writing a script to calculate these metrics. But Python has no shortage of finance-related libraries. […]

Benefits of Go and Threads in Distributed Systems

Preface These are my YouTube lecture notes from MIT’s Distributed Systems course. Thank you MIT and Professor Morris! MIT 6.824 Distributed Systems Lecture 2: RPC and Threads – Feb 7, 2020 Prof. Robert Morris (Spring 2020) Introduction Go is a popular programming language choice so my ears perked up when this lecture began. These notes […]