Gp's Boring Blog
Permalink
My blog is boring

It turns out that I am not the greatest at updating my blog, and frankly no one was readying it anyway. So I am going to stop with the audiobook reviews. Since my last review 10 months ago I have read a ton of audiobooks and didn’t bother creating a review for them.

So this is just going to be a dumping ground for my thoughts on technology and such. I doubt my readership will go up, and if it could go into the negatives it probably would. But in any case I am going to write stuff that I am interested in.

Permalink
[Off-Topic] iPod XL

iPod XL

We have already seen a ton of rumors that point at the iPhone 5 having a 4 inch screen with a 9:5 aspect ratio. There are also persistent rumors about an iPad Mini. A 7-inch tablet designed to compete against the recently released Nexus 7. This all makes logical sense, to a point.

What most people have not discussed is how Apple would actually be able to release such a product without issue. There is a key problem with an iPad Mini, and this is the same problem we had with a 4-inch iPhone, resolution. However this problem manifests itself differently. The problem with resolution is the apps. Apple prides itself on having a ton of apps designed specifically for the iPad. It is very easy to take an existing iPhone app and expand it to fit the larger screen, but how do you shrink apps designed specifically for the iPad? The answer, I think, is that you don’t.

If we take Tim Cook’s D10 conference talk where he said “we have one phone with one screen size and one resolution, and so it’s pretty simple if you’re a developer.” If we also take Steve Jobs rant about the problem with 7-inch tablets, he called them tweeners. What I believe can be understood from these positions is that there really isn’t a place in Apple’s vision for a 7-inch iPad… but that doesn’t mean that there isn’t room for a 7-inch touch device.

Thinking about the use cases, what is a 7-inch tablet good for? Reading in bed, giving to the kids to play with (assuming the price is not too expensive), playing games, listening to music, watching videos, surfing, and Internet chatting. What I don’t think it is good for is authoring documents, creating paintings, and other creative tasks where a 10-inch screen really shines. It is also not good for making phone calls, which is what the iPhone is for. So we have a device that I think is closer to an iPod touch than any other device.

But we still need to do some resolution math to get us at an affordable 7-inch iPod touch. The price will be key. If this is the toy tablet, a pure consumption device Apple will want the cost to be effective. But, I doubt they would want to skimp anywhere. This leads me to the choice of ppi for this new tablet. I think Apple will use the iPad ppi @ 264 ppi with the new iPhone aspect ratio of 9:5. This leads to a resolution of 1024 by 1843. An odd resolution, but it will make it easy to scale iPhone and iPod touch apps.

On the marketing side, if this product is marketed as the new iPod Touch and not an iPad then Apple can gain a few things. First, in their eyes they will save face and stick to their guns about why a tablet needs to be 10 inches. With an iPod XL they also don’t have to worry about iPad apps being compatible with the new 7-inch device. Last I believe that a tweener device can have a better chance at game playing and content consumption. I also find almost all phone screens too small for any serious reading, and the iPad can be a bit big to cart around. 7-inch screens seems like a better choice for game playing, reading, and the other use cases I mentioned earlier.

The last key to the iPod XL is the price. If the goal is to be a pure consumption device, I think Apple can get away from the expensive iPad guts and stick with something more in line with whatever they are planning for the iPhone 5. Shooting for a $299 price seems like the right place for a device of this type and would be in line with iPod Touch pricing.

So here you go Internet, another completely unsubstantiated idea to add to the millions. Please share with others if you feel my arguments have some merit. I admit I don’t have all the corners covered.

Permalink

My Review of Mindsight by Daniel J. Siegel. Read by the author.

Permalink

Great By Choice by Jim Collins and Morten T. Hansen. Read by Jim Collins.

Permalink
[Off-topic] On Agile

I don’t know why this article by Mike Gualtieri infuriates me (http://blogs.forrester.com/mike_gualtieri/11-10-12-agile_software_is_a_cop_out_heres_whats_next). Is it the fact that this guy is an analyst who has never run a software development shop? Is it because all of his information is second and third hand? Is it because he is right in some respects? Of course the rhetorical answer to all these questions is, YES.

Let me start by saying Agile can work, I know this because I have made it work. My experience of 1 is very biased. But the fact that I have a counter example means that Agile works… BUT, and there is a big one, I have never done scrum or XP. I have done agile development for over 5 years but I have never done a prescriptive version of any agile process. And so I have a problem, on one hand I cannot say that agile works because frankly we cherry-picked the best aspects and threw away the others. I can’t say that agile doesn’t work either. So let me describe the process we ran and then my insights on what I think actually works.

1. Everything is the context of the user
It is way too easy to take a technology and map it to the user needs. The flow needs to go other way. The user needs something and you build the product, the architecture, the user interface around making the users ability to solve that problem as effortless as possible. When every conversation you have is in the context of the user the flow moves so much better. Engineers begin thinking of the user more naturally instead of focusing solely on the technology which they are totally immersed into on a day to day basis.

Designing the user experience from the beginning is the point of what we are building. BUT at the end of the day the code accomplishes the goal. There are engineers out there who will shy away from the “hard” stuff because it is hard. My team has constantly heard me say to them “I don’t care if it is hard for you if it makes the users lives easier. We do the hard stuff so they don’t have to.”

You get here by doing a few things:
- Hire designers or developers, testers, documentation people with an eye for user experience design.
- Have detailed and rich conversations about the users problems before you start any project. Understand every nook and cranny of the user and their context and their problems. You will need this later.
- Design the final product based on all the current assumptions… although they will be wrong. Keep it flexible and light.
- Prototype to find the flaws with the design.
- Iterate the design (this is the one anti-waterfall/pro-agile item)

I have not had all these things all the time in my projects and the results have always shown. Every time we include these aspects we see the benefits. I am sure there is more, but a lot of teams don’t even have this much.

2. Conversations and right-sized artifacts
One aspect of agile that is key is collaboration over contracts. In software there are still companies who create contracts between management and the engineering team to deliver the requirements. And you get exactly what you asked for, what the requirements stated. In a 6 month project the amount of requirements is so fast and the interplaying complexity so intense that it takes almost 6 months to nail requirements that will still be wrong in the end. This relates to something called the Cone of Uncertainty. Basically the larger the project the more unknowns and the more uncertain you are of the timeline, quality, and resource requirements. This is true in any project whether you are building a highway across three towns or building a complex piece of software.

So your requirements are wrong, and the bigger the project the more wrong they will be. Your estimated level of effort required to achieve a specific level of quality is wrong and the longer the project is the more wrong it will be. I have lived these facts in every company I have worked in, whether it was my project or someone else’s.

Agile has the most elegant answer to this, although simplified beyond what Mr. Gualtieri is comfortable acknowledging. Working software over comprehensive documentation. Paired with the collaboration over contracts value we have a powerful concept that is best summed up as conversations and right-sized artifacts. This flows directly from #1 too.

When you are with the engineering team and you are discussing the customer in excruciating detail it is important to write that stuff down. Whether you have a formal documentation called an MRD, PRD, User Stories, Scenarios etc. or some other less formal approach, every topic discussed and planned as part of the conversation needs to be written down in some form to remind everyone about what was discussed. This is as much as is necessary because you will talk about it again in even more detail when it comes time to actually implement the item.

At the time that you actually implement the item there is always going to be new information that will change assumptions in the item you originally wrote down. There is a new context. When you got to implement that thing you must discuss the new context and write down the new assumptions so that you are always working against a set of requirements that has the best knowledge baked into it.

Last, in direct opposition to Mr. Gualtieri, working software is a measure of progress. However, that doesn’t mean you are done. Even though the software works it may not be what you wanted. It may not work right even though it matches the careful designs perfectly. It may be flawed in ways you didn’t anticipate. So throw it away and do it again. This happens, you didn’t mess up, it’s part of the creative process. The willingness to throw away working code is as important as getting working code.

3. Regular check-ins
This one is pretty much a follow-on from #2. If you throw requirements over the fence you are going to get exactly what you asked for… but not what you want. It is important for any product owner, product manager, customer, business analyst, etc. to regularly check in and get demos of the software. This is where sprint-boundaries help. It is a mutually agreed upon time where the non-developers get to but their noses in and help steer the project.

This also means that outside of those boundaries you need to leave the team alone. A well put together team can go for a few weeks without direct monitoring. Giving them time to think and put together their best ideas. The middle of that process can show some pretty ugly children of the mind, but the boundaries are when they show off something they are proud of. Like an artist, you want to see the painting when it is done, not when it is being painted. Anyone who has watched Bob Ross has seen him take his paint knife and ruin a painting only to make happy little trees or mountains. But man do you get nervous on that first swipe of the knife. Step back and let the artist do their work. If they are a good team they will give you something beautiful. Just don’t let them do the entire Sistine Chapel without checking in every few weeks.

4. Finish before you start
The worst software projects I have been on are the ones where too much stuff is going on in parallel. It is by far the buggiest and hardest to integrate when so many things that are interrelated are always in flux. A great engineering team will find the right ways to split the project into parallel and serial streams of work. Within each parallel stream there will probably be a mini-serial stream of work. Before a team goes off and starts something knew they should complete the current work as fully as they can based on the requirements. There are different ways you can approach this and the situation will call for the right thing, but there are some successful tricks my teams have used in the past:

- If you are building a broad API for a group of features. Do it in parallel with 1 of those features and finish them together before working on the next feature that uses that API.
- Database changes always come first
- Multi-sprint items need to be cut up to achievable milestones within the sprint boundaries
- Done means: design, code, unit tests, and functional tests are all closed
- Bugs stay flat or go down from sprint to sprint
- Automated tests increase and the pass rate is as close to 100% as possible

This list is not exhaustive and I have other tricks very specific to the projects that I have worked on. To use a hiking analogy, “you always move from water and not to water.” If you have ever been hiking in the Grand Canyon you will understand this. Every time you move from a stable (or at least known) state to another known state then the in between is not so hard to deal with. If the code base is entirely unstable from sprint to sprint you will find that the end of the project is a very hard road with lots of late nights and emergency re-dos of code. Keeping the bug count as small as possible and automated test case pass rate on an increasing trajectory on the boundaries keeps everything in check. When you move from water, you can always go back if you need to.

5. Minimizing the Test-Dev progress delta
This is the hardest thing in all of engineering. There is always a tendency for development to run ahead and put together tons and tons of code and then leave it on the testing team’s doorstep. This approach will and has always failed. To finish something you need it to be fully tested. Without that, the state is frankly unknown and unstable. Having lots and lots of code in that state is bad. So the dev progress should only be slightly ahead of the test process. In Agile they would say it should be totally in sync, but in practice that is never the case. Test and dev have a back and forth and a natural order that falls into line the same way in every team I have been in. TDD and BDD are great goals but I have seen great software come out of teams that have not followed that practice.

When dev and test are separated by entire sprints or entire milestones, that’s when things get squirrely. The closer you can keep the dev and test work together the higher the code quality on a day-to-day basis. You will move much faster with a tested, bug-free code base then you will with a code base that has a ton of features that haven’t been tested.

6. The team doing the process decides the process
The very last item is the kicker. The team is ultimately the judge of the best process to use. In other words the process needs to be tailored to the needs of the business rather than the other way around. When a team is forming for the first time it is good to use a text book version of a process to get going. But continuous improvement determines that it will not be in that state forever. To get better you need to have a process that works for all the teams involved. You need to have a process that works for the management team, the product managers, the engineers, the testers, the documentation team, the support team. The process doesn’t begin or end with engineering.

The process cannot be handed down from on-high. This gets into the same problems as #2. The assumptions will be wrong. You need to analyze the process and the users of the process as much as you would for the users of the product you are building. Mr Gualtieri came up with his PISS paradigm (which he could have made IPSS if he wanted to), but he is wrong, and scrum is wrong, and XP is wrong, and waterfall is wrong, and feature crews are wrong, and my 5 points above are wrong. They are all wrong for anyone but the people who created them. The process that works is the one that works, not the one in the text book.

Here is my advice. Find a process you think would work for your business. Apply it by the letter, then improve it rapidly at first, maybe even throwing it out entirely and starting again with something else. Once you find the one the works, improving it on a regular interval. Be empirical about it. Make improving the process as much a part of your business as building great products.

Permalink

An interesting sci-fi book by John Scalzi and read by Wil Wheaton.

Permalink

Review of The Game of Thrones, the first book in The Song of Fire and Ice series by George R.R. Martin. Read by Roy Dotrice.

Permalink

My Review of Spark by John J. Ratey and read by Walter Dixon.

Permalink

Review of Echoes of Honor by David Weber. Read by Allyson Johnson. The 8th book in the Honor Harrington series.

Permalink
[Off topic] 24 Hours Later: Switching to android

Phone: Samsung Nexus S
Carrier: Rogers

I just had to write a post about this. I have heard the theoretical arguments for so long that I wanted to give the practical. Instead of discussing what feature gaps there are between the two, which is exactly how everyone else approaches, I am going to discuss the usefulness of the differentiating android features as well as the things that annoy me since I am coming from iPhone.

Why “Open” is useful:
- It lets you customize the crap out of stuff.
- Download whatever you want, at your own risk. No parents watching over you.

Why “Curated” is useful:
- Way easier path to find things. iTunes, App Store.
- Better protection from rogue apps. I noticed that I wasn’t paying attention to the services that apps were using when I installed them on android. I am sure I am not the only one.

Differentiating features for Android and how they play in my day-to-day:
Flash - Doesn’t play at all. Haven’t even installed it yet.
Widgets - Meh, interesting and fun. Not useful. Why is there no gmail widget from Google?
“Open” - Since I a tech savvy I enjoyed the fact that I could download custom apps like swype off-market. But I can feel the danger of the system immediately. I would never recommend non-technical people to do this kind of thing.
Device Choice - This was nice. For $99 I got a relatively new Nexus S whereas 279 would have bought me the 1+ year old iPhone 4. This ultimately was my buying decision criteria.
Google integration - This is spotty and I might say dreadful. Android and Chrome don’t sync bookmarks. Tell me that doesn’t look like an internal battle between the organizations. Sure Calendar, Mail, and Contacts sync but that isn’t different than the iPhone.
“Real” multitasking - I don’t know how people stand behind this “feature.” It is just another thing that the user has to track and maintain. I would actually say that this is deficiency. People don’t want to manage things, believe me I work in the management software business. Application state should be automatically managed. Rogers recommended to download an app like Juicedefender which does the management for you, seems like Google missed a feature that people need.
Switchable keyboard - I use swype now. Swype itself could be better, but the potential is great.
Built in Navigation - Very useful. I want to buy a dock to take better advantage of this.
Extra hardware buttons (Back, Menu, Search) - I am still having a hard time switching my brain from the iPhone way of doing things. Menu button I think is just bad design.

Things that bug the crap out of me about android:
Mac integration - Doesn’t work out of the box with iTunes or iPhoto. Very painful… very very painful. iPhoto especially.
Hands free calling - Anyone who claims that what android “offers” in the way of voice dialing is any good is just smoking something wacky. Every phone I have used ever (feature phone, BB, or iPhone) has done this better.
Browser - Doesn’t respond to taps appropriately. Doesn’t provide appropriate feedback to the user that something is happening (or not happening). I am constantly tapping, re-tapping, hitting the back button, then tapping again.

Thanks for reading.