Upload to Azure Storage REST API from Xamarin

It surprised me to find that uploading an image to Azure Storage using the REST API with Xamarin iOS wasn’t straightforward. After a lot of research and by combining a couple techniques, we can easily upload a UIImage to blob storage using the Azure Storage REST API. Here’s what you’ll need: Azure Mobile Services (and client library) HttpClient I’m not going over how to create a storage location and container nor an Azure Mobile Service.…

In Review

I guess today’s word of the day is “unclench”. This morning, I sipped my coffee and debugged some code, Led Zeppelin II spinning on the turntable. The little light on my phone blinked, telling me I received an yet another e-mail. Except I was waiting for this one – my app was finally “In Review”. That’s right, the App Store process was finally in motion for vndr, the vending machine locator app my team has worked on for months.…

Back to Basics

Over a year ago, I took my blog in a new direction. Well, you know what they say… the only constant is change itself. That experiment ended a couple months after it began and I never quite shut it down. Today, I’m back to what served me well in the past and with it, a new look and back-end. Notebook Heavy used to run on WordPress, but awhile back, the little blog engine that could, Ghost, got my attention.…

2014 Illinois Web Conference AngularJS Session

Tomorrow is the bulk of the 15th annual University of Illinois Web Conference. This time, I’m presenting an introduction to AngularJS entitled Angular Is Magic. This is an expansion of a lightning talk I did called My Little JavaScript – Angular Is Magic, only this time, it’s 50 minutes long and there are no ponies (so sad, right?) Here are the slides and sample code for this talk. Angular Is Magic - Slides…

AngularJS and PlantLink

If you’ve ever had a houseplant die on you, pay attention. Eight months ago, my company, Heavy Code, started a gig with a local startup, Oso Technologies. I’d heard of this company months earlier when their Kickstarter campaign hit the news. They were building a product that would notify you when a plant in your house or garden needed more water. It’s called PlantLink and one day, they needed help with their AngularJS web app.…

No Pain AngularJS Directives

By now you’ve got your hands dirty with Angular and are starting to build some more complicated apps. You’ve read the documentation and the samples and know about these things called “directives”. But you’re afraid — afraid that they’re too complicated and difficult. Fear Not, My Friend It’s true that AngularJS directives can get pretty complicated, but they can also be pretty simple. Let’s build a really simple one that you might re-use over and over: a progress spinner.…

Medium Word Count Chrome Extension

The website Medium.com offers an excellent writing environment. One problem I always had with the service is that it doesn’t really keep track of how long a post is. Other services, such as Editorially, do keep track of the length. I prefer Medium’s writing mode to Editorially’s, but wanted to know how long my posts are. So I wrote a Chrome browser extension to solve this problem for me. It’s very simple and very subtle.…

My Little JavaScript - AngularJS is Magic

Last night I gave a lightning talk to a group of local technology folks. Not only did they get to learn a bit about AngularJS, but they got to learn a bit about My Little Pony.   My slide presentation, itself an AngularJS app (how meta), is online at hvy.li/AngularMagic. The GitHub repo is available at https://github.com/kenstone/AngularIsMagic.…

AngularJS + TypeScript Tip - Controller ViewModel

In my previous post on getting started with AngularJS and TypeScript, I went over some of the gotchas that took me awhile to work through such as minification and scope inheritance. Today I want to look at a tip to help ease the pain you might encounter when trying to use TypeScript with Angular and how to structure your controllers. You’ve Got Me. Who’s Got You? In the current version of AngularJS (1.…

Quiet Down

We can publish the history of Roman Empire in 500 pages, but we'd need ten times that to contain a narrative of the noise in your head over the last hour. Seth Godin …