Nick Harris

App Camp for Girls

leave a comment »


Hopefully you’ve heard of App Camp for Girls by now. If not…

App Camp For Girls is a place where girls can put their creative powers to work, designing and building apps, while learning more about the business of software and being inspired by women mentors in the field.

Its a fantastic organization. Last year I had the privilege of sponsoring team imusicats at the Seattle camp. I’m incredibly proud of having that opportunity. When Jean MacDonald emailed me last week asking if I wanted to sponsor a team this year I didn’t hesitate at all. I’m excited to say that I will again be a project team sponsor for the Seattle camp!

The amazing part has been watching our community get involved through volunteering, donating and sponsoring. The App Camp Quiz Compendium, an app with 15 short quizzes developed by last years campers, reached #1 for Paid Apps in Entertainment. Not many developers can say they’ve reached that level of success, but now each of those campers can and that’s just plain awesome.

Of course with success comes even loftier goals and that’s what App Camp for Girls 3.0 is all about. In order to add more camps and enroll more campers, App Camp for Girls has started an Indiegogo crowd funding campaign. There are different levels and perks. I went for the Grace Hopper Portrait Art since I’m a both a computer scientist and a military brat.

Please take some time and read about their goals and hopefully make your own donation. At the very least buy the App Camp Quiz Compendium, it’s only $0.99. And if you’re going to be at WWDC, make sure to get a ticket to the fundraising happy hour hosted by WWDCGirls. Last year was a blast and I can only imagine this year will be even bigger and better!

Written by Nick Harris

May 28, 2015 at 1:28 am

Posted in Uncategorized

NodeJS + PassKit Push Notifications

leave a comment »

I did a quick talk and demo at iOS Dev Camp Colorado this past weekend in Colorado Springs about PassKit and how to update a pass using Apple Push Notification Service (APNs).

Tom Harrington (amazing organizer of the event) and a few others asked me after how hard it was to send push notifications to APNs using NodeJS. It was one of the most intimidating parts I had to figure out for my demo but it turned out to be incredibly simple.

I used node-apn.

npm install node-apn

Here’s gist of my push_service.js.

That’s the first NodeJS code I’ve shared here. Be gentle. I didn’t really ask or search how others prefer to do NodeJS, I just wrote it in a style I like.

Written by Nick Harris

May 15, 2015 at 4:08 am

Posted in Uncategorized

Leaping to Misinformation

leave a comment »

I try to always own up to my mistakes. We all make them. If we don’t own them we don’t learn from them.

This evening I got caught up in a “Twitter Outrage Frenzy” around HBO Now and Comcast. I saw some posts about Comcast subscribers not being able to get to Being a Comcast subscriber I tried loading the page myself and it did indeed fail to find the server. I then tried on my iPhone over T-Mobile LTE and low and behold there was the page.

Then I made my mistake. I took to Twitter to pile on with my own story of how terrible Comcast is:

I couldn’t believe a company would do such an thing, and that was also my mistake. I should have looked at the situation through Occam’s razor before the tweet instead of after – which I immediately did. Situations like this are almost *always* DNS related. I’ve spent enough time trouble shooting my own DNS issues to know. This smelled like DNS from the start.

While I was starting to look at different ways that DNS could cause this, Jason Livingood (@jlivingood) VP of Internet Services at Comcast, replied to my tweet explaining it was a DNS error on HBO’s end:

 I quickly posted my own apology:


Marcus Zarra’s post The Dangers of Misinformation has changed my perspective on how I use my digital voice. After my initial post I had a handful of friends try the same thing and jump to the same conclusion as I did. That is completely my fault. I used my digital voice to disparage the wrong party for an issue I was having. My “shouting” on twitter then had reverberations to people who follow me. That troubles me deeply.

I made a costly mistake on Facebook a few years ago that burned bridges that did not deserve to be burned. The way I perceived the situation correctly made me angry but it was only after hearing the other side that I realized my perception was out of focus. Since then I’ve been very cautious about what information I put out into the world.

Tonight I discovered that I still have more work to do. I own that mistake, along with its lesson.

Written by Nick Harris

March 10, 2015 at 3:45 am

Posted in Uncategorized


leave a comment »

Supporting multiple languages in an app is hard. One of the hardest things is finding spot on translations.

Jay Graves tweet today, and my response, got me thinking about words that when translated seem benign but are completely different.

NewsGator Inbox, at one point of its life, supported a handful on languages. NewsGator outsourced the translation. We gave them our English string files and they gave us back translated versions. We would test them for UI layout but nothing else.

The nomenclature of RSS at the time was to refer to blog enteries as “posts”. When our partner got one of our translated builds they were not happy to see all blog enteries referred to as “fence posts” – the translation of the word our service used in all of our apps strings.

When writing my book I also noticed this. Wiley had multiple levels of copy editing and I realized as they went on that the purpose was to have copy that was easy to translate. It was a fascinating process.

I guess the moral of the story is that if you invest in translation, pay for a company that will know dialect and apply it wisely. Having a plan to verify the translations independently sounds like a good idea too.

Written by Nick Harris

January 20, 2015 at 6:23 am

Posted in Uncategorized

School of Visual Communication

leave a comment »

The debate about whether a software engineer should go to college seems to come up from time to time. Some of the best developers I know didn’t graduate from college as well as some of the worst. To me its really just a personal choice. But if you have the means and the drive to get the most out of a college experience, my advice would be to take it. You’ll be surrounded by thousands of people who are all there to teach and learn. That can produce some pretty unique opportunities that can have a major impact on your career later on.

At Ohio University I had one of those opportunities. Being a fulltime student while finding meaningful work that can kick start your career can be a challenge. With that in mind, the university setup a program where students could apply for on-campus internships. You had to interview in order to get hired for any position, so you would have a few real world interviews under your belt. If you found a good job you could pick up some great professional experience while also broadening your skills and talents.

My senior year (1999-2000) I applied and got a job building and maintaining the website for the School of Visual Communication. I spent most of my days in the Mathematics and Engineering buildings working on Sun/Unix workstations writing code. This job meant that I got to spend a least a couple hours a day in a school that (straight from their current website):

“…offers an interdisciplinary visual communication degree with four specialized sequences: informational graphics and publication design, interactive design; documentary photojournalism for newspapers, magazines and the Internet; and commercial photography.”

The work was great. I was able to create a JavaScript slideshow for the homepage showcasing student projects throughout the year. I also had to learn how to do all of it on a Mac, which at the time were Power Mac G4’s.

After a few months I had become friends with the administrators and professors. They liked me enough that they allowed me to audit any class I wanted. I took them up and sat through an entire quarter learning how to use Photoshop and other tools to design and create web sites. It was fantastic to learn along side people who were creating the layouts, color schemes and graphics that I would then put together with my code to build cool webpages (as cool as webpages could be in 2000).

I look back on that experience as the time I discovered the importance of design in technology. Its also the first time I realized that as much as I love Photoshop, I suck at it compared to professional designers.

I’m thankful I had that opportunity. I wouldn’t have had it if I hadn’t gone to college, and I don’t think I would be the software engineer I am today without it.

Written by Nick Harris

January 5, 2015 at 2:41 am

Posted in Uncategorized

Experimenting – Node.js and MySQL

leave a comment »

I’ve been playing around with a prototype web service idea using Node.js and MySQL. I wanted to learn a new server side stack and decided on Node.js. Way back in 2003 I wrote a web service API that used classic ASP pages embedded with JavaScript/XMLHTTP to route traffic between a Java Applet UI and a backend that controlled a farm of teleconferencing bridges. I wanted to see how far JavaScript had come.

JavaScript has a lot of flaws. I’ve spent more time moving around JavaScript alerts to debug code then I would like to admit. When I had the opportunity to move to C# and .Net in 2005 I swore I would never write JavaScript again.

Working with Node has been different though and npm is the biggest reason. Third party code dependency is a balancing act. Typically I avoid them, opting to use them as examples instead of forcing a peg into a square. But the idea of this was to get a prototype up with the least amount of effort, so I gave npm a shot and grabbed two frameworks…

I was up and running with my Express server in under 10 minutes. I would have expected much more effort.

My alpha prototype just needed a SQL backend. I’ve done enough with SQLite on mobile devices so I used it for my first go.

My initial prototype surprised me. I had network calls flowing from the iOS simulator to my Node layer and down into SQL in about a days work. A great proof of concept, but the amount of SQL written in quotes within my JavaScript code was setting red flags on fire for me.


Once I downloaded MySQL Workbench, it was an easy decision to build on MySQL instead of SQLite.

I love stored procedures. Mixing SQL statements into other language code files has always made me cringe. Let the separation of layers work for you.

SQL is so powerful and database engines like SQLServer and MySQL use of Store Procedures allow you to encapsulate the syntax to exploit that power away from your C based algorithmic code.


I’m definitely moving forward with this stack for a production version of this prototype. Node.js is incredibly lightweight. I have 372 lines of my own JavaScript code which in turn uses 10 stored procedures to support 3 web service endpoints that can handle whatever pseudo traffic I’ve been able to throw at it.

I’m sure I’ll hit pitfalls, but this feels like a pretty solid technology stack.

Written by Nick Harris

November 20, 2014 at 4:35 am

Posted in Uncategorized

Apple Quality

with 2 comments

Yesterday was my first full day of work with Yosemite. One of the first things I noticed was the plethora of notifications. I was getting notifications for every message on Skype as well as every incoming email with Gmail running in Safari. Being a savvy user I went to Notification Center in the Settings app and made the changes I wanted.

Today was my second full day of work with Yosemite. One of the first things I noticed was the plethora of notifications. I was getting notifications for every message on Skype as well as every incoming email with Gmail running in Safari.


I went back to Settings and made my changes again. I also made a note to make sure I wasn’t crazy at the end of the day.

This evening I logged out of my work account, then logged back in. All of my Notification Settings were back to their defaults.

Its hard for me to articulate in writing just how flabbergasted I am at this bug.

Saving user preferences is beginner stuff. How a bug like that could make it past any type of real world testing is beyond me. Add this to the growing examples of other “how did this make it into the wild” bugs – like iOS 8.0.1 – and I’m left seriously questioning Apple.

One of the biggest draws for me to make the jump from Windows to Mac was the simplicity and genuine quality of Apple products. Though the developer tools were downright terrible compared to .Net development, I trusted the OS and its frameworks to be superior to Windows and all of its flaws. But over the last two years, my trust in Apple has taken a serious hit.

I hold out hope that these problems are transient. But the more they pile on, the more I think that there’s a much bigger issue.

Written by Nick Harris

October 23, 2014 at 3:00 am

Posted in Uncategorized


Get every new post delivered to your Inbox.