Feb 29, 2024 7 3 If a parameter isn’t used, what should I pass? Raymond Chen It doesn't matter what you pass, but if you have to ask, then just pass zero.
Feb 28, 2024 16 1 On the whole idea of giving away a reference to yourself at destruction Raymond Chen Hey, at least it's possible.
Feb 27, 2024 15 1 Mitigating attacks based on knowing the length of a Windows Hello PIN Raymond Chen Balancing convenience against security, and how you can tune the knobs toward more security.
Feb 26, 2024 21 1 A C# LINQ one-liner to check if exactly one of a set of conditions is met Raymond Chen Maybe not the most efficient, but it's easy to write.
Feb 23, 2024 4 3 Gotcha: Be careful how you shut down your dispatcher queues Raymond Chen The dispatcher queue thread isn't useful after it has shut down, so don't try anything.
Feb 22, 2024 1 0 Gotcha: Don’t forget to shut down your dispatcher queues Raymond Chen Keep that dispatcher queue controller around, or you'll never be able to clean up.
Feb 21, 2024 1 0 Once your object reaches final_release, you are committed to destructing it (eventually) Raymond Chen Don't try to resurrect it.
Feb 20, 2024 3 0 Microspeak: Closing out, duping out Raymond Chen Making work items no longer appear on a query.
Feb 19, 2024 9 4 Why can’t I trigger a manual blue screen crash by injecting the magic key sequence? Raymond Chen It has to come from the physical keyboard, because that's the code that detects the magic key sequence.
Feb 16, 2024 17 7 If you’re just going to sit there doing nothing, at least do nothing correctly Raymond Chen How to be inert.