LINQ: declarative and functional syntax

In my last post about LINQ I shown you an example about how to use the language integrated query to select information about directories. In this post I’ll get more into the syntax and show you something about the functional querying style. My examples will focus on displaying information about UEFA Champions Leage winners. Thus, … Read more

Creators Admit C, Unix Were Hoax

A collegue of mine pointed to me today a chapter from a book called “The UNIX-HATERS Handbook”, published by IDG Books Worldwide Inc. in 1994 (ISBN 1-56884-203-1). One of the latest chapters is called “Creators Admit C, Unix Were Hoax”. In this chapter the authors say that Ken Thompson, Dennis Ritchie and Brian Kernighan addmited … Read more

MFC in Orcas: support for Vista’s command button

MFC in Orcas comes with several important changes, such as support for Vista specific command button and split button. I have put together a small demo application displaying a command button with the tex Say “Hello Vista” and the note “Click on this button to show a “Hello Vista” message!”. The command button is still … Read more

Google and the April Fool’s Day

Google seems to take the April’s Fool Day very seriously. 😉 They did two practical jokes, and I’m wondering how many people did fall for it. First, was the Toilet Internet Service Provider, or TiSP. Yes that was a practical joke, of course. 🙂 Second, they posted this page about a new service: Gmail on … Read more

What’s new in Orcas for VC++

Channel9 has posted recently an interview with Sarita Bafna, a Program Manager on the VC++ Libraries team, about the new features available in Orcas (in March CTP also) for VC++. The interview is focused on 2 things: marshaling library and MFC updates. The marshaling library consists on one single API, marshal_as, for marshaling between managed … Read more

TiSP, latest service from Google

Google did it again: they just launched a free in-home wireless broadband service, called TiSP, available for now in a BETA version. According to google, TiSP is a Google TiSP (BETA) is a fully functional, end-to-end system that provides in-home wireless access by connecting your commode-based TiSP wireless router to one of thousands of TiSP … Read more

Microsoft’s Plans for ‘Orcas’ and ‘Rosario’

Prashant Sridharan, Microsoft group product manager for Visual Studio, announced Monday, March 26, 2007, that Microsoft plans to release Visual Studio code-named ‘Orcas’ by the end of the year, and it also plans to release Visual Studio code-named ‘Rosario’ (the next version after ‘Orcas’) within an year timeframe after that. A CTP for ‘Rosario’ might … Read more

LINQ example: listing directories

LINQ is a valuable feature for database and XML programming, but not only. Basically, you can use LINQ with everything that returns an IEnumerable. Here is an example, when I want to list the directories of a parent directory, in alfabetical order, and grouped by the file attributes (first all that have only the flag … Read more