Sign in
Matthew Manela's Blog
Options
About
Email Blog Author
RSS for posts
Atom
OK
Search
Tags
C#
Chutzpah
Codeplex
Downloads
F#
Haskell
JavaScript
JQuery
LINQ
MSDN Code Gallery
NuGet
Open Source
Personal
Powershell
Programming
Snippet Designer
testing
Tools
Visual Basic
Visual Studio
Visual Studio 2012
Visual Studio Gallery
Windows
WPF
XAML
Archive
Archives
April 2013
(2)
January 2013
(1)
October 2012
(2)
September 2012
(3)
July 2012
(1)
June 2012
(3)
April 2012
(1)
March 2012
(1)
February 2012
(1)
December 2011
(2)
November 2011
(2)
September 2011
(3)
August 2011
(1)
July 2011
(1)
June 2011
(4)
May 2011
(3)
April 2011
(1)
March 2011
(2)
February 2011
(1)
January 2011
(2)
December 2010
(1)
November 2010
(1)
October 2010
(1)
September 2010
(3)
August 2010
(3)
June 2010
(2)
April 2010
(2)
February 2010
(1)
January 2010
(3)
December 2009
(1)
November 2009
(1)
September 2009
(1)
July 2009
(2)
May 2009
(1)
April 2009
(2)
March 2009
(3)
February 2009
(1)
January 2009
(2)
December 2008
(2)
November 2008
(2)
October 2008
(1)
September 2008
(3)
August 2008
(5)
July 2008
(1)
June 2008
(4)
May 2008
(3)
April 2008
(4)
March 2008
(8)
February 2008
(3)
January 2008
(3)
December 2007
(7)
November 2007
(4)
October 2007
(3)
August 2007
(2)
MSDN Blogs
>
Matthew Manela's Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Matthew Manela's Blog
FastSharp - Write it, Execute it
Posted
over 5 years ago
by
Matthew Manela
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
CollectionView.DeferRefresh() : My new best friend
Posted
over 5 years ago
by
Matthew Manela
2
Comments
Well, maybe not best friend but its a nice function. When working with bound collections in WPF you often end up dealing with a CollectionView . This is the MSDN documentation description of a CollectionView : You can think of a collection...
Matthew Manela's Blog
Converting RTF to HTML
Posted
over 4 years ago
by
Matthew Manela
2
Comments
Have you ever had the desire to convert some RTF text into HTML? Probably not. But if you do, then you are in luck! I recently had the need to do this conversion and after some searching found out a way to do it by enhancing a sample distributed in the...
Matthew Manela's Blog
SQL CE 3.5 with LINQ to SQL
Posted
over 5 years ago
by
Matthew Manela
2
Comments
Using LINQ to SQL with SQL CE 3.5 can be a bit of a challenge. First off, the LINQ to SQL Visual Studio designer doesn't support SQL CE so you need to run sqlmetal from the command line to create the object model (or write it by hand). Once you get past...
Matthew Manela's Blog
Intro to LINQ to SQL Optimistic Concurrency
Posted
over 5 years ago
by
Matthew Manela
After some investigation I feel I have a decent understanding on how LINQ to SQL concurrency works. LINQ to SQL uses optimistic concurrency which means that it never takes an exclusive lock on a table. It caches the information you are working with and...
Matthew Manela's Blog
My attempt at a web comic
Posted
over 6 years ago
by
Matthew Manela
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
Emulating cmd.exe's START command in Microsoft Powershell
Posted
over 5 years ago
by
Matthew Manela
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
Combining Silverlight and JavaScript
Posted
over 5 years ago
by
Matthew Manela
2
Comments
Silverlight 2 is currently in Beta 1 but even in this early stage it has many amazing features. One of these features which I was toying around with today was its ability to integrate with its host page's DOM . What this means is that from Silverlight...
Matthew Manela's Blog
Synchronizing Scrollbars using JQuery
Posted
over 4 years ago
by
Matthew Manela
1
Comments
I just wrote this simple plugin for JQuery which lets you synchronize the scroll bars of any collection of elements. This lets you move the scrollbar of one div it have the scrollbars’ of the rest of the divs move the same exact amount. Here is...
Matthew Manela's Blog
Understanding Variable Capturing in C#
Posted
over 5 years ago
by
Matthew Manela
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
Generic Insert and Update for LINQ To SQL
Posted
over 5 years ago
by
Matthew Manela
2
Comments
Quick code snippet time! The following are generic methods for inserting and updating a detached entity into a database using LINQ to SQL. 1: /// <summary> 2: /// Updates the database with item. 3: /// </summary> 4: /// <typeparam...
Matthew Manela's Blog
How to teach your girlfriend Hexadecimal?
Posted
over 4 years ago
by
Matthew Manela
1
Comments
It is an age old question: How do you teach your girlfriend hex? I encountered this problem when I was a web developer in college for a late night student activities program aptly named Late Nite Binghamton. My co-worker and girlfriend Mallory was a...
Matthew Manela's Blog
The Snippet Designer is Released!!!!
Posted
over 5 years ago
by
Matthew Manela
4
Comments
Some History The Snippet Designer was started as an intern project of mine during the Summer of 2006. The idea was to make snippet files (which were introduced to Visual Studio in 2005) a first class entity. Following this idea I created a Visual Studio...
Matthew Manela's Blog
Digging deeper into C# Lazy Lists
Posted
over 5 years ago
by
Matthew Manela
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
The two most important WPF Tools
Posted
over 5 years ago
by
Matthew Manela
I have been working a lot with WPF and I found the following two FREE tools to be extremely helpful. The first is: XamlPadX - ( http://blogs.msdn.com/llobo/archive/2007/12/19/xamlpadx-v3-0.aspx ) This is an enhanced version of XamlPad which comes...
Matthew Manela's Blog
Breadth First Tree Traversal in Haskell
Posted
over 5 years ago
by
Matthew Manela
1
Comments
As my interest in functional languages has grown, I have become increasingly interested in using them to implement algorithms which I can already write with imperative languages. For example, I was taught to implement (and I assume most other people as...
Matthew Manela's Blog
FastSharp 2.0
Posted
over 3 years ago
by
Matthew Manela
2
Comments
I just released a new version of my FastSharp program. Download it or View the source code This release contains some notable enhancements: Support for multiple languages C# Visual Basic F# Persistence of your current code language and snippet...
Matthew Manela's Blog
DiffPlex 1.0 Released!!
Posted
over 3 years ago
by
Matthew Manela
The DiffPlex ( http://diffplex.codeplex.com ) project is now available on Codeplex ! The DiffPlex project is a combination of a .NET Diffing Library with a Silverlight and HTML diff viewer. It is released open source under the MS-PL license. ...
Matthew Manela's Blog
Prime Factorization using Unfold in Haskell
Posted
over 4 years ago
by
Matthew Manela
3
Comments
I randomly yesterday started thinking about the unfoldr function in Haskell while working out at the gym (how nerdy is that, I am lifting iron but thinking of functional programming). Unfoldr take a single and an unfolding function and turns it into a...
Matthew Manela's Blog
Lazy Prime Number Sieve in C#
Posted
over 5 years ago
by
Matthew Manela
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
Lambda Expressions are more fun in Visual Basic .NET
Posted
over 6 years ago
by
Matthew Manela
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
Converting between RTF to HTML and HTML to RTF
Posted
over 2 years ago
by
Matthew Manela
A while back I posted Converting RTF to HTML which showed how to convert RTF text into HTML markup using the WPF RichTextBox control. Since then I have noticed many posts on forums asking for a free and easy way … Continue reading →
Matthew Manela's Blog
Visual Basic .NET Late Binding Explored
Posted
over 6 years ago
by
Matthew Manela
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
Writing a Regular Expression parser in Haskell: Part 3
Posted
over 5 years ago
by
Matthew Manela
1
Comments
The third module in the simple regular expression parser is called: NFAtoDFA. Which as you might have guessed, takes the NFA that resulted from the first module and converts it into a DFA. The structure that the DFA uses is the same that the NFA uses...
Matthew Manela's Blog
The best game EVER
Posted
over 5 years ago
by
Matthew Manela
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...
Page 1 of 5 (122 items)
1
2
3
4
5