Jeffrey Wall's WebLogThis blog is provided "AS IS" with no warranties, and confers no rights.Double Buffer- September 22, 2004 In a project planning meeting recently, I heard a coworker say "Double Buffer". I figured that he meant a performance technique for animation or networking: http:www.codeproject.comjavajavadoublebuffer.asp or like: http:www.usenix.orgpublicationslibraryproceedingsosdi99full_paperspaipai_htmlnode20.html But he actually meant doubling the time estimate for each task in our project. I couldn't stop myself from immediately suggesting that he read the book 'Critical Chain':...http://blogs.msdn.com/jeffrey_wall/archive/2004/09/22/233006.aspx Defrag API C wrappers- September 13, 2004 For my own amusement, I decided to wrap the NT Defrag APIs in C. It isn't great, but... I'll give it the classic dev guarantee of "it works on my machine". http:www.thenetworkadministrator.comtop20.htm The MSDN documentation uses lots of very scary words like "IOCTL" and "DeviceIoControl" and the such. Hopefully, I've abstracted some of that away... First, you can get a bitmap of the cluster usage on the device... static public BitArray GetVolumeMap(string DeviceName)..http://blogs.msdn.com/jeffrey_wall/archive/2004/09/13/229137.aspx Defrag APIs- September 13, 2004 I just recently re-discovered the NT file defrag APIs... http:msdn.microsoft.comlibrarydefault.aspurl=libraryen-usfileiobasedefragmenting_files.asp And I found a great defragmenter... http:www.whitneyfamily.orgHacksitem=Defraghttp://blogs.msdn.com/jeffrey_wall/archive/2004/09/13/229111.aspx |