Video Tutorial: Writing code onto Micropython Wemos D1 using Ampy
February 5, 2018
Last week we covered how to flash Micropython onto an ESP8266 (Wemos D1 Mini) but we had to type our code into the REPL by hand. That’s not terribly useful for a real world project, so this week we learn how to upload code and make it run on boot. We’ll be using a tool called Ampy, by Adafruit, since the Micropython world is a little immature.
Howto: Glass Bed Upgrade for the Monoprice Maker Select v2
June 16, 2017
One of the most commonly recommended upgrades I’ve found (For all printers) is switching to a glass bed (Technically tempered Borosilicate). While it is not a hard nor expensive upgrade, it can be a bit time consuming. Since your bed is very important to the print process, this shouldn’t be something to rush, so I’d recommend at least two hours to complete (not including print time). Please note that the process here should work just fine for the Wanhao Duplicator i3 and similar series printers however you may need to verify what the correct glass size is.
Apache Cordova “Hello World” meets the real world
September 14, 2015
Everyone who’s ever learned to code (and probably a few more) knows about the “<a href="https://en.wikipedia.org/wiki/%22Hello,_World!%22_program” title=[wiki] Hello, World! program">Hello World” program. Your first program in any language simply says “Hello World” and from that all other great code is derived. In 1972 that simple bit of a program taught you something and that remains true today… if you’re learning a new language. However it has become common place for this same concept to be applied to programming frameworks, though in many of those cases you might not learn anything. If you google “ExpressJS hello world” you end up with a sample that actually teaches you a little bit. However, when you start with Apache Cordova’s “Hello World” you don’t learn anything beyond how to run one command. So I rectified that.
Tutorial: AWS API Gateway to Lambda to DynamoDB
August 5, 2015
After last week’s Internet Of Things hack session, I became fascinated with all the fun IoT projects and technologies there are to play with. Everything you do, requires data to go into the cloud, so I figured I’d start there. In the hack series I learned how to push data into AWS Kinesis which is amazing, however it has its disadvantages. On the flip side there is the new AWS API Gateway which I also haven’t spent much time on, so that’s a perfect thing to learn. After some tinkering, I found that while AWS API Gateway -> Lambda -> DynamoDB might sound complicated, it’s actually quite easy.
SocketIO IRC-style Tutorial – Part 4 – The client code
July 23, 2015
SocketIO IRC-style Tutorial – Part 3 – The server code
July 21, 2015
This is the 3rd post in a multi-part tutorial series on Socket.io. See Part 2 here. In today’s portion of the tutorial, I’ll be explaining the server side (NodeJS) code in a bit more verbosity than the comments. A fair portion of this will simply be explaining the “why” of each section of code. Additionally, since we haven’t discussed the client side code, I’ll be enumerating on the missing links between the two where necessary.
SocketIO IRC-style Tutorial – Part 2 – Getting started
July 17, 2015
This is the 2nd post in a multi-part tutorial series on Socket.io. See Part 1 here. As with all things in life, code is in a constant state of change. Eventually, this tutorial series will be improved, but so that we can all stay on the same page, let’s start with the same version of code. You can go to ShakataGaNai/socketio-sample/d9b7bcc132 to browse the exact working copy this tutorial is based off of. You should download version d9b7bcc132…zip file as well, to work with locally. The repository only has three important files; app.js — which contains the NodeJS server application, index.html — which is our client side (in browser) application, and package.json — which provides some basics about this app, including the dependencies.
SocketIO IRC-style Tutorial – Part 1 – Intro
July 16, 2015
1 One of the technology things that excites me the most is the use of Websockets to help power the “Real Time Web". When you use a modern browser and use a web based chat system (like IRCCloud), it very likely uses websockets. Twitter feed constantly updating? Websockets. Facebook feed growing as you waste the day? Websockets. “Real Time” Google Analytics? Websockets. You get the idea, lots of cool things we use every day built for the real time web, many of which probably use websockets. The easiest way to use Websockets with NodeJS (which I’ve been spending some of my free time on over the last year) is a nifty tool called Socket.IO.
Book Review: The Node Beginner Book
September 3, 2013
During August I went and took my first “real vacation” in about 5 years, however I ended up having to work most of it. Unfortunately I’m still working on that elusive “real vacation”. During the times I wasn’t working, I spent some time reading The Node Beginner Book, and generally trying to learn Node.js. I’ve read a lot of technical books and honestly wasn’t expecting much out of a 60 page “book”, but I was honestly and pleasantly surprised.