Pictures from the MVP Global Summit

The MVP Global Summit ended today. It has been a great week here at Seattle and Redmond. There were 1753 MVPs present at the summit and 1000 Microsoft employees from the product developing teams were involved in the event, delivering presentations, talking about the things they do for the next versions of their products and,…

MVP Global Summit 2008

Today starts the MVP Global Summit in Seattle and at Microsoft’s campus in Redmond. I have arrived yesterday in Seattle, one day later than planned because I lost my connection flight in New York. At least after spending the second part of Saturday waiting in lines (one hour at the Customs, two hours waiting at…

Output Formatting with std::copy

I had to do some output formatting in C++ for showing the content of a buffer. Take for instance this buffer:

I wanted the output to be like this:

The simples way to do it is like this:

That for loop achieves the goal. But then, I though, why not using std::copy?…

F# Resources

Here is a list of, what I consider, good F# resources. Hopefully you’ll find them helpful. Official Documentation Official F# page at Microsoft Research F# manual informal F# documentation Forums and Wikis F# wikicontains articles, tips and sample code hubFSa very good forum focused on F# Blogs Don Syme’s Blog: the blog of F#’s creator…

CategoriesF#

April Fools Day

As it became a tradition, Google made a few April Fool’s Day jokes. Here is a list of the best ones: Virgle, http://www.google.com/virgle/index.html AdSense for conversations, http://adsense.blogspot.com/2008/04/introducing-adsense-for-conversations.html GMail Custom Time (this one rocks!), http://mail.google.com/mail/help/customtime/index.html Google Calendar Wake up Kit, http://www.google.com/googlecalendar/new_wakeup.html Google Books Search Smell, http://booksearch.blogspot.com/2008/04/google-book-search-now-smells-better.html Google Weblogs, http://buzz.blogger.com/2008/04/announcing-google-weblogs-beta.html Google Talkabout, http://googletalk.blogspot.com/2008/03/google-talk-goes-green.html Microsoft did a very…

Arrays in F#

Yesterday I wrote about list in F#. Today I’ll write about arrays, which unlike lists are a mutable flat storage and cannot be resized. That means you have to create a new array if you want to remove or add elements. Advantages include constant look-up time and the fact that they can store a large…

Lists in F#

In this post I will talk about the lists in F#, one of the fundamental concepts of the language. What should be said from the very beginning is that list are imutable single linked list. That means whenever you change a list, a new list is created. You can declare a list in the following…

F# Projects with Visual Studio 2008

I started a few days ago to study F# and I was struggling with some things that were not good documented. I want to share what I’ve learn from that and hopefully that will help others. After you download and install F# (available at http://research.microsoft.com/fsharp/release.aspx) a new project template will be made available in VS…

Visual Studio 2008 Enum Bit Flags Visualization

I’ve recently discovered a new nice feature in the natice debugger of Visual Studio 2008: the visualization of bit flags. Let’s take this enumeration for example. Notice that each constant is basically a bit flag.

If we used those bitfields like this:

The debugger shows them like this: However, if the constants are…