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
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
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
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
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
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
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
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
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
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
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
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
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
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