The Great Global Warming Swindle

Two months ago I was showing my friends a film called “The Great Global Warming Swindle.” As the title suggests, the topic of the movie is the global scale deceit about the man-made global warming. A number of important scientists argue that man has nothing to do with the rise of temperature and everything happens…

VSBuildStatus Addin Taskbar Progress on Windows 7

I have updated my Visual Studio addin that displays the status of a build/clean/deploy action. If you get the latest version, 1.2, and are running Visual Studio 2005, 2008 or 2010 (they are all supported) on Windows 7, the progress of the build is also displayed on the Taskbar, on the item corresponding to the…

Interface Implementation in C#

I recently found a piece of code that can be summarized by the following sample:

As you can see there is an interface I that has two methods, F1 and F2. A is derived from X, that has a method F2, and also implements I, but only contains F1. I was puzzled at first,…

F# Operations on List

In this post I want to show how you can implement common list operations: union, intersection, difference and concatenation. Concatenation is the simplest of them all, because type List already has a function call append that does everything for you.

The union of two lists is a list containing all the distinct elements from…

CategoriesF#

Dupa 20 de ani, inapoi la trecut!

Am asistat astazi la evenimente similare celor din decembrie 1989: incercari de manipulare si denigrare la nivel national. Se intampla evenimente importante la Timisoara, Bucuresti, Brasov si alte orase si aproape nici o televiziune nu arata faptele. E probabil primul pas spre ce se va intampla de acum incolo daca Mircea Geoana, condus de grupurile…

Problems Installing SQL Server 2008

I ran across a breaking error while trying to install SQL Server 2008 on a Windows 7 machine. The rule “Previous releases of Microsoft Visual Studio 2008” failed. Here is the error message that I received. That was odd, because I actually had Visual Studio 2008 with SP1 installed on that machine. So I start…

Using ColorMatrix for Creating Negative Image

.NET provides two classes for image transformations: Matrix, used for geometric transformations, and ColorMatrix, used for color transformations. One of such color transformations is inverting or negating. This means subtracting each color component from 255. Black (0,0,0) becomes White (255, 255, 255), and Green (0, 255, 0) becomes Magenta (255, 0, 255). You can find…

Hacking WCF Extensions for Visual Studio 2005

If you are still using Visual Studio 2005 and need to develop WCF services you need the following: Microsoft .NET Framework 3.0 Redistributable Package (SP2) The Visual Studio 2005 extensions for.NET Framework 3.0 (WCF & WPF), November 2006 CTP 3 The problem with the later is that Microsoft no longer supports it. Visual Studio 2008…