Today I came across a need to find all static fields in my entire solution I’m working on. Finding things usually is a no-brainer with ReSharper, but this time I didn’t find an option to do this easily.
Configuring Mercurial (Hg) with TeamCity over SSH at RepositoryHosting
At Typemock, we’re making the change of moving our source control from SVN to Mercurial (Hg). Side note: Hg is a symbol for Mercury in the periodic table.
We use TeamCity as our continuous integration server, and it took some trickery to configure it to recognize the repository. For this, I will use a repository hosted at RepositoryHosting.
Here are the steps required for configuring Mercurial with SSH in TeamCity:
Summary: the 2nd Software Craftsmanship group meeting in Israel
Making Productivity Power Tools for Visual Studio 2010 play nicely with ReSharper
Scott Guthrie wrote about VS 2010 Productivity Power Tools update, and I went to the Extensions Gallery to download it. I won’t write an overview about it, ScottGu has already done an excellent job on his blog. You can also find more information on the extension’s page.
C# Puzzle: What does this program do?
Consider the following code:
class Woot |
What is the output of this program? Is it:
Ever wanted to know why you got the badge on StackOverflow? Now you can!
Badges are an integral part of the StackOverflow, which reward participants. According to Jeff Atwood, those are based on the Xbox 360 Achievement System.
Visual Studio 2010 bug: NullReferenceException when opening any file, caused by a docked add-in tool window
Here’s an issue I’ve been struggling with: it seems that by accessing a certain property of a docked tool window of an add-in, an exception is thrown somewhere inside Visual Studio 2010. It’s caught internally, and the exception message, Object reference is not set to an instance of an object, is shown whenever I was trying to open any file (code or otherwise).
Turning poor man's performance profiling into awesome using Excel and Pivot Tables
As I’m writing this, Dror Helper blogged about using a poor man’s performance profiler. This profiling technique is useful when the tools are lacking, and we need to measure a performance of method(s) within our code. This information is usually logged, and after a run we’re left with a huge file containing hundreds (and sometimes thousands of lines). How do we make sense of this mess? How do we filter out and understand the relevant performance information?
ReSharper 5.0 Hidden Gem - Patterns Catalogue
[November 16, 2010] While the information below is still very much relevant, please download the latest version of ReSharper from JetBrains website.
Have I mentioned that I love ReSharper? While patiently waiting for the 5.0 release to RTM, the team at JetBrains have shipped the Beta 2 release (build 1618). This is a very stable, very good improvement over the previous nightly builds.
Visiting Islay, Part 2
Note: this is part 2. Read part 1 of the trip here.
Early Saturday morning on Islay, and we are set to go on another adventure! After eating a delicious breakfast that our lovely host prepared for us, we were set to try and explore some more distilleries. Unfortunately there were no tours at Lagavulin and Ardbeg on a Saturday, so we decided to drive to the place where one of my most favorite pictures was taken – the Carraig Fhada Lighthouse.