C#

LINQ: Expression or Query syntax? They’re equivalent aren’t they?

Vocal members of the development community regularly spout their opinions. What they say and proffer has to be taken as fact, doesn't it, ...Read more

Parallel.ForEach and a blocking/threading saga

I was recently doing a bit of weekend homework and encountered a piece of code that resembles the following (with all the grubby ...Read more

65

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