Geek's Code Corner

Programming

Recent Posts

  • Correlation Heatmaps with Significance in Python
  • My Frustrating Experience with Ghost’s Blog Editor
  • Hardening SSH
  • Bayesian analysis of sales data, using PyMC3
  • Putting Benford’s Law to the Test

Archives

  • December 2023
  • November 2023
  • September 2023
  • July 2023
  • June 2023
  • April 2023
  • March 2023
  • January 2023
  • December 2022
  • September 2022
  • August 2022
  • July 2022
  • February 2022
  • January 2022
  • December 2021
  • October 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • February 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020
  • January 2020
  • December 2019
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • March 2018
  • December 2017
  • November 2017
  • August 2017
  • May 2017
  • April 2017

Categories

  • Diy
  • Games
  • General
  • IoT
  • Programming
Diy Programming

How to Upgrade Your Nintendo 3DS with USB-C Charging

Are you tired of fumbling with your Nintendo 3DS charging cable? Do you wish you could use a modern, reversible USB Type-C connector instead? With a few common tools and a little know-how, you can add a USB Type-C port to your Nintendo 3DS charging cradle in no time! In Read more…

By Luke Anderson, 2 yearsDecember 5, 2022 ago
Diy Programming

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 Read more…

By Luke Anderson, 3 yearsSeptember 22, 2022 ago
Diy Programming

An Agent Based Model to look at Gwent Pro Ladder (results)

With the Agent Based Model (ABM) from the previous post we can simulate any number of Gwent players, with known skill and play rate, playing throughout a season. Using this model we’ll try to get a firmer grasp on the ladder system and test whether this rewards skill or grinding Read more…

By Luke Anderson, 3 yearsSeptember 20, 2022 ago
Diy Programming

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 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 Read more…

By Luke Anderson, 3 yearsAugust 21, 2022 ago
Diy Programming

Gwent: Pro Ladder Analysis and National Rankings

Data for on players in Pro Ladder is released on playgwent.com, but it is limited. You get the rank, the score, the country of origin and the number of matches played. Using some fairly basic data analysis tricks there must be more we can do with these data! Using python Read more…

By Luke Anderson, 3 yearsAugust 2, 2022 ago
Programming

Tiny MIDI controller with Raspberry Pi Pico

With a MIDI library available for the Raspberry Pi Pico making a little MIDI “piano” is relatively easy. The MacroPad which I build last month is the perfect little device to play around with this. If you are interested in how to connect buttons and LEDs to a Pi Pico, Read more…

By Luke Anderson, 3 yearsJuly 24, 2022 ago
Programming

Minimalist Art Using a Genetic Algorithm

While the genetic algorithm in the previous post worked very well, it didn’t quite produce the style of minimalist artwork I was trying to achieve. Furthermore, it didn’t allow the chromosomes to evolve using duplication and deletion of existing genes (which is very common in biology). So after mulling over Read more…

By Luke Anderson, 3 yearsFebruary 28, 2022 ago
Programming

Static Site Generators: Jekyll vs Pelican vs Gatsby

There are many static site generators out there! Which one to pick is far from trivial. In this post three generators used in some of my projects are being compared, helping you pick the right one for your next project! On JamStack there is a long list of generators to Read more…

By Luke Anderson, 3 yearsJanuary 5, 2022 ago
Programming

DeckLock part 3: How about a game of Gwent?

Gwent support in DeckLock has been on my ToDo list for some time as it currently is my favorite game. The artwork is stunning, it is well balanced and rewards skill. Though it being a digital-only card game makes it somewhat different from KeyForge and Magic: the Gathering. As the Read more…

By Luke Anderson, 3 yearsDecember 18, 2021 ago
Programming

A Python powered MacroPad/StreamDeck

I decided to put left-over parts from my mechanical keyboard and a Raspberry Pi Pico to good use and build a MacroPad. This is a small keypad, where each switch can be programmed with a certain button or combination of buttons to quickly execute often needed shortcuts. Streamers often have Read more…

By Luke Anderson, 3 yearsDecember 6, 2021 ago

Posts pagination

Previous 1 2 3 … 6 Next