Author Archives: Robert Barron

Mount Robert Barron

Penny and I play a little game whenever we go on vacation.  At any souvenir shop we come across that features the typical display of personalized trinkets, such as keychains with names on them, we look to see if we … Continue reading

Posted in Travel | 3 Comments

Locking files for testing

Getting errors when trying to access locked files is a common situation that must be addressed by programs.  On Windows machines it’s fairly easy to replicate the scenario of a locked file using a simple technique that I picked up … Continue reading

Posted in Uncategorized | Leave a comment

HTML escape characters in Azure app settings

Windows applications can make use of XML nodes in appSettings to pass configuration information into a program.  Because the app.config (or web.config) file is XML some characters need to be escaped so that they are not improperly parsed as part … Continue reading

Posted in Programming | Tagged | Leave a comment

Blank lines in Jinja2 Templates

When working with the Jinja2 templating engine on Python I’ve been bugged by blank lines that got inserted into the resultant XML when an optional node was excluded from the output.  Though Jinja2 sports some support for controlling whitespace I … Continue reading

Posted in Programming, Python | Tagged , | Leave a comment

TP-Link Wifi Extender Light Woes

My new TP-Link wifi extender works great at extending the range of our home wifi setup. The home office downstairs unfortunately resides in a wifi dead spot given where our AT&T wifi access point had to be located. It’s inexpensive … Continue reading

Posted in Uncategorized | Leave a comment

DateTime Intervals Versus DateTimes

I had wondered why some websites displayed date intervals (i.e. “5 days ago”, “4 hours ago”) for user posts instead of printing actual dates and times. Doing some new website work recently caused a revelation about that choice and how … Continue reading

Posted in Programming | Leave a comment

Code First Foreign Keys With Different Names

The Entity Framework’s Code First scheme is handy way to do quick development of new websites. I recently had an issue with a foreign key relationship between a table I created and the ASP.Net Identity user table AspNetUsers. Typically, EF … Continue reading

Posted in Programming | Tagged | 1 Comment

The Move

It’s been a while now, but Penny and I are officially Californians now. About a month ago we made the move from Austin, TX to Oakland, CA. The reasons for the move are really quite complex and drawn out – … Continue reading

Posted in Family | Leave a comment

Migrating Code From SQL Server To MySql

After having worked exclusively with Microsoft’s SQL Server for some years now I was working on a project in which the customer wanted the data to be stored in their database of choice, MySql. My first thought was to utilize … Continue reading

Posted in Programming | Tagged | Leave a comment

Skipping Unit tests In MSTest

When creating a large number of test cases for a project there may be a number of cases that don’t apply for some particular scenario or platform. I didn’t want to mark a non-applicable test case as having passed just … Continue reading

Posted in Programming | Tagged , | Leave a comment