Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Eric Gunnerson's C# Compendium
This Blog
Email
Syndication
RSS 2.0
Atom 1.0
Search
Go
General
Suggest a Topic
The C# FAQ
Eric's C# Book
So you want to write a computer book...
Tags
Agile
Avalon
Books
Column
CrackedRib
CSharp
Cycling
electronics
Friends
Fun
HealthVault
Humorish
Language
Photography
Program Manager
Programming
Regex 101
Review
Vista
What's Wrong With This Code
Windows DVD Maker
Windows Movie Maker
WPF
XNA
Recent Posts
Holiday light project 2008...
Brilliant...
What's going on now...
Scary...
wireless LCD photo frame...
Archives
November 2008 (4)
October 2008 (3)
September 2008 (3)
August 2008 (3)
July 2008 (8)
June 2008 (5)
May 2008 (2)
April 2008 (3)
March 2008 (7)
February 2008 (3)
January 2008 (7)
December 2007 (7)
November 2007 (14)
October 2007 (19)
September 2007 (3)
August 2007 (4)
July 2007 (9)
June 2007 (15)
May 2007 (9)
April 2007 (8)
March 2007 (13)
February 2007 (6)
January 2007 (8)
December 2006 (7)
November 2006 (3)
October 2006 (13)
September 2006 (13)
August 2006 (11)
July 2006 (8)
June 2006 (12)
May 2006 (16)
April 2006 (21)
March 2006 (26)
February 2006 (22)
January 2006 (26)
December 2005 (21)
November 2005 (23)
October 2005 (17)
September 2005 (23)
August 2005 (16)
July 2005 (14)
June 2005 (20)
May 2005 (21)
April 2005 (29)
March 2005 (29)
February 2005 (16)
January 2005 (25)
December 2004 (17)
November 2004 (20)
October 2004 (19)
September 2004 (26)
August 2004 (40)
July 2004 (31)
June 2004 (38)
May 2004 (24)
April 2004 (39)
March 2004 (27)
February 2004 (32)
January 2004 (24)
December 2003 (17)
November 2003 (17)
October 2003 (23)
September 2003 (25)
August 2003 (15)
July 2003 (25)
June 2003 (5)
February 2004 - Posts
Sunday, February 29, 2004 9:37 PM
Compiler error messages
Grant has some questions on them
Posted by
ericgu
|
1 Comments
Filed under:
Language
,
CSharp
Friday, February 27, 2004 10:34 AM
Cool picture of Saturn
is here
Posted by
ericgu
|
5 Comments
Friday, February 27, 2004 9:48 AM
I can bring you a cookie. Would you like some asparagus?
I was web browsing this morning, and I clicked on a video link on a website , and IE popped up a little dialog that said. You have clicked on a video link. Internet Explorer can play this in a separate window, which will allow you to keep browsing the
Posted by
ericgu
|
9 Comments
Thursday, February 26, 2004 9:53 AM
Don't click on this...
If you value your productivity. http://halo.bungie.org/misc/warthog_launch.html I got to level 30
Posted by
ericgu
|
29 Comments
Thursday, February 26, 2004 8:28 AM
Regex, HTML, and my sanity
The answer I came up with is at the bottom. But first, a brief digression. There were several responses to my regex puzzle. They can be grouped into: Here's how you do it Here's how you do it without using regex Using regex on this problem will cause
Posted by
ericgu
|
11 Comments
Wednesday, February 25, 2004 9:50 PM
Hooking into the C# compiler
Rick said in a comment, You said: “ Philosophically, it would be nice to have some way to leverage the knowledge that the compiler has about the code, but we don't currently have any plans in that area .“ I've often thought that its pretty
Posted by
ericgu
|
9 Comments
Filed under:
Language
,
CSharp
Wednesday, February 25, 2004 11:42 AM
How do you organize .NET?
Shaykat and I have been having a discussion about how we organize information that we present to customers. Specifically, we're trying to figure out how to present “What's new/what's changed” information. There are two options we've been considering.
Posted by
ericgu
|
46 Comments
Wednesday, February 25, 2004 9:57 AM
Regex puzzle
I was reading our newsgroups, and I came across a post where the user wanted to filter out all tags from html text except for <br>, </br>, <p>, and </p>. What is the shortest .net regex to do that?
Posted by
ericgu
|
13 Comments
Filed under:
CSharp
,
Programming
Tuesday, February 24, 2004 9:52 AM
up and down
Up and down. Two words that we generally think of opposites, but in actual use they are quite different. This became apparent yesterday, when I was in the meeting and the organizers said, “Let's wait a few minutes for others to turn up”, and
Posted by
ericgu
|
19 Comments
Tuesday, February 24, 2004 9:43 AM
My first patent
If you walk into some offices at Microsoft, you'll find these strange 2“ black cubes on some people's desks. These cubes show up when you complete a patent application and it is filed. It's a nice reward to a process that takes a fair bit of work
Posted by
ericgu
|
11 Comments
Tuesday, February 24, 2004 9:34 AM
How do I protect my C# code against reverse engineering?
One of the questions that comes up often - usually after somebody comes across one of the C# decompilers, such as RemoteSoft's Salamander or Lutz Roeder's Reflector - is “how do I keep somebody from reverse-engineering my assemblies and stealing
Posted by
ericgu
|
24 Comments
Filed under:
CSharp
,
Programming
Monday, February 23, 2004 9:17 PM
Extreme Programming Adventures in C#
Eric Gunnerson notes that Ron Jeffries has released a book on Extreme Programming using C#
Posted by
ericgu
|
2 Comments
Monday, February 23, 2004 3:49 PM
My real name is "Cure Inner Song"...
Yes, I've been discovered. My real name is “Cure Inner Song“, and I chose “Eric Gunnerson“ as a likely-sounding anagram for my blog (and my email name is an anagram of “Ice Rug“, which is my street name). Eric sometimes
Posted by
ericgu
|
2 Comments
Monday, February 23, 2004 2:45 PM
Two more C# bloggers
http://blogs.msdn.com/shaykatc http://blogs.msdn.com/monicaboris
Posted by
ericgu
|
3 Comments
Filed under:
CSharp
Monday, February 23, 2004 1:59 PM
Extreme Programming Adventures in C#
Eric Gunnerson notes that Ron Jeffries has released a book on Extreme Programming using C#
Posted by
ericgu
|
3 Comments
Monday, February 23, 2004 1:57 PM
Book: Extreme Programming Adventures in C#
I had the pleasure to meet Ron Jeffries last year when he was on campus, and I've been reading his column in XP magazine. Ron has released his “Adventures in C#” columns in book form . I haven't read it, but Ron has a great way of explaining
Posted by
ericgu
|
6 Comments
Filed under:
Books
,
Review
,
CSharp
Friday, February 13, 2004 2:53 PM
Eric OOF for a week...
which means I won't be around, though I may blog late next week. OOF is a weird Microsoft TLA that means “out of office”. Yes, we know that it should probably be “OOOf”, but that's not the way it go expressed in our early tools.
Posted by
ericgu
|
12 Comments
Thursday, February 12, 2004 1:42 PM
Appweak...
One of the things that the C# team does occaisionally is hold an appweek, where we take a week out of our schedules and devote it solely to using our product to build apps. For the last week or so, there's been a QA appweek that the PMs have been participating
Posted by
ericgu
|
9 Comments
Filed under:
CSharp
,
Programming
Thursday, February 12, 2004 9:52 AM
How to run a blog...
I was having a discussion with Joe a few days ago, and he asked me what he should do when people make comments that ask questions. My current approach is to look at the question and try to decide whether I should do a new posting on the topic, or whether
Posted by
ericgu
|
22 Comments
Wednesday, February 11, 2004 2:08 PM
Enforcing patterns at the compiler level
(in case you're wondering, right now I'm cherry-picking a few comments people have asked me to write on. I'll get to them in order soon...) Jonathan Crossland asked .. your thoughts on enforcing patterns at the compiler level. As an example: - excluding
Posted by
ericgu
|
10 Comments
Filed under:
Language
,
CSharp
Monday, February 09, 2004 9:33 PM
Excellence in Technical writing
I was reading the manual for my iRiver a few days ago. There are lots of details and acronyms in the digital music world, and it's sometimes hard to figure things out - especially if you aren't very technical. For example, the player will display an icon
Posted by
ericgu
|
7 Comments
Monday, February 09, 2004 2:18 PM
Insights into the .NET Architecture...
Last summer, Bruce Eckel and Bill Venners came to Seattle to talk to the C# team, which lead to the Anders interviews that have been featured on Artima . During a break between talking to more important people, I got the chance to talk to Bruce and Bill
Posted by
ericgu
|
7 Comments
Filed under:
Language
,
CSharp
Sunday, February 08, 2004 8:30 PM
Another C# blogger
Rick Spencer is a usability specialist on the Visual Studio team (which makes him an honorary team member)...
Posted by
ericgu
|
3 Comments
Friday, February 06, 2004 10:00 AM
Review: iRiver iHP-120 MP3 player
I recently picked up an iRiver iHP-120 MP3 player . I'd been finding it hard to work at our the club without music. I thought about buying a Rio S50 (like my wife's), but my collection is ripped at a pretty high bit rate, so you can't fit that much music
Posted by
ericgu
|
15 Comments
Thursday, February 05, 2004 9:39 PM
Advice on backup software
I bought a Western Digital 120 Gig external drive to use as a backup drive for my home system, and I'd like to use something nicer than Windows backup to do the backup. Here's what I'm looking for: Ability to backup 3 systems. Scheduled backup Reasonably
Posted by
ericgu
|
16 Comments
Thursday, February 05, 2004 2:04 PM
I've been "indicated"
I usually ignore the spam that I get (and I get a bunch), but I read one of them a bit more carefully: We hereby inform you that your computer was scanned under the IP 194.90.37.141 . The contents of your computer were confiscated as an evidence, and
Posted by
ericgu
|
9 Comments
Thursday, February 05, 2004 12:08 PM
C# Language Features beyond Whidbey
Diego Mijelshon asks Now that C# 2.0 is almost here, I'd like to know about features that were left out from this release and planned for the future. We are primarily focused on getting Whidbey polished and out the door right now, so there isn't a lot
Posted by
ericgu
|
9 Comments
Filed under:
Language
,
CSharp
Thursday, February 05, 2004 11:53 AM
.Add and .Remove on events...
Moo asked: Why can't we have .Add and .Remove aswell as += and -= operations after all its just a collection, I was rather supprised that this method wasn't actually available for adding event handlers. One of our design goals is not to have more than
Posted by
ericgu
|
11 Comments
Filed under:
Language
,
CSharp
Monday, February 02, 2004 2:28 PM
Eric should write a blog post on...
I've been tracking topics I wanted to cover in various methods (excel spreadsheets, Post-It (tm) notes, “post-it compatible” notes, writing on my hand, and graffiti in my office). It's been hard to keep all of those straight, so I'd like to centralize
Posted by
ericgu
|
48 Comments
Monday, February 02, 2004 3:02 PM
Partial classes and initialization
Partial classes can be pretty cool because of the opportunities it gives in separating machine or designer generated code from user code. It does present a few issues, however. One that we've been talking about recently is a scenario where you have some
Posted by
ericgu
|
18 Comments
Filed under:
Language
,
CSharp
Monday, February 02, 2004 2:24 PM
Why can't I do arithmetic on byte types...
A customer wrote me today to ask, “Why can't I do arithmetic on byte types?” For example, if you write: byte a = 0x01; byte b = ~a; The compiler will complain on the second line that you can't convert an int to a byte. This happens because
Posted by
ericgu
|
11 Comments
Filed under:
Language
,
CSharp
,
Programming
Monday, February 02, 2004 10:51 AM
Latest interview from Anders - CLR Design Choices
CLR Design Choices
Posted by
ericgu
|
0 Comments
Filed under:
CSharp
,
Programming