## Here we go, yo, so what's the scenario?

You clone a Git repository from, say, GitHub, to dive into the source code.  Eventually, you decide you would like to make some changes and submit a pull request.  You need to switch your repo to point to your fork. Here's how.

## List the current remote(s)

Here we see I cloned the Jenkins project, which was itself forked from Kohsuke's account.

## Monday, August 26, 2013

### Visual Studio error message template

Visual Studio (among others) will recognize lines that follow a certain pattern in the output window and turn them into links that open an editor to the file and then position the cursor where the error occurred.

The general pattern used by the tools and recognized by Visual Studio is:

fileName(startLine,startColumn[,endLine,endColumn]): error errorCode: errorMessage
An example message would look like:

C:\Source\path\to\solution\project\FileWithCompileError.cs(154,20,154,26): error CS0103: The name 'result' does not exist in the current context
The endLine and endColumn are optional; presumably not all errors can be pinpointed to a range so accurately.

## Monday, March 12, 2012

### Friends don't let friends use Windows 8 Consumer Preview

Here is a screenshot that I hope will be worth 1000 words.  Click it to download it in its full size (1680x1050).

What you see is Windows 8 Consumer Preview with a modified High Contrast theme and three types of font smoothing (none, grayscale and ClearType), even though the setting is clearly OFF in the displayed "ClearType Text Tuner" and in the option "Smooth edges of screen fonts" has also been turned off in "Performance Options".

If you've been reading this blog, you know that I can't stand any form of on-screen font smoothing and my inability to turn it off, despite even trying the usual registry modifications (see below) means I will not only NOT be using Windows 8, but also I will NOT be developing applications for Windows 8.

These changes are usually sufficient to get Windows to stop smoothing fonts system-wide (except in Internet Explorer 9):

[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothingType"=dword:00000000
"FontSmoothing"="0"


I have other concerns with Windows 8, but this is the most ridiculous one.

## Tuesday, December 27, 2011

### Dell could not get your question

Dell has some "Windows 7 - Boxing Week Laptop & Desktop Deals", so I decided to check out their website. Having used a Dell laptop recently, I remembered the lack of a "Menu key", so after poking around for a bit, this "chat with us" window started to scroll annoyingly in the way, so I thought I'd take advantage of it. This is what happened next:

I keep poking around and notice that if you click Customize, you eventually get to pick your keyboard!  Great, let's see what my options are:

Keyboard
Multi-task any time of the day or night with a backlit keyboard.
 Standard Keyboard - English
 Help Me Choose
 Standard Keyboard - English [Included in Price]
 Backlit Keyboard - English [add $25.00 or$1.00/month1]

Bummer. I guess I'm out of luck if I wanted the bilingual keyboard that I'm seeing in stores everywhere these days (and I certainly do not!  I want a US English keyboard layout like my old HP Pavilion dv8000.).

At this stage, even if Dell laptops somehow eventually do get a "Menu key", I'm not convinced I want to support an organization that hires "sales people" that can't understand English.

UPDATE: I found that HP's website contains manuals for its laptop series, including lists of part numbers for replacement keyboards, by language, as well as instructions for removing and replacing keyboards. This is great if all you can find is a laptop with a French-Canadian keyboard; you can replace it after the purchase.

UPDATE 2: I ended up ordering a refurbished HP laptop that already has a US English keyboard. It doesn't have the inverted T arrow keys, but I don't use those as often...

UPDATE 3: I ended up returning said refurbished HP laptop after some testing revealed that their recovery discs didn't actually work.