May 2011 Entries

Workflow 4.0.1 StateMachine - Youve got to work to make it flow!

Getting Started System Requirements · Install the following prerequisites: o VS2010 sp1 - Microsoft Visual Studio 2010 Service Pack 1. o Multi-Targeting Pack for Microsoft .NET Framework 4 Platform Update 1 (KB2495638) http://support.microsoft.co... o runtime update (KB2478063) http://www.microsoft.com/do... · Set the Target Framework - project > Properties > Application tab – set the project's target framework is .NET...

Posted On Monday, May 30, 2011 11:33 AM | Feedback (0)

Entity Framework 4.1 Code First – Mapping Enums to Lookup Tables

This afternoon I Built a mechanism for mapping Enums to Lookup Tables in EF Code First - using complex types and implicit operators. The steps are as follows: Step 1 – the Enum // Avoid 0 values – SQL INT default value public enum JobInstanceStateEnum : int { Ok = 1, MissingResources = 2, DataFailure = 3, Aborted = 4 } Step 2 – the POCO for generating the Lookup Table // As we are using id as FK, and it must match the enum, overide convention of identity keygen public class JobInstanceStateLookup...

Posted On Wednesday, May 18, 2011 3:57 PM | Feedback (6)

Maths and Markets

I recently read an informative and succint book - A mathematician Plays the Market, by John Allen Paulos. Heres my summary of key points: Behavioral finance · Anticipating other's anticipations · A trading strategy can yield the illusion of effectiveness, when only chance is at work. · Keynes - short-term investors anticipate what average opinion expects the average opinion to be. · Distinction between being smart & rich, and distinction between being right & being right about the market....

Posted On Wednesday, May 11, 2011 5:24 AM | Feedback (0)

Copyright © JoshReuben

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski