AWS API Gateway
Quick First Look: Onion Omega
October 30, 2015
Back in April I backed a Kickstarter for the Onion Omega. It’s another new hardware development platform centered around the Internet Of Things. While I’ve already got Raspberry Pi and Arduino aplenty, the Omega caught my eye as being a really nice blend of both worlds. Arduino is actually very hard to use for standalone IoT because it’s not fast enough to support SSL; it also requires you program in C. Raspberry PI is designed to be a full computer; it isn’t “cheap” ($40 times a number of devices adds up in cost) and is battery intensive (comparatively). The Onion Omega picks up a lot of strengths from both sides of the spectrum as it’s a full Linux machine (meaning I can write in NodeJS), fast enough to support SSL, tiny, AND has built-in WiFi.
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: PoC Telegram Bot running in AWS Lambda
August 28, 2015
My favorite “SMS Alternative” app is Telegram Messenger. It’s simple, easy to use, has decent encryption (from what I understand), is very multi-platform, and has a lot of fun features. It is my sole method of communicating with some people and was recently used for a 15 person group text at Outside Lands where it worked flawlessly. Needless to say when they announced a bot platform (that was quite well thought out), I was eager to give it a try. My first thought was to write a bot in NodeJS. My second thought was “I wonder if I could do it in Lambda? Maybe the API Gateway would work for the webhooks?". My third thought was “Let’s try it!".
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.