Wikiscanner generates Wiki scandal

Virgil Griffith, a CalTech graduate student created a tool called wikiscanner that traces the IP addresses of those that edited wikipedia articles. The tool revealed that CIA modified entries about Iraq or Iran, FBI about the involvement of Iraq in the 9/11 attacks, Vatican removed a reference to a newspaper article about Sinn Fein leader Gerry Adams … Read more

WPF tab control

A WPF TabControl contains multiple items (TabItem), just like any tab control, and adding new tabs is quite easy. The following example shows a tab control with two tab items. However, when you try adding child controls to a TabItem you’ll notice that you can actually add one single child. The following XAML code yields … Read more

DependenciesViewer plug-in for BeyondCompare 2

Beyond Compare is an advanced file and folder comparison utility for Windows, extremly helpful for developers for visualizing changes in code. A good thing about it is it’s extensibility through plug-ins. Plug-ins are enabled only if you use a registered version of BC2. I decided to write such a plug-in myself for comparing the dependencies … Read more

Silverlight and Moonlight

Microsoft has released today Silverlight 1.0 for Windows and Mac, a cross paltform, cross browser plug-in for building richer web applications. You can read more about the features on Scott Guthrie’s blog or visiting the official page. Due to a partnership, with Microsoft Novell will create a 100% compatible run-time for Linux, called Moonlight. It will run … Read more

OpenXML not yet a standard

The voting for standardizing OpenXML as an international standard closed on September 2nd, with a very tight result: 74% for and 26% against. The percentage needed to pass was 75%. Some of the countries that voted against were France, Brazil, China, Denmark, Ireland, India and New Zealand. Microsoft now has to address the comments and … Read more

Microsoft Expression Blend 2 August Preview Available

A first preview of the next version of Microsoft Expression Blend, called Blend 2 is available at the Microsoft Download Center. This preview version allows you to create Silverlight 1.0-based applications. Microsoft Expression Design can export content in a format that can be used in Blend 2 August Preview for creating Silverlight-based applications. Among the new features … Read more

Visual C++ 2008 Fix of Containers Swap Bug

The C++ standard, specifies in the paragraph 23.1.10 that swapping two containers should not invalidate any references, pointers or iterators refering to the elements of the containers being swapped. Unfortunatelly, that is not the case of the VC++ 2005 implementation. Imagine the following case: std::vector vec1; vec1.push_back(1); vec1.push_back(2); vec1.push_back(3); std::vector vec2; vec2.push_back(10); vec2.push_back(20); std::vector::iterator it1 = vec1.begin(); … Read more

First CTP for ‘Rosario’ Available

The first CTP (called August 2007 CTP) for the next version of Visual Studio Team System code-named ‘Rosario’ (after a resort located on the Orcas Island, Seattle) was released at the end of the last week. This will be the next version after Visual Studio Team System 2008 (that will be officially launched on February … Read more

How to Detect Available COM Ports

I’ve seen this question many times asked in forums. Unfortunatelly, not all the answers are ok. A a good wait to find the available COM ports is by using function GetDefaultCommConfig, that returns the default configuration for a specified communication device. Following code shows how to use it: #include <vector> #include <string> // this can … Read more