# Saturday, 22 January 2005

Stephen Forte has posted a voluminous update that includes links to all our blogs and little bios of us all, in case there are one or two you haven't heard of. Check it out.

Kate

Saturday, 22 January 2005 12:43:24 (Eastern Standard Time, UTC-05:00)  #    
# Friday, 21 January 2005

Here's a blog entry by the surfers I mentioned yesterday explaining some of what they're up to and how desparately it's needed. And Julie has a delightful picture of them, too.

Julie is still getting our ducks in a row with EBay. As you can imagine, you can't just hold an auction and claim it's a fundraiser -- what a fraud opportunity.that would be! There are letters and faxes and suchlike to make sure that everybody is on the up and up. The good news is that because EBay and Paypal are doing this, you can be confident your money (you are going to bid, aren't you?) is going where we say its going. The bad news is I don't have an EBay link yet :-)

Kate

Friday, 21 January 2005 08:46:04 (Eastern Standard Time, UTC-05:00)  #    
# Thursday, 20 January 2005

An absolutely stellar group of people, dubbed by Julie Lerman to be .NET Celebrities, have come together to offer up our tiny little bit of help for those whose lives, homes, loved ones, livelihoods, and dreams were washed away on Boxing Day of last year. The immediate “if we don't get fresh water in there they will all die” crisis is past, but there is so much rebuilding work to be done. The agency we've selected is Aceh Aid at IDEP which is local to Sumatra and has been on the ground since the waves hit. This is a nimble and creative group that, for example, teamed up with the surfing community to get boats into the worst hit places while large outside groups couldn't figure out how to reach them. It's going to be an EBay auction with payment through PayPal directly to a US foundation that supports IDEP -- that way for US-based people it will be tax deductible for sure. I am working on an answer for Canadians on that. Of course if your company spends the money to get the advice, then your company can deduct it as an expense, just the same as if you wrote me a cheque for my time.

There are 25 of us up for auction. Top bidder gets their pick of Jeffrey Richter, John Robbins, Jeff Prosise, Michele Leroux Bustamante, Jonathan Goodyear, Andrew Brust, Richard Campbell, Adam Cogan, Malek Kemmou, Jackie Goldstein, Goskin Bakir, Hector M Obregon, Patrick Hynds, Fernando Guerrero, Kate Gregory, Joel Semeniuk, Scott Hanselman, Barry Gervin, Clemens Vasters, Jorge Oblitas, Stephen Forte, John Lam, Deborah Kurata, Ted Neward and Kathleen Dollard. Wow! (And like I need to link to their blogs -- you know who these people are!) Most are friends of mine already, 18 are RDs, 5 are Canadian, all are top notch .NET stars who know their stuff and are in the habit of solving problems for people.

So what we are auctioning is one hour of mentoring. Phone, IM, email, whatever. (We won't fly out to you.) If you're the top bidder, you get whoever you want from that list. Second bidder chooses from the still stellar list remaining. And so on.

Most of us are consultants so you could theoretically buy our time. But that's in theory. My firm doesn't take one hour jobs. We don't really like to take one day jobs. Our preference for mentoring work is to take a $5000 retainer and let you know when you've used most of it up and need to send more. (We make exceptions for some work that's really technically interesting and fun, but we still need to be confident it will go on for a while.) I expect it's a similar situation for the others. That means we're offering something you otherwise couldn't buy. I want you to keep that in mind, then go bid more (a lot more) than you think an hour of my time is worth. The money goes to those who need it, you get a deduction, and you get some important business problem solved. Can't fail!

I'll post a link to the auction as soon as it's live.

Kate

Thursday, 20 January 2005 10:17:23 (Eastern Standard Time, UTC-05:00)  #    
# Wednesday, 19 January 2005

In fact, you've been able to register for over a week, I just didn't notice until today. Last year it sold out, so if you already know you want to go, start making your plans now. If you register early you save money, there's some sort of sweepstakes to be won, and you'll know one little part of your year plan well in advance. Go on, register.

Me? I'm hoping to be there as a speaker :-) (I submitted a number of C++ talks) or to take advantage of some not-yet-announced-I'm-just-hoping pass for RDs or MVPs or INETA speaker bureau folks or something, so I haven't registered. One way or another, I will be there.

Kate

C++ | Consulting Life | INETA | MVP | RD | Speaking
Wednesday, 19 January 2005 14:32:28 (Eastern Standard Time, UTC-05:00)  #    
# Tuesday, 18 January 2005

... who wouldn't be embarrassed by pictures of themselves from the 80's? But you have to see these, really you do... BillG looking soulfully into the camera while cuddling up to a monitor with the Microsoft logo, or giving new meaning to the old phrase "flipping floppies"... I don't think it was really for Teen Beat but anything's possible.

http://blog.monkeymethods.org/2005/01/bill-gates-strikes-pose-for-teen-beat.html

Kate

Tuesday, 18 January 2005 10:01:07 (Eastern Standard Time, UTC-05:00)  #    
# Sunday, 16 January 2005

I have these friends, a married couple who are both paramedics -- the people who show up in an ambulance while the building is still on fire or the bad guy is still maybe inside with a weapon, and help you when you need it most. One works in the Peterborough area where I live, and the other commutes regularly to Toronto. Well this week, he's not in Toronto, he's in Sri Lanka, to help people who most surely need help. They were going to go on vacation somewhere sunny: instead he's gone to help and she's holding down the fort at home. I am so impressed by people like that.

Here's some news coverage from CTV, interviewing three of the four, but not my friend.

Think geeks like you and me can't help? Think again. Look at what Julie has been up to. The same skills we can sell to clients around the world we can also give to aid organizations. Watch this space for my tiny little bit.

Kate

Sunday, 16 January 2005 21:57:24 (Eastern Standard Time, UTC-05:00)  #    
# Saturday, 15 January 2005

Thanks to kbalertz, I was notified of these:

FIX: You may receive results that are not correct when you perform mathematical computations that involve floating point arithmetic in Visual C++ .NET 2003

The repro code looks like this:

double a = 1.0 - sqrt(225.0) / 36.0;
double b = 1.0 + (31-30.0) /70.0;
if( b > 2.0 )
   b = 2.0;
double c = b * a * 9.0;
printf( "%f\n",c);

If all is well, this is supposed to print 5.325000 but if you have the problem it prints 14.378571 -- a slight discrepancy! Get the hotfix only if you need it.

Those with an old version of the XBox Developer Kit installed might also like to know about:

PRB: Debugger stops responding when you debug a Visual C++ .NET application with the Visual Studio .NET debugger

Workarounds: get a newer XDK, disable parts of the XDK, or leave your XBox on and connected to your computer all the time. That last one would kill my productivity for sure.

Saturday, 15 January 2005 15:13:47 (Eastern Standard Time, UTC-05:00)  #    

I'm pleased and proud to report that I have again been awarded MVP Status for C++. Technically it's “Visual Developer - Visual C++”. This came through January 4th, but my blog's been out of order for a bit.

Kate  

C++ | MVP
Saturday, 15 January 2005 13:16:36 (Eastern Standard Time, UTC-05:00)  #    
# Thursday, 23 December 2004

I live in the Canadian countryside, so it snows in the winter and I generally consider that a feature. But we're in the middle of a 12-inches-in-24-hours blizzard right now, with bits of freezing rain mixed in. Take a look at this radar image from the Environment Canada website:

I've never seen the whole circle filled in, and I've never seen orange for snow before. This is really something!

Now I just have to find a way to get to Peterborough for the Gregcons Christmas lunch and a little last minute shopping.

Kate

Update: here's the view from my front door:

The horizontallish thing in the foreground is a picnic table... the seats are about knee height from the grass.

Thursday, 23 December 2004 08:37:06 (Eastern Standard Time, UTC-05:00)  #    
# Wednesday, 22 December 2004

Recently, a reader asked "Do you know if Managed C++ can work with Managed DirectX9? I see lots of examples of C# with Managed DirectX but it seems if I want to use C++, I have to use unmanaged C++ with COM... I’ve spent the last six months learning Managed C++ and want to use that knowledge and not have to learn C#."

It certainly seemed logical that C++ and DirectX would play well together, but I couldn't find anything obvious, so I went to the source: the C++ team, who pointed me to Tim Miller, who implemented the Managed DX9 layer. He assured me it does work, though with an oddity or two, and pointed me to a blog entry of his on the topic: http://blogs.msdn.com/tmiller/archive/2004/10/05/238317.aspx.

If you're a Managed DirectX person, and a blog reading person, read Tim's blog!

Kate

Wednesday, 22 December 2004 08:04:35 (Eastern Standard Time, UTC-05:00)  #    
# Friday, 17 December 2004

I have just loved holding our meetings at Durham College, but some policy changes there meant that we would have to pay for the meeting room. Like most Canadian user groups, we don't charge membership fees or meeting admission. At the moment the only sponsor of the group is my firm, Gregory Consulting, which pays for the pizza most months (sometimes Microsoft or INETA picks up the tab.) So we've moved to another room. This one will meet our needs very nicely, I feel:

400 Taunton Road East, Whitby (between Thickson and Brock.)

So while we're still East of Toronto, our meetings won't be quite as far east of Toronto as they used to be! :-)

We have no December meeting, so I'll see you in Whitby January 18th and Feb 22nd. Those meetings are planned and should be on the web site soon.

Kate

Friday, 17 December 2004 12:07:26 (Eastern Standard Time, UTC-05:00)  #    
# Wednesday, 15 December 2004

Finally the official announcement from INETA that eight super deserving people have been added to the North American Speakers bureau. Two are Regional Directors and friends of mine, Joel Semeniuk and Stephen Forte (get ready to come to East Of Toronto, you two :-)). All are well known in the speaking world and will be great additions to the bureau. Welcome aboard folks!

Here's a list of blog links stolen from the INETA site:

Kate

Update: If you want to learn more about the speakers bureau, or see who's on it, check http://www.ineta.org/DesktopDefault.aspx?tabindex=2&tabid=14.

Wednesday, 15 December 2004 22:12:28 (Eastern Standard Time, UTC-05:00)  #    

I just read a blog entry that, to me, really epitomizes what blogs are all about. It starts out as a musing on a little technical question -- if some C++ code throws a string literal, what kind of catch clauses should win the race to catch it? -- and turns into a very personal story of what C++/CLI is for and about and Stan's motivations in being part of it. He says:

We have had an extraordinary degree of freedom not simply in our design, but in our being able to reach out and work with the general c++ community. this language is a coalition. I think we have all wanted to put the best face on C++ in what we regard as an otherwise hostile environment for C++. We think this is a win-win situation for everyone. if you don't like something, you should let us know. we're not a hundred thousand leagues removed from our users. if you want to use the language, you have every right to tell us what you think about it; how you find it; what you want.

And later:

I just program and write. and I do that best in C++. C# and Java mean nothing to me. Now I have my own language to use on .NET. That was my personal agenda in all this. I think you should check it out.

So go read it. C++/CLI is being developed by real people who care about the technology they use and the technology they create. I don't know what it is about C++ that makes people feel this way about it -- I feel the same way myself. I use VB.NET almost every day, I use XML, I use all kinds of things, but I don't really have feelings towards those things. I do for C++. Weird but true, and --hey!-- I'm not the only one.

Kate

Wednesday, 15 December 2004 11:48:20 (Eastern Standard Time, UTC-05:00)  #    
# Thursday, 09 December 2004

Salon has an interesting interview with Joel Spolsky. (If you're not a subscriber, you'll have to sit through a Day Pass ad before you can read it, and I recommend you do.) Some real gems in it:

The key problem with the methodologies is that, implemented by smart people -- the kind of people who invent methodologies -- they work. Implemented by shlubs who will not do anything more than follow instructions they are given, they don't work.

[on intelligently sometimes-online apps for use on airplanes] ... airplanes are actually getting Internet connections. And Wi-Fi is spreading like crazy. What's kind of surprising is that it has turned out to be easier to rewire the entire world for high-bandwidth Internet than it is to make a good replication architecture so you can work disconnected!

There's also a nice link to the Joel test, sort of a lightning version of the CMM -- takes about 15 seconds to answer and then you know where you stand. (We're at ten-and-two-halves out of 12, which is pretty good, especially since with only 6 people finding someone in the hallways who isn't on your project is a bit of a challenge.)

But then he says:

Microsoft ... could ship a brown paper bag called Microsoft Brown Paper Bag 1.0 and hundreds of thousands of people would buy it. Or at least try it.

Please. What does he think I am, naive? I am a seasoned computer professional, paid to make code for over a quarter of a century, rich in Microsoft contacts and non disclosure agreements and summit invitations. I don't buy 1.0 of anything! :-) I'll be waiting for 2.0 or at least 1.1, or at the very least a service pack!

Kate

ps: here's the first service pack for MS BPB 1.0:

(it's all about the patch management...)

Thursday, 09 December 2004 15:41:55 (Eastern Standard Time, UTC-05:00)  #    
# Wednesday, 08 December 2004

My 2005 plan is starting to take shape a bit better now.

I'll be attending for sure. Will I also be speaking? Writing the Hands on Labs? Sitting on cool panel discussions? Time will tell... and so will I when the plans are firm.

Kate

Wednesday, 08 December 2004 12:04:35 (Eastern Standard Time, UTC-05:00)  #    
# Thursday, 25 November 2004

I'll be at the December 2nd meeting of the Canada's Technology Triangle .NET User Group to show everyone Smart Clients, VSTO, and Infopath. I did this session in Winnipeg and saw Derek Hatcher do it in Toronto so I know it has good content. Please register at http://www.cttdnug.org/DesktopDefault.aspx?tabid=68 and come out to the meeting. My only worry, based on the many years I spent living in that area, is that I'll have to drive in a blizzard. But we aren't going to let a little snow stop us, are we?

Kate

Thursday, 25 November 2004 07:22:40 (Eastern Standard Time, UTC-05:00)  #    
# Monday, 08 November 2004

Over on Developer.com, Brad Jones has summarized the TIOBE Programming Community (TPC) Index for October 2004. This is a measure of how many web pages and newsgroup postings mentioned a programming language name in conjunction with the word programming. So if I say “For serious programming, C++ is way better than Java” then that is a hit for both C++ and Java. These hits are going to include people's resumes, job postings, ads for courses, how-to pages, book pages, and so on. It gives a rough indication of popularity that people are talking about a language. After all, I rarely compare C++ to Fortran or to PL/I. I certainly can't remember the last time MATLAB (to pick a name from the table) came up in conversation. Job seekers trim their resumes all the time to include only the “relevant” languages they know.

There's a table of results, and a sorting of languages into “A languages” and “B languages” but I was really intrigued by the graph. A first glance reveals a fairly steep Java fall this year. But the C++ line is more interesting because it falls too, though not as steeply or as far, and then climbs back up again starting in March of this year. Is this people talking about C++/CLI? I think it is.

Kate

Monday, 08 November 2004 13:46:12 (Eastern Standard Time, UTC-05:00)  #    
# Friday, 05 November 2004

Last night I spoke to Carl Franklin (my fellow RD) for Dot Net Rocks. Over the course of an hour and a quarter we talked about C++ (I think I'm converting him :) ) VSTO, VB, sockets, what I have for breakfast, Carl's Westminster Abbey experience, and assorted geeky things. It was a lot of fun. Here are some links stolen from the site:

Kate

Friday, 05 November 2004 09:53:38 (Eastern Standard Time, UTC-05:00)  #    
# Thursday, 04 November 2004

Long ago, before search engines added automatic spell checking to their bag of tricks (did you mean to search for MASSACHUSETTS?) I knew people who used Google (or before that, Altavista) as a spell checker. Just search for the word spelled one way, then another, and compare the number of hits. If you get 125 hits for one spelling and 13,456 for the other, you have a pretty good idea of which is right.

Today I found myself using Google News as a sort of voting fact checker to establish (forgive my ghoulishness) whether Yasser Arafat has or has not died. You can count votes from different news organizations. The main news.google.com (or .ca for me) gives you a handful of stories, but click a link under “In The News” and you see a lot more. For example, http://news.google.ca/news?num=30&hl=en&ned=ca&ie=utf-8&q=Yasser-Arafat.  Perhaps not what they had in mind, but an intruiging thing to be able to do.

Kate

Thursday, 04 November 2004 14:25:36 (Eastern Standard Time, UTC-05:00)  #    
# Tuesday, 02 November 2004

 

I'm going to kick off the Smart Client User Group Tour with a talk in Winnipeg. I'm expecting a slight contrast between South Africa in late October and Winnipeg in early November :-). The talk is November 10th, details on the Winnipeg UG site.


 

Kate

Tuesday, 02 November 2004 16:23:13 (Eastern Standard Time, UTC-05:00)  #    
# Friday, 29 October 2004

 For November, the Toronto-area user groups are combining our meetings to participate in the MSDN User Group Tour.

Building Smart Client Application using Visual Studio Tools for Office Version 2003

This session provides an overview of how you can use the Visual Studio .NET 2003 project templates provided by Microsoft Visual Studio Tools for the Microsoft Office System to create Smart Client solutions that use Microsoft Office Excel 2003 and Microsoft Office Word 2003. This session will also show the value of InfoPath, how to build solutions and review many of the new features and managed code support. Microsoft Office InfoPath 2003 is a hybrid tool that combines the best of a traditional document editing experience, such as a word processor or e-mail application, with the rigorous data-capture capabilities of a forms package.

The speaker is Derek Hatchard, and the meeting is at 200 Bloor St East in downtown Toronto. For directions and to register, please visit http://www.metrotorontoug.com/User+Group+Events/116.aspx. This meeting is being held on the regular East of Toronto meeting date, November 16th. Doors open at 6 and presentation starts at 6:30. Please register in advance not only for the usual food reasons, but to simplify the job of the door security at this downtown building.

See you there!

Kate

 

Friday, 29 October 2004 15:23:30 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 27 October 2004

I had a thoroughly enjoyable but oh-too-brief time here. My third talk, this morning, went well like the others, and now I'm at the airport with about 27 hours between me and my own home -- and it's 4 hours since I walked out of the conference centre.

I'm going to put the code from my sessions on the SA Developer website when I get home.

Kate

Wednesday, 27 October 2004 12:01:33 (Eastern Daylight Time, UTC-04:00)  #    

My latest whitepaper is on MSDN now.

Summary: This article is for C++ programmers who are (at least for now) not targeting the Microsoft .NET Framework in new or existing applications. It provides some guidelines for moving to the .NET Framework without leaving behind the investment in existing code, and explains why you should consider moving to the .NET Framework not only for new development, but for existing applications as well. (9 printed pages)

Kate

Wednesday, 27 October 2004 06:10:12 (Eastern Daylight Time, UTC-04:00)  #    

As a presenter, I use the /fs switch on Visual Studio quite often. It makes the product come up with larger fonts in Solution Explorer and other “chrome” that you can't control with Tools, Options. If you present, do everyone a favour and use this switch yourself. Also change your highlighted text from white-on-darkish-blue to black-on-yellow and crank your editor fonts to at least 14 points.

Well, Scott Hanselman alerted us all that the /fs switch is gone in Whidbey and urges us to vote on the importance of this omission. It's not just about speakers, it's about accessibility. My firm has done quite a bit of accessibility work, and we're sensitive to it. How can one team be changing ASP.NET so it emits accessible HTML while another removes a working switch that wasn't hurting anyone and that made programming feasible for someone with low vision? It must just be an oversight, right? Well give the bug a vote and the oversight is more likely to be corrected.

Kate

Wednesday, 27 October 2004 04:57:30 (Eastern Daylight Time, UTC-04:00)  #    
# Tuesday, 26 October 2004

It's still gorgeous, sunny, and HOT here. I did two talks today -- the C++ and the VSTO ones. I was really pleased with the C++ attendance, and people saying “I'm going to switch back” after seeing what Visual C++ 2005 is going to be like. And that was with no demos! VSTO is a very fun product, and easy to demonstrate too. So two pleasant sessions with very nice audiences and great logistics.

One more day, one more talk, but first I think I'm going to go for a swim...

Kate

Tuesday, 26 October 2004 10:31:44 (Eastern Daylight Time, UTC-04:00)  #    
# Monday, 25 October 2004

Wow!

This is an amazing place. The heat, the colour, the vibrancy. I am constantly being surprised by something. Then I go inside and I could almost forget where I am, because Tech Ed is Tech Ed everywhere. At the keynote this morning, they showed some language packs for Windows in Afrikaans and Zulu, reminding me of my old post on Windows in Inuktitut.

My sessions are tomorrow and the day after, so I'm just going to soak up some atmosphere and go to some talks. Several nice touches here: RFID cards for everyone so there's an accurate count of how many people went to each session, and so you can only evaluate sessions you went to. Staff everywhere who can answer not only Tech Ed related questions but “what is this fruit?“ (Hey, I'd never seen fresh guava before, what did I know? It looks a lot like a tomato, only firmer.)

I've already seen plenty of SADeveloper.net shirts and hats (I have my own set now) and a We Heart Our MVPs shirt. There's plenty of community here!

Kate

Monday, 25 October 2004 04:22:10 (Eastern Daylight Time, UTC-04:00)  #    
# Thursday, 14 October 2004

I'm on vacation at the moment (travel blog entries to come if I get any free time) but had to take a minute to mention that I'll be speaking at Tech Ed South Africa at the end of the month. I'm doing three talks: better performance in VB, programming with Word or Excel as your user interface with VSTO, and Visual C++ 2005 and the C++/CLI features -- which the organizers were nice enough to add just because I asked them to. I'm really looking forward to the trip and the people!

C++ | Office 2003 | RD | Speaking | Travel
Thursday, 14 October 2004 18:07:48 (Eastern Daylight Time, UTC-04:00)  #    
# Thursday, 30 September 2004

It must be the user group :-)

Apparently the number one city to move to in all of Canada last year was Oshawa. I heard the head of chamber of commerce on the radio tonight and had to laugh when he listed one of the big assets of Oshawa is that it's close the Kawartha Lakes (I live in Kawartha Lakes and honestly I prefer it to Oshawa.) Oshawa is not a grimy industrial town, it's pretty and clean and friendly. And if you want to see what all the fuss is about, come to our next meeting, October 19th, and come a little early so you can look around the town.

http://www.thestar.com/NASApp/cs/ContentServer?pagename=thestar/Layout/Article_Type1&c=Article&cid=1096495811790&call_pageid=968332188492&col=968793972154

http://cnews.canoe.ca/CNEWS/Canada/2004/09/29/648677-cp.html

Kate

Thursday, 30 September 2004 21:24:46 (Eastern Daylight Time, UTC-04:00)  #    
# Thursday, 23 September 2004

The INETA Speakers bureau, divided into North American, European, and Latin American bureaus, is a wonderful thing. I'm honoured to be part of it, and to speak at user groups across North America. So far, I've spoken at as many Canadian groups through the bureau as at American ones, but that's a little unusual. Some Canadian groups are still looking for speakers, toplevel exciting great speakers, to come to their meetings. So MSDN Canada is setting up a Canadian equivalent. My Canadian group will now get to pull speakers from two pools -- and I will get invitations from two sets of audiences. That sounds like a great plan!

More details, speaker bios, and so on are at http://msdn.microsoft.com/canada/speakers/. For those old enough to remember Bob and Doug MacKenzie, a themed announcement is available. Most speakers are MVPs and RDs. If you're active in .NET in Canada, you should know these people -- it's like a crash course on the .NET Canadians. (And yes, I know a few Americans have snuck in there. But just the ones we like :-). )

Kate

Thursday, 23 September 2004 10:05:41 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 15 September 2004

The September 21st meeting of the East of Toronto .NET Users Group features an appearance by the MSDN USer Group tour.

Come and hear about building Mobile applications using the .NET Compact Framework and SQL CE. Please register at http://gtaeast.torontoug.net/ug_events/702.aspx -- there's even more great Microsoft giveaways this month than usual :-) but I'm going to use the registration numbers as a guide for how much of it to lug to the meeting. If you haven't been to an East of Toronto meeting before, now's a great time. We'll be in our new room, upstairs in the UA1 building on the Durham College / UOIT campus in Oshawa. There's a map on the page where you register. See you there!

Kate

Wednesday, 15 September 2004 15:18:34 (Eastern Daylight Time, UTC-04:00)  #    
# Sunday, 05 September 2004

Here is a terrific collection of “new C++” material that's well worth reading, all from Stan lately:

  • http://msdn.microsoft.com/visualc/default.aspx?pull=/library/en-us/dnvs05/html/TransGuide.asp is a translation guide from Managed Extensions for C++ (that would be the “all those underscores“ version of the language) to C++/CLI (the new, beautiful version.) If you went to the trouble of learning the __gc, __property etc way of doing everything, this guide will show you how to translate your programs. If you never got around to learning it, move straight to C++/CLI.
  • http://msdn.microsoft.com/visualc/?pull=/library/en-us/dnvs05/html/stl-netprimer.asp is a guide to STL.NET. You won't find STL.NET in the current CTP release, but it's coming. C++ is the only managed language that supports both templates and generics, and they each have their place. With STL.NET you can get the best performance, you can use idioms that are familiar and comfortable, and you give up nothing when it comes to interop with other managed languages. This article is part I; I'm watching for more parts.
  • Finally, this blog entry (http://blogs.msdn.com/slippman/archive/2004/08/27/221373.aspx) is on interior pointers. I've read explanations of how to code interior pointers before, but hadn't really seen what they are for. (The same can be said of anonymous methods; lots of folks will show you how to do them but Don Box showed the other night what they can be used for, and now I get it. But that's Don for you.)

What a great time to be a C++ person, watching the new language take shape.

Kate

Sunday, 05 September 2004 10:12:41 (Eastern Daylight Time, UTC-04:00)  #    
# Friday, 27 August 2004

Like a lot of RDs (about half of us worldwide) I'm in Redmond this week for some training. Most of it is NDA but I have to share this quote from Don Box (who rocked) tonight:

Visual Studio rocks; I have not used Emacs since the PDC.

Wow! If you need context, he was discussing XML editing and Visual Studio “Whidbey“.


Kate

Friday, 27 August 2004 02:37:51 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 25 August 2004

Jean-Luc David reports on our recent East of Toronto .NET User Group meeting. He took notes. The next meeting is Sept 21st and if you live in the GTA and find Oshawa easier to reach than Mississauga or downtown, please come out and see us!

Kate

Wednesday, 25 August 2004 15:02:53 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 18 August 2004

For a long time now, I've been using mapquest.com for maps of places I am going to. I have no real complaints with it, so I haven't been looking to see what else there is. Sure, it's a little annoying that I have to click Maps when I first get there if I want a Canadian map, and then there's a really annoying refresh when you choose Canada and it changes State to Province, which can wipe out everything you typed if you're on a slow line, but those are pretty minor, really.

Last night Dwayne was talking about Mappoint Location Server, which is an enterprise-focused technology for seeing where your people or deliveries or whatnot are, using a map, but of course he showed a lot of Mappoint maps along the way. And you know what? They're nice-looking. Really nice-looking.

So tonight someone phoned me to ask where a particular building was, and said Mapquest couldn't find the address she gave it. (Turned out she was spelling the street incorrectly so no marks off to Mapquest on that.) I tried Mappoint and -wow! These are beautiful maps that get more beautiful as you drill in.

drills to

It felt a little more dial-up friendly, too. The printable map is especially nice. Mapquest reduces the amount of chrome when you go for a printable map, but not to zero. At least for now the printable Mappoint map is pretty much chrome-free. I tried a few places where the streets are denser (downtown Toronto) and liked that, too.

For now it seems to be North America only, so I'll use MapQuest for my Europe planning. Up to now I've been using a 40 year old atlas for that, which is working fine really since London, Paris, Venice etc tend not to move around and I only need to know things like how far apart they are. Sooner or later I'll want a touch more detail, and Internet maps are perfect for that.

[Update Sept 23rd: Europe is in there. I'm a 100% Mappoint girl now...]

 Kate
Wednesday, 18 August 2004 22:37:24 (Eastern Daylight Time, UTC-04:00)  #    
# Monday, 16 August 2004

The East of Toronto .NET Users Group is meeting tomorrow night, Tuesday the 17th. Come and hear Dwayne Lamb and discover all the wonders of adding location information to a mobile application. Please register at gtaeast.torontoug.net so we know how many to expect.

Come out and get a look inside Microsoft's latest addition to the MapPoint family of products - Microsoft MapPoint Location Server. With MLS's SOAP interface, developers can easily integrate the real-time location of a mobile phone into their applications. Fleet management, Mobile CRM, asset tracking, buddy finding and much more are now possible. MLS's Plugin architecture allows for integration with a number of sources of real-time location information from Wireless operator networks to Wi-Fi hotspots and GPS devices. Come out and hear about the new location services that mobile operators are offering and find out how .NET programmers can integrate them into their solutions.

Dwayne Lamb, Visual Byte Inc. is a 15-year veteran of the computer industry and an experienced technology instructor, writer, presenter and developer. Through his work at Visual Byte, and his active involvement in the developer and user communities, he has become a leader and industry specialist in the area of mobile application development and design and has been recognized by Microsoft as a Mobile Device MVP.

In other exciting user group news, I have a room through the fall for the group -- in the same building, but a different room. Starting with the September meeting (which will feature a presentation on building applications for mobile devices from the MSDN Canada team) we will be in UA 2120. But tomorrow it's still UA 1350. See you there!

Kate

Monday, 16 August 2004 12:47:11 (Eastern Daylight Time, UTC-04:00)  #    
# Friday, 06 August 2004

Clearly some sort of internal milestone has been reached by the C++ product team, because Stan and Herb are blogging again. Stan has quite a long entry on why C++/CLI supports both templates and generics, from an insider/designer point of view. It's not a skim-through-while-you-eat-your-breakfast post, but if you care about C++ you'll be glad you read it.

Kate

Friday, 06 August 2004 09:02:00 (Eastern Daylight Time, UTC-04:00)  #    

Admit it, you'd like a Tablet PC, wouldn't you? Then you could know what Julie Lerman and other ink-lovers are talking about all the time.  Or if you already have one, with a second one you could give it away and get someone else hooked on tablet development. Well, Carl Franklin of .NET Rocks (and my fellow RD) wants some insight into what developers care about, and he's willing to give away this lovely Toshiba M200 to get it. Fill out a quick and confidential survey and you're all set. Contest ends August 26th, so don't dilly-dally.

Kate

Friday, 06 August 2004 06:53:29 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 04 August 2004

I get a lot of fake bounce messages these days, either because mail that was spoofed as being from me has bounced or because viruses are pretending to be bounce messages. I also get a fair number of OOF and vacation messages from strangers, for much the same reasons I suppose. I ignore them, and usually delete them unread. But this one I read, because it had no attachment and I didn't know what the subject (Congés) meant. What I found is worthy of mention:

Bonjour,

Je serais de retour de congés le 23 août 2004.

En mon absence, je vous invite à contacter Steve xxxxxxxxx (xxxxxxxxx@xxxxxxxx.fr).

Coordonnées du standard : 01 41 97 xx xx

Je me tiens à votre disposition à mon retour.

Cordialement,

didier

(I elided the name and email of the standin, Steve, and the phone number.) Just look at the phrasing! He invites me to contact Steve. He's going to put himself at my disposition on his return. He even signs it Cordially! Is it just that the French language lends itself to that kind of phrasing, or is didier a truly gracious person? I'll never know. But if I ever get a vacation, I think I will be wording my message a little differently now...

Kate

Wednesday, 04 August 2004 10:18:56 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 28 July 2004

Almost two months ago now, Joel Semeniuk blogged about responding to RFPs and how awful it is. The thing is, it's really hard to keep a business larger than one person afloat without ever responding to them. And once in a while, you get the contract, which is fantastic but keeps you from blogging :-).

Gregory Consulting is in the midst of not one but two contracts landed through RFPs right now, and I just can't help myself, I'm responding to another, this to get on a Vendor of Record list for, er, a major provincial government. About two years ago this ministry built a list and the RFP had a due date for responses of December 23rd. The first  Q & A session was full of questions about the deadline, would it be postponed, and the answers were oh no, absolutely not, there's plenty of time for you to make a good response in that time. Every Q & A after that, the same question, the same answer. Until two weeks before the deadline when they announced a four week or so extension. So here we go again in 2004 and the due date was July 29th, and the Q & A literally complained “the government is ruining my vacation” and the answer was “we are ruining our own as well but there will be no extension.” Again and again people asked and were told the deadline was immutable.

I've been busy doing the work I landed but I settled down last night to pull the whole RFP package together so it could be printed and bound today and hand delivered tomorrow. And with a horrible sinking feeling I was realizing I had hours of work writing project profiles and filling out checklists. I got to the bit where you have to list all the addenda you have seen, popped up to merx to get the most recent addenda (I've been busy, remember?) and -- hey! This thing closes August 19th now!

At least I found out before I stayed up all night.

Kate

Wednesday, 28 July 2004 06:42:12 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 21 July 2004

Last night Adam Gallant came (from his sickbed) to speak on game and media development at the East of Toronto .NET User Group. For the summer, we meet in a snazzy new lecture hall at the University of Ontario Institute of Technology. Adam wanted to draw some diagrams -- with a pen, on paper. That's pretty low tech. But so everyone could see what he was doing, the room has a document camera hooked up to the projector. Fun toys!

You can see in the background there are both whiteboards and blackboards as well. It was never like this when I was a student (my University of Waterloo student number, which I still know, starts 77.)

It will really hurt to give up this room in September when the students come back. Sigh.

Kate

Wednesday, 21 July 2004 09:42:53 (Eastern Daylight Time, UTC-04:00)  #    
# Monday, 19 July 2004

The East of Toronto User Group is meeting tomorrow at Durham College / OUIT once again. Please come and see Adam Gallant talk about game and media development:

A lot of software developers have realized the benefits of moving to the managed code environment provided by .NET, and are writing applications using C# and VB.NET. However, one of the most of the most exciting new technologies available to .NET developers is the availability of Managed DirectX, which provides managed access to building rich 3D application and games to .NET developers. Not a poor second cousin, Managed DirectX provides almost identical performance as native DirectX code. In this session, we will introduce DirectX concepts, the Managed DirectX classes, and demonstrate a managed game written in C#.

Please visit http://gtaeast.torontoug.net/UG_Events/627.aspx to register.

Kate

Monday, 19 July 2004 14:32:52 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 14 July 2004

On Monday night, folks who were in town for the partner conference came out to dinner with some locals. As always when RDs gather, I learned some things and laughed a lot. Here are a few snaps:

Craig Flannagan, MSDN Guy and RD-looker-after in Canada is in the foreground. Then we have Scott Howlett of Toronto, and hiding behind a HUGE bottle of wine is Thomas Lee from the UK.

Here we have Patrick Hynds of New England, Ryan Storgaard who lives in either Calgary or Vancouver (it's complicated,) and Patrick's boss Bruce.

And at this end of the table it's Adam Gallant, my local DE and buddy, Jonathan Zuck of the Association for Competitive Technology, and Patrick again, who managed to have his eyes closed in both pictures.

Thanks everyone for joining us, it was a great evening!

Kate

Wednesday, 14 July 2004 09:16:43 (Eastern Daylight Time, UTC-04:00)  #    
# Thursday, 08 July 2004

Here's a strange thing that happened yesterday. An ASP.NET app, written in VB.NET, was only intermittently dealing with its events, such as button clicks. At first it seemed to be that the event was handled if we were debugging, and not handled if we were not. But that turned out not to be the case.

Whenever you're faced with weirdness -- and let's face it, an event that sometimes is handled and sometimes is skipped counts as weirdness -- the knowledge base is your friend. A team member found 314965, which is a C# version of the problem. Although no-one could find a VB KB article, these are our symptoms, and more importantly this fix was a fix.

SYMPTOMS

A control event on a Microsoft Visual C# .NET Web application form may not fire. The event does not fire if you wire the control event imperatively, that is, if you double-click the event from the Events view and then add the code.

RESOLUTION

Add the event to the HTML code behind the form, that is, wire the control event declaratively.
 
“Wire the control event declaratively” means put an onxxx= attribute in the HTML:
 
<asp:Button id="Button1" runat="server" oninit="Button1_Init" Text="Button1"></asp:Button>
Instead of oninit you might have onclick or whatever event you have an issue with. Also, make your handler function public rather than private.
 
Moral of the story: there are two. First, it isn't always you. I can't tell you how many emails I've received telling me “there must be a bug in Microsoft's C++ optimizer, because my debug builds work beautifully but my release builds blow up.” Experienced C++ programmers mutter or shout “memory problem” when we get such emails: you're overwriting something or leaking or just generally not handling memory well; debug and release builds have huge differences in allocation, initialization, and other memory work when you're using unmanaged C++. Most of the time, it's you. But every once in a while, it's not you. And a quick search through the knowledge base is one way to see if it's you or not. Second, just because you're writing in VB doesn't mean that C# KB articles don't apply to you. Never be a language snob.
 
Kate
 
ps: of course I program in VB sometimes. What else would I use to create ASP.NET apps?
Thursday, 08 July 2004 09:48:33 (Eastern Daylight Time, UTC-04:00)  #    
# Tuesday, 06 July 2004

I know these things are silly, but anyway:

You are Windows 2000 SP3.  You're a steady and reliable friend.  People think you're all business, but with your recent therapy you've become a little more playful.
Which OS are You?

How did it determine I was service pack 3? I don't want to know. You can see all the possibilities at http://bbspot.com/News/2003/01/os_quiz_all.html. I think I would have rather been XP.

Kate

Tuesday, 06 July 2004 16:21:37 (Eastern Daylight Time, UTC-04:00)  #    
# Monday, 05 July 2004

My Microsoft DE, Adam Gallant, is blogging about DevCan so I guess I can too. I'm co chairing two tracks.

What is it? Well it has tracks, so it must be a conference, right? And it has Can in the name, and a maple leaf in the logo, so it's in Canada. And we're planning it now, so it's not in July but nor is it in the spring of 2006.

Stay tuned...

Kate

Monday, 05 July 2004 11:00:59 (Eastern Daylight Time, UTC-04:00)  #    
# Thursday, 01 July 2004

”For pure .NET, C++ typically 25% faster than C#” is the only English sentence (other than photos of slides) in a blog entry I just came across. The rest is Italian, but you know that one sentence certainly caught my eye.

The entry describes a June 30th (that would be yesterday!) Herb Sutter talk. I ran it through Babelfish, but automatic translation doesn't do well with technical terms:

Ago from landlady the "Deterministic finalization" where java and C # is under accusation in order not to have conserved the concept of annihilator in the language. The C#/CLI annihilator is the equivalent of the pattern arranged suit.

Er, OK. Still I think the slides say a lot, and 25% faster? 50% faster if there's heavy pinvoke? Wowza! The future of C++ is indeed a much rose-colored one.

Kate

Thursday, 01 July 2004 17:08:17 (Eastern Daylight Time, UTC-04:00)  #    

Like this quote?

I may have to retreat from my stance of preferring C# and disliking MC++. With Whidbey, MC++ is a whole new language and nearly all of my current objections to it have disappeared.

It's from the last paragraph of an article by Brent Rector  :-) The article itself is worth a read, too.

Kate

 

Thursday, 01 July 2004 16:55:20 (Eastern Daylight Time, UTC-04:00)  #    
# Wednesday, 30 June 2004

In conjunction with the announcement of the Express products, Microsoft's Channel9 is running a coding contest. Each language has its own judge, and yes of course there's a C++ judge. “The Summer of Express contest is a worldwide skill contest where developers are challenged to create “non-business” applications using the newly announced Express products.” And yes, you can use the betas -- in fact that's the whole point.

 Why not?

Kate

Wednesday, 30 June 2004 09:56:54 (Eastern Daylight Time, UTC-04:00)  #    
# Tuesday, 29 June 2004

This is fun! If you want to get started using Visual C++ to write managed or unmanaged code, but you don't want to buy the full product, what can you do? You could use the free Visual C++ Toolkit, which I've told you about before, but that doesn't include the IDE though it does include some very nice samples and whitepapers: one blogger was nice enough to say “the samples alone are worth the download.” At Tech Ed Europe, Microsoft has announced the Express versions of the 2005 products, including Visual C++ 2005 Express (that means they're in beta now, whereas the toolkit is the current released version. You can't release products you create with a beta.) You can download now, so go ahead!

Kate

ps: if you know who the gentleman is at the top left of that Visual C++ 2005 Express Beta page, please drop me a note. I swear we've met and it's going to bug me until I get a name.

Tuesday, 29 June 2004 13:40:10 (Eastern Daylight Time, UTC-04:00)  #    
# Friday, 25 June 2004

Did you know that one person -- Bob Bemer -- pushed the development and adoption of ASCII? Or that he was also responsible for the backslash and escape keys? (There's more, too, like naming COBOL -- check his site.) Isn't it a shame we don't hear this stuff until the obituary? I love this quote: "He was a coder until he couldn't code any more. He lived it and breathed it." While I love dealing with customers, and doing “big picture” architecting, as well as training and mentoring, I too love to code, and I hope someone can say that about me someday -- 50 years from now would be fine.

Kate

Friday, 25 June 2004 12:39:22 (Eastern Daylight Time, UTC-04:00)  #