Showing results for March 2006 - Page 2 of 5 - The Old New Thing

Mar 23, 2006
0
0

Before you develop a solution, make sure you really understand the problem

Raymond Chen
Raymond Chen

A common obstacle when trying to help people solve their problems is that what people ask for and what they actually want are not always the same thing. For technical problems, you often get a question that makes you shake your head in disbelief, but upon closer questioning, you find that the person really doesn't want what they're asking for. Wha...

Other
Mar 22, 2006
0
0

Solving one problem by creating a bigger problem

Raymond Chen
Raymond Chen

Often, people will not even realize that their solution to a problem merely replaces it with another problem. The quip attributed to Jamie Zawinski captures the sentiment: Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. For example, in response to "How do I write a batch f...

Other
Mar 21, 2006
0
0

On the alert for expired food-handling licenses

Raymond Chen
Raymond Chen

Since the lines at warehouse-style stores are always ridiculously long, I like to pass the time by checking out the legally required postings of food-handling and related licenses. Usually, two or three of their licenses have expired. It could be their seafood license, or their raw meat license, or their bakery license, it's always a surprise each ...

Non-Computer
Mar 21, 2006
0
0

Why doesn't Windows File Protection use ACLs to protect files?

Raymond Chen
Raymond Chen

Windows File Protection works by replacing files after they have been overwritten. Why didn't Windows just apply ACLs to deny write permission to the files? We tried that. It didn't work. Programs expect to be able to overwrite the files. A program's setup would run and it decided that it needed to "update" some system file and attempt to overwri...

Other
Mar 20, 2006
0
0

Basic ground rules for programming – function parameters and how they are used

Raymond Chen
Raymond Chen

There are some basic ground rules that apply to all system programming, so obvious that most documentation does not bother explaining them because these rules should have been internalized by practitioners of the art to the point where they need not be expressed. In the same way that when plotting driving directions you wouldn't even consider takin...

Code
Mar 17, 2006
0
0

You never know until you test it with real users

Raymond Chen
Raymond Chen

Speculate all you want about what users expect, what they want, what they care about. There's no substitute for actually running experiments to find out. Those who haven't already been following Jensen Harris really ought to be, because he talks about user interface design in a highly practical way. Consider this entry on deciding how the ribbon...

Other
Mar 17, 2006
0
0

Raymond's highly scientific predictions for the 2006 NCAA men's basketball tournament

Raymond Chen
Raymond Chen

Methodology explained earlier. Update: As I noted yesterday, the final will be very close, with George Washington University edging out Villanova by two months, 1988.08.01 to 1988.10.05. Other people have come up with their own systems. The person a few doors down from me chose an algorithm that can be captured in three words: "Shorter name...

Non-ComputerHighly scientific
Mar 16, 2006
0
0

Why does the version 6 animation control not use a background thread?

Raymond Chen
Raymond Chen

Many people have noticed that the animation bar control in version 6 of the common controls no longer uses a background thread to draw the animation. Instead, it acts as if the style is always set, even if the caller didn't pass it. Why is that? The first reason is that the background thread didn't actually help any. In order to draw transparent ...

Code
Mar 16, 2006
0
0

Really, college athletics is about education (not)

Raymond Chen
Raymond Chen

Okay, somebody handed me a NCAA Men's Basketball Bracket to fill out. I don't know squat about college sports, so I decided that I would fill in the bracket based on the following simple principle: The school whose President (or Chancellor) has served longer will win the match-up. (Not counting the first-round games of the top five seeds in each br...

Non-ComputerHighly scientific