Archives

Archives / 2012 / November
  • Don’t Forget Block Selection Using Alt in Visual Studio

    So do you ever find yourself wanting to try out some code you found on the Internet (via Copy Past Programming, but in a spike or test project, naturally!), and unfortunately when you copy the code it  includes a bunch of line numbers?  Like the code from this sample on testing Entity Framework stuff? 1: [TestClass] 2: public class TestRunDatabaseCreator { 3:  4: public const string DATABASE_NAME_TEMPLATE = "CPT_CDS_{0}"; 5:  Of course, some code highlighting tools make this a little easier for you, and Scott Hanselman shows off some options.  But in this case, the post was made some time ago, so I don’t think we can rely on the author to change how they’ve … more

  • 2013 Software Craftsmanship Calendar

    It’s that time of year again when Software Craftsmanship wall calendars are shipping out of our Hudson office.  A few things are different this year.  The small NimblePros logo on the calendars has been replaced with a small Telerik logo.  The boxes of calendars from the printer now come with 60 calendars per box, instead of 55.  And the calendars themselves have an extra page in them (you’ll have to get one to see how we put it to use).  We’ve also continued to be blown away by the popularity of the calendar, and we love that the community has supported this idea (which we’ve spent a great many hours obsessing over each year).  Two years ago, for the first … more

  • JavaScript The Good Parts Reviewed

    Finished up Douglas Crockford’s JavaScript: The Good Parts this week.  It definitely helped me improve my understanding of JavaScript, which I’ve been using since it was new, but always like a C programmer, and only recently like a JavaScript programmer.  I really appreciated Crockford’s honest, no-holds-barred analysis of JavaScript’s design and language choices.  It had me chuckling more than once.  I also appreciated that the book, at only 150 pages including the index, is devoid of fluff.  There’s just enough repetition between chapters to ensure certain points are made and made well. The book makes frequent use of railroad diagrams, which I’ve seen before but … more

  • Limit SQL Server Memory Use on Dev Machine

    If you’re a developer running SQL Server locally, you may sometimes need to limit how much memory the database is consuming.  Under normal conditions, SQL Server likes to use as much memory as it can get, since keeping results in memory improves the database’s performance.  In typical production scenarios, this is the ideal behavior, but on a dev machine you probably want your RAM for other things.  In my case, I noticed my RAM was creeping up to over 9.5 GB and saw this: First of all, it’s somewhat telling that on my dev machine here, I’m not even running my dev environment, and my browser windows are collectively using more RAM than anything else (and what’s up with … more