Sunday, November 28, 2004

Mario Cardinal, who is one smart and very fun French Canadian geek, is hosting a web audio .NET talk show in French called BlaBla dotNET. I  know Mario  is completely great to chat with in English! And that's his second language. His first guest was Eric Cote, one of my favorite geeks in Montreal. Next is one of my other favorite Montreal geeks, Guy Barrette. Okay, so I have a bunch of favorite French Canadian geeks... That accent, those chocolate croissants...what can I say?

Darn - my high school french just won't do, though.

Mario is speaking at Vermont.NET in January on the Application Blocks in Enterprise Services. It's a great run down of the application blocks since most people only know about one or two of them.



Posted from BLInk!
Sunday, November 28, 2004 6:44:21 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
50-60 mph winds all night and 20-40 all morning. The poor power guys are still driving around trying to figure out why the power went out in the middle of the night. Probably some stupid poplar tree somewhere in the woods. They snap like match sticks around here. We have a huge one down in our yard today.

Posted from BLInk!
Sunday, November 28, 2004 2:26:18 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
Don is a bit of a rebel, you know, it's the motorcycle thing. He has had is own blog for a while over at dev4net.com but has also just started blogging on msdn weblogs (http://weblogs.asp.net/donsmith). Don's the guy who wrote the first major wse2 security article over on the dev center. He has also been a great help to me while putting together my WSE2 Security for Dummies Humans presentation (and forthcoming msdn online article).

Posted from BLInk!
Sunday, November 28, 2004 11:10:50 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Wednesday, November 24, 2004

I finally got Norton Ghost and after hours of googling, gave up on the idea of backing up my 160GB drive which is a slave drive.

I hate using my blog for tech support, but using Ghost 9.0, is there a way to back up a slave drive in a way that I could extract files if needed? You can do that with the backup image of the primary drive.

My slave drive is partitioned into 3 drives. It did seem to find the first partition of the slave drive, called it "unknown drive", let me back it up, but did not allow me to open up and view the contents of the backup image. I don't envision myself restoring a whole drive as much as I'd want to restore a file here or there.

So I'll be leaving for my long drive a little late since copy & paste takes a while with 30 GB.



Posted from BLInk!
Wednesday, November 24, 2004 9:19:23 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Tuesday, November 23, 2004
When talking with Carl & Rory about INETA on DotNetRocks last Friday, I mentioned (not for the first time) the amazing explosion of .NET in LATAM. It always surprises me. Here is a perfect example for a blog post today.

Posted from BLInk!
Tuesday, November 23, 2004 2:03:14 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Larry O'Brien puts his finger right on it!

Casey Chesnut, who’s my favorite Tablet PC programmer because he does all this stuff apparently without realizing that it’s supposed to be hard,....



Posted from BLInk!
Tuesday, November 23, 2004 1:45:48 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Flipping through a recent issue of Visual Studio Magazine, I see not one but two pictures of the ever fun-loving Shervin Shakibi, an INETA guy and user group leader in Florida. Of course, that would be due to the fact that the article was written by Jason Beres! What a hoot. Hi Sherv!



Posted from BLInk!
Tuesday, November 23, 2004 12:24:32 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Through INETA, I get the thrill of seeing .NET user groups popping up all over the world. Here is Michal Chaniewski, a .NET developer in Poland who is not only translating a 900 page ASP.NET book into Polish, but just won 2nd place in a .NET competition held by Microsoft Poland. Congrats Michal! I have roots in Poland, so this stuff definitely catches my eye!



Posted from BLInk!
Tuesday, November 23, 2004 11:55:37 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Raymond Chen explains why folders like My Pictures would reappear after you delete them.

There's actually something that caught me by surprise in .NET that I learned to accept that is along the same lines. I have some code that needs to look for a file in the Application Data folder area for a particular program. But I don't want to use the CommonAppDataPath, as this creates a new folder for each version of the application. Therefore, I use the GetParent function combined with the folder name I always want to use like this:

dirStore = System.IO.Directory.GetParent(System.Windows.Forms.Application.CommonAppDataPath).ToString & "\filestore"

But this actually creates the CommAppDataPath folder anyway! Maybe there's an overload I'm missing and I learned to accept it. My data goes where I want it to in the long run and the users never look there anyway.

 



Posted from BLInk!
Tuesday, November 23, 2004 10:31:07 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
800Response has a Web Developer job listed in www.sevendaysvt.com. They don't have the job listed on their website (that I can find). The job descrip says "must be familiarl with Dreamweaver, Fireworks and Flash, and have excellent system architecture and application/database design skills." There's more. If you can't find 7Days, maybe email blesperance@800reponse.com for a job description.

Posted from BLInk!
Tuesday, November 23, 2004 9:34:52 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
The Flynn Center in Burlington is looking for a Systems Support person. The job description mentions things like writing SQL Stored Procedures, mainting Exchange Server, some MacOXS knowledge and more.

Posted from BLInk!
Tuesday, November 23, 2004 9:30:35 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
WSE
Tuesday, November 23, 2004 9:01:59 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
and it looks like it's on Community Server! Stuart is pretty well known and very involved in the .NET community in the PacNorthWest area, so we tricked him into being the INETA liaison for all of the INETA groups in Washington, Idaho and Oregon (where he is).

Posted from BLInk!
Tuesday, November 23, 2004 7:40:37 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Monday, November 22, 2004

BulkCopy sounds great on paper, but have you actually tried it?

I did. I took a 104,000 record table from SQL2000 on one server and used BulkCopy to import those records into a pre-existing table in SQL2005 on another server.

But first I tried the same operation with DTS as a benchmark and that took 21 seconds. (note that I'm doing this on an older computer that is 700 mhz and I think 512MB Ram. The remote server is an old dog, too.)

Then I wanted to see what it was like in code without bulk copy. I thought I would at least leverage some of the new features in ADO.NET 2.0 for this. I grabbed the same 104,000 records into a DataReader and used DataTable.Load (new feature in ado.net 2.0) to pull it into a DataTable. Then rather than let a DataAdapter.Update insert this one at a time (puh-lease!), I leveraged the new batch capabilities.  SQLServer did not like 1000 records at a time (too many parameters in one execute command) so I set UpdateBatchSize to 100. I also am using the beautifully simple little System.Diagnostics.StopWatch class in this test. It's been running a while. I will come back and insert the time here when it finishes > 41 minutes <. If the lights start dimming in Burlington, you'll know why!

Before this test though I did the same operation using BulkCopy. Again, I pulled the 104,000 records from the remote server (on the same hardwired network) into a datareader and then passed that datareader into a SqlBulkCopy object, then called it's WritetoServer method.

So remember the DTS took 21 seconds. How long did the operation take in ADO.NET 2.0?

Let's have a few guesses and then I'll tell you. Heh heh heh.

OKAY - it was 23 seconds! Basically the same as the DTS! Rather than 180 times as long as with the batch updating which would have been impossible with ADO.NET 1.1 where there is no batch updating. So that may have been 100 times longer than the batch update way.


Posted from BLInk!

Monday, November 22, 2004 9:59:25 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Hervey had to listen to me whine about this one. I have a remote web server and could not create policy files from the settings tool.

"The Security Settings Wizard can support creating Policy files for remote service."

thanks! It's minor, but helpful.

A quick perusal of the readme which Hervey Wilson has on his blog, shows some helpful stuff with X509 tokens (like friendly names) some help with managing custom security tokens

ok ok back to my ado.net 2.0 now



Posted from BLInk!
WSE
Monday, November 22, 2004 9:38:30 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
I haven't even read Hervey's post yet! (and booo hooo I'm buried in ADO.NET 2.0 perf tests at the moment) but here is what's new in this pre-release which can be downloaded and checked out.

Posted from BLInk!
WSE
Monday, November 22, 2004 9:33:14 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
and Code Magazine's Rod Paddock gets the scoop!

Posted from BLInk!
Monday, November 22, 2004 7:43:52 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
JUST KIDDING!

Posted from BLInk!
Monday, November 22, 2004 5:05:49 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

this is the BEST ! Hooray!! Great great idea folks!!!

http://armyadvice.org/armysteve/archive/2004/11/22/932.aspx

I know people have sent Steve movies (Russ!) , candy and stuff to give out to kids (Rob!).



Posted from BLInk!
Monday, November 22, 2004 3:07:47 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Well, it's really hard to follow recent deeply technical shows with the likes of Juval Lowy, Jay Roxe, Kate Gregory, and a show with Mark Pollack, Ted Neward and Don Box, but heck "I yam who I yam" and hopefully it'll be a fun show to listen to and you'll even learn something new that's actually technical.

As we are supposedly our own worst critics....I hope that's truly the case here. :-)

Thanks Carl for inviting me on.

okay okay here's the link



Posted from BLInk!
Monday, November 22, 2004 9:25:42 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  |