Is Google Glass the interface of the future?

Your host in Google Glass.
Your host in Google Glass.

I had a chance to head over to Google’s Google Glass tour this morning.  They are starting their tour of the US with a stop in Durham.  Durham has a great startup community, and being surrounded by multiple colleges, universities, and tech companies, it is the home of great app developers.  So it was a natural for Google to start their tour here.

The line was long, but it moved quickly.
The line was long, but it moved quickly.

When I got there, right at 10am, the line was already several hundred people long.  It moved pretty quickly, which was good, and I was in the door and playing with glass in right at an hour.  Overall, it was very easy to use and did a pretty good job of dealing with all the noise in the hall.  Given I have glasses now, having had to give up contacts a while back, I was also pleased that the display was clear and legible.  Looking up into the sky lights, it did a good job of handling strong sunlight too.

Where all the action was.
Where all the action was.

The only problem I ran into was the wireless network.  My glass lost connection and we couldn’t get it to reconnect.  So I had fun taking video, pictures, and looking at the interface, but couldn’t get it to answer any voice queries via Google.

24 Hours with the iPhone 5s

I picked up a new iPhone 5s yesterday. I had been using an iPhone 4S, and have consistently been on the “s” upgrade path, so it was time. So what do I think of it.

It is certainly fast. I don’t mean blow your hair back, screaming fast, I just mean noticeably faster than what I used to use. That is to be expected.

The fingerprint reader works. Well sorta, it works for some of the Apple experiences, but in some of my apps that use the Apple ID for activities, I am finding that I am still having to enter my Apple ID password. I expect this to change overtime as apps are updated to iOS7 (i.e. Apple will enable the app, not that the developer will have to do anything). It is great for unlocking the phone, and having had a complex passcode for a long time, this is a much better experience.

LTE is amazing. Not a big surprise, since I have LTE on my iPad, but upload and download speeds are faster than my home network. And since I have been grandfathered in on the unlimited data plan with AT&T, I am loving it.

However, when all is said and done, it’s like an old glove. I’ve been using iOS7 since the first beta, so nothing really new there. And it’s an iPhone. The quality, feel, and experience is just comfortable. I think I’ll keep it.

Users, Customers, and Consumers

I’ve been working in the IT business for a very long time. I started as a computer operator on main frames and super computers as an undergrad, and even had a home computer years before that (and long before home computers were normal). With that preface, I started thinking recently about the terminology that is used to describe the people who benefit from the code we right. Over the last week, I’ve heard all of the above terms used again. And I started thinking – what does this mean? Are there really different audiences? To that end, I am going to define the terms above, and see if they resonate.

Users:
Originally, there were two types of people when it came to computers – programmers and users. Programmers wrote code and enjoyed hacking around with the hardware and software. A user ran the programs to benefit from the code which was written. A Super User was someone who understood the ins and outs, perhaps even hacked the program some to use it for unapproved purposes. They even wrote scripts (crossing into the world of programmer). But given the early adoption of computers in homes, a user had to have basic knowledge of tape drives (yes I used to have a cassette interface on my first computer), how to connect it all up, etc. In the very early days, users even typed in the code from magazines so they could use their computer.

Customers:
After a while, you could go to the store and buy software on cartridges, floppy disks, and even CD’s. If someone bought the software there were a customer. You needed customers to make software, because they pay the bills. Customers pay more for things they want and enjoy, and as such you listen to your customers and open a dialog via forums, blogs, etc. So customer are good.

Consumers:
So what is a consumer and how are they different then users? Obviously a consumer is someone who “consumes’ you app. Hopefully they use it. And even more importantly, hopefully they pay you so you can keep making cool stuff. But, let’s face it, many consumers expect apps to be free. They want to consume the service, but don’t want to pay for it. The way you monitize your work, is top sell ads to that consumer. So in all aspects a consumer is actually another part of your product (if they don’t pay for it), and they become an asset to the people who pay for your work (now the advertising service). So your customer becomes the advertiser, and the consumer is your user. While financially this makes sense, you still have to make the application experience even better so that the user wants to consume the application even more. I think this is even more challenging thank just focusing on your customer.

Apple’s 5s and 5c – worth the wait?

So yesterday Apple officially revealed their latest new phones – iPhone 5c and iPhone 5s. While much of the announcement had long since been leaked by the supply chain (so much for the secrecy of Jobs, welcome to the openness of Cook), there were still a few surprises – really only on the iPhone5s. The biggest, in my opinion, was the 64 bit architecture and the two chip design (A7 and M7). This should allow developers access to more memory, and with the M7 access to provide sensor data in a very low power consumption state. From a user perspective, that means we can do more and more quantified self activities (think of your FitBit or Jawbone Up), with minimal impact. We know that these types of devices are more and more popular, but being able to just have it all in one device means as a software developer you can now provide this feature without having to develop the hardware.

The improvement on the camera will bring the iPhone5s to the level of many of the other high end mobile phones, so while it is cool, it will probably have a short life of importance as new Android devices are coming out almost weekly.

So as a developer, the iPhone5s will allow for new, cool apps, but the question will be: How popular will it be verses the slightly cheaper iPhone5c? How long before Apple makes the finger print reader available for your apps? If there is a long delay between new APIs and mass adoption of the iPhone5s, then the new announcement should get you more potential customers, but you are best sticking with features available across the iPhone 4S, and iPhone 5/5C. (Still not a bad market, but not as exciting).

Do you plan on using features unique to the iPhone5S, or is iOS7 good enough without M7 chip?

An Event in San Francisco

Yesterday Apple made the event official – at least according to the flurry of post about people receiving invites to an event: here, here, and here.

If the rumors are to believed, this should be the launch of iOS7, iPhone5s, and iPhone5c, with a purchase date almost immediately thereafter. (According to Sept. 20th. In the past, Apple has given developers a heads up about submitting their apps in order to be available at launch. If that’s the case, I would expect the app checkers at Apple to be getting busy really soon!

Are you going to get a new iPhone? If so, are you going for the C or the S? What color will you choose?

Core Data and iOS (Part 2)

In the last post, I described how to create the template Core Data App, and showed you a few screenshots.  In this one I’ll walk thru the files that are created:

First lest’s look at the structure of the project.  We choose a universal app, so we have two storyboards, one for the iPad and one for the iPhone.  We gave our class prefix of TAS (for TriangleAppShow) so our basic AppDelegate is created (both header and object source) as TASAppDelegate.  Our master and detail views are named TASMasterViewController and TASDetailViewController respectively.  I’ve expanded the other subfolders, but won’t go into those files, other than to note that the CoreData.framework is included in your Frameworks folder.  The file we will focus on first is the Data Model – CoreDataProject.xcdatamodeld.

Files Created

Once you select that file, you should see the following screen:Visual Data Model

If, you don’t see the above screen, click on the following symbol:

EditorView

 at the bottom right of the main view to switch to this view.

This view allows you to model the database and it’s relationships.  The Entity Relationship model describes the Entities, Events, Attributes, and Relationships that make up your data model.  The way I like to think of this is as follows:

Entities are tables that store the varies events (rows).  Events are made up of Attributes (columns). Events are tied together via Relationships.  Relationships are either one to one or one to many.  The sample project has only one event , with one attribute and no relationships.  You will create a new event every time you select the + button in the app.  That event will store a single attribute – the timestamp itself.

The next screenshot shows you the simple definition of the event:

Entity DescriptionThe name is Event – this is how we will reference it in the code of the app.  It does not yet have a class (more on this later).  Since there are not relationships, we have no Parent Entity.  We also have no indexes – this are used to optimize search via predefined and maintained sorts.

If you select that attribute timeStamp the right panel will show you its definition.

Timestamp AttributeWe see that this field is optional, with a name of timeStamp.  It is currently not indexed, so we assume that events are store in order that they are created.  The Attribute type is Date, with no other validations.

So far, pretty simple.  In the next post I will look at how the app actually creates each event.

Core Data and iOS

I’ve been working on a new app lately, and I’ve taken this time to try and teach myself CoreData.  CoreData is the mechanism by which Apple has taken traditional SQL database and mapped it to the programming model used in iOS apps.  Over the next few blog entries I will try and describe my learning process, in the hope that it will help others pick up CoreData.  Also, I hope to start a dialog to help others, and myself, work thru any challenges which come up during this process.

If you are just starting, I find that Apple’s Core Data template app, is always a good way of understanding how it is all pulled together.  So let’s give that a shot by starting with a MasterDetail Application.  To do this, create a new Project and select Master Detail:

Master Detail

 

After you select that, fill in the next screen.  I have chosen to create a Universal Binary since I think you should always start from there, it exposes you to the ins and outs of MVC (Model View Controller).  Don’t forget to chose CoreData and Automatic Reference Counting.

After choosing the location for the project… give it a compile.  You should have a working CoreData application, that can render on either the iPad or iPhone simulator.

Master Detail Detail Screen

 

As you can see from the following screen shots both the iPad:

iPad Sample Core Data

and the iPhone:

iPhone Core Dataare working fine!

So what do we really have here? We have a simple app that if you click the plus will create a new record (date time stamp) and a detail screen that will show that time stamp.

Detail Screen

That’s pretty much it.

In the next post I will go a bit deeper on all the files that Apple created for you automatically when you chose this template.

Is Your App Ready

If the rumor mill is to be believed, Apple will announce their new iPhone on Sept. 10th. That is not too far away, and as such means developers are working hard to have launch titles available. Realistically, I doubt that Apple will make the iPhone 5s/c or whatever it will be called, ready on the day of announcement; however, I do believe that they will make iOS7 available almost immediately.
As a developer, I am looking forward to releasing updates of my app that will more closely align to Apple’s new UI vision. I am also looking forward to all the new API’s that Apple has been talking about since June’s WWDC.

Android – Root or wait?

For my Android needs, I currently have an Galaxy Tab 2 (10 inch). It is running Android 4.2.1 and I have been wanting to install the latest version of Android, but Samsung has yet to roll the update out for my device. I have read that they are rolling it out around the world, but those reports tend to be a bit confusing. I could root the device and do the update myself, but due to my day job’s policy at IBM this is prohibited on any device that accesses my corporate resources. I currently use the Tab 2 to get my corporate email and instant messaging (using Lotus Traveler and Lotus Sametime for Android). I had these both on my iPhone and iPad, but since, as a developer, I tend to run pre-released and unsupported operating systems I decided to only run corporate software on my Android device.

I guess I could buy another Tab, perhaps the 7 inch, and another iPad (perhaps the mini) and only do upgrades on one device, keeping one device in compliance with corporate policies. What do you think? Do you invest in multiple devices for all of your development environments? One for personal/development use, and one for production use?

Apple finishes update to Developer Portal

Last night, as I was checking my email before going to bed, I got a note from Apple that their replace/rebuild of the Developer portal had been completed and all services are working again.  Great news, and hopefully Apple has addressed, not only the security flaws identified by the Turkish researcher, but any fundamental design flaws which could expose other security issues going forward.

The biggest lessons I’ve learned from watching this all unfold is – security is hard.  Steve Gibson (from Spinrite fame) has been recording a long running podcast on security called “Security Now“.  He spends 2 hours, each week, going thru all the latest info on security patches, and describing the underlying design and technology of various protocols, etc. which shows how much you need to know to make truly secure applications.

Years ago, when I was working as a consultant, I wrote a Human Resources system for a home health care management company.  I was asked to make sure that we had an appropriate level of security and could segregate data between managed companies via passwords.  The design was simple.  Within the application, you had to enter a unique company identifier and password for each company’s data.  Simple and somewhat effective, given that the entire application and all of its data resided on a midrange computer that could only be accessed within the companies physical boundaries.  Within 1 month of the application going live, every monitor within the HR department had a nicely printed sticker listing the company identifier and the password for each.  So much for security.

The reason I bring this up is to identify how technology is only as secure as its weakest link.  Kevin Mitnick, shows us in his biography – Ghost in the Wires, that the best hacks are really around social engineering and not technology.  Even Mat Honan’s famous twitter / gmail / icloud hack, was much more a social engineering issue than a technology flaw.

If you are storing sensitive data (however you define sensitive), what are you doing to make your application secure, with out distracting from its functionality?