Article Network

Windows Azure Diagnostics: Initializing the Configuration and Using a Configuration File

by Neil Mackenzie | August 2011 | Cookbooks Enterprise Articles Microsoft

The default configuration for Windows Azure Diagnostics captures some data but does not persist it. Consequently, the diagnostics configuration should be modified at role startup. In this article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, the Initializing the configuration of Windows Azure Diagnostics recipe, shows us how to do this programmatically, which is the normal way to do it. In the Using a configuration file with Windows Azure Diagnostics recipe, we see how to use a configuration file to do this, which is necessary in a VM role.

Read Windows Azure Diagnostics: Initializing the Configuration and Using a Configuration File in full

Troubleshooting WebSphere Security-related Issues

by Omar Siliceo | August 2011 | Enterprise Articles IBM

It is not uncommon to run into issues when global security is first enabled in a WebSphere environment. Some of those situations may occur due to performing tasks out of order. Other problematic conditions related to security configuration may take place due to inadvertently omitting one or more steps in a set up process. Moreover, a third category of errors that may happen due to security configuration is caused by using the wrong values to one or more parameters.

In the previous article by Omar Siliceo, author of IBM WebSphere Application Server v7.0 Security, we took a look at tuning websphere security. In this article we will be presented by a set of some conditions that may appear in a WebSphere Application Server ND version 7 (WAS ND7) when global security is first enabled. The first subsection covers circumstances that may come about during the configuration phase. Next, a subsection is included that presents circumstances that may happen at runtime.

Read Troubleshooting WebSphere Security-related Issues in full

Using IntelliTrace to Diagnose Problems with a Hosted Service

by Neil Mackenzie | August 2011 | Cookbooks Enterprise Articles Microsoft

A Windows Azure hosted service may comprise multiple instances of multiple roles. These instances all run in a remote Windows Azure data center—typically 24*7. The ability to monitor these instances non-intrusively is essential both in detecting failure and in capacity planning.

However, there are times, especially early in the development process, when non-intrusive diagnostics monitoring is not sufficient. In this article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, we will see the benefits of intrusive monitoring of a Windows Azure role instance using IntelliTrace.

Read Using IntelliTrace to Diagnose Problems with a Hosted Service in full

Understanding and Developing Node Modules

by David Herron | August 2011 | Open Source Web Development

Node is a newly-developed software platform that liberates JavaScript from the web browser, enabling it to be used as a general software development platform in server-side applications. It runs atop the ultra-fast JavaScript engine from the Chrome browser, V8, and adds in a fast and robust library of asynchronous network I/O modules. The primary focus of Node is on building high performance, highly scalable server and client applications for the "Real Time Web".

In this article by David Herron, author of Node Web Development, we shall:

  • Learn what a module is
  • Learn about the CommonJS module specification
  • Learn how Node finds modules
Read Understanding and Developing Node Modules in full

Digging into Windows Azure Diagnostics

by Neil Mackenzie | August 2011 | Cookbooks Enterprise Articles Microsoft

A Windows Azure hosted service may comprise multiple instances of multiple roles. These instances all run in a remote Windows Azure data center—typically 24*7. The ability to monitor these instances non-intrusively is essential both in detecting failure and in capacity planning. This article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, shows how Windows Azure Diagnostics provides for the non-intrusive capture of diagnostic data and its subsequent persistence to the Windows Azure Storage Service. Windows Azure Diagnostics supports various standard sources, allowing for their extensibility where appropriate. The topics covered in this article include:

  • Using the Windows Azure Diagnostics trace listener
  • Performing an on-demand transfer
  • Implementing custom logging
  • Accessing data persisted to Windows Azure Storage
  • Using the Windows Azure Platform
  • PowerShell cmdlets to configure Windows Azure Diagnostics
Read Digging into Windows Azure Diagnostics in full

GLSL 4.0: Discarding Fragments to Create a Perforated Look

by David Wolff | August 2011 | Cookbooks Open Source Web Graphics & Video

Fragment shaders can make use of the discard keyword to "throw away" fragments. Use of this keyword causes the fragment shader to stop execution, without writing anything (including depth) to the output buffer. This provides a way to create holes in polygons without using blending. In fact, since fragments are completely discarded, there is no dependence on the order in which objects are drawn, saving us the trouble of doing any depth sorting that might have been necessary if blending was used. In this recipe by David Wolff, author of OpenGL 4.0 Shading Language Cookbook, we'll draw a teapot, and use the discard keyword to remove fragments selectively based on texture coordinates.

Read GLSL 4.0: Discarding Fragments to Create a Perforated Look in full

The Basics of GLSL 4.0 Shaders

by David Wolff | August 2011 | Cookbooks Open Source Web Graphics & Video

Shaders give us the power to implement alternative rendering algorithms and a greater degree of flexibility in the implementation of those techniques. With shaders, we can run custom code directly on the GPU, providing us with the opportunity to leverage the high degree of parallelism available with modern GPUs.

This article by David Wolff, author of OpenGL 4.0 Shading Language Cookbook, provides examples of basic shading techniques such as diffuse shading, two-sided shading, and flat shading. Specifically, we will cover:

  • Implementing diffuse, per-vertex shading with a single point light source
  • Implementing per-vertex ambient, diffuse, and, specular (ADS) shading
  • Using functions in shaders
  • Implementing two sided shading
  • Implementing flat shading
Read The Basics of GLSL 4.0 Shaders in full

GLSL 4.0: Using Subroutines to Select Shader Functionality

by David Wolff | August 2011 | Cookbooks Open Source Web Graphics & Video

In GLSL, a subroutine is a mechanism for binding a function call to one of a set of possible function definitions based on the value of a variable. Subroutines therefore provide a way to select alternate implementations at runtime without swapping shader programs and/or recompiling, or using if statements along with a uniform variable.

In this article by David Wolff, author of OpenGL 4.0 Shading Language Cookbook, we'll demonstrate the use of subroutines by rendering a teapot twice. The first teapot will be rendered with the full ADS shading model described earlier. The second teapot will be rendered with diffuse shading only. A subroutine uniform will be used to choose between the two shading techniques.

Read GLSL 4.0: Using Subroutines to Select Shader Functionality in full

Oracle Integration and Consolidation Products

by Tom Laszewski | August 2011 | Enterprise Articles Oracle

In early 2010, when you went to the Oracle Technology Network (OTN) website, it had just one link called Information Integration. This link led you to a simple web page that had information on Oracle-to-Oracle database-centric migration and integration tools such as SQL Loader, Data Pump, Oracle Streams, and Oracle Data Guard. The OTN website has been updated, but still lacks comprehensive coverage of the Oracle Information Integration stack.

In the previous article by Tom Laszewski, co-author of Oracle Information Integration, Migration, and Consolidation, we took a look at some oracle tools and products. In this article we will take a look at data services, data consolidation, data grid, information lifecycle management, oracle-to-oracle data integration, and application integration.

Read Oracle Integration and Consolidation Products in full

Terms and Concepts Related to MDX

by Tomislav Piasevoli | August 2011 | Enterprise Articles Microsoft

MDX is a powerful, yet complex language. Many terms and concepts need to be understood well enough if you want to master it. In order to help you in that mission, this article will provide with a short explanation of all important terms related to MDX.

In this article by Tomislav Piasevoli, author of MDX with Microsoft SQL Server 2008 R2 Analysis Services Cookbook, we start by explaining what MDX queries are made of, followed by the terms and concepts specific to the execution of MDX queries. The middle part of the article covers the most important things related to dimension design, cube design, and MDX script. Next, we explain terms related to query optimization and finally finish the article with types of queries that can be used with SQL Server Analysis Services.

Read Terms and Concepts Related to MDX in full

New Microsoft Books

by | August 2011 | Enterprise Articles Microsoft

A complete overview of Packt's recent and upcoming Microsoft books

Read New Microsoft Books in full

Android 3.0 Application Development: Multimedia Management

by Kyle Merrifield Mew | August 2011 | Open Source

As the computing power of mobile devices has increased, so has their ability to play and record a variety of media such as audio and video. Android provides some useful tools for managing multimedia.

In this article by Kyle Merrifield Mew, author of Android 3.0 Application Development Cookbook, we will cover the following recipes:

  • Playing an audio file from within an application
  • Playing back video from external memory
  • Playing multiple sounds with a SoundPool
Read Android 3.0 Application Development: Multimedia Management in full

Managing Azure Hosted Services with the Service Management API

by Neil Mackenzie | August 2011 | Cookbooks Enterprise Articles Microsoft

This article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, shows how to use the Windows Azure Service Management REST API to manage a Windows Azure hosted service. It shows how to create and upgrade deployments of a hosted service, including retrieval of the properties of a hosted service.

In this article, we will cover:

  • Creating a Windows Azure hosted service
  • Deploying an application into a hosted service
  • Upgrading an application deployed to a hosted service
  • Retrieving the properties of a hosted service
Read Managing Azure Hosted Services with the Service Management API in full

Autoscaling with the Windows Azure Service Management REST API

by Neil Mackenzie | August 2011 | Cookbooks Enterprise Articles Microsoft

One of the attractions of cloud computing is the financial saving gained through the elastic provision of compute services, that is, the ability to scale up and down the number of instances of a hosted service.

In this article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, we will see how the Windows Azure Service Management REST API can be used to autoscale a hosted service, so that it can handle the current and predicted load depending on the day of the week. By autoscale we mean the ability of a hosted service to scale itself elastically by modifying automatically the number of running instances.

Read Autoscaling with the Windows Azure Service Management REST API in full

Using the Windows Azure Platform PowerShell Cmdlets

by Neil Mackenzie | August 2011 | Cookbooks Enterprise Articles Microsoft

The Windows Azure Platform PowerShell cmdlets use the Windows Azure Service Management REST API to expose service management operations as PowerShell cmdlets. The cmdlets provide a convenient way to manage hosted services, including retrieving the properties of current deployments and uploading new and upgraded deployments.

In this article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, we will learn how to use the Windows Azure Platform PowerShell cmdlets to invoke various service operations in the Windows Azure Service Management REST API.

Read Using the Windows Azure Platform PowerShell Cmdlets in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software