• PCA Plots with Loadings in Python

    thumbnail for PCA Plots with Loadings in Python

    Like the previous Code Nugget, this bit of code will add some often needed features to PCA plots done with Python. Here the loadings and variance explained will be added to the plot, this is something that is included by default in R’s biplot(), but in Python there is more...


  • Correlation Heatmaps with Significance in Python

    thumbnail for Correlation Heatmaps with Significance in Python

    While Pandas and Seaborn offer very quick ways to calculate correlations and show them in a heatmap. Whether those correlations are statistically significant or not is omitted from those plots. Over the years I’ve collected bits and pieces of code, like this, that turn out to be quite useful. Though...


  • Building a Bluetooth Speaker Part 2

    thumbnail for Building a Bluetooth Speaker Part 2

    Finished my Kyber Crystal Crate Bluetooth speaker as shown in The Smuggler’s Room. The electronics inside were discussed in part 1. The shell is printed in PETG which had some issues with the details as the retraction settings were not dialed in 100% yet, so the prints required a fair...


  • GameBoy Zero Builds

    thumbnail for GameBoy Zero Builds

    About a year ago I build a GameBoy Zero (a Raspberry Pi Zero in a gameboy shell) and this weekend I finished a second one. You can see some picture of the first one (black case) and the new one (transparant, blue shell) below. While I thought about doing a...


  • Gwent: How Many Pro Players Are Out There ?

    thumbnail for Gwent: How Many Pro Players Are Out There ?

    I noticed that some people ended up on my blog by searching Google for “gwent how many players in pro rank”. They would have been disappointed as there is no answer to that question yet, let’s see if we can change that! In this post using data science and web...


  • Building a Bluetooth Speaker Part 1

    thumbnail for Building a Bluetooth Speaker Part 1

    Since seeing a Bluetooth Speaker build by The Smuggler’s Room I have been planning to do one my self, here I’ll discuss the electronics. Putting everything in a 3D printed case and painting it will be for the next. My build will be a little different from theirs, so I’ll...


  • Setting up a Google Cloud Function

    thumbnail for Setting up a Google Cloud Function

    With Google’s Cloud Functions you can make simple microservices that can perform a task on Google’s infrastructure. This allows some functionality of an app to be moved to the cloud. This can be useful in a number of cases; for instance the Dashboard from a previous post. When running scripts...

Categories