Welcome to MSDN Blogs Sign in | Join | Help

March 2006 - Posts

New blog about video, MCE, gadgets, and Movie Maker...

Michael Patten, one of the PMs on the Movie Maker team, has started a new blog .
Posted by ericgu | 0 Comments

C# on the XBOX 360

Announced at GDC.
Posted by ericgu | 3 Comments

Compu-Promo - computer promotional photography of the 60s and 70s...

Compu-Promo Thankfully, I missed these machines by a few years... From The Institute of Official Cheer
Posted by ericgu | 1 Comments

Fact of the day...

... women's standard clown shoe length is normally 13".
Posted by ericgu | 3 Comments

A few notes on the readonly field vs readonly property post...

First, Tom (not Ted) pointed out that I removed his use of [DebuggerStepThrough] on the get accessor. I did it to simplify things, but it is a useful thing to do. Maurits asked, "What would be the drawback of rearchitecturing C# to make public variables
Posted by ericgu | 3 Comments
Filed under: ,

Public readonly string vs. public readonly property?

I got an email asking me a question, and I thought it would make a good blog post. It has all the things that make a good Hollywood movie - Conflict, tradeoffs, and a grisly result if you choose wrong. So, the question is, "Given the choice between a
Posted by ericgu | 22 Comments
Filed under: ,

Worst... Code... Ever...

Like many developers, we enjoy making fun of other people's code. I've had lots of those discussions over the years. And when it comes to who has had to work with the worst code, I've never lost. Way back when I was just out of college - when 7-bit ASCII
Posted by ericgu | 8 Comments
Filed under: ,

Visual Studio Engineer-to-Engineer feedback.

There's a new program for you to help guide future Visual Studio development. Sounds nice to me.
Posted by ericgu | 0 Comments
Filed under: ,

Alfred made me...

Alfred made me post this .
Posted by ericgu | 2 Comments

Weird bug I had yesterday...

I came across a weird bug recently, and I thought the explanation might be interesting. But first, a brief digression. Windows has support for Bi-Directional text (usually abbreviated as "bidi" around here). Some languages - Arabic in this particular
Posted by ericgu | 5 Comments

The capability immaturity model

I was reading the DailyWTF this morning - a great read, BTW - and came across a link to the Capability Im-Maturity Model , which I thought you might enjoy.
Posted by ericgu | 0 Comments

A new investment opportunity...

There's an internal discussion folder at Microsoft named "SOC Weirdness", and a few days ago I came across a mention of LifeGem . So, basically, their gig is that they extract the carbon from your beloved's remains (be they human, feline, canine, or,
Posted by ericgu | 2 Comments

C# Trivia Test Format

I've got some good questions for the trivia test, though I am still looking for more. Anything that you've found surprising while writing in C# would be fair game. Rather than doing this in series of posts, I'm thinking of doing it in one big post (or
Posted by ericgu | 3 Comments
Filed under: ,

Regex 101 posts - continue or not?

I've been getting bored with the regex 101 exercises that I 've been posting, as lots of them are simply variants of what I've posted in the past, and there's not really much value to add in the discussion. I have 9 more of the exercises remaining. Things
Posted by ericgu | 8 Comments

Regex 101 Answer I10 - Extract repeating hex blocks from a string

Regex 101 Exercise I10 - Extract repeating hex blocks from a string Given the string: PCORR:BLOCK=V5CCH,IA=H'22EF&H'2354&H'4BD4&H'4C4B&H'4D52&H'4DC9; Extract all the hex numbers in the form “H’xxxx” ***** You can match the hex digits
Posted by ericgu | 3 Comments

Announcing the C# trivia test...

A longggggg time ago - back right after we disclosed C# - I was in San Francisco for one of the early meetings of the bay area .net user group. My publisher (Apress) had given me some swag to give away, but I don't like the "survival of the fittest" mode,
Posted by ericgu | 5 Comments
Filed under: ,

Prevent the heartbreak of torn toast.

Are you a butter user? Have you ever torn your toast trying to spread cold butter onto it, and then gotten so mad about it that you threw your $300 Neiman-Marcus toaster through the stained glass window of your kitchen? I thought so. You need the ButterWizard
Posted by ericgu | 3 Comments

Mystery solved

I can't say that I'm surprised, though it did take me a while to put it all together. I think it started when I said that I was thinking about getting a coach. Emails that took a few days to come back. That sort of thing. And then when I signed up for
Posted by ericgu | 0 Comments
Filed under:

When is a keyword not a keyword?

Many languages have a very strict definition of what a keyword is. The word "for" has a specific meaning, and you can't use it anywhere else in the program. C# does have this kind of keyword - you can find the usual list of keywords in the docs - but
Posted by ericgu | 15 Comments
Filed under: ,

Why "yield return" rather than "yield"?

This came up in another context, and I thought I'd share the story. In the first version of iterators, you would use "yield" when you wanted to "return" a iterator value back, and things worked great. So, that's that way it was for quite a long period.
Posted by ericgu | 9 Comments
Filed under: ,

TDD and design methodologies

(something I posted on our internal agile alias, in response to a question about how design works in TDD...) There's an underlying assumption in software engineering that "more design == better design", despite that fact that the vast majority of us have
Posted by ericgu | 6 Comments
Filed under: ,

Practical Tips For Boosting The Performance Of Windows Forms Apps

Practical Tips For Boosting The Performance Of Windows Forms Apps
Posted by ericgu | 1 Comments
Filed under: ,

Regex 101 Exercise I10 - Extract repeating hex blocks from a string

Regex 101 Exercise I10 - Extract repeating hex blocks from a string Given the string: PCORR:BLOCK=V5CCH,IA=H'22EF&H'2354&H'4BD4&H'4C4B&H'4D52&H'4DC9; Extract all the hex numbers in the form “H’xxxx”
Posted by ericgu | 6 Comments

Regex 101 Discussion I9 - Count the number of matches.

Regex 101 Exercise I9 - Count the number of matches Given a string like: # # 4 6 # # 7 # 45 # 43 # 65 56 2 # 4345 # # 23 Count how many numbers there are in this string ----- There are a few ways to approach this problem. In all of them, we need a way
Posted by ericgu | 0 Comments

Snippet enumeration utility

Snippet enumeration utility . Pretty cool.
Posted by ericgu | 2 Comments
Filed under: ,

Driving traffic to your blog...

From an internal discussion that we had, Jim posts a summary.
Posted by ericgu | 1 Comments
 
Page view tracker