Hi all, dropping off another batch of great F# content today. I’m particularly excited about the WebSharper 2.0 beta. I was talking with Adam and he mentioned that the support for Canvas should allow for great online demos and games written directly in F#.
Also, I wanted to share some great news about the NYC F# User Group: We already have 49 people confirmed for our first meeting! I hope we get a 50th soon, that last digit is driving me nuts!
Audio and Video
TickSpec – BDD for C# & F# & Writing concurrent applications using agents
“TickSpec is a lightweight Behaviour Driven Development (BDD) framework for C# and F#. Specify the behaviour of your system in plain text with the Gherkin business language. […] In his talk Tomas will show us how to implement message passing concurrency in F# using agents (the MailboxProcessor type in F#). In this style of programming, we write an application as a group of agents that run in parallel and communicate by sending immutable messages to each other.”
Joe Duffy: Perspectives on Concurrent Programming and Parallelism
“Joe Duffy spends a lot of time thinking about the future of concurrent programming and parallelism. In his role as Lead Developer in the Parallel Computing Platform team, Joe is the creator of PLINQ and a key contributor to many of the managed (.NET) concurrency incubations happening in and around his broader team.”
Tools
WebSharper 2.0 Beta available
“We are making excellent progress on releasing WebSharper 2.0 in the coming weeks, and have just put out the first beta version of WebSharper 2.0, ready for some public testing and community feedback.”
F# MathProvider
“F# Math Provider wrappers to native Blas and Lapack runtimes for F# users to perform linear algebra easily.”
neuralcryptography – Release: Neural Cryptography 0.0.5
“This release provides the basic functionality that this project was supposed to have from the very beginning: it can hash strings using neural network! Current code works with 8-length strings but network creation function supports any input and output lengths.”
General
Phillip Trelford’s Tic-tac-toe
“Thanks to a recent article by Cameron Taggart it is now possible to Create F# Silverlight Apps from Visual Studio 2010 Shell. This means that you now don’t need to use a C# project to build the XAP file.”
Tomas Petricek’s Asynchronous C# and F# (III.): How does it work?
“Let’s start by looking at the mechanism used in the C# compiler. If you already know how iterators work in C# 2.0, then you’ll find it quite easy to understand.”
Joh’s XNA GS 4.0 + F# 2.0 + Xbox 360 = love !
“It’s the first time I make a Visual Studio extension package, I hope I got it right. It’s available on the Visual Studio gallery. If you try it out, please let me know if it worked for you (or if it did not).”
Vladimir Matveev’s (null : string).GetEnumerator() ?
“Expecting NullReferenceException? Well, time for little dissapointment, because this code will be compiled and executed without any errors.”
Kean Walmsley’s Misusing mutable state with F# Asynchronous Workflows
“Or perhaps the title should really be “why it’s really a good idea to avoid misusing mutable state when using F# Asynchronous Workflows””
Ashley Feniello’s Bowling Kata
“Our team’s been doing Katas to get the hang of TDD. One such kata (calculating bowling scores) struck me as insanely simple with pattern matching in F#:”
Rey Dacoco’s Example #17 (Array.Iter)
“Problem: Make a console application that will convert the following singular nouns to plural. Use Array.Iter:”
Stefano Ricciardi’s Project Euler Problem 14 in F#
“As with many other Project Euler problems, we are requested to generate a sequence (in this case a sequence of “Collatz sequences”) and to single out one item matching a certain criteria.”
Password Generator
“The following application generates random and strong passwords (if you stick with 14+ characters). For strength evaluation, the same algorithm used by Microsoft’s password checker is implemented.”
Lorenzo Stoakes’ F# Rocks
“Rather than go over the slides in detail in this blog post, I am working on a series of posts entitled ‘F# for the Working C# Programmer’ where I will provide a proper tutorial on the language.”
Mark Bloodworth’s A Brief Introduction to F#
“Out guest writer for this issue is Mark Bloodworth, an Architect Evangelist at Microsoft UK, who kindly offered to write a brief introduction to F#.”
WebSharper: Integration with ASP.NET MVC
“With MVC being a server-centric framework and WebSharper being the #1 platform for creating client-based applications, marrying the two can yield a strong synergy.”
Mikael Lundin’s Performance in C# recursion vs. F#
“I did know that the F# compiler pulls some magic tricks with recursion, but I didn’t know that it could affect performance like I’ve recently discovered.”
Community
StackOverflow – FSI.exe does not work under Ubuntu 10.10
“Got quick response from Don Syme. The solution he suggested resolved this issue. I created the answer myself.”
HubFS – Type classes in F#
“After a couple of weeks rushing into a "type class feature in .NET" problem, I can now propose a way to make it possible.”