A C# (Over-)Engineering Project - CodeTextAdapter

16 Jun 2015 -

Frequently, I need to deal with tables that map a code to some text. I prime example would a list mapping state abbreviations to the full state name (e.g. "NJ" -> "New Jersey"). Or perhaps some status code to it's meaning ("A" -> Approved). In for those, we'd probably write a collection of methods to...

Read more ...

First Non-Repeating Character - My Solution

16 Mar 2015 -

Over on GeeksWithBlog.com, James Michael Hare posted a "Little Puzzler" : First Non-Repeating Character. As I write this, he seems to have posted his solution, but that page isn't coming up for me, so before I see that, let me post mine. For the full problem spec, see James Michael's post linked above, but basically,...

Read more ...

ASP.NET MVC Helper - MoreLessText

02 May 2014 -

I've been meaning to write about the MVC Helper I wrote, but hesitated for a while because it used my JavascriptLoader component. But since that up on NuGet where everyone can installed it, it's time to present it here. Large blocks of text are often unwieldy (and ugly) on webpages. But, sometimes, we just need...

Read more ...

Throwback Thursday - C++ Iterator of the Week

24 Apr 2014 -

The Throwback Thursday concept is to post on old picture on Facebook on Thursdays. But we do code here, so let's post some old code: The C++ Iterator of the Week These are from a series of articles showcasing different uses for STL style iterators in C++ which I wrote around the turn of the...

Read more ...

Event Source Base class for Typescript

26 Mar 2014 -

HTML elements have an extensive event system, and jQuery gives us a nice interface to access it. However, as our Javascript coding gets more elaborate and more object-oriented -- particularly through Typescript -- the more we need a similar event system in objects which do not derive from HTML elements. I created EventSource for such...

Read more ...

Older Posts......