Browse by Tags

Tagged Content List
  • Blog Post: .Net Implementation of a Priority Queue (aka Heap)

    I thought I would take a break for a while from Hadoop and put together an F# .Net implementation of a Priority Queue; implemented using a heap data structure. Conceptually we can think of a heap as a balanced binary tree. The tree will have a root, and each node can have up to two children; a left and...
  • Blog Post: Framework for Composing and Submitting .Net Hadoop MapReduce Jobs (Archived)

    An updated version of this post can be found at: http://blogs.msdn.com/b/carlnol/archive/2012/04/29/generic-based-framework-for-net-hadoop-mapreduce-job-submission.aspx If you have been following my blog you will see that I have been putting together samples for writing .Net Hadoop MapReduce jobs;...
  • Blog Post: Hadoop Streaming in F# and MapReduce (summary)

    With all my recent posts around Hadoop Streaming I thought it would be useful to summarize them into a single post. The main objective of these posts was to put together a codebase to enable F# developers to write Map/Reduce libraries through a simple API. The full code posting can be found here: http...
  • Blog Post: FSharpChart for Valentines Day

    As I have not posted anything about FSharpChart for a while I thought I would do a quick post, one that befits Valentines Day: Plotting the heart was surprisingly easy to do: [ for x in -1.1 .. 0.001 .. 1.0 do      let y1 = abs(x)+sqrt(1.0-x**2.0)      let y2 = abs(x)-sqrt(1.0-x**2.0)      yield (x,...
  • Blog Post: Hadoop XML Streaming and F# MapReduce

    So, to round out the Hadoop Streaming samples I thought I would put together an XML Streaming sample. As always the code can be found here: http://code.msdn.microsoft.com/Hadoop-Streaming-and-F-f2e76850 XML Streaming Reader So how does one stream in XML? If you read the Hadoop Streaming documentation...
  • Blog Post: A lazy evaluation of F# Seq.groupBy for sorted sequences

    In doing some recent work with Hadoop I needed to process a sequence which was grouped by a projected key. Whereas the Seq.groupBy can perform this operation, the Seq.groupBy function makes no assumption on the ordering of the original sequence. As a consequence the resulting sequence is not lazily evaluated...
  • Blog Post: Hadoop Binary Streaming and PDF File Inclusion

    In a previous post I talked about Hadoop Binary Streaming for the processing of Microsoft Office Word documents. However, due to there popularity, I thought inclusion for support of Adobe PDF documents would  be beneficial. To this end I have updated the source code to support processing of both...
  • Blog Post: Hadoop Binary Streaming and F# MapReduce

    As mentioned in my previous post Hadoop Streaming not only supports text streaming, but it also supports Binary Streaming. As such I wanted to put together a sample that supports processing Office documents; more on support for PDF in a later post. As always the code can be downloaded from: http:...
  • Blog Post: MapReduce Tester: A Quick Word

    In my previous post I talked a little about testing the Hadoop Streaming F# MapReduce code; but it is worth saying a few words about the tester application. The complete code for this blog post and the F# MapReduce code can be found at: http://code.msdn.microsoft.com/Hadoop-Streaming-and-F-f2e76850 As...
  • Blog Post: Hadoop Streaming and F# MapReduce

    And now for something completely different. As you may know Microsoft has recently announced plans for a Hadoop adoption for both Windows Server and Windows Azure . You can find out more about Hadoop and Windows Azure at Apache Hadoop-based Services for Windows Azure and Availability of Community...
  • Blog Post: F# Project and Item Templates (revised)

    Over the past few months I have posted up a few Project and Item Templates for F#. Here is a quick summary of those templates. The Project Templates include: WPF Project WinForms Application Console Application Windows Service F# Class Library These Project Templates install the following Item Templates...
  • Blog Post: F# WPF Project Template

    This template is for a basic F# Windows Presentation Foundation (WPF) project. This template can be found on the Visual Studio Gallery: http://visualstudiogallery.msdn.microsoft.com/33dab4ce-62b8-419e-8072-92bc88556f78 When the template is installed you get the following template added to your...
  • Blog Post: F# Dynamic Lookup Operator and Regex

    In a recent post I talked about using String.forall for string matching over the use of Regex: http://blogs.msdn.com/b/carlnol/archive/2011/10/20/f-string-extension-methods-rather-than-using-regex.aspx I do however use Regex a lot for other types of processing. One thing I find myself doing a bit is...
  • Blog Post: F# Parallel Execution and Future Tasks

    In a previous post I talked about some options around performing parallel executions by providing some wrappers that allowed a collection of functions to be executed in parallel: http://blogs.msdn.com/b/carlnol/archive/2011/07/17/f-and-running-parallel-tasks.aspx However there is another approach one...
  • Blog Post: FSharpChart minor release available (version 0.56)

    The new version of FSharp.Chart (formely FSharpChart) can now be found on GitHib at: http://fsharp.github.io/FSharp.Charting/ I have provided a minor update to FSharpChart, which can be downloaded from the usual place: http://code.msdn.microsoft.com/FSharpChart-b59073f5 This is a minor release...
  • Blog Post: F# String extension methods rather than using RegEx

    In my previous post I talked about some extension methods for string checking: http://blogs.msdn.com/b/carlnol/archive/2011/10/19/string-extension-methods-rather-than-using-regex.aspx But what would be a post if there was not a F# equivalent. Interestingly the ability to perform checks on each character...
  • Blog Post: FSharpChart now available as a NuGet Package

    The new version of FSharp.Chart (formely FSharpChart) can now be found on GitHib at: http://fsharp.github.io/FSharp.Charting/ In the latest version of FSharpChart a DLL is packaged with the download. It was suggested that this be made available as a NuGet Package. Hence one can now include FSharpChart...
  • Blog Post: FSharpChart and WPF

    The new version of FSharp.Chart (formely FSharpChart) can now be found on GitHib at: http://fsharp.github.io/FSharp.Charting/ In the recent version of FSharpChart several examples are given around using FSharpChart and Windows Presentation Foundation (WPF). The first sample is included in the sample...
  • Blog Post: FSharpChart new release available (version 0.55)

    The new version of FSharp.Chart (formely FSharpChart) can now be found on GitHib at: http://fsharp.github.io/FSharp.Charting/ If you have been using FSharpChart you will have seen some recent activities around documentation. I am happy to say that a new code drop has been made available. This release...
  • Blog Post: F# Parallel Array Sorting

    In previous posts I have presented code to perform Parallel Sorting of arrays using 2 different methods: Merge sort using Barrier: http://blogs.msdn.com/b/carlnol/archive/2011/07/17/f-array-parallel-sort-functions-demonstrating-a-merge-sort-using-barrier.aspx Quicksort: http://blogs.msdn.com/b/carlnol...
  • Blog Post: FSharpChart Documentation Now Available

    The new version of FSharp.Chart (formely FSharpChart) can now be found on GitHib at: http://fsharp.github.io/FSharp.Charting/ Tomas Petricek and Jon Skeet have produced a great MSDN Library set covering “Real World Functional Programming”: http://msdn.microsoft.com/en-us/library/hh314518...
  • Blog Post: Creating F# FSX Script Files from FS Source Files

    As you may know over the past few months I have been doing some work on FSharpChart. One of the source code changes that has been implemented over this time is the breakdown of the original single FSX script file into more manageable FS source files. However in doing this I was left with the need to...
  • Blog Post: FSharpChart and consuming within a WinForms application

    The new version of FSharp.Chart (formely FSharpChart) can now be found on GitHib at: http://fsharp.github.io/FSharp.Charting/ In all the previous discussions around FSharpChart, samples have been shown within F# Interactive. I wanted to spend a few moments and demonstrate how FSharpChart can be consumed...
  • Blog Post: F# Project and Item Templates

    Over the past few months I have posted up a few Project and Item Templates for F#. Here is a quick summary of those templates. Windows Console Application The template can be found on the Visual Studio Gallery: http://visualstudiogallery.msdn.microsoft.com/031891a9-06c3-47db-9c7d-8c9d4a32546a...
  • Blog Post: F# Parallel Processing and the Command Pattern

    In a previous post I talked about a mechanism for Parallel Process Execution with Conditional Completion . This code was a direct translation from a C# pattern. However it is worth noting that the Command pattern is not actually necessary in functional languages. To demonstrate this here is a version...
Page 1 of 2 (29 items) 12