John Reynolds's blog articles

0
comment
on 6/10/2014 1:27 PM
When you’re playing with the sort of big integers used in, for example, cryptography, 64 bits just aren’t enough. In this post, I’ll compare and benchmark some of the alternatives that take .NET numerics beyond 64 bits. The benchmark results turn out to be a tale of the unexpected, to paraphrase Roald Dahl. The test […]
>> Read the full article
.
0
comment
on 11/7/2013 6:11 PM
If you retarget an F# 3.0 project to F# 3.1 in Visual Studio 2013, you might end up with a System.MissingMethodException when you rebuild an run your project. This is because you need to manually update the App.config file after you retarget to F# 3.1. In your App.config, you’ll probably find a runtime tag looking something […]
>> Read the full article
.
0
comment
on 7/10/2013 9:57 AM
Inspired by Dmitry Morozov’s MVC series (among the best F# articles I’ve ever seen!), I wanted to extend his data binding DSL to allow the setting of binding properties individually for each model property. The end result I was after, was to be able to write binding expression quotations like <@ view.Control.LastName.Text <- model.LastName |> [...]
>> Read the full article
.
0
comment
on 9/11/2012 5:54 AM
The producer-consumer pattern allows a producer thread to generate data (e.g loaded from disk or read from a web site) and put in a queue, concurrently with a thread that consumes the data from the queue. A typical application of this is the processing of multiple disk files. When done in a single threaded, sequential [...]
>> Read the full article
.
0
comment
on 11/14/2011 1:24 PM
If you google for methods of detecting the cpu architecture, you’ll find lots of pages about how to use WMI and ManagementObjectSearcher. This is an immensely slow operation which takes more than a second to complete (at least when I’ve timed it on a 2.8 GHz 4 core machine), so don’t use it. A quicker [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper