Windows Server 2008 Release Includes SP1, Makes IT Feel Warm & Fuzzy

by Scott Dougherty 2/19/2008 9:00:00 PM

 

Is Microsoft really shipping Windows Server 2008 with Service Pack 1 installed or is this another Microsoft marketing debacle?

Windows Server 2008Microsoft’s director of project management for Windows Server, Iain McDonald, recently announced on his blog that Microsoft will be shipping Windows Server 2008 with Service Pack 1 already installed. According to his post this is an attempt to keep both Vista and Windows Server 2008 on the same core code base and synchronize release schedules for future patches and service packs. 

I don’t doubt that there is a legitimate need at Microsoft to reorganize and streamline the builds, maintenance and support of the operating system code base, ultimately the benefits of this could yield a much higher quality product. Additionally, if both products derive from the same Vista code base it would make sense to release patches, especially hot fixes for security vulnerabilities at the same time.

All of this sounds like a step in the right direction from an internal Microsoft perspective, an operations management and process improvement strategy to increase the quality of Windows products and support. However I don’t think a new product should ever be released and labeled with a service pack, it’s like skipping v1.0 to v1.1, is that to say that Windows Vista could or should be running in a server capacity? There are a number of potential issues here:

  1. Will there be a single Service Pack 1 instance? And will this sole instance cover fixes for both Vista and Windows Server 2008? This could be a potentially confusing space for customers.
  2. If these products are so closely related that service packs, hot fixes and release schedules will occur in unison, why not call it Vista Server or Vista Server 2008?
  3. Vista has had an underwhelming acceptance from both the consumer and IT business markets, branding the server product similarly to the client product could create stereotypes Microsoft wants to avoid.
  4. The IT practice of “wait until Service Pack 1 is released” has typically influenced the rate of adoption, but this looks like a red herring from Microsoft marketing to accelerate the adoption rate for Windows Server 2008.
  5. Branding a release with Service Pack 1 insinuates that the product has been in production, not the collective fixes resulting from beta testing.
  6. The roles and usage of Vista and Windows Server 2008 are completely separate models. Do we really need Aero glass and Dream Scene on the server? ;)
  7. The server release has always followed the client and most likely always will. So does this mean all future Windows Server products will release with SP1 or even a SP2?

I think nearly all customers view both Vista and Windows Server 2008 as separate Windows products, despite whether one is derived from the other.

The bottom line, it makes sense to fix a car before it leaves the plant instead of issuing a re-call. If it improves the quality and delivery of the software it’s a great thing, but at the same time it appears Microsoft still doesn’t know how to market and version their own products. I think it’s safe to say most IT managers will wait for Service Pack 2.

Perhaps this helps to validate Joel Spolsky’s post?

The big launch day is on February 27th.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Windows

Adding SyntaxHighlighter to BlogEngine.NET

by Scott Dougherty 1/23/2008 5:26:00 PM

Just about every technical article or blog that posts source code typically implements some kind of tool to render source code syntax highlighting for a variety of programming languages. The benefits of this are obvious, most importantly readability, followed by easy access to copy and paste snippets of source code without intermixing CSS and/or HTML markup. Although BlogEngine.NET 1.3 comes with an extension to highlight source code syntax, I prefer a tool called SyntaxHighlighter which is entirely CSS and JavaScript based and can be used within virtually any web application. SyntaxHighlighter uses JavaScript regular expressions to highlight syntax and it has been noted that with large blocks of code performance can be slow.

You can add source code using the CodeFormatterExtension that is available with BlogEnginge.NET 1.3 and utilizes bb style markup to generate the desired highlighted syntax. The CodeFormatterExtension makes it relatively easy to add source code to a post using the bb markup method, however the caveat to this is that it transforms the HTML output of your post by adding CSS class attributes to the code which is probably not an issue for most.

Install SyntaxHighlighter

To get started visit the Google Code project web site to download the latest release of SyntaxHighlighter. This post applies to the SyntaxHighlighter 1.5.1 release. After unpackaging the files I chose to rename the directory from "dp.SyntaxHighlighter" to "SyntaxHighlighter" and only uploaded the Scripts and Styles sub directories to the BlogEngine.NET root path. I chose to keep these sub directories within a SyntaxHighlighter parent directory only for organizational purposes, however it does not matter where you upload the files as long as you remember the paths so the stylesheet and scripts can be referenced. The Uncompressed subdirectory does not need to be uploaded as it is a copy of all of the JavaScript files before they were compressed or trimmed of white space in order to minimize the file sizes.

The next step is to sign in to your BlogEngine.NET account and within the Settings Control Panel add references to the SyntaxHighlighter stylesheet and scripts. The references can be added to either the HTML Head Section or the Tracking Script section and should be referenced using the full path, instead of relative paths. This will prevent any problems loading these files from all of the various locations within BlogEngine.NET.

For example:




In the Tracking Script section copy the following JavaScript, by adding the script to the bottom of the page this helps to ensure that the required stylesheet and script files have been loaded by the browser.


Posting source code within BlogEngine.NET using SyntaxHighlighter is accomplished by entering your code in HTML mode of the TinyMCE text editor that comes default with BlogEngine.NET. Simply wrap the source code in the following <pre name="code" class="c-sharp"> tags to achieve the following C# syntax highlighting:

public static string SayHello(string name)
{
  return String.Format("Hello, {0}!", name);
}

The caveat with this is that the TinyMCE text editor "cleans up" and reformats your markup and ultimately removes the name="code" attribute that is required by SyntaxHighlighter. Without the name="code" attribute SyntaxHighlighter cannot apply the appropriate styles. By adding the name="code" attribute to the <pre> tags it also invalidates XHTML Strict implementations and therefore will not work with BlogEngine.NET themes such as "Leaves" or "Indigo" for example. This appears to be a limitation to the SyntaxHighlighter implementation.

Configure TinyMCE

The way to fix this is to modify the TinyMCE JavaScript to allow the name attribute for all <pre> tags. The TinyMCE script can be found in the BlogEngine.NET\admin\tiny_mce\tiny_mce.js or tiny_mce_src.js for the uncompressed script file. The valid_elements settings list in the init function should be modified to include the name attribute.

//valid_elements settings 
-pre[class|align|style] 
//changed to include "name" attribute, appears to invalidate xhtml strict but not transitional 
-pre[class|align|style|name] 


At this point SyntaxHighlighter should now be working, but before you upload the modified script file there is another modification that is required to prevent the removal of carriage returns. Within the formatHTML function the TinyMCE text editor removes carriage returns resulting in every line of source code within a <pre> tag running onto a single line.

//delete this line to allow carriage returns, within a pre tag this jumbles everything onto a single line

h = h.replace(/\r/g, ''); // Windows sux, isn't carriage return a thing of the past :)

Now the modified TinyMCE script can be uploaded and replaced and SyntaxHighlighter should be ready to highlight your code on XHTML Transitional pages.

Currently rated 4.7 by 3 people

  • Currently 4.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

BlogEngine.NET | Tools

Powered by BlogEngine.NET 1.3.0.0
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Google Ads

Calendar

<<  July 2008  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

Pages

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in