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...

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,...

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...

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...

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...