Creating a great presentation

September 26, 2003 at 11:31 am

With PDC coming up, there have been lots
of Microsoft entries
about what makes a good presentation, and I’d like to throw
my 35 cents into the discussion. Here are three things I like to keep in mind.

Why is always more important than what

Technical people are smart and used to figuring out things on their own. They can
figure out the C# property syntax in their sleep. What they can’t figure out is what
was going on in your mind when you wrote a feature, and knowing that is the most
important part.

This is also critical for connecting with your audience. Showing some code and saying,
“have you ever had to write ugly code like this?”, and then showing the improvement
will always garner a good response (assuming that the feature is actually useful).
It’s your job to provide the connection between the feature and the problem it solves.

What you don’t talk about is more important than what you do talk about

Technical topics always have lots of subtle and interesting points that you could
talk about. Understand the difference between what you could talk
about and what the audience needs to know, and stick with the simplest scenario to
start with. I’ve seen lots of presentations where the speaker throws in “interesting”
asides that merely confuse the attendee.

To put it another way, your job as a speaker is to filter the important information
out of all the possible information. If you don’t filter out the irrelevant details,
your attendees won’t know whether they should understand that information. That will
1) leave them thinking about your previous aside when you want them thinking about
the topic you’re now discussion and 2) make them feel stupid.

Your job is not to display your technical mastery of the subject. I don’t, for example,
talk about the advanced events syntax when I talk about C# events. It’s not relevant
information.

Get concrete fast

Real world examples always beat abstract ones. Don’t spend time on introductions when
you could explain it as part of a real-world example, or show as part of a demo

Iterate and embellish

Most topics have several layers to them, either layers of complexity or ordered layers
of discussion. In properties, for example, I would first show the world without properties,
discuss the problems, and then show the world with properties. A building-block approach
is easier for people to understand, and it builds the progression into the presentation
so you can’t forget it.

I once came across a presentation guide that suggested not using revelation in presentations
(revelation is when points are gradually revealed). If you’re going to present effectively,
you need to be able to focus the discussion on a specific point, and you do this through
revelation. If you have three main points on a slide, and you show them all at once,
your audience will be reading the second and third points while you’re talking about
the first. You want them listening to you instead.

Revelation combined with diagrams can be a tremendous learning aid. A good diagram
is worth at least 2^10 words. Consider whether you can express points graphically.

Finally, I have a personal reason for liking revelation. One of the reason I
emjoy presentating is the comedic potential, and an essential element of humor
is timing. The funny part of the slide usually isn’t the first part, and
if you don’t use revelation, everybody gets to it at different points – if they
notice it at all. You want the impact to hit them all at once, and that’s why you
use revelation.

Final Thoughts

You should also read Conference
Presentation Judo
 by Mark-Jason Dominus. If you presented before,
this is a phenomenally useful presentation. Make sure you read the notes along
with the slides.

And if you’re a Microsoft person who wants somebody to comment on your slides, I might
be amenable.

 

Very interesting.

September 14, 2003 at 1:19 pm

Roy Osherove writes of some very
interesting research
in his blog.

I’ve always found research about how we read to be fascinating

A story…

September 6, 2003 at 12:25 am

My daughter just started a new science unit in her 4th grade class. After she explained
it at dinner tonight, I told her a story that I thought I’d share with you.

One day, a farmer got up, got dressed and went outside to the barn. He got out his
tractor and took it out to his alfalfa field, which he needed to plow under after
harvest.

He spent the whole day plowing, and finished the field. He turned his tractor around
at headed for home, but as he reached the edge of the field, it mysteriously stopped.
He backed up, and tried again. And again. No matter what he tried, he could not get
out of the field. He left the tractor and walked home.

The next morning, he got up, called the John Deere repair service, and sat down to
wait. At 10AM, the mechanic arrived, and they walked out to the field. The mechanic
patiently listened to the farmer’s story, shook his head, and started walking away
from the field.

“What are you leaving for?”, said the farmer. “You haven’t fixed it”.

“There’s nothing wrong with the tractor”, the mechanic replied. “You’ve got a magnetic
field there”.

 

After I told that, my daughter rolled her eyes and went back to eating. She does that
a lot.

Building a music system

August 16, 2003 at 12:09 am

We have a ski place in Skykomish, WA (20 miles from Stevens
Pass
) that my wife and I have been finishing for the past couple of years (contractor
did the shell to painted drywall, we do everything else). Having music while doing
this is a critical factor, so I brought an old stereo (my first receiver, in fact,
from 1980) and a 5 disk CD changer up there. That’s has worked okay, but when your
used to having all your CDs (somewhere around 200) accessible and automatically scheduled
with your PC-based system, you kindof get tired of the same 12 CDs. (Yes, I know,
I *could* bring up more, but that would require me to plan ahead, and I still wouldn’t
bring up the right one).

I did some research into CD jukeboxes, and wasn’t terribly impressed. They’re a bit
smaller than a PC, but all they do is music, and they don’t implement the system that
my home-based on does. So I held off on buying one.

I’ve recently been working on a C# version of my system, and it’s starting to wake
up and look around, and it’s almost good enough to use. So I decided to build a small
PC to hold my music and run the software.

I started at NewEgg, who supplied the components
for my current office system. I wanted a minimal system with a reasonable size disk
and network. A little research got me a motherboard, case, cd-rom, memory, processor,
fan, and hard disk for $328 to my doorstep. One trip to the computer store to get
another IDE cable and to get a fan that would actually *fit* in the case (its a
micro atx size). That’s a pretty good price for an Athlon 1500, 256M of memory and
40 Gig of disk space.

So, once I get XP on the system, I’ll copy the files over, and probably install the
current version of my software. One problem with the system is coming up with something
that isn’t a big ugly PC. The Micro ATX case helps a bunch, but what do you do with
the monitor and keyboard? My real home system uses IR remote control, which is a possibility,
but the new system also supports using a PocketPC as a controller. At work I use a Toshiba
e740
with built-in wireless as the test for remote control, and it works great,
but I’m not going to use a $500 PPC to control a $330 music system. I needed something
cheaper. I decided to forgo the wireless and bought a reconditioned Toshiba e310 on
ebay for $125, and I’ll use that in the cradle as a remote control (I hope. I think
I can get this to work over the USB, but I haven’t actually tried it yet).

What I Ride, and learning to Ride

July 30, 2003 at 12:17 am

 

I mentioned a day or so ago that I have a motorcycle. A little clarification is in
order.

I started riding in 1986 when my 1969
Citroen Safari
broke a timing chain at 70 MPH, and embedded a couple of valves
in the pistons. It was either a cheap car or a decent motorcycle, and a Honda
FT500
made its way to my apartment. After a few months of riding, I got my endorsement,
and started riding from time to time. Kim was also interested in riding, but the FT
was a bit tall for her, and her attempts were not successful.

Enter the Motorcycle Safety Foundation.
MSF was formed in the 1970s to provide, not surprisingly, motorcycle training. I took
their Experienced Rider
Course
, and Kim took the basic
course
. The basic course is a wonderful way to find out if you really want to
ride a motorcycle – the course provides motorcycles, helmets, and a world-class
curriculum, all for a few hundred dollars or less. In many states, you walk
away from the course having earned a motorcycle endorsement (assuming you pass).

Kim’s success led to a 1988
Ninja 250
for her, which was soon followed by a 1989
EX500
 for me, followed closely after by an MSF instructor course for me.

MSF takes its instructor training very seriously, and I spent 10 days doing nothing
but motorcycle training. After that, I taught a lot of classes, and did a lot of riding,
commuting year round by motorcycle for about a decade. The Ninja 250 was replaced
by a CBR600F2 for Kim,
and a few years later, my EX500, having hit 50K miles, was replaced with a 1997
VFR750
, my current bike (though mine is a bit more customized than this one).

Kim liked the power of her CBR, but it’s a little too tall for her (she’s somewhat
height-challenged). So, where do you find front-line sportbikes for people who are
a bit on the short side? The answer is
obvious. All the Japanese manufacturers make home market bikes that would be perfect.
A friend led me to somebody who imports Japanese-spec bikes and registers, and the
CBR was soon replaced with a very rare in the states Honda CBR400RR,
which is pretty much the perfect wife for Kim

Then, a few years ago I moved near the Microsoft campus and got a lot more busy, so
I had to give up teaching motorcycle safety, and I still have a hard time finding
time to ride.

I missed a few high points, including an introduction to the pavement, riding a GP
spec 125cc bike, and being a passenger around a racetrack at 130MPH, but that’s for
another entry.

 

The persistance of nomenclature

July 29, 2003 at 10:40 am

Yesteraday, I was struck by the fact that in a technological world, nomenclature
outlasts the items it refers to.

When I first joined Microsoft (“The year was 1994. The place was Redmond, Washington…”),
we used MS Mail for email, and for scheduling, there was part of it named Schedule+.
If you wanted somebody to schedule a time with you, you would ask them to “sched+”
a meeting with you.

That usage has persisted over the years, and just yesterday I found myself using it.
As I used it, I wondered if the person I was sending that message to had ever actually
used Schedule+.

There’s a similar situation with our bug tracking software. For years, we used various
releases of an internal product named “Raid”, and though we moved to Product Studio
(the “studio” term shows up a lot…), you still “Raid” a bug, and probably always
will.

When new people start and you have to explain this to them, you feel a bit strange
(don’t worry about uncle Herbert. He does think that he’s a plant and insist we water
him every day, but other than that, he’s perfectly all right).

This morning, I was looking for more examples of this. Record/CD is one, though I
always use “album”, and I think that’s still true if you choose to buy your
music. Since IP pays for my motorcycle, my skiing, I buy all my music.

Are there other examples of this?

 

 

Unit testing and TDD

July 28, 2003 at 5:41 pm

Back in March, I wrote a column entitled “Unit
Testing and Test-First Development
“.

I’ve been playing around with unit testing a bit more since then, and have a few tentative
conclusions.

  1. Unit testing is, overall, a “Good
    Thing
  2. Unit testing works well for class libraries, especially ones that act fairly statically.
    If you create one of these, you should be writing unit tests
  3. Unit testing is hard with graphical applications and/or dynamic applications. I have
    an app that I’m writing that uses multiple threads, fires events asynchronously, and
    is peer to peer. There aren’t any unit tests for that section yet.
  4. Unit testing is great for tricky code that you wrote but weren’t sure that it really
    worked. I updated my Regex Workbench a while back,
    and in the process wrote unit tests for all the code that I have that interprets regular
    expressions to english. I found one feature I hadn’t implemented, and two that were
    implemented incorrectly. I’m now much more confident that it works.

I’e also been playing with Test-driven development. I’m not sure about it yet, though
it is true that if you write the tests up front, you’re much more likely to write
them.

Higher Primates Can Program

July 18, 2003 at 7:08 pm

This came
to me from one of the members of the VB team.

Regular Expression Workbench V2.0

July 7, 2003 at 5:51 pm

I’ve finished a new version of my Regular
Expression Workdbench
, and it’s now available on gotdotnet.
If you use regular expressions on .NET, or you’ve heard about them but haven’t really
tried them, this tool can help you a lot. If I do say so myself.

As an old Perl guy (in both senses of the word “old”), I’ve spent a fair amount of
time writing regular expressions. It’s easy to try out a regex in Perl, but not so
easy in a compiled language like C#. I wrote the first version of this utility a couple
of years ago, and in the first version, all it did was let you type in a regex, a
string to run it against, and execute it.

Over time, it grew. The next version supported some fairly cool features:

  • A menu with all the regex language options, so you don’t have to remember what the
    syntax is for zero-width positive lookaheads.
  • Automatic creation of C# or VB code based on your regex and the options you choose.
  • Interpretation of regexes. Hover over a part of the regex, and the popup will tell
    you what that part of the regex means. This is very useful if you’re trying to learn
    regex, or you don’t remember what “(?<=” means.
  • Support for calling Split()

This version adds a few more features:

  • A nicer UI. Not a very high bar, given the previous design (“Who designed this UI?
    Vandals?”) (5 points to anybody who knows who wrote that line…). A real menubar,
    a somewhat-pleasant grouping of controls, etc.
  • Library functionality. Give the regex you wrote a description, and save it away into
    a library, so you can open it up later, or show it off to your friends. Chicks dig
    a well-crafted regular expression.
  • Unit tests for the interpretation features. Found 3 or 4 good bugs when writing the
    unit tests. These tests will get better over time.
  • Support for calling Regex.Replace(). Specify the replacement string, and you’ll see
    exactly what gets replaced.
  • Support for calling Regex.Replace() with a MatchEvaluator. For the cases where you
    can’t do your replacement with a simple substitution string, the Regex class lets
    you write a delegate. The workbench now allows you to write the function, which it
    saves away, compiles, loads and then uses to call Replace.

Comments & suggestions are always welcome.

 

 

 

 

 

 

Maui thoughts

July 4, 2003 at 1:28 am

Spent the last 10 days in Maui (Pictures),
with no internet connection. This a a computer-free post.  

6/25 Blue Water Rafting

This morning, we went on a charter boat operated by Blue Water Rafting. This was a
trip in a small, 7-person Zodiac-like craft. The boat left from Kihei Boat Ramp (definitely
an advantage if you’re staying in Kihei), and we journeyed south to the most recent
lava flows (circa 1790). We spent a lot of time very close to the lava or inside some
caves at the side.

The trip included 5 stops for snorkling, including 4 sites on the west shore and the
obligatory trip to Molokini. Molokini is the
top of a cinder cone with a reef on the inside, and part of the cinder cone under
water. It is the #1 snorkling destination on Maui. This mostly because it’s fairly
big and can support a lot of boats, but there are better places to journey to. It
does have the advantage of being fairly sheltered, and the reef is pretty.

Advantages:
1) You rent the boat, you choose where it goes.
2) Spend time where you want.
3) Nobody else goes close to the lava flow.
4) Snorkel with Dolphins (if you’re lucky), or off the backside of Molokini.
5) Captains know where the fish and the turtles are.

Disadvantages
1) Ride is very rough (the rafting moniker is deserved)
2) Breakfast and lunch are limited (muffins/fruit, sandwiches)
3) Expen$ive. For the 6 person boat for 5 1/2 hours, you will pay $800. That’s helicopter
tour territory.

6/25 Canon
Waterproof Camera Housing

I got my wife a waterproof housing housing for her Canon A20 camera (about $150).
You put the camera in it, seal it up, and it has controls on the outside. The display
might as well be off, and it’s hard to look through the viewfinder, so I had my best
luck pointing and shooting. It helps immensely if you can surface dive, as the fish
are often 15 or 20 feet down. A nice option, especially since waterproof housings
for my G3 cost around $800.

6/26 Snorkling at the Fishbowl. Or, perhaps the aquarium. We’re not sure.

On the advice of our captain, Kim and I and my sister and brother in law decide to
snorkel at the “fishbowl”. It’s near Ahihi
marine preserve
(also a great place to snorkel), but to get there you have to
a) find the trailhead and b) hike for 30 minutes across the lava field. Not as bad
as it sounds.

Once we get there, we find out that this is now a destination for sea kayak tours.
3 boats when we get in there, which isn’t bad, but another 20 arrive when we’re snorkling,
which means avoiding them and the 40 people who don’t really know how to snorkel.
The four of us go outside the bay, and Kim and I see a turtle, but that’s about it.
We come back in, dry off, and hike back another 30 minutes to the car. Not really
better than Ahahi.

6/26 Canon Waterproof Camera Housing (redux)

Used the waterproof housing again today. My wife and I conspired together, which is
never a good thing. If I had prepared the camera, it would have been fine, and if
she had done it the way she wanted, it would have been fine, but unfortunately, she
did what I had said, and left the carry strap on, but didn’t get it tucked in sufficiently.
The housing worked fine for about 10 minutes, but then I got it down about 3 feet,
and it quickly filled with water.  I did all the the right things (kept it wet,
soaked in in fresh water for a long time to get all the salt out), but the camera
is DOA right now. I may try cleaning it more once I get home, but it’s probably a
goner. Sigh. Off to EBay…

6/26 Kinston Technology 128MB Compact Flash Card

Despite the warning on the back that says, “do not bend this card or expose it to
strong physical or electrical shocks, water, solvents”, the compact flash card from
the camera survived immersion in salt water fine, and I was able to pull 12 pictures
off of it. It’s a bit like looking at the images of the Challenger before it exploded
and knowing that something bad is going to happen, as you can see a bit of fog on
some pictures, and then the last picture has droplets inside the lens.

6/29 Maui Thoughts

Maui is certainly a wonderful place. The weather in Kihei (and presumably, also in
Kanapali) is perfect – not too hot, not too cool.

Unfortunately, it appears that everybody in the Western Hemisphere feels the same
way. Despite the lack of Japanese money for the past few years, prices in Maui make
San Francisco prices look cheap. We’re in a 900 sq. ft. one bedroom condo a block
from the beach, with what is technically known in real estate circles as a water view
(ie the water can be seen if you lean out over the railing). A similar unit in this
building with no view is going for $200K. The place where we stayed last time (Hale
Hui Kai), a condo on the water, one of the units is selling for $750K. Or, you can
buy a large house 3 blocks from the beach for $800K. Oh, and if you have a condo,
you also have a maintenance fee of $300 a month.