Canada Tour 2014: Toronto User Groups and ConFoo

February 28, 2014

I spent a great week in Canada despite the super-cold weather for my taste. After all, in Israel, sub-freezing temperatures are enough of a reason to cancel school and bring public transportation to a halt. So for me, stepping outside in -15 degree weather was pretty much of a shock. The week started with three days in Toronto, visiting the Sela Canada branch and delivering two talks at user groups - an introduction to Android development with Eclipse and Xamarin, and an introduction to Node.js on Windows Azure. Then, I flew in to ConFoo, a conference for web developers in Montreal....
no comments

Diagnosing a Non-Paged Pool Leak with Asynchronous I/O

February 20, 2014

I spent a few hours last week chasing a non-paged pool leak caused by a simple Win32 application. After some divide-and-conquer work, we were able to pinpoint the line of code causing the leak -- a seemingly innocent WSARecv call that performs an asynchronous socket receive. How can a user-mode application cause a non-paged pool leak that quickly accumulates to dozens of megabytes of kernel memory? Read on for the details. If you'd like to replicate this problem yourself and experiment with the diagnostic process described below, use the following gist. It's 54 lines of code including error handling and #includes. Capturing...
no comments

Productivity, Exploration, Diagnostics, and Collaboration: Visual Studio 2013

February 14, 2014

On Thursday I had the pleasure of delivering a session at the High-Tech Mizpe Ha-Yamim event for decision makers (VP R&Ds, CTOs, and CIOs) in the beautiful and tranquil Safed/Rosh-Pina area. My talk focused on Visual Studio 2013 and how it can make developers' lives better by improving productivity and collaboration, making it easier to diagnose difficult problems in development and production environments, and helping explore large amounts of existing code. I built the talk around four core areas: productivity, exploration, diagnostics, and collaboration. The demos included using IntelliTrace with Windows Azure Cloud Services, using Visual Studio's .gcdump support with...
no comments

Sela Open House: Android Development 101 with Eclipse and Xamarin

February 6, 2014

Last week I had the pleasure of delivering a free half-day introduction to Android development at our Haifa branch. The day focused on both native application development on Android (with Eclipse and ADT) and C# development with Xamarin. We developed a simple "todo list" application that displays pending tasks, tracks the user location, and stores tasks in persistent storage on the device. Here are some useful links I promised to post during the session, which you might find useful when replicating this application's functionality: Download the Android SDK Bundle (get started with Android development in Eclipse) Xamarin.Android (get started with Android development...
no comments