Professional Development · Technology

Getting Your Head Around JavaScript Closures

One concept that is considered “advanced” in JavaScript is closures. MDN defines closures as: A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you access to an outer function’s scope from an inner function. In JavaScript, closures are created every time… Continue reading Getting Your Head Around JavaScript Closures

Professional Development · Technology

MERN Authorization with Passport.js

Any web application of significant complexity is going to require user-level security. In this post, I walk through how to create authorization for users in a MERN (MongoDB, Express, React, and Node) stack web application. Full code is available here: This post assumes knowledge of React and node.js and just shows how to incorporate… Continue reading MERN Authorization with Passport.js


Controlling Raspberry Pi IO over Bluetooth

Continuing from the previous post Setting Up Raspberry Pi as a Bluetooth Low Energy Peripheral, today I’m going to talk about controlling the Raspberry Pi’s general purpose inputs/outputs (GPIO) once a Bluetooth connection has been established. You may want to revisit the previous post and make sure your RPi is broadcasting before continuing here. From the… Continue reading Controlling Raspberry Pi IO over Bluetooth

Professional Development · Technology

Controlling a 12V Solenoid with a Raspberry Pi

It seems like my side projects are getting more and more challenging, and this was one of the most challenging yet. It seemed simple enough: drive a solenoid with the GPIO of the Raspberry Pi – something that could be useful in a myriad of internet-of-things applications – and a natural progression from previous projects:… Continue reading Controlling a 12V Solenoid with a Raspberry Pi

Knowledge · Professional Development · Technology

Your First 3D Printed Part

Today’s post is about creating your first 3D printed part. I’ve recently started playing with 3D printed parts using a PolyPrinter 3D printer. With the PolyPrinter, learning 3D printing was much faster than I imagined, and very easy to do. If you’re just starting out, I highly recommend downloading a simple project from Thingiverse just… Continue reading Your First 3D Printed Part