Showing tag results for History

Apr 27, 2004
Post comments count0
Post likes count0

Why doesn't C# have "const"?

Raymond Chen
Raymond Chen

I was going to write about why C# doesn't have "const", but Stan Lippman already discussed this in A Question of Const, so now I don't have to. (And another example of synchronicity: After I wrote up this item and tossed it into the queue, Eric Gunnerson took up the topic as well.

History
Apr 20, 2004
Post comments count0
Post likes count1

Why can't the system hibernate just one process?

Raymond Chen
Raymond Chen

Windows lets you hibernate the entire machine, but why can't it hibernate just one process? Record the state of the process and then resume it later. Because there is state in the system that is not part of the process. For example, suppose your program has taken a mutex, and then it gets process-hibernated. Oops, now that mutex is abandoned...

History
Apr 7, 2004
Post comments count0
Post likes count0

A very brief anecdote about Windows 3.0

Raymond Chen
Raymond Chen

In an earlier comment, Larry Osterman described why Windows 3.0 was such a runaway success. He got a little of the timeline wrong, so I'll correct it here. Windows 2.0 did support protected mode. And it was Windows/386, which came out before Windows 3.0, which first used the new virtual-x86 mode of the 80386 processor to support pre-empti...

History
Apr 2, 2004
Post comments count0
Post likes count1

Why a really large dictionary is not a good thing

Raymond Chen
Raymond Chen

Sometimes you'll see somebody brag about how many words are in their spell-checking dictionary. It turns out that having too many words in a spell checker's dictionary is worse than having too few. Suppose you had a spell checker whose dictionary contained every word in the Oxford English Dictionary. Then you hand it this sentence: Therf ...

History
Mar 31, 2004
Post comments count0
Post likes count1

The look of Luna

Raymond Chen
Raymond Chen

Luna was the code name for the Windows XP "look". The designers did a lot of research (and got off to a lot of false starts, as you might expect) before they came to the design they ultimately settled upon. During the Luna studies, that people's reaction to Luna was often, "Wow this would be a great UI for X," where X was "my dad" or "my em...

History
Mar 26, 2004
Post comments count0
Post likes count0

The ways people mess up IUnknown::QueryInterface

Raymond Chen
Raymond Chen

When you're dealing with application compatibility, you discover all sorts of things that worked only by accident. Today, I'll talk about some of the "creative" ways people mess up the IUnknown::QueryInterface method. Now, you'd think, "This interface is so critical to COM, how could anybody possible mess it up?" Forgetting to respond to IUnk...

History
Mar 24, 2004
Post comments count0
Post likes count0

Some files come up strange in Notepad

Raymond Chen
Raymond Chen

David Cumps discovered that certain text files come up strange in Notepad. The reason is that Notepad has to edit files in a variety of encodings, and when its back against the wall, sometimes it's forced to guess. Here's the file "Hello" in various encodings: This is the traditional ANSI encoding. This is the Unicode (little-endian) ...

History