The Old New Thing

Quick overview of how processes exit on Windows XP

Exiting is one of the scariest moments in the lifetime of a process. (Sort of how landing is one of the scariest moments of air travel.) Many of the details of how processes exit are left unspecified in Win32, so different Win32 implementations can follow different mechanisms. For example, Win32s, Windows 95, and Windows NT all shut...

Male perceptions of body image in Taiwan

A few years ago, researchers started with "muscle dysmorphia" and body-image perceptions in the United States and Europe and wondered whether the same problems afflict Taiwanese men. Listen for the results. But don't be confused by the chicken meat (肌肉). Sean Cole interviews Taiwanese pop star A-Mèi for her opinion. I ...

The old-fashioned theory on how processes exit

Life was simpler back in the old days. Back in the old days, processes were believed to be in control of their threads. You can see this in the "old fashioned" way of exiting a process, namely by exiting all the threads. This method works only if the process knows about all the threads running in it and can get each one to clean up when it's ...

Two web sites that read the fine print

On footnoted.org, Michelle Leder reads the fine print in all those SEC filings, focusing on the details that companies try to hide from vigilant eyes. For example, she dug into Carnival Corp's proxy statement and discovered "that Chairman and CEO Micky Arison rang up $343K on his use of the corporate jet last year and that COO Howard Frank ...

Microspeak: Operationalize

Here are a few citations for the word operationalize. A lot of work lies ahead to operationalize this plan. Provide security guidance and tools to help operationalize security for enterprise environments. I thought it meant "carry out" or "put into effect", and then I saw this sentence: Operationalize the demo (get computers configured, ...

Everyone should have a house pianist

Last year, a request was sent out to a social mailing list that went something like this: Hi, everybody. My girlfriend is coming to visit for a week, and she's a pianist. Does anybody have a piano they would be willing to let her practice on while she's here? I offered the piano in my living room and gave him the key to my house. I came ...

The default verb is not necessarily "open"

If you hunt around the Internet you'll find lots of people† who hard-code the string as the second parameter to the function, indicating that they want to open the document specified as the third parameter. While that's a nice thing to want to do, it might not be the right thing. When the user double-clicks a document, the shell ...

Stupid debugger tricks: Calling functions and methods

Back in the old days, if you wanted to call a function from inside the debugger, you had to do it by hand: Save the registers, push the parameters onto the stack (or into registers if the function uses or ) push the address of the function, move the instruction pointer to the start of the function you want to call, then hit "g" to resume ...