Welcome to Geekdojo Sign in | Join | Help

December 2003 - Posts

I posted a new sample (hopefully interesting) to GotDotNet.com user samples. It's a class that allows you to map any delegate (and therefore any method) to the ThreadStart, WaitCallback or TimerCallback delegates.  I got the idea from seeing a bunch of Read More
I am reading the annotated CLI standard currently and I recently read an interesting part about how Java influenced the decision to allow covariant arrays in C# / .NET.  The example given was simiar to this: using System; class Program { static Read More
Every once in a while you see a really cool, quirky sample or piece of code: GotDotNet User Sample: Vice City Cheat (Hey there's some practical stuff in there, as well.) Read More
Here's my alternate data stream utlity and sample download Read More
The Microsoft Caching Application Block contains a useful internal class that can be used to write/read meta-data to file on NTFS files, as I had to do recently.  Part of the app block is the MemoryMappedFileHelper.cs file which contains a ton of P/Invoke Read More
Most .NET developers, at some point, get the urge to call GC.Collect() - maybe we just think our app is taking up too much memory (even though we know calling GC.Collect and WaitForPendingFinalizers will not automatically reduce the WorkingSet Read More
“9 blogs were gifted to the race of men, who above all desire Google juice“. 9 Bloggers on Geekdojo.NET  Wow, very nice. Congrats Dojo! Richard Read More
Okay: take the 'natural log' which is approximately 2.718281828.  Use this code to convert that to binary: Convert.ToString(BitConverter.ToInt64(BitConverter.GetBytes(2.718281828d), 0), 2) Now, what does this mean?  natural log turned into binary. Read More
I was looking through a journal I keep of ideas for a particular project I'm working on and I saw an observation I wrote about while on vacation last year that was particularly relevant at the time, since I was thinking of how to implement my Particle Read More