Big ol’ overview of Promises in ES2015 (AKA, ES6).
ES6 Promises in Depth
November 9th, 2015React-Bootstrap
November 9th, 2015Porting Bootstrap to ReactJS components.
Blinky Eyes project mentioned on Hackaday!
November 4th, 2015My Halloween Blinky Eyes project got mentioned on Hackaday in a Halloween project roundup post. Cool!
Cool Tools – The Best Factual Podcasts
October 21st, 2015A semi-curated list of excellent podcasts. I need to add some of these into my rotation!
How both TCP and Ethernet checksums fail (evanjones.ca)
October 20th, 2015Normally, we can count on our networking hardware to “just work”. But sometimes…
Halloween Blinky Eyes Project
October 12th, 2015I’ve managed to complete an electronic Halloween project in time for Halloween. It’s simply called Halloween Blinky Eyes.
I wanted to use LEDs to make glowing “eyes”, which would peer out from the shadows around our house, as if creatures were lurking, watching the trick-or-treaters who approached. But actually wiring up and soldering a bunch LEDs, let alone making them fade in and out and blink, was going to be time consuming, and I don’t really have a dedicated workspace for that right now.
But, being a programmer, I am accustomed to thinking of shortcuts which might take a lot of up-front effort in order to save time in the long run. In this case, I thought of using addressable LED strips, and programming a microcontroller to animate pairs of “eyes” along the strip. This saves me 99% of the wiring effort, and pretty much turns my laptop into my workbench for most of the work.
The first thing I did was to use my Browser LEDStrip simulator to write a JavaScript version of my blinking eyes animation. Once I had that working as I envisioned, I started converting that code to C++, so that I could compile it for my Particle Core or Photon microcontroller boards. Since it’s been many years since I last wrote C code, and I’ve never really written C++ code, this took a little trial-and-error and a lot of Googling. But eventually, I got the code running on a Core, looking pretty much exactly like I had originally imagined.
algebra.js by nicolewhite
September 10th, 2015A JavaScript library for manipulating and solving algebraic expressions. Handles fractions (including reducing), linear equations, quadratic and cubic equations, solves for one or more variables. Amazing.
Glen Maddern: Internet Pro — CSS Modules
September 8th, 2015CSS Modules allows you to define styles which are scoped to a component, rather than globally. This gives better encapsulation and portability, and fewer side-effects.
React by Nick Raienko | ZEEF
August 25th, 2015List of resources for ReactJS
What the Flux?! Let’s Redux. | &yet Blog
August 17th, 2015Redux is a state management pattern for React (or any view layer, really), which uses a single-store pattern, and lightweight object immutability for fast view updates.