Welcome to Honest Illusion Sign in | Join | Help

October 2006 - Posts

A Puzzle....

Many years ago, I came up with this brain teaser. Since It don't recall ever trying it on anyone, I'm not sure how difficult it is. So, I figured I'd inflict it on you, my loving readers. Everything follows this rule, unless it's foreign, scientifical
Posted by James | 5 Comments
Filed under:

At the Democratic HQ

I volunteer for the Menendez Campaign. He came by the this morning And so was Rep. Pascrell: (Update: I finally got the YouTube links working) Share this post: Email it! | bookmark it! | digg it! | reddit! Readability Stats: Word Count: 31; Sentence Count:
Posted by James | 0 Comments
Filed under: , ,

Wordwrapping in C#

Some time ago, I needed a function that would take a block of text, and word-wrap it at a specific line length. As apparently you have now done, I googled for it, and found a blog with a seemingly appropriate algorithm. Except it wasn't. I immediately
Posted by James | 2 Comments
Filed under: , , ,

Generics without Collections

Having moved to C# after years of being a C++ programmer, I was quite happy when generics were added to C#. I could finally do some of the things I was doing before with C++'s templates. However, I noticed something about how C# programmers were using