Welcome to MSDN Blogs Sign in | Join | Help

August 2009 - Posts

If you're installing Windows via a boot DVD, and you choose Custom, you have the option to rearrange partitions. I like use this to have each drive be one big partition. Windows 7 wants to set aside a 100 MB partition for something-or-other. I'm sure Read More...
As preparation for moving one of my machines from Vista to Windows 7, I'm compiling a list of all the little tweaks I like to make to machines that I use a lot: Boot from the Windows DVD. Delete all partitions; make each hard drive one big partition. Read More...
Last time I talked about how to calculate a sine sweep mathematically. There's a closed-form solution which is quite elegant but, alas, useless in a practical computer implementation due to the very bug numbers that are being fed to the sin(...) function. A computer implementation will care only about the discrete samples that need to be generated. The integral in the previous post turns out to be counterproductive - we're much more interested in the infinite sequence of φi, and more particularly in their residue mod 2π. Read More...
Bad Perl solution to the " print the open lockers " problem: perl -e"print join', ',map{$_*$_}1..sqrt pop" 100 54 characters. I prefer this to the 53-character solution obtained by omitting the space after the first comma. EDIT: 49 characters: perl -e"print Read More...
Suppose you want to generate a continuous sine-sweep from time tstart to time tend. You want the starting frequency to be ωstart, and the ending frequency to be ωend; you want the sweep to be logarithmic, so that octaves are swept out in equal times. Read More...
 
Page view tracker