Nicholas Payne

Nicholas Payne

Just some guy

EDA I work with data a lot, but the nature of my job isn't to dive super deep into a small amount of datasets, I'm often jumping between several projects every day and need to just get a super quick glance at some tables to get a high level view. Wh ... read more →

I like to keep my workspace clean and one thing that I don't personally love looking at is the __pycache__ directory that pops up after running some code. The *.pyc files that show up there are python bytecode and they are cached to make subsequent ... read more →

Mike Driscoll has been posting some awesome posts about psutil lately. I'm interested in making my own system monitoring dashboard now using this library. I don't expect it to compete with Netdata or Glances but it'll just be for fun to see how Pyth ... read more →

Mu

If you work with a template for several projects then you might sometimes need to do the same action across all repos. A good example of this is updating a package in requirements.txt in every project, or refactoring a common module. If you have sev ... read more →

VPN Virtual Private Networks are a big deal, and this shouldn't be considered anything even close to a guide on using them. Here are just my notes and some setup for how I use wireguard at home. Wireguard Wireguard is an awesome peer-to-peer VPN tun ... read more →

Git Hopefully if you write code you are using git, if not go learn the basics of commit, pull, push, and pull request/merge request like... right now. Assuming you are at least familiar with git then you probably work the same way I have since I've ... read more →

ABCMeta I don't do a lot of OOP currently, but I have been on a few heavy OOP projects and this ABCMeta and abstractmethod from abc would've been super nice to know about! If you are creating a library with classes that you expect your users to exte ... read more →

Being lazy I almost exclusively use Python for my job and have been eye-balls deep in it for almost 5 years but I really lack in-depth knowledge of builtins. I recently learned of an awesome builtin called calendar that has way more than I know abo ... read more →

I am personally trying to use logger instead of print in all of my code, however I learned from [@Python-Hub] that you can align printouts using print with f-strings!. This little python script shows how options in the f-string can format the printo ... read more →

I have often wanted to dive into memory usage for pandas DataFrames when it comes to cloud deployment. If I have a python process running on a server at home I can use glances or a number of other tools to diagnose a memory issue... However at work ... read more →