Friday, September 26, 2008

Hurricane Ike and MotoGP at Indy


My brother and I were fortunate enough to fly out to Indianapolis to see the MotoGP. The remnants of Tropical Storm Ike made things a lot more interesting than we anticipated. Basically, it was three days of torrential rain. So in many ways, it was a unique experience, beyond the historic build-up about motorcycles racing for the first time since 1909 at Indy.

First, the weather, where we later saw the local weather man showing the center of Ike going over the city, and the racetrack. I was not surprised, because on race day, the winds changed 180 degrees from the 125s to the 800s. It was very dangerous out there, and even though it's exciting to see a crash, you really don't want to see someone get hurt. Bringing out the red flag on this day was merciful. Sheets of water, leaves, branches, trash, all flying sideways across a wet track, while these guys are going 200 mph, is a little crazy.

In spite of the weather, the experience was fantastic. I definitely want to go back. The people, obviously hurt by the economy, were really wonderful, and well organized. The number of merchandising choices was the largest I've seen at any track event. Lots of food at different parts of the track, which made things convenient when the downpour started. We had some coffee and a funnel cake (a stringy waffle snack with powdered sugar), which was really tasty. Standing under the bleachers, while the heavens opened up, you knew you were surrounded by the hard core fans, that's for sure.

As far as the racing and the track, it was really nice. Valentino Rossi won, passing Agostini's record of all-time premiere class wins. Nicky Hayden came in second, sporting a Colts logo on his helmet. Nice to see him return to form, and even nicer to know that he moves from Honda to Ducati next year. It's hard to win on a bike specifically built for the Spanish midget. Dani Pedrosa was repeatedly greeted with loud boos from the crowd, so the Honda bosses had some things to ponder about their decisions. Pedrosa is not the next Rossi. The next Rossi was not on that grid. But in the 125 Red Bull race, Hayden Gillim looked incredible for a kid only thirteen. Perhaps he's the one....

If you've never gone to see grand prix motorcycles race, give it a try, you may really like it. It's not as crowded as NASCAR, and there are a lot of passes and crashes, that are far more entertaining and close than what you see on four wheels.

Wednesday, September 10, 2008

The Mojave Insult and the Seinfeld Shoes

As with most people, the negative impression of Vista has been long, deep, and across the board. It's not sporadic, it is the vast, overwhelming majority. Even the most staunch Microsoft zealots have had major problems with it. Vista is a disaster.

I had a former co-worker, who was an ex-Microsoft employee, and he had gone back and forth between installing Vista, versus back to XP, then back. When you have Microsoft power users, experts (!), blowing 4+ hours for each Vista retry, and failing, you have a big problem. It is crazy to think that the general public will be more successful.

Enter "The Mojave Experiment." I had heard about the site, which requires Silverlight, by the way. Last night I finally saw the TV commercial. The premise is like the old Pepsi Challenge, where you try Coke versus Pepsi and pick the one you like. But this one is a "new" Microsoft OS called "Mojave," where people off the street try it and love it. They are implying that this should be compared to Vista. Then the big reveal is that Mojave is Vista, Vista is Mojave.

In other words, there is nothing wrong with Vista. It's not a software problem, it's a people problem. People are just too stupid to realize how wonderful and bug free Vista is. What a relief. Apparently, we have all suffered some mass hysteria where we imagined Vista problems that weren't really there! All it took was a controlled environment, with novice computer users, to prove it. Microsoft is denying there is a problem with Vista.

I saw this commercial with my wife, and her reaction was that it was an insult. I think her observation was spot on. This is hubris and denial on a very public and embarrassing scale. It's official: Microsoft has lost it. Microsoft is telling us we are just stupid, it's not Vista.

Later on, we saw an Apple commercial, this one where PC is the King, with robe, sceptre, and throne. The premise being that Apple store staff will help you transfer your PC files to Mac when you switch to Mac. What a contrast of message: "You're stupid" versus "We will help you, it's easy."

So the big plan was to have Jerry Seinfeld come and save the day, and overturn these Apple commercials with something hip and funny. If you have not seen the Seinfeld/Gates shoe commercial, don't worry, you're not missing anything. The message is very subtle. In fact, it is so subtle, I don't get it. Seinfeld and Gates say we can expect something pliable, mushy and gooey? We are supposed to be impressed with Gates shifting his butt? Are you kidding me?! The Seinfeld commercial is definitely not funny.

At $10 million, I originally thought the Seinfeld project may stop the bleeding on TV. Instead, these commercials confirm the bleeding and the denial are all too real. My opinion is that Mojave and Seinfeld are monumental marketing gaffs. Vista will not recover from its well-deserved reputation. The bottom line: Microsoft is in a public relations free fall.

Sunday, August 3, 2008

Book Review: Manning Adobe AIR in Action

As of this writing, there are more books on AIR coming in the fall (2008). So I was excited to have an opportunity to review a book before its release. So, many thanks to Manning and Emmy Southworth of he Salt Lake City Adobe User Group! Adobe AIR in Action is a superb book, and I would say is the first must-have book on Adobe AIR.

One of the strengths of this book is the flow and pacing, which is pretty consistent, and comfortable to follow. I came to appreciate the way Manning uses it's code samples, with numbered comments, that also correspond to the sentences in paragraphs that relate to lines of code. It's practically impossible to get lost, and that's a confidence boost for the reader.

Another trait of the "In Action" books is the concept->example formula. Easier said than done, this book is a fine example of really pulling it off. I never felt overwhelmed. The sample applications here are refreshingly concise. Many books have examples that have a lot of code that wanders off a little, but not this one. One of the applications is using YouTube APIs, where there's enough dazzle, without extra fluff. The sample applications here stuck to the point, and didn't waste my time.

So what are the highlights of the book?

When it comes to standard Flex/Flash RIAs, there's really no need to consider anything outside the browser. This book concentrates on desktop-oriented programming, the things you need to know. I thought the section on menu types and how they work across OSes was very thorough. They cover many of the gotchas of window types, and things that we tend to expect from a windowed application as far as behavior.

File system concepts, like reading files, reading directories, reading streams, writing files, all are handled well. Excellent examples of all. The copying, pasting, and drag and drop are covered equally as well. The material always feels complete, not rushed.

The database section concentrates in AIR's support for SQLite, and again gets to the implementation in a direct way. There are obligatory pages going over the basics of SQL, and a nice explanation of how to create a database and tables. They show a relational junction table as well. However, I am always a little sad when databases are discussed, and normalization is not. I know that AIR application databases are relatively small in size. But...Normalization is THE most important thing to know - truly know, when building any database. It's a serious gotcha.

I enjoyed the Network communication chapter, which covers HTTP and other network connectivity monitoring. There's only so much to show here, whereas a Flex book may show a lot more about the actual communications.

The HTML in AIR chapter could easily be applied to a normal Flex RIA. It's always nice to see how you can have Actionscript and Javascript communicate via the DOM. There is no shortage of good examples, and they don't disappoint. Obviously the authors were very excited about it. However, the parts that I found most interesting was loading PDF, managing caching, cookies, authentication, and sandboxes. I was really pleased they included this material.

This book has the best explanation of installing with badges and updating that I've read so far. It's easy to read, and takes away any intimidation. If only all desktops were this easy! They finish up with launching an AIR application via file type or browser RIA (Flex or Flash). This functionality of the AIR runtime is really appreciated by those of us who've done desktop development, and done it manually.

Summary

Adobe AIR in Action is a great book that is very concise in its concept descriptions. The examples are top notch, well explained, and easy to follow. They cover the basics of what a desktop application needs: windows, menus, file access, clipboard. They cover using the SQLite database and network connection well. And the installer and automatic updates features of AIR are simple and complete. The best way to describe this book is concise and competent. If you are a web developer, doing a desktop application for the first time with AIR, this is a book that will really help you. For any AIR developer, this book is easily a strong reference/sample book, that will not collect a lot of dust. It's that good, very usable.


Saturday, July 19, 2008

Book Review: FriendsOfEd Foundation Flash CS3 Video


Being someone who works with Flash and video as my profession, this is obviously an appropriate book for me to read. I am happy to say that this is a really good book, and touches on some subjects where previous Flash video books have not gone before.

As with all Flash video books, they start with the usual "Here's how to slap in a video, encoded, and running in an FLVPlayback component. Standard stuff, not unexpected, and yes, I'd say obligatory.

They also go into how to create some video content and editing with iMovie and Movie Maker. I was surprised that this actually well done, and had the right length.

Where things start to get interesting is in the "Talking Heads" chapter. It was really good to see a much more expanded explanation of how to approach this common technique. They go into more detail about creating alpha channels with After Effects and Final Cut Pro than I'd seen before. Instead of just showing how to do it, they also discuss how to do it with some flare. This includes applying filters, blends, shadows, video-on-video, and video reflections. The book really goes to some places I really hadn't considered trying with video. There is a nice explanation of using a matrix and how to apply a Convolution Transform.

This book shows masks and effects in much more detail than previous books I've read. They do examples of moving masks, rotoscoping, aging and more. Although I prefer to use After Effects for video effects, this is a good alternative if you don't have video production products to do that.

I like the section on playing multiple videos. It gives you some different ways to do that. The interactive video of the guy slapping himself was hysterical. If you have a kid who likes slapstick, this interactive approach to video abuse is pretty entertaining.

The chapter on going small and going big is excellent. While I'm not into video for the phone -- yet, this is covered fairly well. Much more appropriate for my work is going big, and that's looking at fullscreen h.264. This is the only Flash video book at this time that really dedicates space to this subject, and does a good job. There has been a lot of moaning and crying over Flash Player and it only supporting flv and mp4, and how that's not "acceptable." Grow up already! AVIs, WMVs and MPG (2) are ancient, obsolete formats, and are the video equivalent of the 8-track tape. The difference in compression, bit density and quality is absolutely huge. Don't believe me? Standard video on an HDTV looks terrible, but that is not stopping sales, is it? It's the same thing. If you are a Microsoft guy, and you're trying to do video -- I pity you. In stark contrast, the Apple MOV format is identical to mp4, and their video tools are incredible. They are in great shape!

The last section they have that is unique is using the camera object. But they really go a lot further, using video for boxes, flipping them, and inserting them into various displays. The effects and things you can do are very similar to iPhoto and iMovie effects, only you can do them from Flash. I can just see some security guy wanting to use the motion capture example.

Summary
FriendsOfEd Foundation Flash CS3 Video is an excellent book, with a lot of solid detail. It covers a lot of territory, as far as techniques that someone can use. Other Flash video books cover a lot more video production and encoding than this book does. But if you are doing any video with alpha channel production, fullscreen, mp4, or cameras, this is the right book for you. That's where this book shines.

Thursday, July 10, 2008

Pixar Lunch at ADC 2008


As I've posted here before, I attended the Apple Developer Conference 2008 in San Francisco. One of the most interesting speakers I heard was someone from Pixar Development. Aside from being entertaining, there were some awesome quotes that really had me going "Amen, brother!" Here they are, paraphrased:

"If your application and its architecture are not going to get you where you need to be, it's okay to let it go." Sometimes when a lot of development time has been investing in one's code, it is hard to admit that it is obsolete. Using yesterday's code to add on today's new development challenges can mean compromises that prevent you from creating the best software you are capable of. The more this is repeated, the more limited you become. This doesn't mean leaving a path of destruction. However, nothing lasts forever, and the lifespan of software is incredibly short. Modern development challenges require modern software architectures. Software should be clean and concise, without the workarounds of the past. In the long run, it costs more money to keep tweaking than it does to rewrite it and do it correctly.

"If you are not going to make industry-leading, best-of-breed software -- don't do it. You are wasting everyone's time. Go do something else." This is a bold statement, but it goes to the heart of the aspirations of a developer. If you are developing something that is second rate, you might as well pack it in. The example he used was for the movie Toy Story 2. Disney wanted a cheap, straight-to-video movie. Unfortunately, the people at Pixar working on the project got incredibly depressed, and hated their work. They were taking shortcuts and compromising the integrity of their work, and not fulfilling the promise of what they knew they could produce. So, they went back to Disney and said, no, we will not produce a low quality product. The final result was a high quality movie instead, and happy people, not just at Pixar, but for the audience.

"Build sharp scalpels, not dull Swiss Army knives." This one can get some people a bit defensive. There are those who think that feature-rich means quality. It does not. It is better to make separate products, or even plugins, that are extremely high quality. They serve a specific purpose concisely, and with power. Would you want a doctor to operate on you with a Swiss Army knife? I hope not. This is true for making modern software. It is also true for careers. Technology changes, evolves, and gets better. As new tools and technologies emerge, you should use the best you can to complete your task.

My Thoughts.
I think that many developers become so skilled at certain languages and technologies, that they refuse to use better, more efficient tools to complete their tasks. Some view my career as a Jack-of-all-trades-master-of-none, because I have not become an extreme expert on a particular language or skill set. That requires a complete investment and some blinders, where you have to ignore new technologies to a large extent. I believe that is fairly stupid, and a recipe for career obsolescence.

I think some developers personalize their software. It becomes their baby, and their work represents who they are. Actually, if someone does this, I agree. As their software becomes obsolete, and stops moving forward, so do they. I think this is crazy. I think you always modernize your code, and yourself. I believe you keep your eyes open for the best, most modern tools and technologies you can find to produce industry-leading results.

Technology is not built on bedrock, it is built on sand. The higher you build, the more unstable, and the greater the fall. Adaptation and speed allow you the ability to acquire excellence. Excellence is a constantly moving target. You can place your foot down on the technology treadmill if you want. But if you do not know when and why to lift your foot and move forward, you are not as good as you think you are. Pixar is the perfect example of moving forward and not compromising excellence. I say, be like Pixar!

Saturday, June 14, 2008

My week at WWDC08 Apple Developer's Conference in San Francisco

I just got back from the WWDC08 Apple Developer's Conference in San Francisco, and it was a fantastic week! Now before anyone starts looking for info from the conference...I'm sorry, I can't do that, NDAs in place.  Let me just say that as a developer, there has not been a better time to embrace Apple technology. I'm not saying that in a small way, I'm saying it in a big way.

Since I work with and enjoy creative media technology, Apple and Adobe have been the places I have looked to. I have applauded Adobe's move to embrace Linux, not just in words, but in real products. But as many Adobe technology buffs observe, the carbon-based Flash Player on OSX is not exactly getting with the program. Apple has been going the way of Cocoa for some time. Don't even get me started about Flash on the iPhone! The ball is in Adobe's court, it's no secret what they need to do. I sincerely hope they respond well.

One of the highlights of the week was our Helius group going to the ballpark to see the A's and the Yankees. The A's won.  The food in the city was fantastic. I think my favorite meal was at Roy's, which is not too far from Moscone Center.


Up until now, the market share of Apple was so small that it was a niche of a career move to develop on. The combination of a very successful OSX, the explosion of iPods, the spectacular failure of Vista, and those extremely-funny-and-true mac/pc commercials, the market is changing in Apple's favor. Look on any college campus, and the cool kids are the one's with the Macs, definitely not the Dells. At the conference, the momentum is obvious.

As a developer, that is a trend I cannot ignore. The fact that the conference sold out for the first time, and about half of the attendees were first time attendees spoke volumes. And after this week, and seeing the direction, and the polish of the development tools, I've come away extremely impressed and energized.

Yes, I want an iPhone! Yes, my head is swimming with information and techniques from the week! Yes, I ate too much! Yes, I had a great week with perfect weather! Yes, I love working for Helius! I'm typing away on my Mac laptop, on my back porch on a sunny, mid-70s day with my wife, our cats, and my son playing in the jacuzzi. Tomorrow is father's day. I'm happy, for sure. 




Monday, May 5, 2008

Autism snippets: May 5, 2008

William Coleman, founder and chairman of BEA Systems Inc., has donated $250 million to the University of Colorado to research neurological disabilities like autism and Down Syndrome. This is the largest gift ever given to a public university in the United States. The Colemans have a niece with special needs. Good news.

Here in Utah, we just had the Utah Walk Now For Autism. Thanks to everyone who participated and donated. This was organized with Autism Speaks, who is also getting donations through Toys 'R' Us.

May 21-25 is the Autism One 2008 Conference in Chicago.

My wife heard from one of the neighbors that a kid was doing a presentation in his class about autistic children. Before the presentation began, the teacher of the class began by saying that vaccines have been proven to have no link with autism. So, with that the student presented his arguments, and won over the class, over the vocal protest of the teacher. Why? He argued that epidemiology was not hard scientific proof, citing the decades of epidemological studies "proving" that cigarettes did not cause lung cancer. His conclusion was that until we have non-epidemiologocal proof, we should be safe rather than sorry. Smart kid! No word on his grade.

For parent of autistic children, wanting to find those answers, it's amazing how aggressive people are in shouting us down. Our society has been well indoctrinated into calling our concerns a myth. But autism is not like the Loch Ness Monster. You can easily sit down with thousands of American autistic children, and solve the mystery. You get a new one every 23 seconds! As demonstrated by this classroom, the propaganda is not working. In this case, the children are smarter than the teacher.