In the latest Python Weekly issue 607, there was a well written article by James Turk called You Don’t Need __all__ (waybackmachine backup link) which seemed to miss an important point I wanted to discuss. With no way to comment on his blog, I decided might...
Continue reading...Tutorial
Posts designed as a walk through tutorial of how to achieve desired behavior.
Dynamic HLS Encryption for Video Streaming
The (internet) age old battle between content creators and pirates is an ever escalating arms race. It doesn’t seem to matter how much DRM and encryption creators put on their content, the next day there will be a dozen illegal torrents available. There is no way...
Continue reading...Cartoon or Photo? – Image detection with Python
This all started with me just wanting a fast way to sort through image folders and remove cartoon images. That lead me down a spiraling rabbit hole of possibility. From using OpenCV to do different types of detection, or even training a Machine Learning model from...
Continue reading...pre-commit – Check yourself before you wreck yourself
pre-commit checks are like prenups. They run before you commit, get the dirty stuff out of the way, and may even save your relationship(s) in the long run. The difference is that pre-commit checks are written by programmers and not lawyers, so they are a lot...
Continue reading...Upload large files fast with Dropzone.js
I have previously covered how to upload large files with dropzone.js, but it didn’t allow for parallel chunk uploads. In this article we will go over that new addition, as well as several other improvements. Download the final executable or view github to see all the...
Continue reading...