The Magic of Upgrading Pip Packages

Tell me if this rings a bell: You run something from pip and get told that your pip version needs an upgrade. You run pip install --upgrade pip and then think about how many other packages might need an upgrade… So, you run pip list --outdated and it returns a tonne of packages. You then spend a stupidly long amount of time trying to figure out why there’s no auto-upgrade option for pip which eventually results in you upgrading each package manually, cursing every time. ...

May 17, 2018 · 1 min · Josh J

WebHooks & Python & Discord! Oh My!

So I had a need earlier on today. The need for simple end-user notifications. This need has some backstory, however… The plex container that I run on Docker is basically bulletproof. It does everything super quickly and is easy to restart for updates or to clear out some disk I/O issue with my NAS. The NAS is the only thing that’s really causing it issues because it’s a 5 year old Drobo which is in serious need of an upgrade! So if the Drobo locks up and kills all of the I/O to it, the containers need a reboot. Oddly enough, the Drobo itself doesn’t need a reboot (or even to be remounted) but that’s an investigation for another day. Here, we come to my need: to alert users when the container was ‘down for maintenance.’ ...

April 23, 2018 · 3 min · Josh J