Welcome to Geekdojo Sign in | Join | Help

November 2003 - Posts

This is an  interesting idea that makes use of System.Threading and System.Diagnostics to poll the provided process (or current process) and manually attempt to reduce the WorkingSet (the memory actually reserved by Windows for the process).   Of course Read More
It really bothers me when someone in a position of prominence in the development world publicly gets facts wrong.  To wit, Bjarne Stroustrup, creator of C++ (from his FAQ): -------------------------------- What do you think of C#?I have no comments Read More
Google has graced me with a #5 hit on the search terms (order sensitive) “C# .NET blogs”.  (BTW if you're reading this past late Nov/2003 - this probably won't be the case anymore).  This puts me up there with Don Box, GotDotNet.com, MSDN and 4guysfromrolla... Read More
I leave most of the Sql posting to Ryan but I will post this: The Excel worksheet function Days360 in a Sql function (sans the documented bug that incorrectly calculates the days for the end of February): CREATE FUNCTION dbo.fnDays360( @startDate DateTime, Read More
Some interesting discussion about accessing multiple (but known) types from a single array on Google Groups.  My solution involved using StructLayout to create a union-ed struct that contained the types you wanted to access being up to 40% faster than Read More
On a previous .NET project I ad-libbed from Frank Herbert's Dune to poke a little fun at our particular situation... I just felt like writing it down somewhere: “Gates created .NET to train the faithful.  One cannot go against the word of Gates” but Read More
I added a bit'o'binary as my blog's tag: 100000000000101101111110000101010001011000001001001000110011011 See if you can figure out what it means.  (It's a really esoteric, wierd thing but I'll bet someone can figure it out with a bit of effort). Read More
Came across an issue with VS.NET 2003 and creating a custom ASP.NET server control.  Essentially, it's this:  When you add a public string property (or any type, I suppose) to a control, VS.NET's properties page will sometimes not function correctly (more Read More
Here's some code I posted to microsoft.public.dotnet.languages.csharp to ask a question about it.  This code is bad in extremis and should not be taken as an example of how to do anything! using System; using System.Runtime.InteropServices; namespace Read More
Phunny Photoshops of Longhorn Read More