It might seem a strange thing to do. Firstly can there be managed memory leakage? And secondly how can you unit test for this? I’ll put this into context and then all will become clear. I came across this interesting problem recently when playing around with a set of streaming real time data and attaching [...]
Archive for December, 2011
Unit testing for managed memory leakage
Posted in Design Patterns, Memory Management, Problems and Solutions, TDD, Threading, tagged c#, garbage collection, GC - Memory Management, jet brains, performance, unit testing, weak references on December 31, 2011 | Leave a Comment »
Simple Producer – Consumer Queue in .NET 4 part 1
Posted in Back to basics - C#, Threading, tagged c#, producer consumer, threading on December 29, 2011 | 1 Comment »
Another back to basics post for reference material . I will follow this post with how to improve this basic pattern with .NET 4 objects. In building a real time news aggregator which requires a producer – consumer queue to provide up to the second news feeds for a trading engine, I have updated my [...]
Building a news aggregator module for a trading platform –The architecture
Posted in 1. Financial, 2. Application Development, Agile, Architecture, Design Patterns, Problems and Solutions, Threading, Traders Tools, World View, WPF, tagged agile, architecture, c#, news aggregator, producer consumer, software design, WPF on December 16, 2011 | Leave a Comment »
In my recent post introducing the news aggregator I detailed what we are currently building. In this post, I will discuss some very high level architecture and some considerations around how to build the application. My first draft at architecture is to just get the different functional parts of the program identified. Then later we [...]
Building a news aggregator module for a trading platform -Introduction
Posted in 2. Application Development, Agile, Architecture, Cool Tools, Problems and Solutions, TDD, Traders Tools, tagged agile, communication, development team, iterations, lifecycle, news aggregator, TDD, trading, uat on December 12, 2011 | 1 Comment »
I am working on a project where I going to build a news aggregator which takes certain keywords and searches a predefined set of websites, company statements etc for stories or blog posts that have that keyword in it. The keywords are mostly a combination of company names or stock ticker codes and mood indicators, [...]
Hedge Funds Legends in their own right
Posted in Hedge Funds, World View, tagged Boomerang, hayman capital, hedge funds, kyle bass, Michael Lewis on December 10, 2011 | Leave a Comment »
Today I thought I’d write about Kyle Bass. He is a favourite of mine and I love his clear no-nonsense approach and explanations of his world view. I have been following Kyle for about six months and he is certainly a character. I have seen him on various financial chat shows and a crazy interview [...]
Making WPF Converters easier to use
Posted in Design Patterns, Problems and Solutions, WPF, tagged Adapter, IMultivalueConverter, IValueConverter, WPF on December 5, 2011 | Leave a Comment »
When binding data to WPF controls it is good practice to use a IValueConverter or IMultiValueConverter or use the adaptor pattern which is what I do for the equivalent when using MVC for the web, to change the values from your domain objects to something you can bind to which makes sense for the Gui [...]
WPF Datagrid
Posted in WPF, tagged DataGrid, WPF on December 3, 2011 | Leave a Comment »
This is a very short post. I just wanted to point to this great site and especially this tutorial on the WPF DataGrid. http://www.wpftutorial.net/DataGrid.html Its a great reference, and I’m including a post here so I can find it again easily and share with others.
To thyne ownself be true
Posted in 3. General Comment, tagged Shakespeare, to thyne ownself be true on December 18, 2011 | Leave a Comment »
I had a really nice thing said about me today. That the following is true of me and the way I deal with people. I thought I would write it here as I am very humbled by it. “This above all: to thine own self be true, And it must follow, as the night the [...]
Read Full Post »