John Reynolds's blog articles

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
.
0
comment
on 10/15/2011 6:30 AM
I couldn’t find any decent .NET platform target compatibility chart, so I made one: It’s all rather self explanatory. Green combinations, like an “Any CPU” exe file and an x86 DLL on a 32-bit OS, are compatible. Red are incompatible. The Combined Chart shows which combinations are red or green on both 32- and 64-bit [...]
>> Read the full article
.
0
comment
on 3/11/2011 4:31 PM
Ever had to access or set the RSAParameters structure’s fields? Well, if you do, you will find that the MSDN documentation on them doesn’t specify their endianness (byte order). Googling isn’t too helpful either, as I found different sources claiming different endianness. So, I wrote a little test in F# that shows that the RSAParameters [...]
>> 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