A Few Other Mac Utilities
I remembered a couple of other Mac programs I use pretty regularly. Add these to my other list of Mac software:
Dynamic Page Title in ASP.NET
Ever since I started writing .NET code, I've been irritated that there seemed to be no way to programmatically set the TITLE tag of a web page from the code-behind. Certainly you can do things like
IIS 5 Metabase and Phantom Virtual Directories
I recently had a strange experience with IIS 5 and some phantom virtual directories. When I write "phantom virtual directories" I mean that IIS is handling requests for virtual directories that no longer exist. This is a description of the events leading up to this:
When to Handle Exceptions
I recently worked on a web app where the general philosophy on exception handling was: every method catches any exceptions that occur inside it. The reasoning? When an exception occurs, its effects get contained and the page continues to render. In practice, certain parts of a page would show up blank while other parts rendered normally.
Finding Prime Numbers with C#
This class, PrimeFinder, has two methods. The Find method takes the piMax parameter and finds all prime numbers between 0 and piMax. The Print method dumps the list of prime numbers from piStart to piMax, for example, between 1,000 and 100,000. With the int type, this class works well for primes up to approximately 14,000,000.
Manually Removing a Vignette Installation
If you've got one or more CDS or OMS machines installed and the CMS has been removed, going into Add / Remove Programs and trying to uninstall Vignette will fail. You'll get a message that Vignette must be “unconfigured” first. Problem is, without the CMS running, nothing can be removed in the Platform Manager. So the whole installation has to come out manually.