Chris Smith's completely unique view

Algorithms, functional programming, CLR 4.0, and of course, F#!

F# in 20 Minutes - Part I

Edit: If you are interested in learning F#, let me take the opportunity to provide a shameless plug...

Author: ChrSmith Date: 05/02/2008

Sieve of Eratosthenes in F#

If you don’t know what the Sieve of Eratosthenes is, don’t worry because a few days ago neither did...

Author: ChrSmith Date: 04/29/2008

Windows Live Writer

So I figured I’d check out Windows Live Writer and see what all the buzz is about. Update: With a...

Author: ChrSmith Date: 04/24/2008

Project Euler - Problem 34

Edit 2/8/2010: Updating for recent F# language changes. In our continuing series of how to solve...

Author: ChrSmith Date: 04/15/2008

Shameless plug - we're hiring!

As Don and Brian have mentioned, we are working towards an April Update to the F# research release...

Author: ChrSmith Date: 04/11/2008

Single-case Active Patterns vs Function Calls

In response to an earlier post a reader wrote: Sent From: naminSubject: (|EnsurePrefix|) -- why is...

Author: ChrSmith Date: 03/27/2008

How not to reverse a list

Brian McNamara, the latest addition to our stellar F# dev team, wrote up a great blog post on some...

Author: ChrSmith Date: 03/26/2008

Project Euler - Problem 24

Project Euler problem 24 in F# Problem 24 is defined as: A permutation is an ordered arrangement of...

Author: ChrSmith Date: 03/22/2008

How to debug compiler generated code

Edit 2/8/2010: Update for recent F# language changes James Margetson recently showed me a great tip...

Author: ChrSmith Date: 03/13/2008

Project Euler - Problem 19

I haven't been to Project Euler in a while, but since I'm seeing other F# folks are getting into it,...

Author: ChrSmith Date: 03/07/2008

How not to name types and identifiers

From the 'code which is valid but looks strange and might be removed in the next release of F#, but...

Author: ChrSmith Date: 03/04/2008

Regular Expressions via Active Patterns

Edit 2/8/2010: Updating code samples for recent language changes. In my last post I introduced...

Author: ChrSmith Date: 02/22/2008

Introduction to F# Active Patterns

You may have heard of Active Patterns before – typically in conjunction with the words ‘awesome’ or...

Author: ChrSmith Date: 02/21/2008

Pattern matching snippets

#light open System // ************************************************************* // * Pattern...

Author: ChrSmith Date: 02/14/2008

Today you might have noticed that Soma blogged about MSDN Code Gallery, which is a website devoted...

Author: ChrSmith Date: 01/28/2008

fslex Sample

You may have heard of two tools that come with the current F# distribution, fslex and fsyacc. Both...

Author: ChrSmith Date: 01/18/2008

F# Snippet - Enums and Discriminated Unions

I was writing some F# code this week and ran into problem. Consider the following code: type Thingey...

Author: ChrSmith Date: 01/09/2008

F# and Markov Chains, oh my!

Edit 2/8/2010: Updated syntax for latest F# language. Recently I started playing a collectable card...

Author: ChrSmith Date: 01/05/2008

F# Snippets 01

This week I had the pleasure of writing some of our test automation infrastructure in F#. Not only...

Author: ChrSmith Date: 12/14/2007

Project Euler in F# - Problem 23

Here is a quick write-up on how to solve Project Euler’s Problem 23 in F#. Problem 23 is defined as...

Author: ChrSmith Date: 12/08/2007

Joining the F# team

Now that Visual Studio 2008 is out the door it is time to celebrate and think about 'the next big...

Author: ChrSmith Date: 11/20/2007

Project Euler in F# - Problem 5

Here is a quick write-up on how to solve Project Euler’s Problem 5 in F#. Problem 5 is defined as...

Author: ChrSmith Date: 11/10/2007

Project Euler in F# - Problem 2

It’s been a few days, so here is Project Euler’s problem 2 in F#. Problem 2 is defined as follows:...

Author: ChrSmith Date: 10/26/2007

Project Euler in F# - Problem 1

A while ago I found a wonderful website called Project Euler, which provides a steady stream of...

Author: ChrSmith Date: 10/23/2007

Getting preped for TechEd

Tomorrow I get on a plane headed to Orlando to talk about all things Visual Basic and Visual Studio...

Author: ChrSmith Date: 06/02/2007

Shameless plug - Surface Computing

Today Microsoft publically announced a product which has been in the words for quite some time. I...

Author: ChrSmith Date: 05/30/2007

Notes on stable automation

In this post I'd like to touch on the subject of Automation Stability, which is crucial for any...

Author: ChrSmith Date: 05/18/2007

TechEd 07 is coming...

If you are going to be in Orlando the first week of June, stop on by TechEd...

Author: ChrSmith Date: 05/02/2007

Improving current approaches of testing

A while ago I said that a professional tester should split his or her time to testing the product...

Author: ChrSmith Date: 04/23/2007

Back into the swing of things!

You might have noticed a distinct lack of blogging for past couple of months, and well, to say I...

Author: ChrSmith Date: 04/17/2007

Career development for the professional tester

Currently at Microsoft we are well into the Mid-Year Career Discussion, which for me at least has...

Author: ChrSmith Date: 03/16/2007

Web OSs part 2

While visiting family in Texas I found this gem posted on slashdot 10 Web Operating Systems...

Author: ChrSmith Date: 12/27/2006

What's next? One day C# too will be old and busted.

Soon the next release of Visual Studio will come out, and in it all sorts of new language...

Author: ChrSmith Date: 12/05/2006

Experience Visual Studio's WCF Tooling support in the next CTP!

Just a quick status update on the WCF side of things. We are currently finishing up some development...

Author: ChrSmith Date: 10/25/2006

Interactions between objects - Attributes and Interfaces

One of the greatest features of NetHack was the ability to achieve a rich interaction between...

Author: ChrSmith Date: 10/08/2006

Unleash the power of .NetHack!

In the beginning there was Rogue (https://en.wikipedia.org/wiki/Rogue_(computer_game)), then Hack...

Author: ChrSmith Date: 10/08/2006

Authenticode signing Bootstrappers produced from Setup Projects

Mike Wade, VS2005 Bootstrapper author and all-around nice guy wrote a blog entry about authenticode...

Author: ChrSmith Date: 10/04/2006

JavaScript OS

For one reason or another it would be awesome to write an Operating System in X, where X is some...

Author: ChrSmith Date: 10/01/2006

Introducing pure ideas

As you might have noticed, despite my best efforts I just haven't been able to keep my blog focused...

Author: ChrSmith Date: 09/22/2006

Who listens to the blogosphere?

Who listens to the blogosphere? The question sounds simple enough, but unfortunately I haven’t been...

Author: ChrSmith Date: 09/13/2006

Finding Great Developers

I've been using the new RSS capabilities in Outlook 12 to monitor some great blogs out there....

Author: ChrSmith Date: 09/06/2006

Can you nest WCF services in the same IIS app?

While working on the team's Tier Services testbed, that is a collection of WCF services for testing...

Author: ChrSmith Date: 08/10/2006

Back to the front lines!

So the past month I've been pretty busy. The Indigo team has started a new Sprint and I have had the...

Author: ChrSmith Date: 07/31/2006

WCF and Visual Studio - Together at last!

I'm pleased to announce that just now I was able to use the Visual Studio tools for WCF (AKA Windows...

Author: ChrSmith Date: 06/30/2006

Do you use Web References?

So the Visual Studio Indigo Tools team met today to discuss the UI for the Add Service Reference...

Author: ChrSmith Date: 06/09/2006

Authoring a Custom Bootstrapper Package for Visual Studio 2005

This is totally a shameless plug, but MSDN published my white paper entitled "Authoring a Custom...

Author: ChrSmith Date: 06/07/2006

<Previous Next>