Welcome to MSDN Blogs Sign in | Join | Help

February 2004 - Posts

Compiler error messages

Grant has some questions on them
Posted by ericgu | 1 Comments
Filed under: ,

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

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

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

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: ,

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

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: ,

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

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

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: ,

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

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

Two more C# bloggers

http://blogs.msdn.com/shaykatc http://blogs.msdn.com/monicaboris
Posted by ericgu | 3 Comments
Filed under:

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

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: , ,

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

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: ,

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

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: ,

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

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: ,

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

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

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

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

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: ,

.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: ,

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

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: ,

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: , ,
 
Page view tracker