C++ Glossary

There are a number of C++ acronyms that I seem to forget over and over, so i decided to start maintaining a glossary here. I hope others find this useful, as well.

CTADClass Template Argument DeductionIn order to instantiate a class template, every template argument must be known, but not every template argument has to be specified. See

Also see
How to Use Class Template Argument Deduction https://devblogs.microsoft.com/cppblog/how-to-use-class-template-argument-deduction/ from Microsoft.

Convert WAV files to FLAC

The easiest way that I’ve found to convert your WAV audio files to FLAC format so they’re compressed without losing any audio quality is to do the following:

  1. Make sure you have Chocolatey installed (which should be on every machine already. ?).
  2. Open an elevated PowerShell prompt and run the following command:
    1. choco install -y flac
  3. Now change to the directory containing your WAV files and run the following command:
    1. flac --best *.wav

I found this solution here.


This post was migrated from https://blogs.msdn.microsoft.com/rob/2016/12/23/convert-wav-files-to-flac/.

Upgrading from TFS 2013 to TFS 2017

I was running TFS 2013 Update 4 on top of SQL Server 2012 SP3 and was unable to upgrade to TFS 2017 because this version of the SQL database is not supported.  So, I ran the SQL Server 2016 installer from the ISO and used the SQL Upgrade tool.

I then uninstalled SQL Server 2012 by double-clicking on the “Microsoft SQL Server 2012 (64-bit)” entry in Control Panel’s Programs and Features and selecting “Remove”.  I clicked the “Select All” button, clicked the Next button, clicked the Next button, and lastly clicked the “Remove” button.  This started the uninstall of SQL Server 2012.

Note that I did not uninstall Microsoft SQL Server 2012 Native Client.  When I attempted to do so, I got the following dialog box:

Then I installed TFS 2017 from the ISO and ran the Team Foundation Server Configuration Wizard.

I selected “I have existing databases to use for this Team Foundation Server deployment” and clicked Next.

Then I selected my (only) SQL Server Instance, selected my (only) database, and checked the box stating that I have a current backup.  Make sure you do before proceeding!  I then clicked Next.

Then I selected “Production Upgrade” and clicked Next.

Then I entered the service account name under which the TFS Windows Service will run.  Click the Test link to make sure you have the password correct before proceeding.  Click Next.

You may now wish to update your website settings to use SSL/TLS so that web-based connections to TFS are secure.  I did not, so I accepted the existing values.  You can also check the box to enable SSH (Secure Shell) connections to TFS; it was checked by default for me.  You may also update the location of the File Cache used by TFS.  Click Next.

The next step allows you to enable Search across your repositories.  It defaults to unchecked; I chose not to install it at this time.  You can always install it later.  Click Next.

You may now configure reporting for TFS.  I didn’t have it installed before, so configuring it now was not an option.  Click Next.

You may now configure SharePoint for TFS.  I didn’t have it installed before, so configuring it now was not an option.  Click Next.

You are now presented with the Settings Confirmation page.  You may click the Verify button or just click Next.  I clicked Next.  It will automatically run through the verification process.

If everything verifies as successful, you will see a screen similar to the following.  If all was successful, click Configure to Upgrade your previous installation of databases and TFS to 2017.


This post was migrated from https://blogs.msdn.microsoft.com/rob/2016/12/22/upgrading-from-tfs-2013-to-tfs-2017/.

Sending eBooks to the iPad Wirelessly

My coworker, Mark, asked me how I get eBooks onto my iPad today. I told him I had never read an eBook on my iPad and he said I needed to correct this.

Since I store all of my eBooks in my OneDrive account and then manage them with calibre, I will sometimes just open PDFs from the caliber folder using the OneDrive iPad app and read them in Acrobat Reader on the iPad, but it seemed like there should be a better way to read eBooks. I also wanted a good way to read epub files on the iPad.

It turns out that the calibre team already figured out how to do this, so I am leaving the steps I tried here so I will remember them in the future:

  1. Launch calibre on your PC/Mac.
  2. Turn on the Content Server by clicking the Connect/Share button and leave calibre running.
  3. Start the Safari browser on the iPad and type in the IP address and port of the computer running the calibre server, like this:
  4. You will see a list of books in Safari, just click on the epub link for whichever book you want to read, Safari will then prompt you to open it with iBooks.
    1. I had to click the Get button on the calibre web page for the specific book I wanted to transfer to open the book in iBooks.

That’s it! Happy reading.

Convert MKV videos to MP4

It seems like a lot of people do this with Handbrake.  However, from my recent reading, it seems like the better option is to use VidCoder.  I may update this post soon with further details as I try the software out.


Load more