Twin Cities Code Camp - Javascript Unit Testing

by Nick Saturday, April 14, 2012 9:21 AM

Thanks to everyone who came out to the Twin Cities Code Camp, where I was among many speakers. This event is huge, and the organizers did a great job, not just with logistics but also in pulling together a lot of great topics, and excellent speakers. For those who came to my presentation, the source for my demo code can be downloaded here. You can also view my presentation as well:


One of the coolest part about speaking at an event like this is when people come up to you afterwards with information on your topic that you don't know. After my talk, someone asked about integrating Code Coverage, and he showed me JSCoverage, which I'd never heard of before. It doesn't look like its being actively maintained any more, but it certainly looks interesting, and still worth a look to see if we can use this to bring first class Unit Testing practices to Javascript. I'll definitely be looking at it in detail to see if I can incorporate it into this presentation, and especially to pull it into our practices where I work.

Unit Testing Javascript with QUnit and Mockjax

by Nick Wednesday, January 18, 2012 4:22 AM

Thanks to Milwaukee ALT.NET for hosting on Monday, and allowing me to present on Unit Testing Javascript with QUnit and Mockjax. It was a great group of people, and I appreciated the good discussion and questions. As promised, here is the presentation material from Monday:

Also, you can look at the source code from the demonstration as well, which is in the following zip file. Thanks again to everyone who attended!

Guerrilla Agile at Milwaukee Agile

by Nick Wednesday, September 07, 2011 12:36 PM

I'd like to thank the organizers and participants at Milwaukee Agile last night for making it a great time for me. I presented a slightly updated version of Guerrilla Agile, and the discussion afterwards with those who were there was excellent. I really enjoy presenting on that particular topic, because there are always people listening who have done something similar, and can offer great insights into how to introduce Agile in a company that is unreceptive to it.

For those that are interested, here is the presentation that went along with my talk.

WQL in Powershell

by Nick Monday, May 16, 2011 4:32 AM

For those who were at my Windows Management Instrumentation talk Saturday at Chicago Code Camp, you may recall one of the attendees mentioning an eBook on WQL in Powershell. I thought it would be worthwhile providing the link to Ravikanth's eBook, and thanks to Steve Murawski for the added information. Ravkanth also has a series on his blog on using WQL in Powershell, which if you found WMI to be useful based on my talk, is definitely worth a read.

Chicago Code Camp Recap

by Nick Sunday, May 15, 2011 10:08 AM

I want to thank all the organizers, volunteers and attendees for a great time at Chicago Code Camp yesterday. I ended up presenting on two different topics, instead of the planned one. One of the speakers in the first session was unable to attend at the last minute, so I filled in and presented Guerrilla Agile (which I'll also be presenting to Chicago ALT.NET on Wednesday). It was a good opportunity to test out that new presentation to a smaller crowd and get some feedback. There was no code to go along with this presenation, just this presentation:

Of course, I also gave a slightly shorter version of my Application Instrumenation with WMI talk which I've given before. The group for that talk was very good, and had lots of great questions, and a few extra insights which I appreciated. You can find the presenation and code for the presentation in this zip archive. I've also uploaded the presentation to Slide Share:

Guerrilla Agile at Chicago ALT.NET

by Nick Monday, April 11, 2011 3:45 PM

In case anyone thought that I only had one speaking topic, you will have an opportunity to hear me at Chicago ALT.NET on May 18th. I'll be presenting "Guerrilla Agile" - How to Adopt Agile in a Company That is Hostile to Agile Methodologies. How many times have you ever gone to a meeting discussing Agile Development, and heard many of the people in the audience talk about how they were "interested in Agile" and were "excited about it" but weren't actually doing Agile? That is often times because the company they are working for not only doesn't currently use Agile Methods, but is actually hostile to it's adoption.

Should you as a budding Agile Practitioner just stand back and study Agile without ever actually doing it? Or is there some other way that you can introduce Agile into that hostile environment? Guerrilla Agile will give you a set of tools to use in that hostile company.

Chicago Code Camp

by Nick Monday, April 11, 2011 2:57 AM

What are you doing on May 14th? If you have the day available, you should definitely come down to Grayslake Illinois for Chicago Code Camp. Code Camp is for developers of all skill levels, and will have multiple sessions running side by side. There is no language or framework of choice, so developers of all stripes are welcome. You can see the full speaker list here as well as the session listing.

You might notice that I am on the speaker list, and will be presenting "Application Instrumentation with WMI". If you're interested in attending (even if you don't plan on seeing my session), you can do so for free at Event Brite.

Updated WMI Slides and Demos

by Nick Wednesday, September 15, 2010 4:52 PM

Thanks again to everyone at the Milwaukee WI-INETA group for a great time last night. I once again gave my talk on WMI, and it seemed very well received, with lots of very interesting questions. I have updated the demo source code, and I also received an email from someone saying they were having issues getting the slides to download, so slides are included in that zip file as well.

Also, a former coworker of mine, Jim, asked a question last night about whether it was possible to declare the security rights for a WMI Namespace easily through code, and I said not really, without some scripting. As it turns out, this is not true at all. There is an extra property on the assembly level attribute, WmiConfigurationAttribute (where you set the namespace and hosting model) that allows you to specify a security parameter. The property, called NamespaceSecurity, does not take an easily identifyable string like a group name. Instead, it uses a Security Descriptor String Format to describe the security. However, it will allow you to set the rights without having to script it after install.

Update: Apparently something with my hosting service's setup doesn't like files that have four letter extensions (like pptx), so instead of monkeying around with a second download for the slides, I simply included the slides in the source code download.

Application Instrumentation with WMI Slides and Downloads

by Nick Friday, August 27, 2010 3:25 PM

I wanted to take a moment to thank everyone who came to the Lake County .NET User's Group meeting in Grayslake last night. I had a great time, and I hope everyone came away excited to use an 8+ year old technology they probably never heard of ;-). As promised, here are the slides, and the sample code from last night:

Here are a few notes on the sample code:

  • The \Resources directory contains many of the downloads that I talked about during the presentation, including the MMC 3.0 download if you're running Windows XP.
  • Before attempting to register the MMC Snap-In, be sure to run mmcperf.exe from the command prompt. This registers required libraries into the GAC.
  • The "Source" project is a WPF version of the project from last night. It's is functionally the same, and the tasks and the WMI piece is identical, it's just running in a different project harness.

Feel free to email me if you have any questions, and hopefully I'll have an opportunity to speak with all of you again.

Presenting at the Lake County .NET User's Group in August

by Nick Wednesday, June 30, 2010 9:12 AM

If you missed me at Chicago ALT.NET in April, presenting Application Instrumentation with WMI, then you're going to get another shot to hear me in August. I'm going to be at the Lake County .NET User's Group on August 26th in Grayslake, IL:

WMI (Windows Management Instrumentation) is most commonly used to query for hard drives, find out what services are running, and other basic Windows functions. But, did you know that you can make your own objects queryable in WMI as well, as well as send custom events? We'll go over how to query machine state with WMI, and then how to instrument your own applications with WMI as well. Finally, I'll show how to make a custom MMC plugin powered with WMI.

The fun starts at 6:30 PM, and goes until 8:30.

About Me

Nick Schweitzer Nick Schweitzer
Wauwatosa, WI

Contact Me
I'm a Software Consultant in the Milwaukee area. Among various geeky pursuits, I'm also an amateur triathlete, and enjoy rock climbing. I also like to think I'm a political pundit. ... Full Bio

Community Involvement



Flickr Photos
This is a Flickr badge showing public photos and videos from Nick_Schweitzer. Make your own badge here.

Standard Disclaimers

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017 Nick Schweitzer