7sharp9's blog
A cup of tea would restore my normality. - Douglas Adams
agents ast async concurrency csharp elixir elm fable fsharp functional-programming fuse games ios javascript mac mailboxprocessor metaprogramming microsoft mono monodevelop monogame monotouch myriad performance quotations running sockets threading tpl tpl-dataflow typeproviders videos xamarin youtube

© 2011 - 2020 7sharp9

Powered by Hugo with theme Dream.

Monster Zero - Revisited

Monster Zero - Revisited

Wednesday, Jun 5, 2013

@ 7sharp9

This creature is capable of tremendous destruction due to it’s size, flight (with the creature’s wings also generating hurricane strength winds) and possesses several breath weapons (e.g., heat and energy). What am I talking about here? Maybe it’s Monster Zero or King Ghidorah as it’s sometimes known. No it’s TPL Dataflow! Yeah, yeah, I have a penchant for being over dramatic and writing quirky intros. This post is about TPL Dataflow otherwise known as TDF.
Some kind of monster

Some kind of monster

Saturday, Jun 1, 2013

@ 7sharp9

What’s 100 meters high and weighs in at around 60,000 tons? No its not Godzilla, its Reactive extensions! Lately on one of my projects I have been doing a lot of stream manipulation, and although I solved the problem quite easily using F# async workflows, there were other solutions available to help solve the problem. I could of used things like async await, TPL Dataflow(TDF), and Reactive Extensions (Rx). This is going to be a short post on using Rx with F#.
MonoTouch and F# part II

MonoTouch and F# part II

Thursday, Feb 7, 2013

@ 7sharp9

In the last post we left at the point where everything was running fine and dandy on the Simulator. So what happens if we compile for the real hardware? Lets change the active configuration to Debug|iPhone and hit build, what do we get?Boom! Error MT2002: Could not resolve: FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (MT2002) (singleview) So I guess we need to tell it where the FSharp.Core.dll is, lets add a reference to it:
MonoTouch and F# part I

MonoTouch and F# part I

Sunday, Feb 3, 2013

@ 7sharp9

MonoTouch and F# that would be a cool duo right? Well let me explain what needs to be done and why to get this pair working together. I heard rumours a while ago that F# and MonoTouch would not play together nicely because of limitations in the ahead of time compilation (AOT). So I thought I would either prove or disprove this with some concentrated hacking. How hard can it be?
MonoGame subdivision and platonics

MonoGame subdivision and platonics

Friday, Jan 4, 2013

@ 7sharp9

I’ve been on a bit of a break from my normal jovial self due to a shit storm of bad stuff happening that I wont go into here, but hopefully this years going to be awesome. Anyway, here’s the next exciting installment in my series on MonoGame. (Well I find it exciting anyway :-) ) If you remember back to the last post I mentioned the platonic solids, and we created and rendered the tetrahedron, lets recap on what the five solids are:
MonoGame 3D basics

MonoGame 3D basics

Sunday, Nov 25, 2012

@ 7sharp9

This time we are going to get into a little bit of code and produce the simplest of all 3d solids, the tetrahedron. I know its not the most exciting of things but we have to start somewhere. The scope of 3D graphics in computers is so vast that its very easy to get lost in the vast piles of research papers.First lets do some basic setup, if you followed my last post then you will will have a project template to use, this makes this a little easier.
F# and MonoGame on the Mac

F# and MonoGame on the Mac

Sunday, Nov 11, 2012

@ 7sharp9

What we are going to do in this post is take a whistle stop tour of getting MonoGame up and running along with a simple demo in F#. Over the last few days I have been building an F# project template for MonoDevelop, this post will also how to get that installed too. First of all I’m going to assume that you have the following installed: Mono 3.0 beta MonoDevelop MonoDevelop F# language binding If you don’t have a look at my previous post that explains all that, if you don’t want to build the F# binding from source then you can use the Add-in Manager.
F# 3.0 In The Mac And Mono World

F# 3.0 In The Mac And Mono World

Saturday, Nov 3, 2012

@ 7sharp9

So what have I been up to lately? Well, lots of different things. I have been taking it easy on the open source and blogging side of things as its been a hectic time of late in my personal life. This seems to be changing now so I’m starting to get all of the ideas spinning around in my head into physical reality, or virtual reality, or what ever you want to call it.

About Me

Hi, my name is Dave Thomas and Im a software engineer from the Uk. I work primarily in F# but also like to tinker with pretty much any interesting language. Im drawn to more functional languages like F#, Swift and Rust.

Have questions or suggestions? Feel free to ask me on Twitter.

Thanks for reading!

Dave Thomas