I was making an update to a small Vue.JS side project when I encountered a build error: ERROR Failed to compile with 1 errors 6:00:20 AM This relative module was not found: * ./components/ProficiencyBar.vue in ...
Programming Languages
Counting Pixels by Color in Python with Pillow (a PIL fork)
I'm a maker and love creating 8-bit art, mostly with wood. I have a new project in the works where I need an exact count of each pixel per a color. I started to manually count them before I stopped myself and thought, why don't I just write a script to automate this!? ...
JavaScript’s Null Coalescing Operator | Today I Learned
Scroll below for an important language update to this blog post. I was fixing a bug in a portion of code when I came across a getter structured very similar to the lines below: At first glance, I was confused thinking why would you return a Boolean here? Shouldn’t this be a ternary ...
Tinkering Around with Adafruit’s PyBadge LC
I recently purchased an Adafruit PyBadge LC. and I've had a lot fun tinkering around with it. There are three boards in this family of boards from Adafruit: PyBadge LC (the one I have)PyBadgePyGamer The PyBadge LC is the cheapest of the bunch, hence the LC for low cost. For more details on the ...
I made a Sphere-O-Bot (An EggBot Mod)
As Easter approaches, I thought building a Sphere-O-Bot (EggBot) would be a fun a STEM related project for the season. I 3D printed the parts for the Sphere-O-Bot, a variant of the original EggBot by Evil Mad Science, and purchased the hardware kit from JJ Robots (UPDATE: it seems the company no ...
Avoid using mutable values as default parameter values in Python (Today I Learned)
Today I learned something interesting about the way Python functions behave with default parameter values: avoid using mutable objects such as lists as default values for function parameters. What's the problem? Default parameter values are evaluated when function is evaluated. Which means ...
Getting started with Phaser and ES2015
If you are seeking an easy way to get started on a new Phaser game the ES2015 way, then this guide is for you. In this guide we will first use jspm to quickly set up a new project with a module loader and an ES2015 transpiler. We will then pull the latest Phaser package from the jspm registry and ...
How to watermark images with Python and Pillow (PIL)
I am a DIY blogger, and the most tedious part of the job is editing the images. I am constantly repeating the following steps: Resize the imageAdd a text watermarkCompress the image I wanted to automate the process. There are good solutions out there for automating image manipulation, but it ...
Surviving the Hackathon: Angular Attack 2016
Last weekend, Michael and I participated in Angular Attack. Angular Attack is a 48-hour online hackathon featuring Angular. Participants were allowed to design their web app in the weeks leading up to the competition with the one restriction: no digital assets could be created ahead of time. A ...
Surviving the Hackathon: Ludum Dare 35
Last weekend, Michael and I participated in Ludum Dare 35! Ludum Dare is a themed game jam that occurs 3 times a year. We had 72 hours to create a game with the theme of "shapeshift." The theme for Ludum Dare 35 is Shapeshift. #LDJAMpic.twitter.com/R6uT8yKxTP — Ludum Dare (@ludumdare) April ...









