• Better code for the MacroPad

    thumbnail for Better code for the MacroPad

    A while ago I’ve made a MacroPad and I recently improved the code! In this post I’ll briefly show some advanced code to create a MacroPad class which allows custom functions to be added to key presses using a decorator. The original code as well as instructions how to build...


  • The KeyForge hiatus: impact on deck registrations

    thumbnail for The KeyForge hiatus: impact on deck registrations

    Is has been a few months since FFG announced KeyForge would be paused, or in their words going on hiatus. Though as decks are still being registered we can get a glimpse of the effect of this announcement on the game. In a previous post, a model was made that...


  • Where are my Magic: the Gathering cards ?

    thumbnail for Where are my Magic: the Gathering cards ?

    Since a few months I’ve been selling some Magic: the Gathering cards on CardMarket. Last week I realized I could extract the address from buyers from eml files (exported emails) with orders. From those the (approximate*) location using Google’s Geocoding API can be found and plotted using Altair. This gives...


  • Plotting post hoc tests with Python

    thumbnail for Plotting post hoc tests with Python

    When three or more groups of samples are compared (e.g. Using ANOVA/Tukey HSD or Kruskal-Wallis/Dunn), you’ll often see results shown as a boxplot, with lines highlighting which groups are significantly different. In Python there is no single package to do this quickly, though by combining scikit-posthocs with statannotations similar plots...


  • Better Raspberry Pi Pico MIDI controller

    thumbnail for Better Raspberry Pi Pico MIDI controller

    To expand the number of notes/chords my RP2040 based MIDI controller can play we’ll turn two keys into modifiers. This way the other 7 buttons can actually each be assigned 4 different notes/chords (a default, pressed with modifier one, pressed with modifier two and pressed with both modifiers active). So...


  • Faster Mixture Models in PyMC3

    thumbnail for Faster Mixture Models in PyMC3

    In a previous post about clustering the palmer penguins using PyMC3, the mixture model was implemented in the model itself. Though this is great for understanding what is going on, it isn’t very efficient when sampling the model. Furthermore, observations (here penguins) were assigned to groups (here the species of...


  • Lights, Camera, GitHub, Actions: My Favorite GitHub Actions

    thumbnail for Lights, Camera, GitHub, Actions: My Favorite GitHub Actions

    GitHub Actions allow you to automate some workflows directly on GitHub when code is pushed, at regular intervals or triggered manually. While it takes a bit of setup, the advantages are well worth the time required to get acquainted with this advanced feature of GitHub. In this post I’ll outline...

Categories


Posts from ...