The BatteryMonitor application allows you to monitor the state and battery levels of your iOS device using the APIs that come with the iOS SDK. Each iOS device represents a unique set of properties that include the device's current physical orientation, its model name, and its battery state. It also provides access to the onboard hardware.
This article by Steven F Daniel, author of iPad Enterprise Application Development BluePrints, we will be taking a closer look at how we can use the Core Graphics framework to create and draw a gauge that will be use to present and visualize the total amount of battery life remaining on the iOS device, and then start to design the user interface for our app.Read BatteryMonitor Application in full
Behavior-driven Development (BDD) is an agile software development practice that enhances the paradigm of Test Driven Development (TDD) and acceptance tests, and encourages the collaboration between developers, quality assurance, domain experts, and stakeholders. Behavior-driven Development was introduced by Dan North in the year 2003 in his seminal article available at http://dannorth.net/introducing-bdd/.
In this article by Unmesh Gundecha, author of Selenium Testing Tools Cookbook, we will cover:
Using Cucumber-JVM and Selenium WebDriver in Java for BDD
Using SpecFlow.NET and Selenium WebDriver in .NET for BDD
Using JBehave and Selenium WebDriver in Java
Using Capybara, Cucumber, and Selenium WebDriver in Ruby
Ever wondered what goes on behind the scenes when a book is published?
Follow the story, as it takes place, behind the Oracle Database 11g R2 Performance Tuning Cookbook
haXe allows us to target several platforms; so, you may want to take advantage of this feature to be able to use your applications or libraries on several platforms. Unfortunately, there are some drawbacks, but don't worry, we will go through them and see how to work around them.
In this article by Benjamin Dasnois, author of haXe 2 Beginner's Guide: RAW, we will:
- See what is cross-platform in the standard library
- Talk about platform-specific packages
- Learn about their specificities
- Learn about conditional compilation
So, not only are we going to talk about being cross-platform, but also about platform-specific things. So, if you're ready, let's get started!Read Being Cross-platform with haXe in full
Packt is dedicated to the Open Source community and over the course of the past month, there has been articles published on www.PacktPub.com which feature various Open Source communities with insight provided by a respected figure from the community. Now, let’s turn the tables and look at the Open Source community within Packt.
The Packt Open Source team provides the Open Source community with the valuable resource of books and eBooks that share the experiences of your fellow IT professionals and brings you more focused, solutions-based content.
We start our 'Meet the team' with no other than Doug Paterson, the Open Source Publisher...
Read Believe in Open Source: Meet the team in full
As a DBA and advanced user of SQL Server 2008 R2, you have to develop best practices that combine a streamline of services for deployment, migration, and management of your data platform. SQL Server 2008 R2 has rich and intuitive GUI management tools, which lower the costs in data management by incorporating automation and delegation of administrative tasks. This article covers the SSMS features that are new and enhanced in SQL Server 2008 R2 to enable operational efficiency in developing the joint best practices and integrated solutions.
In this article by Satya Shyam K Jayanty, author of Microsoft SQL Server 2008 R2 Administration Cookbook, we will cover:
- Implementing Utility and Non-utility collection sets
- Designing and refreshing Scalable Share database features and enhancements
- Managing SQL Server Replication processes
- Implementing security for SQL Server Agent jobs management
This article created by Jonathan R. Owens, Jon Lentz, and Brian Femiano, authors of Hadoop Real-World Solutions Cookbook, contains recipes designed to show how you can put Hadoop to use to answer different questions about your data. Several of the Hive examples will demonstrate how to properly implement and use a custom function (UDF) for reuse in different analytics. There are two Pig recipes that show different analytics with the Audioscrobbler dataset and one MapReduce Java API recipe that shows Combiners.
In this article, we will cover:
Counting distinct IPs in weblog data using MapReduce and Combiners
Using Hive date UDFs to transform and sort event dates from geographic event data
Using Hive to build a per-month report of fatalities over geographic event data
Implementing a custom UDF in Hive to help validate source reliability over geographic event data
Marking the longest period of non-violence using Hive MAP/REDUCE operators and Python
Calculating the cosine similarity of Artists in the Audioscrobbler dataset using Pig
Trim outliers from the Audioscrobbler dataset using Pig and datafu
Learning to apply Apache Hive, Pig, and MapReduce to solve the specific problems you are faced with can be difficult. The recipes in this article present a few big data problems and provide solutions that show how to tackle them. You will notice that the questions we ask of the data are not incredibly complicated, but you will require a different approach when dealing with a large volume of data. Even though the sample datasets in the recipes are small, you will find that the code is still very applicable to bigger problem spaces distributed over large Hadoop clusters.
The analytic questions in this article are designed to highlight many of the more powerful features of the various tools. You will find many of these features and operators useful as you begin solving your own problems.Read Big Data Analysis in full
In this article by Dr. Jay Krishnaswamy, a Microsoft Chart Control will be bound to a Linq Data Source using LinqDataSource control and a pie chart displays the data.
We will be going through the following steps:
- Create a Framework 3.5 web site project
- Add a LinqDataControl and provide the data context
- Add a MS Chart Control and bind it to the LinqDataSource
Since SOI (Service Oriented Integration) is all about integrating multiple SOA-based systems, web services play a critical role in the integration space. This article is all about the importance of web services in integration. We will use the samples to illustrate how to bind web services with the ServiceMix ESB to facilitate integration.
In this article by Binildas A. Christudas, we will cover the following:
- Web services and binding
- Introduction to HTTP
- ServiceMix's servicemix-http component
- The consumer and provider roles for the ServiceMix JBI components
- servicemix-http in the consumer and provider roles
- Web service binding (Gateway) sample
The best way to understand the behavior and setup required to use the Dynamics AX BizTalk adapter is to walk through a full example. A common requirement for many companies that use Dynamics AX is to populate the currency exchange rates. Typically, this needs to be daily when the closing rates are published. The Exchange Rates(General ledger | Setup Exchange rates) table in AX is not a shared table across companies, thus depending how your organization is set up; you may or may not need to populate the Exchange rate table using multiple companies with multiple rates.
In this article by Carl Darski, author of Microsoft BizTalk 2010: Line of Business Systems Integration, we'll create a BizTalk application to populate the exchange rates table.Read BizTalk Application: Currency Exchange Rates in full
In the previous article, BizTalk Application: Currency Exchange Rates, we took a look at the setup for sending data using AIF XML documents to AX. We can use the BizTalk adapter to retrieve data from Dynamics AX via this AIF module. This is done using the AIF Queue manager. Throughout Dynamics AX, there are Send electronically buttons that can allow you to push data into the AIF Queue with an Outbound direction. Similarly, asynchronous incoming messages have an Inbound direction parameter.
In this article by Carl Darski, author of Microsoft BizTalk 2010: Line of Business Systems Integration, we'll create a BizTalk application that retrieves messages from Dynamics AX 2009 via the AIF Queue.Read BizTalk Application: Dynamics AX Message Outflow in full
In the previous article we discussed the key principles of SOA. In this article by Richard Seroter, author of SOA Patterns with BizTalk Server 2009, we will proceed further with the discussion on proper planning of a service oriented solution and cover:
- Which types of services can be exposed
- The standard message exchange patterns for services
The purpose of creating a BlackBerry Enterprise Server user is to assign a device to the user and then manage that device via policies. In this article by Mitesh Desai, author of BlackBerry Enterprise Server 5 Implementation Guide, we will be looking at activating devices and the various methods that are available to do so. We will create users on our BES system, and then assigning them Smartphone devices. We will be providing our Microsoft Exchange users access to the BlackBerry Enterprise Server.
We will look at creating a single user account so that we become familiar with the settings, but in a practical environment we would need a quicker way to create the users, especially if we have over 500 users in our organization. In the Lab, at the end of the article, we will be importing users to the BES.Read BlackBerry Enterprise Server 5: Activating Devices and Users in full
In this article by Mitesh Desai, author of BlackBerry Enterprise Server 5 Implementation Guide, we will have a look at the MDS (Mobile Data Service) runtime applications that can be deployed to the BlackBerry Smartphone. MDS enables the BlackBerry to truly become a Smartphone by allowing administrators to deploy critical applications to the Smartphone. This article will show you how to distribute an MDS application to a BlackBerry device. We will also custom develop applications to run on the BlackBerries or use third-party applications to push on to the devices. Finally, we will further secure the application usage on the device by using IT policies.Read BlackBerry Enterprise Server 5: MDS Applications in full
Planning is a key element of any IT implementation, but planning can only be accomplished with an understanding of the technical underpinnings of the proposed solution. In this article, authors Mitesh Desai and Dan Renfroe delve more deeply into the technical architecture of BES in order to provide you with an understanding of what’s under the hood. This article also covers the system requirements and pre-requisites for a BES implementation, including operating system, hardware, network, and database requirements.Read BlackBerry: BES Architecture and Implementation Planning in full
In this article by William Rice the author of the book Blackboard Essentials for Teachers, we will discuss how to create assignments where the student must submit or upload a material for the instructor to review. You will learn how to review and respond to the files that students submit.Read Blackboard Essentials for Teachers - Assignments for Students in full
There are many places where Python can be used in Blender. In this article by Michel Anders, author of Blender 2.49 Scripting, we will now look at scripts that may be used to act on certain events. These scripts come in two flavors—script links and space handlers. You will learn what script links and space handlers are and how they can be used to perform activities on each frame change in an animation. You also see how to associate additional information with an object, how to use script links to make an object appear or disappear by changing its layout or changing its transparency.Read Blender 2.49 Scripting: Animating the Visibility of objects in full
Having covered what script links and space handlers are in the previous article, we will take the discussion further on how Python can be used in Blender. Although softbody and cloth simulators that are available in Blender do an excellent job in many situations, sometimes you want to have more control over the way a mesh is deformed or simulate some specific behavior that is not quite covered by Blender's built-in simulators. This article shows how to calculate the deformation of a mesh that is touched, but not penetrated by another mesh. This is not meant to be physically accurate. The aim is to give believable results for solid things touching an easily deformable or gooey surface such as a finger taking a lick of butter or a wheel running through a soft shoulder.
In this article by Michel Anders, author of Blender 2.49 Scripting, you will learn:
- How to implement a scheme to associate a different mesh with an object on each frame
- How to augment the functionality of the 3D View
The Blender API provides us with the means to define IPOs from scratch, enabling the definition of movements not easily re-created by setting key frames by hand. Thus there is more to IPOs than just driving one IPO by another one. Furthermore, Shape keys and poses are examples of (collections of) IPOs that are quite different from, for example, a location IPO. We will encounter both shape keys and poses later on in this article, but we will start off with looking at how we might define an IPO from scratch.
In this article by Michel Anders, author of Blender 2.49 Scripting, you will learn how to:
- Define IPOs
- Define shape keys on a mesh
- Define IPOs for those shape keys
- Pose armatures
- Group changes in poses into actions
(Other related articles on Blender 2.49 Scripting are listed at the end of this page.)Read Blender 2.49 Scripting: Shape Keys, IPOs, and Poses in full
Many times, objects contain numerous attributes that define how they look, and they're not always perfectly uniform in relation to the object. For example, a used paint can would have paint dripping down the sides of the can—if we were creating this can in 3D, we'd have to tell Blender that there is a specific spot on our 3D mesh that contains different attributes than the rest of the mesh. This is where UV mapping comes in handy. UV coordinates are, in simple terms, a two-dimensional representation of the texture coordinates of a three-dimensional object. They allow us to tell Blender specific properties about specific areas of our objects in a scene.
In this article by Aaron W. Powell, author of Blender 2.5 Lighting and Rendering, we're going to talk about creating custom textures for our scene and how to bring them into Blender. We will learn how to create a custom UV map and texture for an object in our interior scene.Read Blender 2.5: Creating a UV Texture in full