Marquee de Sells: Chris's insight outlet via ATOM 1.0 csells on twitter

You've reached the internet home of Chris Sells, who has a long history as a contributing member of the Windows developer community. He enjoys long walks on the beach and various computer technologies.




MS + jQuery: This Is Huge!

Yesterday, the ASP.NET team announced that they were going to ship jQuery, a small, populate open source web client library. And not only is Microsoft going to ship this library, as is, but we're going to build support into Visual Studio for it, build future versions of our web components assuming it and support it via PSS like any other Microsoft product.

This is huge.

Of course, is it useful for developers using Microsoft tools, because they get another supported library out of the box for them to use to build their applications. But that's not what makes it huge.

What makes it huge is that, instead of seeing the functionality in jQuery and thinking to themselves, "Wow. jQuery is really great. Let's build something from scratch like that into our products," the ASP.NET team, in what is the first time in Microsoft history afaik, decided to reuse something from the world that was already working, adding only the thing we do better than anyone else: integration into a suite of libraries and tools.

"But isn't this just 'embrace and extend?'" I hear you asking. "Isn't Microsoft just going to absorb jQuery, thereby killing it for folks not using Microsoft products?"

There are two ways forward at this point. One, we could push on jQuery in a Microsoft-centric way until the project "owners" (which is a slippery concept with an OSS project anyway), decide to either give up and let Microsoft "own" it or they decide to fork jQuery, thereby creating jQuery-classic and jQuery-MS. This would not be good for the jQuery community.

The other way to go, and this is the way I hope it goes, is that Microsoft learns to play nicely in this world, submitting features, changes and bug fixes to the jQuery source tree in a way that's consistent with the vision from which jQuery sprang, making it work better for Microsoft customers and non-Microsoft customers alike.

If we can learn to do that second thing, then we've turned a corner at Microsoft. I'm keeping my fingers crossed.

0 comments




Teasers for this year's PDC

Do you want to know a tiny bit of what's going to happen at this year's PDC? Check these out:

Also, we're giving away so much good stuff at the PDC that we're putting it onto a 160GB USB2 hard drive for every PDC attendee. You can't beat that with a stick!

If you haven't done so yet, you should register quickly before the whole thing sells out.

0 comments




Custom Window Chrome in WPF

Joe Castro, a developer on the WPF product team, has written a very cool article about how to do custom chrome in your WPF applications. But, what makes it even cooler is that he dissects the various ways that shipping apps do custom chrome on various versions of Windows. It's amazing the number of techniques there are. Very nicely done, Joe.

0 comments




Oslo Defined

I've spent the last 3.5 years of my life working in various roles on a project that is now called "Oslo." Both Don and Doug have posted definitions.

See you at the PDC!

0 comments




I don't pretend to understand advertising

I've always liked the Mac vs. PC ads. They're clever, they make me laugh and I like both actors (Accepted is very under rated, IMO). Of course, I actually prefer my PC running Windows to a Macintosh (I had a Mac IIcx back in the day), I prefer Vista to XP and I'm a Microsoft employee, so I don't have any trouble seeing the exaggeration, but there's always a kernel of truth, which is what makes them funny. The part that kinda annoys me is that Apple seems to be claiming they have no such problems, which is, of course, not true.

The Mac vs. PC ads I understand: they're meant to put down the PC by having the PC guy look like an idiot, leaving the Mac guy to seem non-threatening and therefore better by comparison.

On the other hand, I can't say I understand the latest Windows ad with Jerry and Bill. I did enjoy it, however. Not only did Bill seem much friendlier and more approachable than I've ever seen him, but the image of someone in the shower with their shoes and socks on made me laugh, as did the image of Bill wiggling his butt in a Deep Throat sorta way.

And the commercials are having an effect: they're being talked about and folks are interested in the next one. How often do you hear about folks looking forward to a commercial? That in and of itself is an achievement.

0 comments




Programming WPF goes into 3rd printing

Get 'em while they're hot!

0 comments




Where did my old Word command go in new Word?

I've been using Word for a long time and my fingers knew where the commands were that I used even though my brain didn't. Most of the those commands I've mapped to the new Ribbon-enabled Word without a problem, but sometimes I still search. For those times, the Office guys have put up a cool tool that shows me where the new version of each command is located in the new Word. Enjoy.

0 comments




DVDFab + My Own DVDs = Couch Convenience

I don't know if it's legal or not, but if you use DVDFab with the Mobile option set to XVID video + MP3 audio (both supported by the XBOX 360 if you have the latest updates installed), you can rip the movie from your DVD (no menus, extras, etc) onto a network share (I use my Windows Home Server box), scroll through them on my XBOX 360 and play them back with a/v quality high enough that I can't tell the difference (and I don't have the quality cranked as high as it goes by any means).

Each movie takes roughly 1GB, so I can get all of my DVDs stored for the cost of two weeks' worth of lattes (although I'm really just using the spare space on my 1.4TB of WHS storage). Plus, since I'm still in the 30-day trial period of DVDFab, if I hurry, I could rip them all for free (although for the $40, DVDFab Gold is definitely worth the price). It generally takes about 45 minutes per movie, so I'll be flipping a lot of DVDs during the next 30 days and I haven't bothered to figure out how to get DVD metadata, e.g. cover art, etc, but other than that, the experience is a wonderful one. In fact, since I hate going through all the previews and menus, just picking the movie from a list and having it playing immediately is a better experience that a DVD in many ways.

The only thing that could make this better is if WHS or Windows Media Center Edition had this feature built in. I'm guessing I'm breaking some laws by doing this, but to me, it sounds like fair use. I'm backing up the DVDs that I already own to a HDD. The fact that I can watch them without getting out of my couch doesn't change the fact that the DVDs are right there on my shelf, purchased fair and square.

Oh, well, if the police want to come for me, they know where I am. : )

0 comments




Digigirlz Rock!

I gave a talk to the Digigirlz yesterday and it was a blast. It was 25 high school girls that were on the Microsoft campus all week learning various technologies to promote women in IT. The girls are nominated by their teachers for aptitude and attitude and these girls had both in spades.

Vijaye Raji and I were giving the talk, me primarily the pretty front man while he drove the slides, typed the code and made sure I didn't get things very wrong (he knew the environment and the language far better than I). We were teaching general programming basics using a variant of BASIC that was especially well suited to new programmers. We spent two hours showing them how to do turtle graphics and how to write a game (Pong) all from scratch and we all had a blast doing it.

And these girls were sharp! I'm used to pacing material for rooms of adult software engineers, but I didn't have enough. I had to take feature requests from the audience and figure out how to implement them on the fly while they followed along, programming their own versions of the game as we went. They were hands on the whole time and eventually I enlisted their help to tell us what code to write. Mind you, this was a language they'd only learned minutes before, but they didn't have any trouble at all.

They laughed and asked questions and answered my questions and were engaged the whole time (well, most of them -- some were seduced by the siren song of the high speed internet connection : ). I figured I was doing OK when one of the girls asked me if I ever thought about being a teacher.

"Naw," I said. "I hate kids..."

They didn't buy it... : )

0 comments




Digital Video Camera and Editing S/W for a Kid?

My youngest likes to record video, but has been doing so on busted equipment and doesn't have anyone that knows what to do with it once he's got it. His birthday's coming up and I'd like to get him a DV camera and sit down and learn a piece of editing software that folks recommend so I know he'll be able to do cool things with the resulting video.

Does anyone have any recommendations? Is the video editing software that comes with XP any good (that's what he runs on his laptop)? How about the one that comes with Vista?

Thanks!

0 comments




Oslo talks at the PDC

After 3.5 years, my team's work in Microsoft's Connected Systems Division will finally see the light of day! Here are the related talks we're giving at this year's PDC:

0 comments




George Carlin, Rest In Peace

When I was a teenager, some kids were sneaking out to get drunk or have sex. I was sneaking into my parents' record collection to listen to George Carlin. Unfortunately, unleashing my version of his brand of humor on my peers was one of the things that kept me from being invited for parties or sex, but I still dearly loved the man and was very sorry to hear that he passed away yesterday.

Certain situations still trigger George Carlin responses whether I want them to or not; he is permanently lodged in my brain. And of all the things he's done, his incomplete list of impolite words is stuck in there furthest (*not* safe for work!).

I'll miss you, George. Give whatever all-powerful being you run into in the next life a piece of your mind about the state they've left us in here on Earth.

Update: a very NSFW GC highlight video series.

0 comments




Losing weight the old fashioned way: tonsilectomy

Today is my last day of time off work from a tonsillectomy a week ago Thursday. I'm down to about 20mg of OxyContin/day (from 60mg) and hope to have that down to nothing by Monday (although I still have half a jug for my next party : ).

Why would a grown man fresh off two SDRs and a BillG review feel the need to have his tonsils pulled? Well, I've been trying to talk someone into taking them for a coupla years now, even since the recurring strep throat started, but no luck. This time it was because I wasn't sleeping properly.

A few months ago at a routine checkup, my doctor was working her way down a standard questionnaire, asking me if I had this problem or that problem. I'd been swimming a lot and had lost a few pounds recently, so mostly I didn't have any health problems. Until she got to sleep:

"Are you having any trouble sleep?"

"Well, I've been waking up about 4am every morning, no matter when I go to bed."

"Any stress?"

"I work at Microsoft," I said, figuring that was answer enough.

She laughed. "I mean anything out of the ordinary?"

I couldn't think of anything that would explain it, so I said so.

"Have you ever had a sleep study?"

"Well, one time I recorded a chapter of my social studies text book and listened to it all night while I slept. I got an A on that test."

Now she was just tired of my lip, so she explained what she meant. And then she signed me up. And I went. And it sucked. Imagine trying to get sleep while tied up (and not in a good way!).

The diagnosis of my sleep study was "severe sleep apnea," as defined by more than 10 episodes an hour when I stop breathing and more than 10% decrease in oxygen to my brain. I was at 31 and 17% respectively, the sleep tech told me as they strapped me in for sleep study #2, this time with a C-PAP machine. Now imagine sleeping while being tied up and gagged.

Apparently the gag improved my sleep enough that it "cured" my sleep apnea so, without benefit of advice from an actual sleep doctor yet, I was set up with my own C-PAP machine, where I could gag myself every night before going to sleep. And not just gag myself, but strap on a hockey mask while someone blows into your mouth all night long. And now try to sleep while this is happening. My father got one and complained bitterly about it for a full year 'til he got used to it.

So, being even more stubborn than my father (which, if you knew my father, is stubborn on a Biblical scale), I asked for a second opinion. Or at least a first opinion from an actual sleep doctor (and not just a tech).

And I got one. There are other treatments besides C-PAP machines for sleep apnea, among them tonsillectomy (can work depending on the patient), some kind of dental appliance (generally not very successful) and, I kid you not, learning to play the digeridoo. This last one had me particularly interested as I've always wanted to do that anyway. (Come on! Breathing in and out at the same time and making weird noises! It's like sex without the mess!)

"Well, let's see if a tonsillectomy would help you," the doctor said, leaning in for a look down my throat. He shined his little light in and then started backward as if scared. "Oh, yeah... You'll want to have those looked at," he said, his eyes all big.

"What?" I asked, a little worried.

"Those are within the range where should talk to an ear-nose-throat doctor about having them removed," he said, hastily writing out a recommendation and stealing a look at my throat out of the corner of his eye as he did so.

And so I went to the ENT doctor, a young'un one step up from Doogie Howser (or maybe just having celebrated my 39th birthday, everyone is starting to look really young to me...). He explained how things worked inside the mouth and throat. He looked at my nose. He looked in my ears. He understood my dislike of the C-PAP machine. He described the four-point scale they used for measuring tonsils, asked me to open wide and, like the other doctor, started backward after a 500ms look.

"Those are huge!" Doogie said.

"Really?"

"Yeah!" I swear his pupils were dilated in some kind of fight or flight response.

"So, on the four-point scale?"

"4+. Huge!" he said. "Most people have a bunch of space around their tonsils to let he air in. How are you able to breath at all?"

"OK, doc. What do you think we should do?"

"We should take 'em out! Here's how it's going to work..." and he started describing the surgery, which was to include removing my tonsils, shaving back my uvula and fixing my deviated septum.

"Will I ever be able to sing?"

"Sure," he said. "That shouldn't be a problem."

"Great. I've always wanted to be able to sing!"

He laughed. "Well, no promises there." And then he started to describe the complications. Up until then, I was fine with him talking about permanent non-trivial surgery to correct a problem that I could be using an external (infernal!) machine to correct otherwise. But when he started talking about "uncontrolled bleeding" and "rushing to the emergency room as [my] stomach filled with blood," well, that was a bit much after no breakfast that morning.

"Are you OK?" he said, a concerned look on his face. "You've gone all white."

"Ah, no, actually, I'm not. I'm feeling a bit faint..."

So Doogie had me put my head between my knees and breath deeply. And when that didn't work, he popped some smelling salts under my nose. That hurts! But that didn't work either.

"Huh. That normally works," he said, dumbfounded at the giant man getting ready to pass out in his office. "Nurse! Bring me some juice!"

After recovering from the mere idea of uncontrolled bleeding down the back of my throat (which still makes me a little queasy just typing it), he said, "Well, let's not talk about that any more. You'll come in and I'll take care of it, OK?"

That sounded good to me, so I scheduled the surgery for 6/5, a week after the BillG and a few days after my birthday (my own gift to myself : ).

So, I had a few weeks to shutdown my work because the doctor said that I would be out for "at least" two weeks recovering. "And you'll be on heavy medications, too. Kids bounce back in a day or two, but this is *very* painful surgery for adults."

Great. Never had any surgery other than my wisdom teeth and now I get a doozy.

I started informing those around me of my impending doom. And then the advice started.

"The first week was really easy. It's the *second* week that's hard."

"My throat hurt so much that I just didn't eat for two weeks. I lost 30 pounds!"

"Those drugs will lower your IQ by like 30 points."

"I wonder if your voice will change? Mine did."

"I had a tonsillectomy as an adult and I still can't say my Ls properly."

As a professionally speaker, I didn't mind the idea of my voice changing a little (hopefully deeper), but losing my Ls? Good lord!

I was not to eat or drink starting midnight the night before my surgery, so I didn't. Normally the sleep deprivation has acted as an appetite suppressant, so that and the exercise has caused me to lose 43 pounds in the last 6 months. Missing a few coupla meals hasn't been an issue, but by 3pm the next morning, sitting on the hospital bed in a hospital gown, my ass hanging out while every nurse and doctor in the place asked me if I'd avoided food and water of any kind and I started to get damn hungry, hoping for the surgery just to have something else to do (although Melissa let me win a few hands of gin, which was nice).

Then the nice anesthesiologist came and slipped me a little something. I felt completely normal for about 10 minutes and then I woke up in the recovery room, the nurses asking me if I could help them move from the gurney to the bed. Seriously. That was my entire surgical experience. Melissa was there, making sure my stuff came with me and asking if I was OK.

Oh, and I was feeling no pain. I don't remember much from those first few hours. I could talk, which apparently was very unusual. I could walk. I remember my sister-in-law bringing my boys by for a visit and them waking me up every five minutes so I didn't spill my juice all over myself. I remember several pretty nurses waking me up every hour or so to adjust this sensor or give me that medication. I don't remember what I said to them, but I do remember making them laugh, which made the increasing pain of my throat more bearable.

We figured out my pain dosage that first night, 10mg of OxyContin every 4 hours mixed with intravenous morphine to take the edge off. I was disappointed that I didn't get any kind of "high," though. I just felt fuzzy headed and sleepy. Is that what Rush liked? I don't get it. I tell you though that the tennis elbow I'd given myself with the free weights in my garage was *completely* cured.

In that first 12 hours, it was my job to be able to walk, go to the bathroom on my own and manage my own pain via oral medications. And I did so. In fact, I was recovering so quickly, the doctor came by and gave me permission to go home hours early. I'd told him the night before that, if my voice had to change, could he push it toward Barry White? Oh, and I'd like to be able to say all my letters if possible. That morning, he asked, "Have you tried it? Can you still say your Ls?"

And then, because I couldn't not, I channeled A Christmas Story for demonstration purposes: "Fa ra ra ra ra ra ra ra ra!" willing to endure the pain in my throat for the cheap laugh. And I got it. : )

I came home a week ago Friday and have been largely ignoring my work, sleeping most of the time, getting up mainly for drugs every four hours and a little food (Top Ramen, Popsicles and water). The combo put me to sleep within an hour, giving me just time enough to send the random pathetic email or IM before collapsing again. Gradually I've been cutting back on pain meds and eating more, my throat just a minor annoyance at this point. It still hurts and my voice is still scratchy, but a quick chug of OC and I'm back in the game, mostly awake during the day and asleep at night.

I went in for my week check-in with the ENT guy yesterday. He was delighted to tell me about micro-pustules and puss inflammation that had riddled my tonsils. Not only where they "huge," but apparently my body's been fighting them off as a low level infection for who knows how long. While telling me this, the doctor put a bib around me and handed me a tray to hold as I looked at him questioningly.

"Oh, I don't think you're going to throw up," he said, rummaging for some instruments in a drawer. "I just need you to hold the splints when I take them out."

As part of fixing my deviated septum, Doogie had put splits in my nose so that things would heal open. At the mention of "splint," I thought of a little stick to hold my nostril open like the pole in the center of a tent. I thought he'd reach in, cut it in two and pull out a couple of tiny toothpicks. Well, he reached in, stretched my nostril to uncomfortable proportions, clipped the thread holding the split in and started pulling.

Have you seen the scene from Total Recall where Arnold reaches up into his nose and pulls out that giant tracking device? Yeah. Think that except the split was longer. The doctor kept pulling and it kept coming out until it fell with a thump into the tray.

"That was in my nose?!"

"Yep. And there's another one on the other side," he said, reaching for the other side.

"There is?!"

"Yeah. Didn't I tell you? Oh, I guess you were asleep when I put them in," he said, pulling another canoe out of my other nostril.

"Oh my god!" I said, looking down at the snot covered railroad ties in the tray I was holding.

"Are you OK? You look a little pale. OK, head back..." He was much more comfortable getting the color back into my face the second time, having practiced on me before.

"Nurse! Cold compresses!"

0 comments




Bill's Last Review

The last coupla months have been crazy. We've been warming up our PDC message with a series of SDR (Software Design Reviews) where we invite folks from the community, influencers, important customers, etc, to come and hear what we think the story is for our new technology before we blow it in front of a live PDC audience. There's a ton of prep to make sure we're as polished and as thought through as possible and that we're presenting as well possible, so there's been a ton of work on what the story is and how to present it properly. The latter means that I run a little internal training course called "Sells University" which is kind of an "extreme presentation skills" workshop I run, complete with Sells U hats and t-shirts (the alumni parties are fun : ).

Still we don't always get it right, which means mining the feedback (loud, enthusiastic and extensive feedback) to see what we can improve for the next time.

Sometimes the "next time," is something called a "BillG Review." This is where we get together our best folks, our best bits and our best story and we bring the all together for BillG himself for up to 4 hours of dog 'n' pony show. Normally this is as much about forcing teams together that should've been together all along as it is about the actual presentation to Bill, but either way, it's generally a month or more of hard work.

This time, we had two weeks.

"Chris, how'd you like to put together the demo for Bill's last review?" was what Doug asked me. I'd been to a BillG before, but had never been that involved, so I really had no idea what the effort was going to be. When faced with a new challenge and little information, I did what I always do: "I'd be happy to," I said.

And so began two weeks of 14+ hour days, meeting every day with execs up to the VP-level, figuring out what the story was, who'd say what, the mix of demo to slides, what he'd heard before, what he'll want to hear, rat holes we want to avoid, rot holes we want to engage him on (called "drawing the foul" in softie-speak), timing, etc.

And those are just the daily meetings -- the rest of the time is spent actually getting the bits to work, which means integrating technologies across teams and divisions, often for the first time. Can't have Bill saying, "But why didn't you just use such and so -- they've already solved that problem?" so we have to make stuff work, even if it's alpha and hasn't been made to work together yet or isn't stable when you bring it together. So I'm pulling in all my friends and their friends to set up conference calls to make these bits work with those bits and using the name "BillG" like a club to motivate folks that are already very very busy.

And it worked. It was more than full-time for two solid weeks, but we got a stack of bits working reliably and repeatably to demonstrate the goals of our work. It was chewing gum and bailing wire, but it got the point across. And the demo I worked on was just 15 minutes of a two hour review; there were dozens of other folks working on the rest of it.

The BillG review itself? Imagine the nicest conference room you've ever been to, with giant leather chairs, a podium, a huge retractable projection screen, miles of white board and acres of windows looking out over the green Microsoft campus. Imagine our Sr. VP checking in on us minutes beforehand to straighten out any questions we need answered (we spent 30 minutes guessing where Bill would sit and arranging ourselves accordingly). Then imagine Bill himself coming in like a ninja, appearing in his designated seat as if he'd teleported to it from his previous meeting (and maybe he did). No introductions, no fanfare, just "We'll get right to it, Bill."

And he listened, laughing a little from time to time, asking the odd question. I'd been at one of these before, but sitting along the wall, looking at the back of Bill's head. This time I was at the big boy's table. Last time, I'd tracked f-bombs, keeping a running total in my head: the higher the number, the worse you're doing. The last time, we had one/hour, which was considered to be outstanding. This time, zero. Even though the demo I'd prepared didn't go off flawlessly (there was a continuous reset in the underlying communications stack we were using that we'd never seen before), he got enough of the demo to appreciate our intent and was interested enough in the the rest of the material to seem pleased.

Near the end, he started talking more, synthesizing our work with the work going on in the rest of the company, making startling leaps that I'd never considered (and I've got pipe dreams in my head for the upcoming release and the one after that). We agreed some. We pushed back some. We asked him for help making some things happened.

And then he was gone, 30 minutes over his time, but off to somewhere else he had to be.

And then gushing started. We kicked ourselves for the little hiccup in our demo, but really we'd shown him what we wanted to show him and we felt good about it.

Was it really Bill's last review? Well, probably not. He's still got a few weeks left in his official role as chief software architect and I hear he still wants to work part-time on his pet projects (I was surprised to learn that we were one of those), but it's certainly one of the last. I can say that I worked to put together part of a BillG review while he was still around.

I still can't say that I've actually *met* the man, though. sigh.

0 comments




$200 Off Early Registration for PDC2008!

I love the smell of the PDC in the morning!

0 comments




2425 older posts       210 newer posts