
4DCu.be
a blog about programming, gaming, technology, ...
-
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...
-
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...
-
An Agent Based Model to look at Gwent Pro Ladder (code)
With the data that can be pulled from Gwent Masters assessing whether playing more will result in a higher ranking is difficult. So answering whether it is skill vs grinding games that will help you further, is challenging from the data alone. However, with agent based models, where we can...
-
Steganography using PIL and NumPy
Steganography is the practice of hiding information in other images, audio, text, … You can add hidden messages to pictures, hide a file within another file, … Here we’ll try to hide some information inside an image. Images are essentially two dimensional lists of pixels, which in turn consist of...
-
Five reasons for 3D printing
Want a professional finish for a project? That usually means you have to get a great looking and functional enclosure for it… 3D printing can be the solution here. Or you need a weird, oddly specific bracket to hold something in place? Again, you could turn to 3D printing for...
-
Kindle + Python = e-Ink Dashboard (part 2)
In the last post a Kindle Paperwhite 3 was jailbroken, Python 3.8 installed and all boilerplate code was added to have a way to start our script and launch it from KUAL. Now we can actually dive into the actual Python code that will turn the device in a proper...
-
Kindle + Python = e-Ink Dashboard (part 1)
Kindles have amazing e-Ink displays, if we can manage to install Python on one, we could turn an old kindle into a low-power dashboard! An old Kindle is also considerably cheaper than a new e-Ink display module that can be hooked up to a Raspberry Pi. So it makes a...