Category Archives: Programming

Semantic HTML

There’s a lot of literature about “semantic HTML” on the web (here’s one person who writes about it a lot). The best short advice I know of to get jump-started on this topic is from a page on W3C.  I’ve … Continue reading

Posted in HTML, Programming | Leave a comment

Paradigm Shift: from Request/Response to Publish/Subscribe

Since attending Udi’s ADSD class about a year and a half ago, the publish/subscribe pattern in general has been fascinating for me to consider at many levels.  In some ways it’s a fundamental shift in the way we program. When … Continue reading

Posted in CQRS, DDD, Programming | Leave a comment

How to Teach Data Types

I received this email from Terry Palmer, an instructor of CIS at Mayville State University.  As a software development professional, the preparation of new graduates in this field for real world work provided by mainstream universities has often been very … Continue reading

Posted in Programming, Programming for Kids | Leave a comment

CodeRush FTW: Reorder Attributes

Check out this code block within an ASP.NET forms application: It’s quite wide, and the repetitive attributes that I mostly don’t care about are left-most.  It’d be nice to move the “runat” and “EmbedInDiv” attributes to the end of these … Continue reading

Posted in CodeRush, Programming | Leave a comment

Update a SQL table’s XML value to insert a node

Sometimes a snippet of example code is all that’s needed: update MyTable set XmlColumn.modify(‘ insert <Description>This is a description</Description> as last into (/xpath/to/parent)[1] ‘) where SomeValue = ‘whatever’ .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, “Courier New”, … Continue reading

Posted in CodeMinder, Programming, SQL, XML | Leave a comment

SQL Injection Joke (with a lesson)

At a recent team stand up meeting I passed along a joke I caught on twitter:   A SQL Injection walks into a bar, starts to quote something but stops, drops a table, then dashes out. The joke is a … Continue reading

Posted in Programming, SQL | Leave a comment

My Regular Blogs and Podcasts

As a software development professional, I use blogs and podcasts to keep on top of what’s going on in this technical world.  Here are the ones I use most: Podcasts .NET Rocks.  Good source of mainstream Microsoft-related stuff; about an … Continue reading

Posted in Programming | Leave a comment

The Meaning of Null

With many object-oriented computer languages there is a difference between an empty object and a null object. I often come across code which understands there is a technical difference between empty and null, but doesn’t properly use the semantics of … Continue reading

Posted in Programming | 1 Comment

Digging For Requirements

I think my favorite programming book of all time is The Pragmatic Programmer. It was the first introduction I had to being more intentional with my programming. There were certain types of programming patterns that felt good, but I didn’t … Continue reading

Posted in General PC Usage, Programming | Leave a comment

Keep Local Copies Up-to-Date Automatically

A coworker sent me this today; this idea had never crossed my mind: Not sure if you’ve already got something setup to automatically update your svn checkouts, but thought I’d mention this.  I just created a .bat file: TortoiseProc.exe /command:update … Continue reading

Posted in General PC Usage, Programming | Leave a comment