vote up
0
vote down

F#: Shocking The Forecast

As I sit here on the train I release that my late night coding meant that I missed shocking the forcast. The following code corrects last nights mistake: let valueDate = new DateTime(2010,1,1) let trade = createIRSTwoLegTrade 101 let npv = [...]
 
Matt
Mar 12 2010 04:49 PM
vote up
0
vote down

ASP.NET MVC 2 Released

I’m happy to announce that the final release of ASP.NET MVC 2 is now available for VS 2008/Visual Web Developer 2008 Express with ASP.NET 3.5.  You can download and install it from the following locations: Download ASP.NET MVC 2 using the Microsoft
 
ScottGu
Mar 12 2010 11:32 AM
vote up
0
vote down

WikiPlex v1.3 Released

[In addition to blogging, I am also using Twitter. Follow me: @matthawley]   It's been a many months since the last release of WikiPlex, but its only because there hasn't been a lot of churn recently.  I've very happy where WikiPlex is at, and
Mar 12 2010 08:18 AM
vote up
0
vote down

F#: Parallel PV01 Using List.map

Moving on from the previous NPV calculations, I now need to shock the curve, recalculate NPV and thereby calculate Parallel delta or Parallel PV01. Shocking the curve means adding 100th of 1% to each point on the curve, which I can do fairly easily with
 
Matt
Mar 12 2010 04:24 AM
vote up
0
vote down

Quirks in .NET – Part 3

In Quirks in .NET – Part 2, we looked at marshaling Booleans to Win32 and COM. Now, let’s talk about numbers and binary.
Mar 11 2010 10:02 PM
vote up
0
vote down

VS2010: Where is F# Refactoring?

Lack of refactoring tools for F# is a serious impediment on the F# road
 
Matt
tags: .net
Mar 11 2010 09:44 PM
vote up
0
vote down

F#: PSeq.sumBy, What’s Gone Wrong?

As per my previous blog posting, I have cashflow generation and hence NPV being calculated for my IRS rate. I’ve move from a List to a Seq for storage of the InterestRateStream’s. Primarily this move was so that I could take advantage of
 
Matt
tags: .net
Mar 11 2010 07:12 PM
vote up
0
vote down

F#: Market Risk – Fixed/Floating Cashflows

I’ve now got cashflow generation for both legs (see below). I think the Days360 function is slightly different to Excels hence the slight difference in number compared to the original XLS I previous posted. Next things to do are to parallel compute
 
Matt
Mar 11 2010 03:20 PM
vote up
0
vote down

StreamInsight: ApplyWithUnion – Nested Members

ApplyWithUnion is quite a useful method to aggregate groups of data that has been generated by a group by clause. Payload is a composite type that includes all the payload fields of the event. If you want to return the payload, don’t refer to the
 
Matt
tags: .net
Mar 11 2010 01:37 PM
vote up
0
vote down

F#: Market Risk Cashflow Building

Overnight I managed to get the fixed leg cashflows generating using a recursive F# function. The signature of the method is shown below. I suspect there are some improvements I can make over the next few days, but at least for the time being the sum of
 
Matt
tags: .net
Mar 11 2010 01:00 PM
vote up
0
vote down

Microsoft Silverlight Analytics Framework

This looks very useful from an Single Dealer Platform (SDP) perspective – new extensible framework for integrating web analytics into Silverlight applications.
 
Matt
tags: .net
Mar 11 2010 11:03 AM
vote up
0
vote down

Extending WikiPlex with Scope Augmenters

[In addition to blogging, I am also using Twitter. Follow me: @matthawley]   This post is long overdue, but as I'm preparing the v1.3 release of WikiPlex and working on documentation (yes, I did say documentation) I realized that another extension
Mar 11 2010 07:06 AM
vote up
0
vote down

F#: The type ‘unit’ does not match the type ‘float’

F# error error message are somewhat painful. “The type ‘unit’ does not match the type ‘float’” tuned out to require me to add an else statement to the code I had written. Still not sure why, but at least it complies now
 
Matt
tags: .net
Mar 11 2010 04:41 AM
vote up
0
vote down

My program at #MIX10

Getting ready to fly to Vegas and MIX10 is really an exciting time! It is also a very busy time, because we are working on a few projects that will be shown on stage, I have my presentation to prepare, and of course as always the book… though these days
 
Laurent Bugnion
Mar 10 2010 11:58 PM
vote up
0
vote down

F#: Discriminated Unions

I’ve managed to move on somewhat with my F# Market Risk Proof Of Concept (POC). I’ve attached some of the code below. The issue I ran into last night and this morning during train travel was with discriminated unions – which I use for
 
Matt
tags: .net
Mar 10 2010 07:56 PM
vote up
0
vote down

SilverTile needs your help!

A few days ago I discovered a very interesting project. Ryan Corradini has a project named Canvassa that is a HTML5/Canvas based Zelda clone. He does more or less the same thing I do with SilverTile but his approach is quite different. His blog is quite
Mar 10 2010 07:10 PM
vote up
0
vote down

FluentPath: a fluent wrapper around System.IO

.NET is now more than eight years old, and some of its APIs got old with more grace than others. System.IO in particular has always been a little awkward. It’s mostly static method calls (Path.*, Directory.*, etc.) and some stateful classes
 
Bertrand Le Roy
Mar 10 2010 03:37 PM
vote up
0
vote down

MessagingToolkit MMS is released

Now you can send and receive both SMS and MMS starting release 1.1. MMS can be sent using the built-in MMS slide feature, or you can build the MMS message yourself. You can also save the MMS file to be sent out later. The software is available at
 
admin
Mar 10 2010 01:32 PM
vote up
0
vote down

Debugging .Net framework source code within Windbg

One the coolest thing Microsoft did was to release the .NET Framework source code. In this post, I am going to demonstrate, how we could have a break-point on the .NET framework source code by line numbers ,using Windbg ,very similar to doing in
 
Naveen
Mar 10 2010 11:25 AM
vote up
0
vote down

Silverlight 4, MEF and the DeploymentCatalog ( again :-) )

The Silverlight 4 beta came with a version of MEF that had 3 catalogs – namely AssemblyCatalog, TypeCatalog and AggregateCatalog . They’re pretty easy to understand and I made a screencast on the topic here . The Silverlight 4 preview toolkit came with a
Mar 10 2010 06:57 AM
vote up
0
vote down

.Net, Native, P/Invoke marshaling just like magic… “Marshaling with C# Pocket Reference” (Think “Marshalling Guide for the Busy Dev Guy”)

Just Like a Magic - Marshaling with C# Pocket Reference “… Contents at a Glance About the Author Who should read this book? Chapter 1: Introducing Marshaling Chapter 2: Marshaling Simple Types Chapter 3: Marshaling Compound Types Chapter 4: Marshaling
tags: .net
Mar 10 2010 01:25 AM
vote up
0
vote down

F#: Modelling An Interest Rate Swap (IRS) Trade Using FpML 5.0

I want to take the previous blogged Market Risk IRS trade to the next level, and move from Excel to a real calculation engine. To aid this I need to model a trade. I was going to start with auto-generating C# code from FpML, but I though it would be more
 
Matt
Mar 09 2010 10:26 PM
vote up
0
vote down

Automated “Unit” Testing – It’s Not Just for TDD, It’s for Bug Fixing Too!

Disclaimer – What I’m discussing here isn’t unit testing (hence the quotes), it’s more functional or integration testing; but as the term “Unit Testing” is often “abused” to mean “anything that uses a (unit) testing framework” so I’ve included it in the
 
srobbins
Mar 09 2010 07:06 PM
vote up
0
vote down

Debugging unknown termination of adplusmanager.exe – Windbg

With the latest release of debugging tools (6.12.0002.633) comes AdplusManager.exe ,which is in managed code. The adplusmanager.exe is a tool to manage multiple instance of adplus running across in different machines. Essentially a Master to control
 
Naveen
Mar 09 2010 07:56 AM
vote up
0
vote down

Fixing a bug in ASP.NET Ajax and the pain of leaky abstractions

There was a time when all my energies and effort went into building web applications. In the beginning the platform I was on was Microsoft ASP 2.0, but since 2002 it became all about ASP.NET Web Forms. I still remember clearly the excitement there was
 
Enrico Campidoglio
Mar 09 2010 07:14 AM
vote up
0
vote down

Some VS 2010 RC Updates (including patches for Intellisense and Web Designer fixes)

[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] We are continuing to make progress on shipping Visual Studio 2010.  I’d like to say a big thank you to everyone who has
 
ScottGu
Mar 08 2010 02:19 PM
vote up
0
vote down

A few announcements for those in the UK

[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] This a quick post to announce a few upcoming events for those in the UK. I’ll be presenting in Glasgow, Scotland on March 25th
 
ScottGu
Mar 08 2010 01:07 PM
vote up
1
vote down

VS 2010 / .NET 4 Release Candidate

[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] This afternoon we made available the VS 2010 and .NET 4 release candidates.  You can find download links here. Right now
 
ScottGu
Mar 08 2010 10:40 AM
vote up
0
vote down

MVVM for Dummies

I think that I have found one of the best articles on MVVM that I have ever read: http://jmorrill.hjtcentral.com/Home/tabid/428/EntryId/432/MVVM-for-Tarded-Folks-Like-Me-or-MVVM-and-What-it-Means-to-Me.aspx This article sums up what is in MVVM and what
 
Martin Hinshelwood
Mar 08 2010 08:13 AM
vote up
0
vote down

Lifting the .NET Hood – Part 1 – Generics

I have started this series of posts dedicated to exploring the internals of the .NET framework and runtime. To get started on probing of internals of .NET, we need a debugging extension called SOS (Sons of Strike). Visual Studio comes packaged with this
 
Ganesh Ranganathan
Mar 08 2010 03:58 AM
vote up
0
vote down

UPDATE: Writing Fluent APIs in C#: Comparing Dates Fluently

I posted a C# version HERE based on Ted Young’s Java version HERE. Then Professor Roger Crawfis commented and we traded emails. I do not see the point to the DateBuilder class here. Extension methods would be a better approach (IMHO) for all of the
 
Doug Finke
tags: .net
Mar 08 2010 01:47 AM
vote up
0
vote down

Rx: Refilled

Refilled. Download from here. Details here.
 
Matt
tags: .net
Mar 07 2010 03:36 PM
vote up
0
vote down

Parallelism in .NET – Part 12, More on Task Decomposition

Many tasks can be decomposed using a Data Decomposition approach, but often, this is not appropriate.  Frequently, decomposing the problem into distinctive tasks that must be performed is a more natural abstraction. However, as I mentioned in Part
Mar 06 2010 07:08 AM
vote up
0
vote down

Performance nightmare

22 to 0.3 seconds! I found a simple solution to a very common problem. While profiling I found that remove in this little method took a lot of the time. public void MovePropertyFirst(IProperty property) { properties.Remove(property); properties.Insert(0,
 
Björn Carlsson
Mar 05 2010 11:36 PM
vote up
0
vote down

MVVM for Dummies

I think that I have found one of the best articles on MVVM that I have ever read: http://jmorrill.hjtcentral.com/Home/tabid/428/EntryId/432/MVVM-for-Tarded-Folks-Like-Me-or-MVVM-and-What-it-Means-to-Me.aspx This article sums up what is in MVVM and what
 
Martin Hinshelwood
Mar 05 2010 11:33 PM
vote up
0
vote down

Schedule for my session at MIX10

Microsoft has published the schedule for the MIX10 sessions. I have a sweet spot, and I dearly hope that it stays this way (Last year I had a great spot, but it was changed last minute and then I had a much better one, “competing” against Vertigo and
 
Laurent Bugnion
Mar 05 2010 01:23 PM
vote up
0
vote down

See you all in dotNETwork May 09 Gathering in Egypt, Lesser known .NET Enterprise Patterns & Practices

    IMPORTANT UPDATE There was a sudden last-minutes issue with the transportation / flights configuration that prevented me from making it to Cairo. I’ll be unfortunately missing out this event. M. Smay my friend will be a great backup with
 
Mohamed Meligy
Mar 05 2010 02:28 AM
vote up
0
vote down

How to download videos from MSDN Chopsticks webcasts website

I was going to put this on twitter but it’s a bit longer to tweet. Last week I shared some videos on Google Reader and twitter from Microsoft’s MSDN Chopsticks video website. If you don’t know it, it’s a VERY nice videos website with much content on very
 
Mohamed Meligy
Mar 05 2010 02:28 AM
vote up
0
vote down

[Link List] Recent (and non recent) Articles on Various Topics

p.msolistparagraph {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; } a:link {color:blue; text-decoration:underline; text-underline:single; } p.msonormal
 
Mohamed Meligy
Mar 05 2010 02:28 AM
vote up
0
vote down

[Link List] jQuery, Agile, WCF REST, WF, OpenXML, Live Messenger Anniversary, Wallpapers

Yet another internal .NET Team email in my current company, Injazat Data Systems, that I sent yesterday, and am sharing with you as well. jQuery: · Simplify calling ASP.NET AJAX services from jQuery · Use jQuery and ASP.NET AJAX to build a client side
 
Mohamed Meligy
Mar 05 2010 02:28 AM