Sunday, July 24, 2005

How To Do Basic File I/O in Visual C# .NET

Exactly as the title says. A useful reference. Covers file and directory info as well as basic file I/O

NUnitV.2 tutorial

A quick intro to NUnit v2. Easy!

Thursday, July 21, 2005

The Code Project - Logger in C# - An easy way for monitoring .NET applications - .NET

A log-to-file-or-event-log bit of code for .net . I haven't really looked at it, but I might need this soon, so just dumping the reference here.

A quick intro to NDoc

A quick intro to NDoc. I'm coding some stuff that I want to release as open source in C# in visual studio, so why not use NDoc, ey? It's very simple.

Wednesday, July 20, 2005

SharpToolbox - .NET tools, libraries and add-ins - DotNet tools

.Net toolbox, mostly or all open source I think

DanBartels.CS : CVS (and Sourceforge!) via Visual Studio

This guy has a great blog article on how to integrate your Visual Studio environment with CVS, and the SourceForge CVS repository in particular.

Frequency Analyzer

On Reliable Software's Site:

Whistle a melody and watch this program graph the pitch in real time. The Frequency Analyzer technically speaking performs a Fast Fourier Transform of the sound (you need a sound card and a microphone to use this program). What it means is that it analyzes your voice and splits it into its component frequencies. Watch patterns of speech, the harmonics of vowels and the noise of sibilants. The size of the program is only 148k! (zipped 74k) Can you believe that?! There are web pages that make you download more than that just to be able to look at them.
You can also learn more about the Frequency Analyzer and download the C++ code that performs the FFT. By popular demand we are also including a C++ tutorial on how to sample sound in Win32. Finally, we caved in to the demands to publish the complete C++ source code (26 KB zipped).

Saturday, July 16, 2005

An Algorithm for Differential File Comparison

Need to compare two files to find the differences? Here's a good discussion of the requirements, and a dynamic programming based algorithm. I'm planning to use this to create a C# based .net component for this job. I plan on open sourcing it, and using it as the basis of a file comparison and folder comparision utility, and perhaps as the basis of my own source code control system (which would rely on a top class auto+manual file merging facility).

The algorithm is available in a postscript format paper (.ps file) on the page linked to in the title of this entry. That page is the personal page for Professor M. Douglas McIlroy of Dartmouth college in New Hampshire I think, and contains many gems besides this one (much kudos to Professor McIlroy!). Scroll down to the Algorithms section, you'll see it titled "An algorithm for differential file comparison". Note that the picture "fig1.jpg" mentioned next to the paper is *essential*, make sure to download it too.

Thursday, July 14, 2005

Microsoft Solutions Framework Version 3 White Papers

MSF 3.1 . These papers are surprisingly difficult to find, because the official pages don't seem to link to them; Microsoft now touts it's as yet unofficial (still in beta I think) MSF 4, which is integrated with the Visual Studio tool set (Team System actually), and doesn't seem to be usably accessible outside of that.