Category Archives: Programming

Updating PyCharm and JRE

When updating your Python IDE PyCharm to the latest version you might run into an issue on older machines.  It looks like PyCharm will helpfully install a 64-bit JRE, but not a 32-bit version, even if you opt to include … Continue reading

Posted in Programming, Python | 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

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

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

SQL Server Versions And Compatibility Levels

When working with a number of different SQL Server versions on various projects I’ve been a bit confused about what exactly I’ve been dealing with. I wanted a single table with all of the names, versions and compatibility levels all … Continue reading

Posted in Programming | Tagged | Leave a comment

Free Team Foundation Server Hosting

In a recent post I pointed out how having my hobby code in source control helped diagnose an issue when migrating from one OS and Visual Studio version to another.  But if you’re just playing around with some code at … Continue reading

Posted in Programming | Tagged , | Leave a comment

CSS Content To The Rescue

Looking to get a bit of extra visibility for pages on my hiking websites I implemented support for Google’s Rich Snippets.  This feature allows for the markup of pages so that extra bits of information such as user ratings or … Continue reading

Posted in Programming | Tagged | Leave a comment