cloud.net Where the unpredictable sky meets the logical nature of .net programming.

Thursday, December 3, 2009

Haigs Dimple 15 YO Blend Review


[The reviewer and scores explained.]

Bottle: Haigs Dimple 15 YO Blend
Cost: $60
Score: 48
Scent: Uncharacterized by anything pleasant. Strong alcohol, burns the nostrils.
Palate: Slightly sweet medicinal with bitter after taste.
Effect: Good mood, but the taste limited my enjoyment. Extra energy.
Empty glass scent: Smoky peaty scent and the burn your nostrils vapour wasn’t present.
Day after: Slight hangover.
Bottom line: Avoid purchasing, but don't say no if it's offered.

The review:  I made a departure from my usual choice of single malts and tried a blend for the 1st time in over a year. I had high expectations from the seductive bottle. And I was sadly disappointed. The taste was just plain unpleasant all the way through from initial contact to finish. The blend didn’t highlight any recognizable style. I had a hard time finishing my 1st glass; it sure wasn’t one of the glasses that leads to another and then you promise yourself its the last glass before you talk yourself in to another. I gave it another go after a chicken roast and it didn’t fare any better. I wasn’t able to finish the 2nd glass and it ended up adding something to some chocolate ice cream. I found it a little hard to sleep, and I woke up before the alarm. The next day I really felt the 1.8 glasses, and need some aspirin. I’m not sure I really want to drink the rest of the bottle. Your money is much better spent on a cheaper 12yo single malt like Glenfiddich.
Dimple didn't even give us a decent cork top, it's a plastic twist cap!

Tuesday, November 24, 2009

Management tree

Sunday, November 22, 2009

f-Laws of Management

I was going to copy and add my own, but the truth is you'd all be better served by going to the source of f-Laws and I don't have to plagiarize or quote.

f-Laws are a series of common management flaws that seems to permeate todays companies.

I encourage everyone who works with more than a couple of people to read the big book or even the FREE little book.

Example - Word for word copied from the Little book.

Russell & Herbert f-Law:
The more important the problem a manager asks consultants for help on, the less useful and more costly their solutions are likely to be.

Consultants begin their engagements by gathering very large amounts of data, much more than can be transformed into useful information. No wonder! Their fees are proportional to the amount of time they devote to a problem, not to the amount of good that they do.

The most successful consultants are the ones who are smart enough to see what managers want and give it to them after an extended effort, and do so in long, impressively formatted reports. They provide sanctions for a fee.

The principal finding obtained by all studies conducted by consultants, regardless of the issues involved, is the need for more study. The success of a consultant’s effort is not measured by the amount of good it does for the client, but the amount of good it does for the consultant.

Sally - Response:
It’s astonishing that, in these days of obsession with return on investment, consultants are not held to account more than they are. There are three reasons for this:
  1. Executives are seduced by data – the more they have, even if it’s useless, the more it makes them feel in control.
  2. The CEO or someone else very senior usually hires the expensive consultants. Who is going to challenge the CEO’s decision?
  3. Consultants set themselves up as experts. This provides the executive with another hiding place. “If the expert says so who am I to disagree”?
Consultants - unlike the rest of us - do indeed manage to escape being accountable. The higher their fee, the less accountable they become. The more complex and costly their solutions, the more unlikely it is that they’ll be challenged.

Who’s going to want to point out that some senior executive’s decision to hire consultants has been a huge waste of money?

The best organizations, by the way, are more likely to use internal consultants, form employee problem-solving teams or hire customers and suppliers to solve problems for them.

Tuesday, November 17, 2009

SharePoint 2010 beta first impressions.

Maybe it's my scifi interest, but I think SP2010 rolls off the tongue nicer than WSSv3 or MOSS 2007.
    The email Microsoft sent me contained product keys for 2 versions:
  1. SharePoint Server for Internet Sites 2010
  2. SharePoint Server 2010
    My setup is all x64:
  1. VMWare Guess with 2.4GB RAM/ 80GB HDD
  2. Win2008R2 SE
  3. SQL 2008 + SP1
  4. SharePoint Server for Internet Sites 2010
After installing Win2008 and SQL2008, I launched the SP installer.
The package extracts and you're presented with an SQL2005 type menu with Prepare/Install/Other Info. I skipped the reading and went directly to "Install SharePoint Server" and it failed because IIS 6 Compatibility Prerequisite was missing.
This time I clicked "Install Software Prerequisites" and it installed quite a few more things.

Back to "Install SharePoint Server" and after a while it failed again:


Google'd KB970315, downloaded and installed the Hotfix.
Away we go again.

A few new things...
  • the setup asks for a pass phrase to secure the farm.
  • there's now a Wizard option to guide you through the Services configuration.
I select all options bar "Lotus Notes Connector"... enter a new account, and after a couple minutes the first error:

Errors occured.

The service application proxy "User Profile Service Application" could not be provisioned because of the following error: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56)

Corelation Id: 95684294-0888-46dd-8242-df5860c5188e


Central Administration, its all new and it has pretty icons like a Control Panel.

Let's add some user accounts and start using it... the Shared Service Provider doesn't seem to exist anymore and in its place is the much more logical Service Applications Management screen.


User Profile Service Application is my guess for adding users.

I guess this was the error being reported before... I google'd "95684294-0888-46dd-8242-df5860c5188e", nothing, then tried "allowInsecureTransport" which lead me to MSDN Forum after reading through it I tried replacing the attribute with enableUnsecuredResponse, that didn't work... I noticed other security nodes didn't have this attribute so I commented them all out and it worked after an IISReset. More new things...
  • Review problems and solutions


  • JQuery type popups/functions everywhere


  • Ribbon menus everywhere


  • Theme Gallery; Now themes are CAB files with an .thmx extension



  • Solution Gallery with upload, woohoo... I guess you'll have to be more vigilant with assigning Site Collection Admins :)... browse Office.com uses Silverlight

  • SharePoint Designer Settings, now I don't have to blanket disable SPD access!

All in all SharePoint 2010 is more logically laid out and has a refreshing dynamic look.

I'll delve in to SP2010 more in the future.

Thursday, November 5, 2009

Dalwhinnie 15 YO Single Malt Review


[The reviewer and scores explained.]

Scotch: DALWHINNIE 15 YO Single Malt
Cost: $75
Score: 72
Scent: Very bland.
Palate: Beautifully sweet, smooth and sweet after taste. Slight smoky honey.
Effect: Up lifting and happy.
Empty glass scent: Slight smoky scent.
Day after: Clean in, clean out after 1/3 bottle.
Bottom line: Great if you like easy going sweet Scotches.

The review:  The 1st thing that caught my attention was the distinct lack of a Scotch scent. No burn, no earth, no spice. It has a scent but it's very subtle. But then you drink it and hmmmm... smooth... warm... sweet... honey... smoke... earth...
I finished my 1st glass and before I knew it, I was back at the bottle sniffing the cork to try and better discern the scent.
Dalwhinnie's pleasure is all in the mouth, and it leaves the nose out in the cold.
I like it and I will be buying another bottle in the future. I was sad to pour Dalwhinnie's last drop.
If it had a stronger scent and more smoke, this would score an 85.
Minor note: The cork didn't quite fit flush against the bottle lip, so if I lay it down it would drip.

Tuesday, November 3, 2009

SharePoint List in SQL

In was recently tasked with Exporting a SharePoint list to Excel for users logging in using Forms Authentication.

I scratched my head for a minute and I came up with creating a Reporting Services report that queries the SP DB directly.

Issues: I wanted the query to be dynamic and use the exact same SP columns. So if a user adds a field or changes a column name I don't need to amend the SSRS report.

Solution: I created a Stored Proc, that takes 1 parameter (ListID). The proc gets the fields for the list then builds a query and executes it. The Stored Proc needs to reside on the same Content DB.

Code:
CREATE procedure [dbo].[usp_PrintList] (@ListId uniqueidentifier)
AS
BEGIN
  DECLARE @XMLFields TABLE (Row INT IDENTITY, Field XML);
  DECLARE @xFields XML; 
  SELECT @xFields = (SELECT cast(
      replace(cast(tp_Fields as varchar(max)),'<FieldRef','<Field') 
      as XML) as Fields
      FROM Lists 
      WHERE (tp_ID = @ListId))
 
  INSERT INTO  @XMLFields
    SELECT Tbl.xFlds.query('.') from @xFields.nodes('/Field') as Tbl(xFlds)
 
  DECLARE @sql VARCHAR(8000), @field XML, 
    @colname VARCHAR(30), @Type VARCHAR(30), @dispname VARCHAR(255);
  
  SET @sql = 'SELECT '
 
  DECLARE tmpCursor CURSOR FOR
    SELECT Field, 't1.'+ Field.value('(/Field/@ColName)[1]', 'varchar(max)') , 
      Field.value('(/Field/@Type)[1]', 'varchar(max)'), 
      ' as ['+ isnull(Field.value('(/Field/@DisplayName)[1]', 'varchar(max)'), 
      Field.value('(/Field/@Name)[1]', 'varchar(max)')) +'], '
    FROM @XMLFields
 
  OPEN tmpCursor
  FETCH NEXT FROM tmpCursor INTO @field, @colname, @Type, @dispname
    WHILE @@FETCH_STATUS = 0
    BEGIN
      IF(@colname IS NOT NULL)
      BEGIN  
 
        SET @sql = (CASE @Type
          WHEN 'Lookup' THEN 
            @sql + '(SELECT nvarchar1 FROM UserData WHERE tp_ListId = '''+ 
            (@field.value('(/Field/@List)[1]', 'varchar(max)')) +
            ''' AND tp_ID = '+ @colname +')' + @dispname    
          
          WHEN 'User' THEN 
            @sql + '(SELECT tp_Title FROM 
            UserInfo WHERE tp_ID = '+ @colname +')' + @dispname            
          
          ELSE @sql + @colname + @dispname
          END)
  
      END
      FETCH NEXT FROM tmpCursor INTO @field, @colname, @Type, @dispname
    END
  CLOSE tmpCursor
  DEALLOCATE tmpCursor  
   
  --strip off last comma
  SET @sql = SUBSTRING( RTRIM(@sql), 1, LEN(@sql) - 1 )
  SET @sql = @sql + ' FROM UserData t1 WHERE t1.tp_ListId = '''+ 
      CAST(@ListId AS VARCHAR(50)) +''' AND t1.tp_RowOrdinal = 0'
 
  PRINT @sql
  EXEC(@sql)
END
Limitations:
  1. It doesn't get the Display Name for field references (ie not customized field)
  2. It only looks at the Title of the lookup list/user, and then only on custom look up.


Example:
MS SQL Management Studio View
SharePoint View


Keywords: Export to spreadsheet, SQL field view, AllUserData

File link



Tuesday, October 6, 2009

Talisker 10 YO Single Malt Review


[The reviewer and scores explained.]

Scotch: Talisker 10 YO Single Malt
Cost: $75
Score: 65
Scent: BAM in ya face ya wee fanny, have a smoke now.
Palate: Sour peat chemical;like some kind of paint thinner got mixed in.
Finish: Shit that's strong.
Effect: Clear head but not inviting.
Empty glass scent: Strong peaty smoke.
Day after: All good.
Bottom line: Chemical taste.

The review:  I was recommeded this after trying Highland Park last month. I wanted an even strong smokey taste, so I had high hopes this would be build on the Highland Park.
My initial reactions was this taste like some kind of chemical compound. The scent is good, but the taste is just a little brutish. I tried mixing it with water, but the chemical undertone remained.
I didn't find it sweet or spicy. It was just strong in your face peaty smoke. The bottle lasted longer than most other bottles. It's not bad, but I can't drink too much of it.