Wednesday, February 12, 2014

One cries because one is sad.

I believe I just hit a new low. 

I just pointed out to my team leader a blooper a second person (recently departed) who was hired as team leader made in code. 
I emailed him because he was responsible for merging the changeset.
So I passed along my vote of non-confidence in the associated changeset with a screenshot of a side by side diff and also highlighted the problem syntax with the highlight tool. 

He just came back to me and said I don't see where the problem is.
Two team-leads in a row is just too much. 
If you're a programmer you ought to pay attention to detail and first and foremost, understand boolean logic.

I cried inside.
Quote from The Big Bang Theory episode The Gorilla Experiment

Sheldon: Why are you crying?
Penny: Because I'm stupid!
Sheldon: That's no reason to cry. One cries because one is sad. For example, I cry because others are stupid, and that makes me sad.

Tuesday, February 11, 2014

Remote Desktop Magic I didn't know about - Use All Monitors

Use all monitors! This is just awesome!

Note: This is Windows 7 or above only.

There is similar but restricted functionality if you need this feature in older windows versions. Run remote desktop with the span option i.e. mstsc /span

Monday, September 23, 2013

TFS 2012 Changeset All Diff View

Today, I found a nice feature I didn't know Team Foundation Server had. A way to view all changes included in a commit in a series of diffs.

This feature is only available after committing (in git-scm, you can get this for your pending changes even before commit).

Basically you go to history, right-click the changeset you wish to view and select Changeset details. In Changeset Details view, click on Actions drop down and select Open in Browser.

You will get a nice list of all the diffs included in that changeset. This is a great way to view all changes in any commit without having to compare each individual file against previous.


After 8 years of work experience, I have developed awesome inbox clearing skills. I should put it on my resume :D

Tuesday, December 13, 2011

Rolling ankles [what to do while you're doing it]

Rolled my ankle last night while playing badminton. It always seem to happen when I'm wearing my Asics shoes. It has higher heels than my other pair. The problem is not the shoe it's my footwork that's wrong and I was scrambling after a bad shot.

Anyhow, the ankle rolled side ways and while it was happening I did two things to minimize the injury.
First, I immediately shifted my weight off the foot that tripped.
Next, I let the ankle continue on it's roll adjusting my body to follow along in the direction of the roll.

This has the effect of pitching me side ways and causing me to fall but because I shifted my weight, there's no pressure on the ankle. I already know I'm falling so I'm able to brace myself for it without further injuries.
The only injury I had to deal with is from the beginning of the roll when I accidentally tilted the ankle sideways.

In this way, I am able to go from tripping to a controlled fall/dive to minimize injury and get up in time to retrieve the next shot. There was pain from the initial twist but it's nothing serious and went away after one game.
It's the next day now and I'm not hurt at all.

I've read quite a lot online regarding injury prevention. They talk about using the right shoes and using correct footwork.
I have not come across anything that tells you what to do while you're in the process of injuring yourself.
I'm hoping this post helps everyone keep the hurt to a minimum.

Best of luck.