Archive

Posts Tagged ‘.Net’

Team Foundation Server (TFS)?

November 30th, 2011 No comments

TFS? No, thank you….
I prefer Git\Svn + NUnit + Cruise Control

Control GPS simulator from external application

May 30th, 2011 No comments

Recently I was asked about the possibility to control GPS simulator using gaming wheel. Yes, it is possible. I created simple C# application to  demostrate this.

Here is video:

This small application interacts with GPS Simulator and sends control signals for changing course. So, it is possible to simulate object moving along a curve.

Asynchronous VS synchronous UDP reads on a heavily loaded feeds.

February 21st, 2011 9 comments

Currently I’m engaged in a project where we are creating very performant system for receiving, parsing and sending realtime market data. Market data is provided by exchanges via FIX/FAST over UDP protocol.

The FAST protocol (FIX Adapted for STreaming) is a technology standard developed by FIX Protocol Ltd., specifically aimed at optimizing data representation on the network. It is used to support high-throughput, low latency data communications between financial institutions.
Read more…

Method call vs Delegate

February 7th, 2011 No comments

Is there any difference in performance between method call and delegate call in C# .Net? Let’s check it.
Here is C# code:
Read more…

How to copy projects files using MSBuild. Step by step explanation.

November 23rd, 2010 No comments

I try not to share source files among projects. If couple of projects use the same source codes I create separate project (assembly in .NET terminology), that contains shared functionality. However, sometimes there is no way to avoid using the same shared files. It can happen, for instance, if there is a project A and its subproject B. The project B can be used, for example, for shipping subset of source files to customers. The problem is, that all source files are mixed and there is a need to find a way how to extract files of project B only. Lets look how to achieve it using MSBuild.

Read more…

C# implementation of Bezier curvature calculation

October 30th, 2010 2 comments

In the previous post I wrote a couple of equations displaying how to calculate acceleration on a planar curve (equation #1) and curvature radius for Bezier curve (equation #2). In this post I’ll also show how to get the first and the second derivatives of Bezier polynomial.

Let’s implement it using C#.Net.
Read more…

Circular buffer (virtual ring)

September 3rd, 2010 No comments

A circular buffer, cyclic buffer or ring buffer is a data structure that uses a single, fixed-size buffer as if it were connected end-to-end. As it is fixed-size buffer, when it is full it starts to overwrite the oldest stored items with new ones. The logic is that recent data is more important then old one.

Circular buffer for plocessing n last samples

Circular buffer for plocessing n last samples


Read more…