The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for 2012

Google Flights: needs a bit more work, but first look is promising

Posted by jpluimers on 2012/12/24

Just saw that Google Flights was introduce: for searching and booking flights online.

It needs some more work (see below), but it is a great start for a couple of reasons as compared to any of the competition I have seen:

  • A much more intuitive and clutter-free user interface 
  • A blazingly fast response (SFO – AMS: response in about a second, all others took at least 10 seconds)

Try the user experience for yourself. A few things I liked:

  • In addition to selecting preferred airlines, you can select preferred Airline Alliances
    (they share miles anyway).
  • Shows flight duration and allows you to sort on it
    (ideal for business passengers)
  • Shows if you can have WiFi
    (for geeks like me)
  • Uses hint-panes when you hoover the mouse over certain areas to fill in more detailed information
    (like the airline that operates the flight, or the stops you make).
  • Shows a graph with fare-rate over time
    (so you can pick days with lowest fare more easily; the sweet spot for SFO-AMS seems to be 2-5 day trips that include a saturday/sunday night).

Some things they need to work on:

  • You can search from USA to destinations outside USA, but not vice versa
    (for instance, it finds SFO – AMS, but you are not allowed to enter AMS – SFO).
  • You can enter IATA airport codes, but not ICAO ones (like EHAM)
  • It is not included in the Google – Products list
    (right now you can go from Flights to Web search, but not the other way around).
  • It always starts with a departure in SFO
    (it would make sense if you can select your faviourite departure airport; I live about 10 minutes from AMS / EHAM).
  • It always starts with a departure date 16 days from now
    (The last link is pun intended:  it tests the Google search cache for refreshing pages that calculate information).

–jeroen

via: Flights from San Francisco – Google Search.

Posted in Google, GoogleFlights, Power User | Tagged: , , , , , , , , , , , , , , , , , | Leave a Comment »

KLS SOFT – WSCC – Windows System Control Center, for auto-updating SysInternals and NirSoft tools

Posted by jpluimers on 2012/12/24

For people that don’t want to run the wget on the URLs  http://live.sysinternals.com and  http://www.nirsoft.net, there is WSCC:

This edition of WSCC supports the following utility suites:

  1. Windows Sysinternals Suite (including support for Sysinternals Live service)
  2. NirSoft Utilities

–jeroen

via: KLS SOFT – WSCC – Windows System Control Center.

Posted in Power User, Windows | Leave a Comment »

“Holland versus The Netherlands” a new video by C.G.P Grey – @cgpgrey

Posted by jpluimers on 2012/12/23

C.G.P. Grey just released a new video: Holland versus The Netherlands:

I love almost all hist videos at

my first encounter to his work was a similar video about the U.K., G.B, England, and a whole lot more:

While watching that I thought “someone should make a video about Holland, The Netherlands and the Dutch Kingdom”. Good to see he just did (:

Still on my wish list: a video on Europe, Schengen, The European Union and the Euro.

–jeroen

via ROFLMAO.. Thank you…

Posted in About, Internet, Personal, Power User | Leave a Comment »

SQL Server FineBuild

Posted by jpluimers on 2012/12/21

Interesting; is on my research list to see if the installation process gets easier and more standardized.

SQL Server FineBuild Introduction

FineBuild provides 1-click install and best-practice configuration of SQL Server 2012, SQL Server 2008 R2, SQL Server 2008, and SQL Server 2005.

–jeroen

via: SQL Server FineBuild.

Posted in Database Development, Development, Power User, Reporting Services, SQL Server, SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, Windows, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

Learning F# – Stack Overflow

Posted by jpluimers on 2012/12/20

If you want to learn F#, start at this SO question:

Learning F# – Stack Overflow.

–jeroen

Posted in .NET, Development, F#, Software Development | Leave a Comment »

Two great articles from ploeh blog on temporal compatibility (Rangers and Zookeepers, Zookeepers must become Rangers)

Posted by jpluimers on 2012/12/19

Must read: why you want temporal compatibility.

  1. ploeh blog – Zookeepers must become Rangers.
  2. ploeh blog – Rangers and Zookeepers.

–jeroen

Posted in Development, Software Development | Tagged: , , | Leave a Comment »

batch file example: Redirect stderr and stdout through pipe

Posted by jpluimers on 2012/12/19

I knew that 2>&1 was needed to redirect both stderr and stdout, but for piping, it cannot be at the end of the line. This works in the categories shown at the bottom of the post.

Rob van der Woude again to the rescue in redirection:

(4) Redirecting both standard output and standard error to the same file or device is done by adding 2>&1 to the command line. This will only work in OS/2 and NT, not in MS-DOS.
Where you put 2>&1 is rather critical. It will only do what it is supposed to do when placed at the end of the command line (as Jennie Walker pointed out to me) or right before the next pipe ( | ).

Example: batch file that checks if a few NarrowCast machines are indeed on-line and logged on with the right user.

It uses PsLoggedOn to verify who is logged on, and Explorer to show a hidden share.

The pipe is needed to verify there is indeed a domain user logged on.

@echo off
  for %%m in (Machine1 Machine2 Machine3) do call :show %%m
  goto :pause

:show
  echo %1
  %~dp0PsLoggedOn -L \\%1 2>&1 | find /I "MYDOMAIN\"
  start explorer /e,\\%1\NarrowCast$
  goto :end

:pause
  pause
:end

–jeroen

Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 7, Windows Server 2003, Windows Server 2008, Windows Vista, Windows XP | 4 Comments »

Happy 25th birthday Perl!

Posted by jpluimers on 2012/12/18

Wow, Perl turned 25 today, it seems my first use was like yesterday!

–jeroen

via: The First Twenty-Five Years – The Perl Foundation.

Posted in Development, Perl, Scripting, Software Development | Leave a Comment »

As of December 3rd, 2012, the WordPress.com statistics shows you unique visitor counts too

Posted by jpluimers on 2012/12/18

As of December 3rd, 2012, a WordPress.com blog stat page (https://wordpress.com/#!/my-stats/) now shows unique visitors in addition to total views.

The hint for each bar even does the views per visitor math (seems to average around 1.25 views per visitor on this blog, will update this when a longer period has passed).

The Your Unique Visitors from the Blog at WordPress.com explains some more details.

–jeroen

Posted in Power User, SocialMedia, WordPress | Tagged: , , , , , | Leave a Comment »

.NET/C# – How to create a file and its parent directories in one method call? (via: Stack Overflow)

Posted by jpluimers on 2012/12/18

Ever since .NET 1 there has been no built-in way to create a file including all its parent directories.

Hence small FileHelper class far below.

The fundament of the class is this CreateUnderlyingDirectory method, that uses System.IO.Path.GetDirectoryName to obtain the parent directory of a path, and then System.IO.Directory.CreateDirectory to create it (and any parent directories) if needed.

        public static void CreateUnderlyingDirectory(string path)
        {
            string directoryPath = Path.GetDirectoryName(path);
            Directory.CreateDirectory(directoryPath); // NOP if it exists, will create all parent directories if not
        }

A few helper methods get you a StreamWriter either empty/appended, or always empty Read the rest of this entry »

Posted in .NET, .NET 3.5, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »