Failday the 13th

Today I recorded 8 demo videos and every one of them failed in some way. By half way through I had a “I wonder what is going to go wrong this time” running gag going in each recording. The good news is that I’ve now finished all the videos for the book. All 67 are complete and uploaded. Now we have to make sure that the QR codes and the links in the book text all line up.

Double Chapter Power

I’ve been editing the chapters of the new book. Today I sent Chapter 9 through with my edits in place. Folks were pleased, but confused. I hadn’t sent them Chapter 8. Turns out that there is a difference between thinking about doing something and actually doing it. I thought I’d sent it through but it seems I only thought about sending it.

Anyhoo, the chapter has now been sent and I’ve only got three more to edit before the book is completely complete.

Make Something Happen Happenings

I’ve been recording videos for the practical examples for “Begin to Code: Building Applications and Games with the Cloud”. The text contains “Make Something Happen” exercises and I thought it might be fun to make a video walkthrough of each. Way to increase your workload Rob.

Anyhoo, I’m up to number 28 which is about half way through the book. The video is walking through the process of taking a working node.js application and deploying it into the cloud. I’d just about finished recording it yesterday when the home phone rang. As I was reaching for the handset I brushed the music player and so if you watch through the screencast you can hear me grappling with the phone and get a very small snippet of music (big prizes if you can work out the track). I’ve a strict policy of doing everything in one take. After all, I never got to redo any of my lectures (although I often wanted to). I find that this makes them properly live.

Sometimes things go wrong (like they used to in lectures) and I leave those bits in too - the process of finding the problem and fixing it is often the most instructive part of the session. In number 28 I had a bit of this when my deployed application failed, but I was able to show how to debug it, find and fix the problem and then redeploy the application. I’m really enjoying making these. You can find the complete playlist here. You can find the book website with a draft copy of the text here.

Begin to Code Cloud now with added video

I’m currently doing the author review pass for the Begin to Code Cloud book. This is the part where I incorporate the comments from the editor and reviewer to produce what should be the final version of the text. As part of it I’ve decided to record a video for each of the “Make Something Happen” elements in the text. These are the practical exercises that help you understand the content. The book contains complete walkthroughs in the text, but I thought it might be useful to also provide video walkthroughs too. How hard can it be? Actually, it’s turning out to be quite fun.

I’m using the wonderful Camtasia program which provides fantastic screen and video capture along with a very powerful editor. It can also publish videos straight to YouTube. I’ve made a template and now it is just a case of running through the exercise, adding the start and end sequences and then sending out the video. The book will contain links and also QR codes that the reader can use to find the videos directly from the page.

I’ve created a playlist for all the content. It is all directly in the context of the book. You can find a book draft here. I’m doing the videos in one take, it is rather like giving a live lecture as I talk about and demonstrate the code. It is adding a bit more time to the editing process, but I think it is well worth it.

Getting started with JavaScript and hardware is super easy

I’m writing the final chapter of the book at the moment. I’m calling it “JavaScript technologies”. The idea is to leave the reader with some ideas of things that they can do with JavaScript that they might not expect. For example, how about a website that you can visit to turn a light on and off?

This has turned out to be a wonderful example of how simple it is to deploy complex technology today. You can start with an empty Raspberry Pi and a memory card and within a few minutes you an have a device that you can attach to your home network and access remotely. You can make the device host a web server, wire up a few pins (see above) and have a site you can access with the browser in your phone to make the light work. Completely amazing.

Chapter 5 now available

I’ve just updated the draft version of Begin to Code with the Cloud. You can find it here along with all the code examples. Please remember that this is a work in progress. Things have moved around and changed names in the ongoing draft, but there should be enough content to give you an idea of where I’m going with this. I’m especially pleased with Chapter 5.

Tricky Mine Finder

We’ve played a bit of “Mine Finder” now, and it turns out to be a bit too easy. Once you know the colours you can narrow down the mine position quite easily. So, today I present “tricky mine finder”. When the game starts you don’t know which colour represents which distance. In the screenshot above the squares one space from the mine are light blue. It took me 14 tries to get it. If you want to have a go yourself you can find the game here.