• On Life and Love

    DragonCon, Morning One

    No, I don’t think I’ll be posting an obnoxious sequence of posts on the minutiae of DragonCon. This my first visit, though, and I am sitting and waiting for my first panel, a Torchwood panel featuring John Barrowman and Kai Owen. In some places, my schedule is 4-5 events wide on my calendar, where I haven’t yet decided which to do. Oy. DragonCon!

  • On Life and Love

    SqlBulkCopy Matching Columns

    If you’re trying to do a SqlBulkCopy using a DataTable and getting lots of column type (integer, string) mismatches, it’s probably because you haven’t mapped not only the column types, but also the column names. SqlBulkCopy assumes that your DataTable is going to have its columns in the same order as the database table, which will cause mismatches when it tries to send your (string) Name field into your (int) Age column. Just having your DataTable column names match the table isn’t enough, either. There must be a manual mapping. But if your DataTable column names are the same as the table column names, a simple method can take care…

  • On Life and Love

    Jackie, WCF Service

    Poor Jackie is currently having some flea problems, which means no curling up at the foot of the bed. This has added to everyone’s stress (especially hers), as I’ve had to kick her off the bed about every 20 minutes during the night. On about the third night of this, I found myself having a very strange partly-waking dream: Jackie was, or was in charge of, a web service. If she couldn’t sit on the bed for a little while, she wouldn’t be able to focus enough to keep the service running, and then all the rest of us would be hosed. Work has been stressful for me lately. Home…

  • On Life and Love

    1 Damn Percent

    I’m just about ready for a new release of Granny Squares. I did all my tests and development, merged with the master branch, and ran my tests again. And one failed. A trivial case–ensure that there’s one instance of the form in the formset on the main page of the site. It certainly works. But the response object’s context is None, even though the content, status code, etc., are on point. I’m not releasing the damn thing until the tests pass, but it’s a pain the ass, because I wanted to already be full tilt on August’s project.