Skip to content

xunit

These are the stories that have been posted to the xunit category.

Code Camp Hartford 2 Presentation – F# for Testing and Analytics (June 13th)


Published to Rick Minerich's Development Wonderland by Richard Minerich June 12, 2009 19:22

I will be speaking at tomorrow’s Code Camp Hartford 2 on the topic of using F# for the Testing and Analysis of existing code. This talk will be composed of much of the same material I used at Code Camp Waltham 11, although I will be preparing additional introductory material as many of my Waltham attendees had no prior exposure to F#. 

I hope the audience will find this new introduction short and sweet.  In this case my goal will not be to teach F# per se, instead I would like to impress upon the audience the power of using functional programming constructs.

 

Presentation Details

F# for Testing and Analytics will be held in Room E-Echo at 10:30am.

As I often like to make changes up to the last minute, this post will be updated with my slides after the presentation. Slides are now available here.

 

The Plan

For more information, see my post on the Code Camp Waltham 11 Presentation.  I wrote quite extensively in that post on most of the things I will be discussing in this talk.

F# Discoveries This Week 03/26/2010


Published to Rick Minerich's Development Wonderland by Richard Minerich March 26, 2010 16:47

A ton of new posts this week, far too many to enumerate.  My “Favorite New F# Blogger of the Week” (seems like this is becoming a trend) is the mysterious Neil of Techneilogy.  I’ve been enjoying his honest exploration of F# and semantic networks very much.

Also, I’ve been hanging around in the ##fsharp channel on irc.freenode.net a bit.  There’s a bunch of great people there, some of whom are already using F# at work and are eager to talk about it.  Check it out if you have the inclination.

 

Chris Smith’s Writing a StarCraft Bot in F#

We now have all the pieces in place, but creating an AI-bot for a program not meant to be extended will be tricky. StarCraft Bot 9K has the following architecture, which follows the footsteps of the Java ProxyBot available on the AIIDE Website.

 

Don Syme’s Video Introductions to F# C9 Series

Who better to lecture on the topic than Don? This three part series will serve as an introduction to F#, including insights into the rationale behind the history and creation of Microsoft’s newest language.

 

Luca Bolognese’s Tracing spread trades in F# parts one (XUnit and FsCheck) and two (WPF and MVVM).

I have a bunch of spread trades open. Spread trades are trades where you buy something and you sell something else generally in the same amount. You hope to profit from the widening of the spread between the price of the two instruments.

 

Robert Pickering’s #Develop, F# and Google Summer of Code

Chris told me one area they are interested in extending is the F# integration into #Develop; particularly they’d like to get the auto-completion working. So if you’re a CS student on the lookout for a summer job, you could end up being paid by Google to work on F#!

 

Robert Pickering’s Beginning F# Workshop and Progressive.Net

I’ll in London on the 10th/11th May giving a two day course entitle “Beginning F# Workshop” in conjunction with the lovely folks at Skills Matter.

 

Edinburgh University’s Advances in Programming Languages Course, Lecture 19: Heterogeneous Metaprogramming in F#

General overview of metaprogramming, with a range of examples in different languages ranging from C macros through Java reflection to MetaOCaml. Brief summary of the F# language, its history, features, and upcoming release in VS 2010.

 

Matt Moloney’s Dynamically extending applications using MEF and the new F# CodeDom.

I wrote this little applet to see what the combination of MEF and the F# CodeDom would look like, and for the record it looks really really good.  This combination opens a whole lot of doors. By using the F# CodeDom the plugin source code can brought in from anywhere;

 

Julien Ortin’s Technical analysis indicators in F# – Momentum

This is part of a series on technical analysis indicators in F#, based on the multi-language TA-Lib.

 

Vladimir Matveev’s Solving Python Challenge with F# – The Chronicles

WARNING!!! If you are going to pass through the Python challenge then stop reading this post, cause it contains solution to 24 level.

 

Vladimir Matveev’s Data structures: Finger Tree (Part 1.5)

Last time we stopped on “immutable deque” stage. Today we will explore a few additions that can endow deque with super (hmm..human/deque?) powers.

 

Vladimir Matveev’s Fun with recursion

Recursion is an extremly useful tool in the toolbox of every developer. Many problems have recursive nature and thus best solved with recursion. Tree-like stucture is a very nice candidate for demonstration.

 

Vladimir Matveev’s F# and WPF or how to make life a bit easier

Not so long ago I was working of small F# script (excellent feature BTW) that performs some data processing and displays summary (using WPF)at the end. All the WPF samples I met in the web utilize object model to create UI, but let's make a confession: making relatively complex UI with object model sucks.

 

Phillip Trelford’s F# Agents and Retlang: quick comparison

Erlang style message passing is a great way of simplifying concurrency. The open source Retlang library aims to bring some of the benefits to .Net languages like C# and VB.Net. Whereas F# has built-in message passing support with the MailboxProcessor also referred to as Agents.

 

Neil’s Recap of Tiny Expert System and Next Step in the Tiny Expert System?

Before I move on, let me post a re-do of the the original lazy-evaluated style tiny expert system, incorporating all I've learned about F# over the last couple of weeks.

 

Neil’s Refined Semantic Network, Data-Driven Semantic Network, Latest Semantic Net Experiment, Yet Another Semantic Network and Semantic Net Search 0.1

Continuing on the path of using classic A.I. tutorial examples to teach myself F#, here is an example using semantic networks. So I created a system in which basic semantic nodes and links can be reified into object instances.

 

Neil’s Search Using Continuations and Improved Continuation Search

This one returns a list in the right order, and the example shows how to detect circularities. It's a little tricky; the tail recursion involves both a direct tail recursion and a continuation that results in a tail call. I had to run tests to convince myself it really wasn't eating up the stack, lol.

 

Oliver Strum’s DevWeek 2010 Slides and Samples

Last week I was down in London and spoke at DevWeek 2010. As usual, it was a great conference! Thanks to everybody who attended my talks!

 

Can Erten’s Happy Pi Day and Monte Carlo Method

Calculating Pi is generally the hello world of Monte Carlo Method in Stochastic Calculus. So for today, I will try to give a sample calculation of pi as monte carlo in F#.

 

Ade Miller’s NBody.net F# Integrators Code Available

A Forward Euler integrator and a wrapper for it which implements a Barnes-Hut tree code. I’ve blogged about this before. It’s an Octree implementation in F# which uses the asynchronous computations feature to scale across multiple cores.

 

Matt Davey’s F# and XSD.EXE

Which, thanks to Luke over on the F# Visual Studio team, means I can do this: […] Which now means I can stop hand crafting FpML types in my F# cashflow code.

 

Ebru Cucen’s F# Samples

If you had the chance to start playing with F#, here are some nice challenges  for you. If not you may want to look at from where to start.

 

Daniel Mohl’s Code Kata and Project Euler - Problems One and Two,

See also: Mike Robert’s solution to problem one and Steffen Forkmann’s solution to problem two.

Recently, I've been thinking about the concept of Code Kata and the personal improvement that this type of practice can bring.  I started thinking of types of exercises that I could do to utilize this concept.  After looking around on the web, I landed on projecteuler.net and found that the problems listed seemed to fit my agenda perfectly.