Latest Concepts & Musings
Still Alive, HTML5 Remix
This article was posted on Monday, October 4th, 2010 at 2:29 pmLast week, I got the wild idea to remix one of my favorite songs, Still Alive from Portal, to be about HTML5. In doing so, I twisted each line’s meaning by including a HTML5-related link at the end and Tweeting the song out, line by line. This broke several rules of Twitter (don’t spam your followers’ stream being the really important one), but I justified it by claiming it was Art.
Much to my surprise, while looking for things to link to for each line, I stumbled upon several sites I had never seen, such as: Is HTML5 Ready Yet?, HTML5 Demos, Burning Words, and Still Alive in JavaScript.
If anything, I’m grateful for not losing any followers (or gaining the exact number that unfollowed) and the one positive Tweet I received by Joe Barstow. I doubt I’ll feel inspired to do something like this again.
For those of you that didn’t follow along, here is the full text of the remix:
This was a triumph. (HTML5 Spec)
I’m making a note here: HUGE SUCCESS. (New HTML5 APIs)
It’s hard to overstate my satisfaction. (Biolab Disaster)
HTML5, We do what we must because we can. (HTML5 Doctor)
For the good of all of us. Except the ones who are dead. (XHTML2 Spec)
But there’s no sense crying over every mistake. (Apple’s HTML5 Demos)
You just keep on trying till you run out of cake. (CAKE)
And the Markup gets done. And you make a neat gun. (Canvas Element)
For the people who are still alive. (Twitter Search for HTML5)
I’m not even angry. I’m being so sincere right now. (Angry Web Designer on HTML5)
Even though you broke my heart. And killed me. (HTML5Shiv)
And tore me to pieces. And threw every piece into a fire. (The Wilderness Downtown)
As they burned it hurt because I was so happy for you! (Chromium Canvas CPU Usage Bug)
Now these points of data make a beautiful line. (flot)
And we’re out of beta. We’re releasing on time. (Is HTML5 Ready Yet?)
So I’m GLaD. I got burned. (Burning Words)
Think of all the things we learned for the people who are still alive. (Dive Into HTML5)
Go ahead and leave me. (Quirksmode on Native vs. Web App)
I think I prefer to stay inside. (Evercookie)
Maybe you’ll find someone else to help you. (Adobe Flash)
Maybe Adobe. THAT WAS A JOKE. HAHA. FAT CHANCE. (Adobe Illustrator’s HTML5 Tools)
Anyway, this cake is great. It’s so delicious and moist. (HTML5 Day)
Look at me still talking when there’s Scripting to do. (Remy Sharp’s HTML5 APIs Presentation)
When I look out there, it makes me GLaD I’m not you. (Quirksmode HTML5 Compatibility Charts)
I’ve experiments to run. (Chrome Experiments)
There is research to be done. (HTML5 Undo)
On the people who are still alive. (Zeldman)
And believe me I am still alive. (Daring Fireball on Mobile Canvas Speed)
I’m doing Scripting and I’m still alive. (DeviantArt’s Muro)
I feel FANTASTIC and I’m still alive. (HTML5 Demos)
While you’re dying I’ll be still alive. (IE9)
And when you’re dead I will be still alive. (IE6)
STILL ALIVE (Friends Electric Podcast: Episode 2)
STILL ALIVE (Still Alive in JavaScript)
Thank you for participating in this HTML5 Enrichment Center activity!
Newspeak Won't Reinvent the Web
This article was posted on Tuesday, July 21st, 2009 at 8:36 pmWhat George Orwell may not have realized when creating 1984′s Newspeak was that a language that could shrink rather than grow might actually be a good idea. For the past two years, Gilad Bracha and a few other folks have been working on a new programming language, called Newspeak, that might actually be able to start off with a mind-bendingly huge feature set, but do it all with just a few brilliant concepts and stay remarkably small in the process.
Josh, a co-worker of mine and a Serial Language Enthusiast, let me know about this new development. Part Smalltalk, a splash of Beta, a helping of Self, and a sprinkling of Pixie Dust makes this language one to take a look at. In Episode 140 of Software Engineering Radio, Gilad explained the concepts of the language. Three things jumped out at me:
- Class hierarchies, as in Classes within classes within classes. Classes, Modules, Namespaces, and Mixins are all handled with the same construct. Top-level classes are Namespaces and you can have multiple instances of these as Modules—giving you side-by-side deployments—and Mixins come by default as all parent classes are dynamically set at runtime.
- Dynamic Typing is used, which I love, but they’re working on implementing Pluggable Types, an optional typing system that will allow custom type grammars. Though, keeping a dynamic runtime, the types will only be checked at compile time, which is basically the opposite of ActionScript 3 running without strict mode.
- Network Aware. The language knows the Internet, as indicated on the Newspeak homepage:
…we believe in a notion of service oriented computing that allows for off-line operation and leverages the inherent advantages of client devices, while utilizing the strengths of the network.
For someone working on the web, this is exciting stuff. Going beyond simply being aware of the network, Newspeak will not only sync with data from the cloud, but with the entire application—running application code client-side. It’ll be like updating the latest version of TweetDeck through AIR‘s update system, but only the modified application objects and data will be sent over the wire. Now this next part is purely conjecture, but as multicore processing will be a focus of Newspeak, an implementation of Erlang-style actors may not be out of the question, and hot-swappable code could make the entire update process as smooth as butter.
What I have to disagree with
From Episode 140 of Software Engineering Radio (starting at 2:06), Gilad says,
The real goal of Newspeak is to create a really nice environment where you can program for the web without worrying about the web, without dealing with all the mechanics of different languages: CSS, HTML, DOM, Database back-end, whatever. In general, to create a language—not just to run in a web browser—but a language for a network world.
Hold it right there! Newspeak sounds like a great idea, but I’m not convinced it will allow people to “program for the web without worrying about the web.” If anything, this sounds like ASP.NET and its automagic markup, styles, and scripts that makes kittens cry. While the day may come when HTML will be treated as the Assembly language of the Web, we are far from it. With so many browsers, so many brand new ideas, and so much further to go in nearly every aspect, from content, accessibility, features, and speed, we’ll be lucky if we get there by 2030, when IE finally implements the CSS3 Template Layout Module.
By then, I will most likely be the old, cantankerous coot that still remembers the days when developers knew why you put the <script /> at the bottom and how to style a <ul /> to make drop-down navigation without JavaScript. But, with HTML5 still on its way and CSS3 being slowly implemented module-after-module, I doubt I’ll have to be very cantankerous anytime soon. Until then, I’ll be playing with a new language and seeing what this Internet fad can really do—even if it isn’t reinvented by Newspeak.
Yes, I am staying at McAfee
This article was posted on Monday, July 20th, 2009 at 6:45 pmAs you have no doubt heard, Tyler Sticka has announced that he will be leaving McAfee. Many of you know that Tyler and I attended the Art Institute of Portland together and, since then, we formed the first Interaction Design team at US Digital (along with Erik Jung), taught at the Art Institute of Portland, and were working closely on Enterprise software at McAfee.
Designing and developing with Tyler is an exhilarating experience. He’s quick, thoughtful, and engaging—and I know he’ll continue to go further as he takes his next step.
With our history, I imagine some might think I’ll be leaving to join Tyler in the near future. I want to say that, while working with Tyler is a ton of fun, I have no plans to leave McAfee. My current role has been, and is, an exciting challenge. With just over a month and a half under my belt, I’m enjoying both the people and code I get to develop with. The five day work weeks have been a little tough to get used to, along with the commute, but free soda and fast-paced, testable, continuously-integrated web development is awesome.
While we may not be working under the same roof, do not fret; professionally we are not done.
Lessons from WoW
This article was posted on Tuesday, June 30th, 2009 at 7:20 pmRecently at the Art Institute of Portland, I gave a presentation to my Advanced Scripting class on lessons web app developers can take from World of Warcraft. While playing one night, I stopped and pondered all of the things that just work. I began to consider why WoW was so wildly successful and thought about what I could take from my experience as a player and apply to web development. The presentation is hosted below, which will be most easily understood if coupled with the notes following.
What’s the big deal?
- World of Warcraft (or WoW) reached 11.5 Million active subscriptions before Christmas of 2008.
- The graphics engine was originally built sometime during or before 2001, making it around 8 years old.
- Nielsen reported that during 2008, WoW players played an average of 671 minutes (or 11 hours) per week.
- In the past week, the quest titled Jack Me Some Lumber was completed over 680,000 times.
World of Warcrafting Web Applications
- The basics of a Web Application and WoW are similar:
- Each attempts to create an Internet-based experience where users are given functionality they would not have in an offline or computerless world,
- Each is served from servers that can crash, software that has bugs, and tubes that can get clogged,
- And each has the imperative of creating an experience worth their users time and, potentially, money.
- As WoW is one of my main non-web hobbies, I want to justify why I spend my time (Over 75 days, logged in) and money ($727.48).
- As I started to pay attention, the plethora of applicable lessons became obvious.
Take the time
- Blizzard first announced development of WoW in 2001, and released in November of 2004. Basically, three years.
- Development was well under way by 2001, so it is not unreasonable to assume at least a year of work had gone into it by then. Essentially, 4 years, if not 5.
- Lesson: Spending the time to do it right, even when others beat you to the punch, works quite well. (Save for Windows Vista.)
Use iterative design
- In the nearly 4½ years since WoW’s release, it has released two expansion packs and 18 substanial content patches.
- Each update has brought with it brand new content: locations, dungeons, enemies, gear, pets, and more.
- In the same way, gameplay has evolved immensely. The Talent system, which “can make your character a specialist in one of their available class roles, change their entire playstyle, and offer countless combinations for you to experiment with”, has been modified several times.
- During the beta, the entire system was ditched until a better one could be created.
- And all of this came with no apology. The developers of WoW changed the game in a way they felt was positive and defended it vehemently.
- Lesson: Change your app to make it better, and defend your decisions.
But!
Listen to your users
- Whether you’re just starting development or making your 7th version: involve your users.
- For every content patch in WoW, Public Test Realms are used to test out new game mechanics and features. And people are excited to help. The testers copy their character or use a pre-made one and play, knowing full well their progress will be wiped out by the time the patch goes live. But, it’s new and cool and fun—and they feel privileged to get involved before other people.
- During the development of Wrath of the Lich King, I got a picked randomly for a spot in the Beta. I loved it, I even bragged to my friends.
- I spent an entire evening running around the new continent, Northrend. Barely anyone else was there; it felt like I was the very first person to see it. It was awesome.
- Once I had run around, I tried playing the first Heroic player class: the Death Knight.
- Lo and behold, they had implemented a feedback system. Everything quest you were given in the game could be rated for ease-of-use, obviousness, and even fun. With that data, they modified quest explanations, changed quest rewards, updated the map, and made their application better.
- Lesson: Change your app, but base your decisions on real feedback.
Offer something addictive
- In my freshman and sophomore year of high school, I played Diablo II 6 – 8 hours per day. I had a good handle on my classes, so no one really noticed. And I was “working on my computer”, so my parents were cool with it. What I was discovering is the power of flow and addiction.
- As Diablo II is a Blizzard title, I couldn’t wait to see what they would come up with in the MMO space.
- Strangely, where Diablo II used the chance of finding better and better items to hook me, World of Warcraft used social networking.
- Don’t get me wrong, I loved leveling, doing quests, and getting better and better gear; but World of Warcraft actually slows you down, in those areas. Leveling takes longer than in Diablo II, there is no true power leveling, quests can be very, very long, and new items are more based on hard work than chance.
- What was encouraged, was connections with other people.
- It starts off slowly. Some hard quests suggest grouping with other people. A chat pane is always available, where people discuss everything going on (for good or ill). People can create guilds where groups of people can wear a tabard and have chat channel just for them. Dungeons (or instances) provide great rewards, if you can get 5, 10, 25, or 40 people to complete it together. And you can always talk directly to someone, no matter where in the World (of Warcraft) they are.
- The best part: WoW makes shy geeks, like me, cooperate with other players in ways they wouldn’t do in the real world.
- Lesson: Create something unexpectedly addictive, and introduce it slowly.
Customize, Embrace & Extend
- Customization of the game experience is essential in WoW.
- On curse.com, there are 3,993 addons to install, ecah modifying the user experience in their own way.
- Personally, I use 25 addons. One of which allows me to easily coordinate specific spells with other Paladins. Another makes the chat interface a little more usable with a timestamp, clickable links and color-coding. And another still throws everything that’s happening to me and everything I’m doing to others all around my character—so I try to comprehend it.
- In a recent patch, Blizzard introduced a new Calendar feature. Unfortunately, there were several addons that already served this function. Being rather bold, the WoW Calendar implemented several features the others couldn’t offer, such as always up-to-date holiday schedules, a tie-in to their external wowarmory.com, and a more unified look and feel.
- They saw a feature the community had made, and improved upon it. This ruffled feathers with the developers of the other Calendar addons, but they can continue to develop their addons and make them better—possibly pushing Blizzard to implement more functionality in their own feature.
- Lesson: Give your community tools to customize their experience, but don’t be afraid to work with them to better the core experience.
Make it less expensive
- World of Warcraft started at $50.00 for the original game. Over time, it dropped to $40, then $30. When The Burning Crusade was released, the original game could be found for $20.
- If you pay month-to-month, WoW costs 14.99 per month. If you pay every three months, it’s $13.99/month, and every six months is $12.99/month.
- If you buy WoW with both expansions today, it would cost roughly $80 ($39.99 + $39.99) for the first free month. If you bought the games when they were new, you may have paid as much as $220 ($79.99 + $69.99 + $69.99). Same games, 64% cheaper.
- Usable business models on the web are few and far between, but maybe consistent price drops on web apps over time could be the next big thing?
- Lesson: If you’re charging for your app, make it cheaper over time.
Make it pretty
- WoW is beautiful.
- It’s cartoony, colorful, and adorable.
- It uses a graphics engine that is pushing a decade old, but still pulls off some amazing scenes.
- Whatever you do, make your app a joy to use.
- Pay attention to how many clicks a user must make.
- Use eye candy.
- We all know that craigslist works well, but looks awful. It can still work well and look good.
- Lesson: Even with web limitations, make your app gorgeous.
I’m always interested to hear feedback. Let me know if you agree or disagree with anything I put forward here, or share lessons you’ve found in WoW.
I'm joining McAfee!
This article was posted on Tuesday, May 12th, 2009 at 10:47 pm
I’m excited to announce that I’ve accepted a UI Development position at McAfee.
This June 1st, I’ll join an amazing group of people developing the best software in the industry. In addition, I’ll be working with an old friend who recently made a similar transition.
With this great opportunity, I must bid farewell to the wonderful people of US Digital. The experience and guidance I’ve received over the past two years will be indispensable as I move forward. I will forever remember the dynamic and collaborative team, along with the many challenges overcome, problems solved, and triumphs shared.
(Apologies to Tyler Sticka for the image and, subsequently, Alex Ross for the illustration.)