Wednesday, June 16, 2010
I've written about banned APIs before
- for security reasons
some C Runtime functions like strcpy should not be used, and instead you should use replacements like strcpy_s that perform some checking before trusting the strings they're handed. You might also know that I really like
the extension capabilities in Visual Studio 2010.
So how can I resist a Visual Studio extension that gives you wigglies if you use a banned API?
You even get a handy tooltip suggesting replacements. This is a must-install for any C++ developer. You can get zip of the source (you'll need the Visual Studio 2010 SDK to build it) with a prebuilt VSIX in it from the Security Development Lifecycle blog
. It doesn't seem to be on the Visual Studio Gallery yet, but it should be! If you haven't met the VSIX format yet, prepare to be pleasantly surprised - it's a self contained one step installation vehicle for a Visual Studio extension. Just double click it and Visual Studio does the rest.
Monday, June 14, 2010
Metaphors can be dangerous things. Just recently I got into a Twitter conversation with someone who was using the metaphor "it's like leaving your car unlocked, or your front door" - meaning something you would never do and would expect to be dangerous. But in my neck of the woods, that metaphor triggers different neurons, having a meaning more like something you regularly do and would never expect to be a problem. (I not only never lock my car in my or a neighbour's driveway, I also know many people who would leave their keys in their cars in someone else's driveway.) It doesn't really matter whether you think door locking is normal, the point is your metaphor needs to have the same meaning for your audience as it does for you.
For an example of a metaphor landing really badly, check out Scott Berkun's blog post
on the "periodic table of visualization techniques." Now unlike Scott (who thinks the periodic table is obscure, complex, and unfondly remembered) I really like the periodic table. I think it carries a tremendous amount of important information in a very compact way, and explains some relationships succinctly. But I think it makes a poor metaphor when trying to discuss all the different ways you can present information visually. Plus, their particular version of it doesn't seem to have any actual periodicity, anything that's the same in each column, anything that's the same in each row, or any reason for the lengths of the rows. Always understand a metaphor before you use it. Otherwise you're working against your own goal - helping someone else understand your point.
Saturday, June 12, 2010
On the Sunday night before TechEd started, I had dinner at K Pauls. I had a number of delicious deep fried oysters that were going around on trays, in the sort of absent-minded sure-I'll-try-one way we tend to take appetizers when they're offered to us at these things. It was sufficiently delicious that it got my attention and I kept an eye out for them as the trays came around. After that I ate an amazing dinner
and put the oysters out of my mind. Just three days later, on Wednesday night, I had dinner at Mulates
. I had the ribs, but someone else at the table ordered some sort of platter/sampler and Logan, our fantastic waiter, had to say "I'm sorry, but there are no oysters in that tonight; they've closed the beds". Closed the beds. There may not be oysters there again for a generation. And now the oldest oyster-shucking operation in New Orleans is closed until further notice. (New York Times
; WWL radio
So sad. Real people, real jobs gone, real losses. And at the moment, nothing we can do to help.
Thursday, June 10, 2010
Another terrific Tech Ed has come to a close. I never really got used to the weather in New Orleans, but I loved the food, I loved that we could walk to just about every dinner or party, and I loved the locals I met. I would have liked a little less walking within the convention centre itself - that building is a mile long and I had to go the whole length and back several times each day!
I have a few pictures from inside for you.
This is the "RD couch" in the community area. Good for hanging out while waiting to be on Channel 9. As you can see, non-RDs were hanging out here too.
The table for the Code Pack was giving away copies of the Code Pack on these slightly bizarre USB keys. I meant to keep one for myself but got carried away handing them out at my session (along with cards for a free trial of the Pluralsight On Demand! library). Also the shot-glass-on-a-string-of-beads is pretty brilliant for New Orleans swag. "Give it a shot!" they say.
This is the room for my C++ talk. That's Juval Lowy, who spoke right before me, up on stage. You can see he did a pretty good job of filling the room, which holds 1000. I got somewhat less than that, but was happy with the turnout and the evals for the C++ talk. Both my talks are available online already, by the way, which is astonishingly quick.
I love the "face time" with Microsoft people (including "my" product teams as well as folks in marketing, developer outreach and education, and so on), with my fellow RDs, MVPs, INETA folks, and speakers of all stripes, and with attendees. Booth duty, where you spend long minutes shifting your weight from foot to foot praying someone will come by, is a bit like of box of chocolates. An eager attendee comes forward, meets your eye, smiles ... for every "can you tell me where to find the blinky Windows 7 pen?" there is a good solid question or expression of interest in my actual technology. I got one question on Wednesday from someone who just wanted to know what booth to go to for it to be answered, only to learn it was this booth and that in fact I was probably the only person in building who could have answered it. I sure liked that one!
Next year, Atlanta:
But I may not have to wait a year for another Tech Ed experience.
Tuesday, June 8, 2010
Are you interested in developing for Windows 7? I bet you are. I know I am. So perhaps you would like (OK, I'm quite sure you would like) the Windows Summit. It's a virtual event hosted at http://www.microsoft.com/windows/windows-summit/ and it claims of itself:
Windows Summit 2010 is designed for people who engineer and test Windows 7
PCs, devices, and software. Three technical tracks are offered to show how to
best use Windows 7 and Internet Explorer, helping you build great solutions and
gain a competitive edge.
It's free (you just have to register) and features about a dozen talks in each of three tracks. The Software track will release June 16th, so you can mark your calendars for then and amuse yourself in the meantime with the Device and System tracks. The Software talks will cover multi touch, ribbon, IE9, Windows Error Reporting, sensors and location, power awareness, background activities (that's services and scheduled tasks) and performance. All good stuff.
I'll report back in mid June when I can actually play the sessions and look at the downloads, but it seems to me it's going to be a very good resource.
Sunday, June 6, 2010
I found myself with some free time and decided to go on a city tour here in New Orleans with a fellow RD and a fellow MVP, both from the Greater Toronto Area like me. It was eye opening. This is a city of contrasts, and I'm sure it was so even before Katrina, but the unfixed damage and signs of what once was make that even more dramatic.
Here is your classic "wrought iron balconies" picture at the start of the tour.
And then in no time, we get to wrecked buildings that haven't been rebuilt yet. All while the guide is talking about how deep the water was and how long people were kept away from their houses to try to rescue things and minimize mould damage.
I found this very poignant. A lovely allee of trees. The houses though, are gone - these two rows of trees are in front of vacant lots.
Some new building is underway; this one is in a project sponsored by Brad Pitt.
This house seems ok but the "graffiti" on the front porch is rescue worker tags explaining how many bodies were found etc. I saw dozens of houses that still had the notation - plus the big X with numbers in the quadrants - even GAS OFF in giant orange letters and not yet repainted.
The cemeteries here are really something else. I didn't think I was going to care about this part of the tour but it was actually really interesting.
Then to the Garden district and more beautiful homes, lovely trees, a man walking his dog while sipping a glass of rose, etc.
Lovely balconies and fence.
I am so glad I was driven around to see all this. What a lovely city.
Friday, June 4, 2010
Hey, this was such fun at the launch and they're doing it again for Tech Ed!
This time my topic is Women in Technology. I'm with Karen Forster, Lisa Feigenbaum and Jennifer Ritzinger and it's sure to be a very fun half hour. PLEASE tweet us questions to @c9live! I'm on at 4 pm Central on Monday the 7th. Talk to you then!
Wednesday, June 2, 2010
I posted a quick hit on MFC and Windows 7
back in April, mentioning the ribbon and showing you how simple icon overlays and jump lists are. Now Marian Luparu has a nice long article
in Visual Studio Magazine. He covers tabbed thumbnails, the ribbon, multi-touch, jump lists, and shell integration for your own thumbnails, preview, and search integration. Then he manages to mention graphics and animation APIs and parallelization. Can't argue with his conclusion:
Overall, Windows 7 is an exciting release for developers. With thousands of
new Windows APIs made available to native coders, Windows 7 provides an enhanced
experience for desktop applications.Visual Studio 2010 is the IDE of choice to take advantage of the Windows 7
platform. With enhancements in MFC and the ATL and the addition of new IDE
Designers and Wizards, Visual C++ 2010 gives you the opportunity to be on the
cutting edge in terms of leveraging OS functionality.
Check it out!
© Copyright 2023 Kate Gregory
Theme design by Bryan Bell
newtelligence dasBlog 2.3.9074.18820
| Page rendered at Thursday, June 1, 2023 11:26:57 AM (Eastern Daylight Time, UTC-04:00)
On this page....
Pluralsight Free Trial