Posts
  • Matthew Manela's Blog

    Covariance and Contravariance

    I just finished reading the series of ten blog posts by Eric Lippert about covariance and contravariance . These topics were new to me but after reading this blog series it all made sense. It finally explained to me why some things which I thought I should...
  • Matthew Manela's Blog

    Modifying IL of an existing assembly

    • 1 Comments
    Any one who programs in .NET is well aware of Lutz Roeder's .NET Reflector . It is a tool which allows you to disassemble .NET assemblies in to IL, C#, Visual Basic and several other languages. This tool also supports many add-ins which add cool features...
  • Matthew Manela's Blog

    Lazy Prime Number Sieve in C#

    • 3 Comments
    In my last post I talked about a Stream class for creating efficient lazy lists in C#. In addition, I showed several classic functional methods I ported to C# to be used on the lazy lists. As I mentioned in that post, I will now talk about an example...
  • Matthew Manela's Blog

    Digging deeper into C# Lazy Lists

    • 2 Comments
    One of the most interesting aspects of the Haskell language is the fact that features lazy evaluation. My interest in lazy evaluation led me to a post on Wes Dyers blog about lazy lists in C#. In his blog post he talks describes how to create a lazy list...
  • Matthew Manela's Blog

    Palindrome Creator in Haskell

    The past few days I have been solving problems at this site called Project Euler . This site contains many seemingly simple math programming problems. I have been using Haskell to solve the problems on the site and in order to help solve one of the problems...
  • Matthew Manela's Blog

    The best game EVER

    • 1 Comments
    Note: This post may be subject to gross use of hyperbole. By far the best game in the history of man is: Fuel Pipe on Skype Skype has a bunch of built in games which you can play with the person to whom you are talking. These games are good since they...
  • Matthew Manela's Blog

    Useful LINQ Method- GetMemberTypeChain

    • 1 Comments
    Recently, I have been working on a custom LINQ provider in C#. In a later post (when I have more time to write) I will go in depth into what I am worked on and what have I learned about writing a LINQ provider. But for now I will present a simple function...
  • Matthew Manela's Blog

    Understanding Variable Capturing in C#

    • 2 Comments
    With the addition of anonymous delegates in C# 2.0 and with lambda expressions in C# 3.0 you might have been hearing a lot about variable capturing. This is the mechanism in which the delegate/lambda which was defined inline is able to hold on to any...
  • Matthew Manela's Blog

    Visualizing LINQ

    • 1 Comments
    I ran across an awesome code sample written by Jon Skeet . He realized that many people may have difficulty understanding how the lazy evaluation in LINQ (and programming with iterator combinators in general) works. His program/code sample is able make...
  • Matthew Manela's Blog

    I was on DotNetRocks!!!

    • 2 Comments
    A couple week ago I had an interview with the DotNetRocks folks.  In this interview I discussed the MSDN Code Gallery and I also discuss ed my time as an intern at Microsoft.  It was really fun recording this and my interviewers Carl and Richard...
  • Matthew Manela's Blog

    FastSharp - Write it, Execute it

    • 7 Comments
    UPDATE: New version on FastSharp that includes a Windows 7 Gadget! Learn more here. Last year I wrote this program which I named FastSharp. It is a text editor which lets you compile and run C# code that would normally exist inside a method. The...
  • Matthew Manela's Blog

    Introducing MSDN Code Gallery

    • 1 Comments
    Today, the new site MSDN Code Gallery has launched.  This is the best place to find and share samples, tools and articles about development and programming.  Code Gallery is already being used by many teams here at Microsoft to post cool tools and samples...
  • Matthew Manela's Blog

    Emulating cmd.exe's START command in Microsoft Powershell

    • 1 Comments
    I often browse through directories using the command line interface. It is sometimes times faster and provides more information than using the GUI. However, many times there are operations that are easier in the GUI. This is why I always loved CMD.exe...
  • Matthew Manela's Blog

    Best Internet Explorer Plug-in

    • 3 Comments
    There are many features which Opera and Firefox (through extensions) have that I can't live without. Features like advertisement blocking, mouse gestures and custom site JavaScript. Internet Explorer doesn't have these features but I found a plugin which...
  • Matthew Manela's Blog

    Who would have thunk it?

    • 1 Comments
    I recently read this article about Lazy Computation in C# . What the article discusses is creating lazy evaluation in C#. Lazy evaluation is a key feature of functional languages like Haskell but is not common in imperative languages. It is used in Haskell...
  • Matthew Manela's Blog

    Did you know.... Generic Methods

    • 1 Comments
    Did you know that you can call a generic method with out supplying the type argument. The C# compiler will fill in the type parameter for you at compile time since the language is strongly typed. static void MyMethod<S>(S myParam) { Console...
  • Matthew Manela's Blog

    Visual Basic .NET Late Binding Explored

    • 3 Comments
    In a previous post I mentioned how Visual Basic .NET's lambda expressions are more fun and easy to use than C#'s. My inspiration for this statement was the fact that in VB .NET you are able to implicitly define a lambda expression in this way: Dim f ...
  • Matthew Manela's Blog

    My attempt at a web comic

    • 1 Comments
    Last year my girlfriend Mallory Emerson drew my attention to a web comic called Dinosaur Comics . It is really funny and inspired me to try to make my own. So while I was in class one day (not the most interesting Information Retrieval lecture) I drew...
  • Matthew Manela's Blog

    Lambda Expressions are more fun in Visual Basic .NET

    • 8 Comments
    I love C# and I would never want to do anything to make it seem any less amazing but I have to give credit where credit is due ... to Visual Basic .NET. Yes, I said it. Both languages have been adding features inspired by the functional and dynamic programing...
  • Matthew Manela's Blog

    Lambda Expressions

    • 1 Comments
    With the release of C# 3.0 and Visual Basic 9, both languages added support for lambda expressions. Lambda expressions form the basis of lambda calculus which (this will seem a bit mathy) is a formal system which is used to explore mathematical and programmatic...
  • Matthew Manela's Blog

    Foray into LINQ

    • 3 Comments
    With the release of .NET 3.5 I started playing around with one of the cool new technologies called LINQ.  LINQ brings SQL like querying syntax for performing operations on data sources like collections into , files or databases into .NET.  The LINQ website...
  • Matthew Manela's Blog

    JavaScript Rich Text Editors

    • 1 Comments
    While in college I worked on several websites for my school ( Binghamton University ). One of my main tasks in developing websites was to create a easy to use system which would let non-developers be able to update and modify web content. I wrote these...
  • Matthew Manela's Blog

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

    • 1 Comments
    I am sure they will be many blogs and articles that will mention the awesome fact that Visual Studio 2008 and the .NET Framework 3.5 have been released. I am also sure most of these posts will go talk about some of the many cool new features in both....
  • Matthew Manela's Blog

    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 faced with a screen which said: Grub Loading Stage 1.5 Error 22 A nice helpful error. Now I was faced with a problem and I needed to figure out how to...
  • Matthew Manela's Blog

    Powerful Visual Studio Add-In

    • 1 Comments
    Visual Studio doesn't seem to get much credit for the power of its extensibility model. When most people think about a IDE with powerful plug-ins they think of Eclipse, which granted, has some incredible plug-ins. However, Visual Studio's add-in model...
Page 5 of 6 (130 items) «23456