Generators provide lazy evaluation for processing large datasets efficiently. However, once a generator is exhausted through iteration, it cannot be reused or reset. Let's cover this common gotcha that trips up developers new to this Python feature.
Read essay →Uncaught exceptions will crash an application. If you don't know how to log these, it can be difficult to troubleshoot such a crash. Let's walk through this gotcha and see how to fix it.
Read essay →GitLab 18 removes git_data_dirs and if you have been using it and didn't notice the deprecation warnings, an update to GitLab 18 will fail. This is a simple fix.
Read essay →To a new developer is can look like an equality check in Python, especially in poorly written tutorials. I'll an overview of what is is and how you should use it in only limited circumstances.
Read essay →The Microsoft Authenticator application allows you to transfer tokens to a new device if you have a personal Microsoft account. How do you do it if you don't have a personal account? This is a quick walk through of what worked for me.
Read essay →Windows protects EFI partitions from being deleted. This article is a quick walkthrough on how to format a USB drive with an EFI partition within Windows.
Read essay →Wiring a lot of LEDs requires more power than the small WLED controller can handle, but leaving a large power supply running even when the lights are off is inefficient. This post talks about the progress on the project and how I wired in a relay to keep everything running efficiently.
Read essay →The Ericsity WLED controller comes with WLED 0.13.3 preinstalled and only offers the ability to update to 0.13.4. This walks through setting up the controller for the first time and moving to 0.14.1 while maintaining the sound reactive features the controller advertises.
Read essay →The Python strip, lstrip, and rstrip functions can have unexpected behavior. Even though this is documented, non-default values passed to these functions can lead to unexpected results and how Python 3.9 solved this with two new functions.
Read essay →A short article on installing the Mobile Security Framework on Windows utilizing Docker and then using it to quickly analyze an APK.
Read essay →