Welcome to MSDN Blogs Sign in | Join | Help

jaredpar's WebLog

Code, rants and ramblings of a programmer.

Syndication

News

Now Reading

Expert F#

What's a better book to read when learning F#?

Essential WPF

Thus far the best book I've read on WPF. Gets right down to working with WPF and the goals/history.

Purely Functional Data Structures

Reading this book makes me feel like I'm back in college. It will really get your mind going and is best read with a whiteboard handy.

Blog Roll

Eric Lippert
Dustin Campbell
Jon Skeet
Coding Horror
Brian McNamara
Hub FS
Full List

Browse by Tags

Vim Emulator Editor For Beta2 Released
This is essentially the same release as the original but updated for some changes that occurred in the APIs between Beta1 and Beta2.  Link: http://visualstudiogallery.msdn.microsoft.com/en-us/59ca71b3-a4a3-46ca-8fe1-0e90e3f79329 The biggest change Read More...

Posted Monday, November 16, 2009 11:17 PM by Jared Parsons | 3 Comments

Filed under:

Type safety issue when assigning CComPtr<T> instances
Recently while making a bug fix to our selection tracking code I discovered an unexpected behavior with CComPtr<T> instances.  The crux of the fix included creating a new tracking mechanism exposed via COM in the type ISelectionTracking.  Read More...

Posted Wednesday, November 04, 2009 8:00 AM by Jared Parsons | 1 Comments

Filed under: ,

Speaking at Dev Connections in Las Vegas Next Week
Next week I will be speaking at Dev Connections in Las Vegas.  I will be running the following sessions VMS02: Future Directions for Visual Basic VMS04: Microsoft Visual Basic IDE Tips and Tricks Both of these talks will spend a bit of time talking Read More...

Posted Tuesday, November 03, 2009 11:51 AM by Jared Parsons | 1 Comments

Filed under:

Using F# Discriminated Unions in C# (Beta2)
While updating my VsVim editor extensions for Beta2 [1] I got hit by a change in the way F# exposed discriminated unions in metadata.  My extension consists of a core F# component with a corresponding set of unit tests written in C#.  It’s mostly Read More...

Posted Tuesday, October 27, 2009 8:00 AM by Jared Parsons | 5 Comments

Vim Emulator Editor Extension Released
I just released version 0.5.0 of VsVim: a vim emulation editor extension for Visual Studio 2010 Beta1 written in F#. This is a hobby project I’ve been working on for awhile now. I expect to continue updating this release as time goes on as I use it on Read More...

Posted Tuesday, September 08, 2009 10:09 PM by Jared Parsons | 15 Comments

Filed under: ,

Why is LINQ absent from debugger windows?
As the owner of the VB.Net portion of the overall debugging experience, I frequently hear the request from customers to add LINQ support into the Watch / Immediate and Locals window. Virtually every other type of expression is available in the debugger Read More...

Posted Wednesday, August 26, 2009 8:00 AM by Jared Parsons | 9 Comments

Filed under: , , , , ,

Code Smell: Psychic classes
Psychic classes have the appearance of ignoring data provided to it in an attempt to provide you with an answer they predict is better for the situation.   It’s impossible to look at a the data provided to an instance of the class and understand Read More...

Posted Thursday, June 18, 2009 10:00 AM by Jared Parsons | 0 Comments

Filed under: , ,

Test-ItemProperty utility function
I was playing around in the registry the other day and found the PowerShell API lacking in a key area.  There does not appear to be a good way to detect the presence of a Registry Name/Value pair.  All of the operations such as New, Delete, Read More...

Posted Friday, June 12, 2009 10:00 AM by Jared Parsons | 0 Comments

Filed under:

Can you @bing it?
Today Microsoft announced a new search engine called bing .  I’ve been dogfooding this engine internally for some time now and from my experience it’s a step up from the previous engine in both functionality and appearance.  It’s definitely Read More...

Posted Thursday, May 28, 2009 8:21 PM by Jared Parsons | 1 Comments

Understanding the is, was and will of programming
When using an API you must take care to understand not only what it returns, but also for how long the data returned will be valid.  This is very important to consider because programs must make either be making decisions on valid and predictable Read More...

Posted Monday, April 27, 2009 8:00 AM by Jared Parsons | 6 Comments

Filed under: ,

Questions not to hinge a C++ interview on
People love to chat about how to conduct a C++ interview on newsgroups .  Eventually these topics will shift into a discussion about what questions a candidate must know in order for them to get a hire from a particular interview.  Unfortunately Read More...

Posted Tuesday, April 21, 2009 8:00 AM by Jared Parsons | 7 Comments

Filed under: ,

Immutable vs. Mutable Collection Performance
One argument I commonly hear against immutable collections is they are slow.  I’ve held the opposite belief for some time but shamefully had yet to look at actual numbers on the CLR.  Tonight I decided to change that by benchmarking one of my Read More...

Posted Monday, April 06, 2009 8:00 AM by Jared Parsons | 6 Comments

Filed under: , ,

Is it Serializable?
I’ve recently run across several APIs that have a dependency on only dealing with objects that are serializable (in the binary sense).  Unfortunately determining if an object is serializable is a non-trivial task and rife with problems.  These Read More...

Posted Tuesday, March 31, 2009 8:00 AM by Jared Parsons | 3 Comments

Filed under: , ,

Building a WeakReference Hashtable
Recently I ran into a situation on a personal project where I needed a hashtable like structure for a set of WeakReference values.  When poking around for an existing implementation I saw found several versions which were very thin, type safe wrapper Read More...

Posted Tuesday, March 03, 2009 8:00 AM by Jared Parsons | 9 Comments

Filed under: ,

A more usable API for a mutable thread safe collection
In my last post we discussed the problems with designing a safer API for mutable thread safe collections that employ only an internal locking system. The result was an API that was more difficult to mess up, yet pretty much unusable. Lets take a look Read More...

Posted Monday, February 16, 2009 8:00 AM by Jared Parsons | 17 Comments

Filed under: , ,

More Posts Next page »
Page view tracker