Writing functional code in C++ IV – Algebraic datatypes
And here comes the guilt bit. I have the strong suspicion (but not certainty) that what I am doing here can be done with templates, but didn’t take the time to do it. With that out of the way, let’s go....
Categories: News
F# solutions to Google CodeJam 2012 Qualification Round Questions
Problem A. Speaking in Tongues The problem is here. Problem B. Dancing with the Googlers The problem is here. Problem C. Recycled Numbers The problem is here. Enjoy! Tweet
Categories: News
Back to the Primitive II
In the last post I discussed an asynchronous version of the ManualResetEvent and as promised this time we will be looking at an...
Categories: News
Monopoly House Party is live!
Our brand new slots ‘Monopoly House Party’ is now live on Lucky Gem Casino! Great work by everyone involved at GameSys, the artwork is quite stunning and it’s quite easily the best looking slots game I’ve seen. You can collect houses, railroads, electric and water works during the main game and...
Categories: News
Writing functional code in C++ III – Performance of different allocation schemes
Now we know how to represent records and we know how to operate on them using a nice F# like syntax. But how do we store our record in a data structure in the first place?...
Categories: News
F# and SharePoint 2010 Object Hierarchy/Properties
I had the opportunity to take a SharePoint 2010 class recently. In the class, the labs were mostly a cut and paste affair...
Categories: News
F# in Academia: Present at upcoming events!
The F# language was born as a combination of the pragmatic and real-world .NET ...
Categories: News
What Microsoft MVP means to me
It wasn’t long after college that I found myself blogging about the technology I was using on a regular basis. I have pretty good writing skills and am damn good with the code so soon after I was easily breaking 10K hits per post. Having a platform to share my ideas and knowledge was...
Categories: News
Writing an x86 JIT compiler
The F#.NET Journal just published an article about metaprogramming:"F# comes from the MetaLanguage or ML family of languages that were specifically designed for metaprogramming, a subject that includes writing interpreters, compilers and theorem provers as well as tools that manipulate programs...
Categories: News
Git: create a tag on a (remote) branch
You can create a tag on the local branch and you must push the tag to the remote. Command line > git tag … > git push --tags TortoiseGit Create tag set tag name set tag/branch/version enter message Sync/Push Select Push tags instead of Push button in the dropdown Git Extensions Browse...
Categories: News
Back to the Primitive
In this post we are going back to the primitive. No it’s not about the same named song by Soulfly, (which incidentally does contains F# notes) but a return...
Categories: News
F# Event Madness, Spring 2012 Edition
Upcoming Speaking Engagements: I’m very excited to be giving the Keynote at the first Great Lakes Functional Programming Conference, I’d suggest signing up but it’s already sold out! I’ve spent a ton of time over the last few months helping put together the first ever F#...
Categories: News
Skilled pseudo-science and its intersection with technology
More and more people are presenting the same pseudo-scientific study regarding the popularity of F#. They begin by drawing a diagram like this to show the relative sizes of the pools of C# and F# developers:Maybe there are 3,000,000 C# developers and only 30,000 F# developers...
Categories: News
Letter on investing
In 2007 I wrote a blog post on investing. During the last five years, my view evolved a bit. People often ask me how to get a financial education. This is the latest email I sent on the topic....
Categories: News
infinite lazy-lists and folding them in f#
On key-feature in Haskell is it’s laziness, meaning that it does it’s evaluations in normal-order (an expression is evaluated when the value is needed). F# on the other hand uses applicative evaluation (for example: parameters to a function are evaluated … Continue reading →
Categories: News
Codemania: How to not write a for loop
It was great to see so many Mindscape customers at Codemania. We were proud to sponsor the first Codemania and it looks like everyone is looking forward to another one next year!...
Categories: News
F# solutions to Google CodeJam 2010 Qualification Round Problems
I found out about Google CodeJam the other day, and looking at their info page, there’s a number of interesting problems you can solve as practice for the real thing coming up, and here are my F# solutions to the qualification round questions from the 2010 event, enjoy Problem A. Store Credit...
Categories: News
Writing functional code in C++ II – Function composition
Function composition is at the core of functional programming. You start by being very confident that certain very small functions are correct, you compose them in well known ways and you end up being very confident that your final program is correct....
Categories: News
5 1/2 F# features every C# programmer should lust after
C# is a great programming language, but there’s still a bevy of features in other programming languages that I often wish were in C#. I’m doing quite a bit of work in F# nowadays, and I thought it would be fun to jot down a few F# features that I really miss when I come back to C#....
Categories: News
Bug of the Day: "TH".StartsWith "Þ" = true
A coworker was puzzled when he tracked down this bug today. If you look up the letter Þ, it is the thorn letter and it sounds like ‘th’. It came as as a surprise that “TH”.StartsWith “Þ” = true. The reason it is true is that String.StartWith uses StringComparison.CurrentCulture. The solution was...
Categories: News