UX design and Agile: an awkward interface

agile methodologyAgile is a hot term in the industry. So are terms like object oriented and web 2.0. And like those other terms, agileis frequently misunderstood or misused. Or it becomes a hammer in search of nails.In this article, design to refers to methods employed when creating a User eXperience, or UX. Things like concept development, interaction design and visual design. Engineeringmeans standard activities like architecture, development, testing and continuous integration – things that make up the activity of turning a UX design into a real user interface that a person can touch, or click, or swipe.I started out thinking mostly about design, engineering and process, but ended up considering the relationships between different processes and risk. Risks like running over time and over budget, or ending up with a product that doesn’t really express the key nuances of the UX design.

Getting agile

Agile methodology, fundamentally, assumes the ability to encapsulate work into small tasks – the agility comes from the high degree of granularity and the ability to reassess progress and change direction after a smallish amount of time. Agile methodology further assumes that these tasks can be prioritized. And, generally, it assumes that teams can compartmentalize the work into sprints, usually one to three weeks in duration.

In practice, tasks are extracted from user stories and sized via the use of story points, a point being an arbitrary unit, a convention that describes the ability of the team to consume work. For example, an item might be assigned the value of 10 story points, or a team may decide that they can consume 150 story points per sprint (their velocity). Once identified, the tasks are prioritized, then placed in the backlog, the queue from which new work is assigned.

An important point: an agile team pulls a sprint’s worth of work from the backlog at the beginning of a sprint – but any work arriving after a sprint has started is prioritized, placed on the backlog, and considered at the beginning of the next sprint. In short, no new work is added to a sprint once the sprint has started. This allows a team to develop accurate metrics around their ability to do the work, reduces randomization of team members, and generally preserves sanity. Risk is mitigated by the ability to assess progress in short intervals, to make course corrections quickly, and to reprioritize tasks as required.

UX design: holistic by nature

The mention of design often conjures up a process that is more fluid, more nimble, than engineering. But that fluidity can actually prevent design from lending itself to agile methods: designing a UX is essentially an holistic process, where any change in an interaction model may need to be integrated across all parts of a user story, or even the larger context of an epic, or collection of user stories. A large number of tasks may be identified within an epic – but it may not be appropriate to transfer those tasks to the engineering team until the entire epic is completely designed and frozen.  This can apply to visual design as well, where changes in branding, style or design language can have impacts across many parts of a design.

ux design

Indeed, that condition might extend to an entire collection of epics, or an entire application, or an entire suite of applications. The risk here is that assessment of progress against scope and schedule may only be possible after large amounts of work have been completed.

Keeping the loops small

While still contained within the design process, changes can be resolved within the design team. Once handed off to the engineering team, however, surfaced changes frequently need to be fed back to the design team for resolution:

End-to-end process

The larger the loop, the more expensive the change, and the bigger the risk. And the loops are unpredictable, adding even more risk.

Waterfall as an alternative

Another development methodology, “waterfall”, requires that work items transition from one group to the next through a gate of sorts, where the implication is that the work being transferred is “cooked”, or “frozen”, or complete, essentially freezing risk as well. This process is usually seen as traditional, old school, rigid, antithetical to the freedom and flexibility of the agile method.

Hybrid processAll that’s true.

Hybridization

At the same time, there may be places where a gated handoff is beneficial in the sense that it keeps the loops smaller.  The holistic design process would lead to a frozen body of work that is passed through a waterfall-like gate to an engineering team using agile methods: a hybrid process.

The three-legged stool

Three parameters affect a project in general: scope, schedule and budget. Fixing more than one of these increases risk dramatically, yet by far the most common case is a project where budget and schedule are fixed, while scope remains bit fuzzy when work starts. Running on a fixed timeline with a fixed budget means a defined amount of person-hours is available; if scope increases, working hours in the schedule increase outside of budget, and margin falls. In an agile environment, scope changes are usually handled in the backlog prioritization, the assumption being that if scope increases sufficiently, some lower-priority tasks may not get completed. That’s a difficult concept to communicate to a client.

There’s no such thing as a free lunch

Everything in design, and in engineering, is a matter of compromise. The hybrid process described here assumes that UX design work reaches a predetermined complete state before the engineering process begins on that part of the design. This may mean that the design for the entire project should be completed first. It means that some design resources will need to be retained during the engineering phase, as changes will inevitably be required, to preserve the UX fidelity of the final product. It means the schedule for the project will probably be longer. In practice, however, the overall timeline usually suffers more from those large, unpredictable loops called out above. And in the end, correctly sizing a project, mitigating the risk and executing within project parameters are the factors that lead to success.

So long, mom

 

Mom died yesterday afternoon, 11/2/2011. She was 87 years and one month and one day old, and I loved her very very much. It was a long battle, as she’d been ready to go for quite a while, fighting off the things that encroach on most people’s lives when they reach that age.

Mom was a softie with a steel core. A swede, she toughed it out when I was five and she discovered that her son had cancer, and that she was also about to become a divorced mother of two. We all survived that, and she saw my sister and me though our childhoods and out into the world as her own world contracted down around her condo. In the end, she was housebound, bored, and, as she put it, “over it.” The last days before her death, she was occasionally feisty, somewhat mobile, played her beloved piano a bit. She went quietly, in her own bed, just the way she wanted to.

She was my friend. I recall the exact conversation when that happened, when we evolved past mother and son to become friends who could speak their mind to each other, keep each other honest, support each other, and love each other.

Most of all things, I will miss you, my friend.

RIP, Steve

Whoa. I can’t say I was surprised at the announcement this week, but I was surprised by my reaction. First, the disclaimer: I’m not quite an Apple fanboy, but I’m pretty close. Still, while I appreciated the role Steve Jobs played in the Apple mystique, I feel I’ve always been pretty centered in the sense that I knew Apple was more than simply an outlet for Steve’s creative energy. There are lots of very smart people there, empowered to some extent by the single-minded attention to the experience that was promulgated by their CEO, granted, but there’s more than one voice contributing to that chorus. I continue to have faith.

But the announcement, and later contemplation, brought tears. For someone I’d never met, never dreamed of meeting. Someone about whom I’d heard both good and bad, about the creative genius and the autocratic despot. In Orson Scott Card’s Ender’s Game series, the main character becomes a “Speaker for the Dead”, someone who speaks the truth about the departed, good and bad, without regard for politics or social subtleties. To accomplish that end, the Speaker had to become intimately familiar with who the deceased truly was, a sometimes awkward and even painful exercise. But the catharsis, the clarity, provided by this feat, simultaneously epic and humble, incorporated an intrinsic value: truth. I hope we have Speakers to remind us who this flawed and yet amazing person really was.

Steve and I share a birthday. There’s a year between us, but it’s still strange to see that date in print, to grasp that he’s gone, to mourn the loss and at the same time appreciate the life he led and the impact he had. Indulging in a bit of geeking out, I watched the original iPhone keynote, re-experiencing the feeling that the earth was moving, just a little bit, as he described those capabilities that are now considered table stakes.

I look forward to feeling the earth move again, to be surprised and inspired. I have a taste for it now.

Thanks Steve.

Summonsed

http://www.imdb.com/media/rm2516156672/tt0050083So, I was “summonsed” (yes, Virginia, that is a word) to jury duty this week. I went in naively expecting drama and tension, and what I got was quite different. For a large part, the selection process is, well, pretty boring (I can’t speak to actually sitting through a trial because that didn’t happen). But the chairs in the juror’s room are amazingly comfortable, and the wifi is actually pretty good. The coffee, on the other hand, was even worse than the staff warned. But the atmosphere was chill, they worked hard to keep us all informed, and while there was a lot of waiting around, it felt, overall, purposeful.

That was the juror’s room. Then I was called two different times, in a group, to go up to a court and participate in the selection process.

Voir dire revolves around the concept of telling the truth under oath. It’s Anglo-Norman, for crying out loud. Basically, the prosecution and the defense vet the jury by asking a bunch of questions to try to get  a feel for who they want and who they don’t want. Sort of a more sophisticated version of choosing sides for dodgeball, evolving into something more like a game of chicken, or poker, as each attorney uses up their last challenges, trying to shape the jury to be sympathetic to their respective side. After two selection experiences, I’m hardly an expert, but there were consistencies across those two experiences:

  • Can you support a law you don’t agree with?
  • Do you understand the concept of reasonable doubt?
  • Are you bringing any prejudices with you into this court?

While the first two sorts of questions met with a fair amount of confusion (in no small part because of the way the counselors presented them), it was the last one that elicited surprises; we may have gone through full airport-like security to get into the courthouse, surrendering all weapons, but there were plenty of axes to be found grinding once the jurors started answering questions: there was the juror/lawyer whose native american family had seen their share of abuse. The asian juror who’d been mistaken for someone who didn’t speak english – 30 years ago. Many jurors who’d had their property stolen and felt they would tend to convict anyone charged with such a crime regardless of the evidence or presence of reasonable doubt. The Vietnam-era conscientious objector who still needed to vent. The elderly juror who turned a question about a lost tourist couple into an story about a driving lesson for their niece, because that’s what was on their mind at the time. The people who felt compelled to declare their position and the people who went to great lengths to avoid having a position, even when pressed.

All up, the process impressed me by how intensely personal it was. This wasn’t the grim set of folks from Twelve Angry Men, this was a bunch of normal, conflicted, vulnerable people who’d been pulled into the court system to decide the fate of someone, and many of them were uncomfortable with that. Some of it was interesting, some of it boring and even tedious, but if you took it as an honest cross-section of our community, it was quite a reality check.

During the process, I discovered that there is no provision in our legal system for allowing a person to volunteer for jury duty. It precludes the advent of the “professional juror”, and it’s a pretty effective means of guaranteeing a certain amount of randomness and, so the theory goes, a lack of collective bias.

Make your case and then throw the dice.

08-14 Hive Inspection

 

Hive inspection today. The little gals are busy; looks like almost two full supers of honey, comb being built in the third and possibly bottom super.

Honey!

Hive inspection today. We opened up the hive and found the top super weighed something like 10-15 pounds – amazingly heavy!

We also added a prototype of a new super I’ve designed after looking at all the versions of observation hives I’ve seen. It’s not perfect, but it’s close, and the next ones well be better.

Building comb

first inspectionWe inspected the hive this morning. I still haven’t seen the queen in there, but then again I’m slowly building up my confidence when it comes to calmly removing top bars and inspecting them while the bees seem to get a bit pissed off. Also, I don’t seem to have the smoking technique down quite yet, as the bees sometimes ignore the fact that I’m blowing smoke in their little faces.

But in the top box, it looks like 6 out of the 8 bars have fully-built-out combs. I slid one out, a little surprised that it wasn’t attached to the sides yet – perfectly straight comb, covered with bees, and looks like honey on the back side.

Next time I hope to find evidence that the queen is healthy and busy – in the meantime, I’ll be doing more research to understand what that actually means.

Eyewitness weather: Cliff Mass and KUOW

BAROMETER, n.

An ingenious instrument which indicates what kind of weather we are having.

— Ambrose Bierce, The Devil’s Dictionary

There used to be a sitcom on TV titled WKRP in Cincinnati. Les Nessman, the weatherman, was heard on-air bringing the “Eyewitness Weather” report. On being questioned, he admitted: “well, I look outside and see what the weather is.”

On the other end of the spectrum we have Cliff Mass, local luminary, meteorologist and UW faculty member. Cliff has been presenting weather on our local NPR station, KUOW, not just as an animated map (try that on radio) but incorporating a peek behind the curtain, letting the gentle listener hear the lingo as the big weather dogs speak it, gaining a small understanding of The Big Picture behind our local weather.

No longer. Cliff has been canned.

Cliff made a mistake. Not by predicting a sunny weekend in error, or by referring to a Cirrus cloud as a Cumulus (terms few people would ever have heard on the radio if not for him). He didn’t cause thousands of people to leave their umbrellas home for The Big Game somewhere.

No, Cliff dared to discuss science and mathematics from time to time on his show. That’s right, math. This became indigestible for KUOW, who know how math people can get out of hand from time to time (math riots in particular can be quite, er, problematic). Going further, Cliff deigned to discuss the state of math education, veering into the politically thorny territory of UW admissions criteria. This seemed to prick both the UW Admissions folks and, more importantly, KUOW management.

As happens with anything political, swirl ensued, mud flew. A few interesting bits:

UW admissions policy regarding in-state and out-of-state students, GPA, and tuition levels. Or grade inflation in local school systems and “when does a 4.0 really mean a 4.0?” Ironically, it seems like Cliff might actually have been defending UW admissions policy against a story in the Seattle Times when he crossed the meteorological line.

Or public radio management drawing boundaries around acceptable topics for those presenting on air. College admissions shenanigans appear to be less of a hot potato than legalization of marijuana.

Or how a public radio station can hope to remain fresh and relevant when the management roster hasn’t really changed in a decade. I’ve wondered for years now when I’ll hear more than the same four voices on KUOW. Has the station become a club where the main operational goal is to preserve the places of those few in power rather than, as is their charter, provide information for the public good?

In the end, KUOW (specifically Steve Scher and Katy Sewall) fired Cliff. By email.

You can read Cliff’s account on his blog.

It may be that the only way we’ll continue to hear Cliff’s voice in the future will be through podcasts: “Canned Cliff”.

We bee hiving!

The bees arrived this weekend.

All 10,000 of them.

Notified of shipment last Tuesday, we expected them by Friday, US Priority Mail. Arriving home from work on Friday, there was no box of bees, no note in the door, and of course, unlike UPS or FedEx, USPS doesn’t update you during transit, only “each evening”. With no options, we went out to dinner and hoped the Post Office would let us know about the bees before they died in transit. The bees that is.

7 pm Friday evening, just as we’d ordered food at an area restaurant, I received a call from one of the workers at the local post office.

“The last truck brought in a box of bees… and I don’t know what the heck to do with ‘em here… I feel very uncomfortable.”

We agreed to pick up the bees after dinner, a 5-minute drive from our restaurant. The bees were pretty dormant, but obviously alive, and spent the night in our garage.

The next morning, the fun began.

Keep in mind this is my first time as a beekeeper. I’d done the research, read hundreds of postings on the web, attended local beekeepers’ meetings, registered my to-be apiary with Washington State. I’d acquired the hive, the tools, and the highly-fashionable clothing. The thing is, just about every account of “proper” beekeeping seems to conflict with every other account – and some accounts contradict themselves in mid-post. In the end, I’d sort of taken a very non-scientific sampling and plotted my course somewhere along what I perceived as the mean. In short, I’d gone with a SWAG (Scientific Wild-Assed Guess). With 10,000 bees.

Sarah, my wife, handled the photo/videographer role with aplomb. All in all, the installation took about 10 minutes, and the bees seem pretty happy. First step taken!

More photos: bee package install photos

and a movie: bee package install movie

The 7-inch iPad

Terry Gilliam's "Brazil" technologyTim Bray is predicting a 7″ iPad. I’m skeptical. As a former Kindle user and a current iPad user, I can understand the attraction of an option between the iPhone and the iPad: personally, I’ve often wished my iPad were a bit lighter. However I’d argue that, while reducing weight and reducing size are reasonable goals, I’d rather keep the size and reduce the weight – a paperback-sized reading device serves me as a reading device, period: smaller than an iPad, there is little advantage over my iPhone when it comes to producing anything like email.

And a singly-purposed reading device isn’t enough.

Beast of Burden

As a frequent traveler, I’m always looking for solutions that reduce my carry-on weight, or the number of devices I travel with, or the ease with which I can get through airport security. I don’t think I can support the one-device model until I can get a phone-sized device that has some sort of expandable display (see Earth: The Final Conflict, or the 2005 Philips Readius prototype that went from cool roll-away to meh fold-away) – the phone in my pocket is used far too frequently, too casually, to imagine giving it up for an iPad in my pack. So the first device, the phone, is a given.

Can I get away with only two devices? For a long time I’ve lived that model, phone and laptop. Yearning for first-class room to open my laptop in the air, seeking outlets in the airports like some digital mosquito, accepting that I’m going to run out of power on long flights (DigEPlayer, anyone?) In transit, the iPad has generally solved those problems, and the laptop stays in my carry-on for 95% of the time on business trips. For personal trips, I’ve started leaving the laptop at home. I read on flights, manage email when appropriate, read documents, watch movies, play games. I never worry about space or battery or a separate tub in the security line. I’m down to three or even two devices. Using a 7″ device, I would likely be schlepping my iPad along for games/photo editing/newsreading/email/web browsing/other. So now I take three devices on personal trips, four devices on business trips? Not likely.

Precision-Targeted or MIRVs

As a developer, I appreciate the limited form factors targeted by iOS. I can fine-tune my app to either or both displays, and realize maximum quality of user experience. Granted, a Retina-displayed iPad may throw a resolution curve into the mix, but I can deal with that just as I adapted to the iPhone 4. But supporting essentially two devices is viscerally different from three, or more. The cost, time/effort-wise, of addressing 3+ devices means I’ll start considering ways to cut corners: compromises in the UX, common elements that are “good enough”. I encounter the issues, and compromises, faced by web developers and browser/display compatibility. I run across the fragmentation issues faced by the Android community (the same issues faced, and never really addressed, by the Java community more than 10 years ago). While I think WebKit is an excellent tool under the right circumstances, it is not a universal hammer, but I’m starting to see it being proposed often as such, to mitigate platform porting and time to market. In those cases the UX almost invariably ends up being prioritized below production efficiency.

And therein lies the rub: is the experience more important, or is the ease/speed with which I can develop/market an app? If I have to compromise on the experience to get a paperback-sized device, will I love what I will, ultimately, see as a user? And the target for UX should be users loving the experience, something about which Apple has been pretty clear.

I’ll Take Light

Just to make things interesting: rumors of a thinner, lighter iPad.