Matthew Manela's Blog

Writing a Regular Expression parser in Haskell: Part 1

A few weeks ago I read this article about writing a simple regular expression parser. That article...

Author: Matthew Manela Date: 06/01/2008

ArgumentNullException vs ArgumentException

Both ArgumentNullException and ArgumentException have a constructor which takes two strings. One is...

Author: Matthew Manela Date: 05/29/2008

Intro to LINQ to SQL Optimistic Concurrency

After some investigation I feel I have a decent understanding on how LINQ to SQL concurrency works....

Author: Matthew Manela Date: 05/22/2008

Breadth First Tree Traversal in Haskell

As my interest in functional languages has grown, I have become increasingly interested in using...

Author: Matthew Manela Date: 05/11/2008

Closures and Pass by Reference

What do you think the following code will do? Compile time error Run time error Work fine 1: static...

Author: Matthew Manela Date: 04/30/2008

The J Language

I have been experimenting with this programming language called J. J is a full featured programming...

Author: Matthew Manela Date: 04/28/2008

Combining Silverlight and JavaScript

Silverlight 2 is currently in Beta 1 but even in this early stage it has many amazing features. One...

Author: Matthew Manela Date: 04/13/2008

When I am finally starting to get a handle on Monads...

When I am finally starting to get a handle on Monads I discovered Arrows and I am thrown back into...

Author: Matthew Manela Date: 04/06/2008

Covariance and Contravariance

I just finished reading the series of ten blog posts by Eric Lippert about covariance and...

Author: Matthew Manela Date: 03/30/2008

Modifying IL of an existing assembly

Any one who programs in .NET is well aware of Lutz Roeder's .NET Reflector. It is a tool which...

Author: Matthew Manela Date: 03/24/2008

Lazy Prime Number Sieve in C#

In my last post I talked about a Stream class for creating efficient lazy lists in C#. In addition,...

Author: Matthew Manela Date: 03/17/2008

Digging deeper into C# Lazy Lists

One of the most interesting aspects of the Haskell language is the fact that features lazy...

Author: Matthew Manela Date: 03/15/2008

Palindrome Creator in Haskell

The past few days I have been solving problems at this site called Project Euler. This site contains...

Author: Matthew Manela Date: 03/09/2008

The best game EVER

Note: This post may be subject to gross use of hyperbole. By far the best game in the history of man...

Author: Matthew Manela Date: 03/08/2008

Useful LINQ Method- GetMemberTypeChain

Recently, I have been working on a custom LINQ provider in C#. In a later post (when I have more...

Author: Matthew Manela Date: 03/07/2008

Understanding Variable Capturing in C#

With the addition of anonymous delegates in C# 2.0 and with lambda expressions in C# 3.0 you might...

Author: Matthew Manela Date: 03/01/2008

I was on DotNetRocks!!!

A couple week ago I had an interview with the DotNetRocks folks.  In this interview I discussed...

Author: Matthew Manela Date: 02/20/2008

FastSharp - Write it, Execute it

UPDATE: New version on FastSharp that includes a Windows 7 Gadget! Learn more here. Last year I...

Author: Matthew Manela Date: 02/11/2008

Today, the new site MSDN Code Gallery has launched.  This is the best place to find and share...

Author: Matthew Manela Date: 01/29/2008

Emulating cmd.exe's START command in Microsoft Powershell

I often browse through directories using the command line interface. It is sometimes times faster...

Author: Matthew Manela Date: 01/14/2008

Best Internet Explorer Plug-in

There are many features which Opera and Firefox (through extensions) have that I can't live without....

Author: Matthew Manela Date: 01/06/2008

Who would have thunk it?

I recently read this article about Lazy Computation in C#. What the article discusses is creating...

Author: Matthew Manela Date: 12/19/2007

Did you know.... Generic Methods

Did you know that you can call a generic method with out supplying the type argument. The C#...

Author: Matthew Manela Date: 12/16/2007

Visual Basic .NET Late Binding Explored

In a previous post I mentioned how Visual Basic .NET's lambda expressions are more fun and easy to...

Author: Matthew Manela Date: 12/15/2007

My attempt at a web comic

Last year my girlfriend Mallory Emerson drew my attention to a web comic called Dinosaur Comics. It...

Author: Matthew Manela Date: 12/08/2007

Lambda Expressions are more fun in Visual Basic .NET

I love C# and I would never want to do anything to make it seem any less amazing but I have to give...

Author: Matthew Manela Date: 12/07/2007

Lambda Expressions

With the release of C# 3.0 and Visual Basic 9, both languages added support for lambda expressions....

Author: Matthew Manela Date: 12/05/2007

Foray into LINQ

With the release of .NET 3.5 I started playing around with one of the cool new technologies called...

Author: Matthew Manela Date: 12/03/2007

JavaScript Rich Text Editors

While in college I worked on several websites for my school (Binghamton University). One of my main...

Author: Matthew Manela Date: 11/20/2007

Visual Studio 2008 and .NET 3.5 WOOOOOO!!!!!!!!!!

I am sure they will be many blogs and articles that will mention the awesome fact that Visual Studio...

Author: Matthew Manela Date: 11/19/2007

Master Boot Record Fiasco

The Error I restarted my computer for the first time in a couple weeks and it would not boot. I was...

Author: Matthew Manela Date: 11/07/2007

Powerful Visual Studio Add-In

Visual Studio doesn't seem to get much credit for the power of its extensibility model. When most...

Author: Matthew Manela Date: 11/03/2007

Floating Point, Why are you so buoyant?

Floating point precision can often be confusing to people. The following code block should...

Author: Matthew Manela Date: 10/19/2007

Self Documenting Code

I have come across many developers who believe that comments are not necessary to make code...

Author: Matthew Manela Date: 10/09/2007

Windows Media Player Problem AND Solution

I am the proud owner of a iriver clix portable media player. I have had it for about a year now and...

Author: Matthew Manela Date: 10/05/2007

Things I have learnt about Seattle...

At the beginning of August I moved out to Seattle from New York and since then I have learned some...

Author: Matthew Manela Date: 08/22/2007

First Post!

Welcome to my first blog post as a Microsoft employee. I work for a team who is truly focused on...

Author: Matthew Manela Date: 08/17/2007

<Previous