Welcome to MSDN Blogs Sign in | Join | Help

December 2004 - Posts

Using fibers to simplify enumerators, part 3: Having it both ways

Fibers let both sides think they're in control.
Posted by oldnewthing | 27 Comments
Filed under:

Using fibers to simplify enumerators, part 2: When life is easier for the caller

This time, we'll watch the enumerator lose.
Posted by oldnewthing | 16 Comments
Filed under:

Using fibers to simplify enumerators, part 1: When life is easier for the enumerator

The problem with enumeration is that somebody always loses.
Posted by oldnewthing | 28 Comments
Filed under:

Computing the size of a directory is more than just adding file sizes

Hard links and sparse files make directory size computations tricky.
Posted by oldnewthing | 31 Comments
Filed under:

You can create an infinitely recursive directory tree

So watch out when doing tree recursion.
Posted by oldnewthing | 39 Comments
Filed under:

Alton Brown book tour 2005: I'm Just Here for More Food

Promoting his latest book, "I'm Just Here for More Food: Food x Mixing + Heat = Baking".
Posted by oldnewthing | 11 Comments
Filed under:

Why does the system convert TEMP to a short file name?

For compatibility, of course.
Posted by oldnewthing | 22 Comments
Filed under:

How to open those plastic packages of electronics without injuring yourself

They seem to be specially-designed to cause maximum hand damage.
Posted by oldnewthing | 57 Comments
Filed under:

Do you need clean up one-shot timers?

What would the world be like if it were true?
Posted by oldnewthing | 12 Comments
Filed under:

BOOL vs. VARIANT_BOOL vs. BOOLEAN vs. bool

Still more different ways of doing the same thing.
Posted by oldnewthing | 28 Comments
Filed under:

Sometimes people don't like it when you enforce a standard

Your average computer user wouldn't recognize a standards document if they were hit in the face with it.
Posted by oldnewthing | 50 Comments
Filed under:

Don't save anything you can recalculate

Sometimes it's all about paging.
Posted by oldnewthing | 15 Comments
Filed under:

How did Windows 95 rebase DLLs?

Instead of doing it en masse, Windows 95 did it incrementally.
Posted by oldnewthing | 23 Comments
Filed under:

Excellent blog about Windows and Unicode

Michael Kaplan's random stuff of dubious value.
Posted by oldnewthing | 23 Comments
Filed under:

Optimization is often counter-intuitive

Things you think would be faster often aren't.
Posted by oldnewthing | 25 Comments
Filed under:

How to get more hits on Google than even Steve Ballmer

Have a very common name.
Posted by oldnewthing | 36 Comments
Filed under:

The hunt for a faster syscall trap

Syscall performance is always being tuned.
Posted by oldnewthing | 13 Comments
Filed under:

This Game Boy won't hurt a bit, just help the Powerpuff Girls count backwards from ten

Game Boy proves more effective than tranquilizers at calming children before surgery.
Posted by oldnewthing | 6 Comments
Filed under:

Why do dialog editors start assigning control IDs with 100?

Because the small numbers are already taken.
Posted by oldnewthing | 13 Comments
Filed under:

Scientists come one step closer to the perfect poppy-seed bagel

On the quasi-uniform distribution of points on a manifold.
Posted by oldnewthing | 10 Comments
Filed under:

Tintin goes to the neurologist

All those blows to the head.
Posted by oldnewthing | 38 Comments
Filed under:

Why do I get E_NOINTERFACE when creating an object that supports that interface?

It's the other half of the missing IMarshal.
Posted by oldnewthing | 5 Comments
Filed under:

Dragging a shell object, part 5: Making somebody else do the heavy lifting

Making somebody else do the heavy lifting.
Posted by oldnewthing | 3 Comments
Filed under:

For all your chicken sequencing needs

The International Chicken Sequencing Consortium.
Posted by oldnewthing | 11 Comments
Filed under:

Dragging a shell object, part 4: Adding a prettier drag icon

Adding a prettier drag icon.
Posted by oldnewthing | 0 Comments
Filed under:

Time to dust off your conspiracy theories

Apartment in Stockholm explodes under mysterious circumstances.
Posted by oldnewthing | 15 Comments
Filed under:

Dragging a shell object, part 3: Detecting an optimized move

Detecting a Move even if it was optimized away.
Posted by oldnewthing | 4 Comments
Filed under:

It is not illegal to use James Bond style tactics for winning at the roulette wheel

Using a laser to predict where the ball will land deemed not illegal in England.
Posted by oldnewthing | 10 Comments
Filed under:

Researchers find connection between lack of sleep and weight gain

Shortage of sleep is linked to obesity, according to research published yesterday.
Posted by oldnewthing | 31 Comments
Filed under:

Dragging a shell object, part 2: Enabling the Move operation

Enabling Move (even though it's not a good idea here)
Posted by oldnewthing | 24 Comments
Filed under:

Dragging a shell object, part 1: Getting the IDataObject

The shell gives you the IDataObject; all you have to do is drag it around.
Posted by oldnewthing | 20 Comments
Filed under:

Why did Windows 95 run the timer at 55ms?

It goes all the way back to the original IBM PC BIOS.
Posted by oldnewthing | 32 Comments
Filed under:

What is the purpose of the bmPlanes member of the BITMAP structure?

This one goes back to the EGA video card.
Posted by oldnewthing | 21 Comments
Filed under:
 
Page view tracker