And the text written out to the console is BC, obviously, or perhaps not so obviously to me as I had spend a bit ...Read more

So you understand lexical and dynamic scoping in C# do you? Here’s a little quiz for you

So you understand lexical and dynamic scoping in C# do you? I thought I did. I didn't. It took me some trial and ...Read more

German and .NET System.Globalization.CultureInfo – string sorting, it is obvious, now

Sometimes when programming, you have to check your sanity by writing a small test application to confirm what you think should be expected ...Read more

C# String Interpolation, and Expressions, used in a way I have never encountered before

When reviewing other developers' code, I often see small constructs that I would never write myself, yet pause thinking for a moment, "I must ...Read more

The struggle of Software Requirements: Mass Spectrometry EIC Peak Aggregation vs. Time

Software developers have to endure many recurring frustrations. One of my pet hates is having to trawl through software requirement documents bloated out with ...Read more

CODA: A Noise and Background Reduction Method for Component Detection in Liquid Chromatography/Mass Spectrometry

The CODA algorithm has widespread use in the detection of 'real' peaks from noisy MS chromatograms. For example ACD Labs ChromManager and OpenChrom both cite CODA ...Read more

Tenor Manipulation with LINQ and C#

In financial products, the term tenor has multiple usages but it is commonly it is referred to as the time remaining for a loan ...Read more

SQL Server to Oracle migration – déjà vu 002

Having migrated many systems from SQL Server to Oracle, I used to want to cry when I encounter this type of construct. [code ...Read more

BDD with Cucumber, and some word-play

During a recent technical interview, I was asked to write: a snippet of code to test whether a string was a palindrome the ...Read more

Hello ‘Centred Moving Average’ – How very different the source code is in different programming languages!

As part of a data size reduction and chromatogram smoothing PoC project, I needed to implement a Hello World 'Centred Moving Average' algorithm on a ...Read more