Article Network

Using Debug Perspective – setting breakpoints

by Anatoly Spektor | May 2013 | Java Open Source

The article, Using Debug Perspective, will guide you through the ways of setting up breakpoints and navigate through the code using various breakpoint manipulation options. This article by Anatoly Spektor, author of Instant Eclipse Application Testing How-to, will guide you to learn what breakpoints are and how to use them. After reading this article, you will be able to effectively debug Java applications of any scope. Fortunately, any prior knowledge of Eclipse is not required; thus it is suitable for developers with any level of experience in Eclipse application development and testing.

Read Using Debug Perspective – setting breakpoints in full

Big Data Analysis

by Brian Femiano Jon Lentz Jonathan R. Owens | May 2013 | Cookbooks Open Source

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

Converting tables into graphs (Advanced)

by Fernando Monteiro | May 2013 | Open Source

Another alternative much discussed by the community of developers is transforming the table into a graphic when it is being displayed on small screen devices. This is not an easy task taking into account the size and amount of data that a table can have.

Let's see an alternative solution combining the previous recipes with another plugin for rendering graphics. The main reason for this combination is we use only one plugin per page, thus optimizing our load.

This article by Fernando Monteiro, the author of the book, Instant HTML5 Responsive Table Design How-to explains what happens when we convert the data and display a nice graphic for our users using a properly formatted table.

Read Converting tables into graphs (Advanced) in full

Ten IPython essentials

by Cyrille Rossant | May 2013 | Open Source

In this article by Cyrille Rossant, author of Learning IPython for Interactive Computing and Data Visualization, we will take a quick tour of IPython by introducing 10 essential features of this powerful tool. Although brief, this hands-on visit will cover a wide range of IPython functionalities.

Read Ten IPython essentials in full

Installing and customizing Redmine

by Andriy Lesyuk | April 2013 | Open Source

In this article by Andriy Lesyuk, author of Instant Google Drive Starter, you will learn how to install and customize Redmine.

For installing Redmine from a package we will use Ubuntu Server 12.04 LTS. Why Ubuntu? Because it's one of the most popular Linux distributions nowadays and Ubuntu is widely used along with Redmine (for example, the TurnKey Linux is also based on Ubuntu).

Read Installing and customizing Redmine in full

Creating a Lazarus Component

by Roderick Person | April 2013 | Open Source

In this article by Roderick Person, author of Getting Started with Lazarus IDE, we are going to look at creating new components for Lazarus. We will do this by:

  • Creating a message-logging component

  • Adding properties to the components that appear in the Object Inspector window when a component is used in design time

  • Adding events of the components that appear in the Object Inspector window when a component is used in design time

  • Learning the basics of creating a Property Editor window

  • Learning the basics of creating a Component Editor window and looking at the TCheckListBoxComponentEditor component are some examples

So let's begin.

Read Creating a Lazarus Component in full

Querying and Selecting Data

by Eric Pimpler | April 2013 | Cookbooks

Selecting features from a geographic layer or rows from a standalone attribute table is one of the most common GIS operations. Queries are created to enable these selections, and can be either attribute or spatial queries. Attribute queries use SQL statements to select features or rows through the use of one or more fields or columns in a dataset. An example attribute query would be "Select all land parcels with a property value greater than $500,000". Spatial queries are used to select features based on some type of spatial relationship. An example might be "Select all land parcels that intersect a 100 year floodplain" or perhaps "Select all streets that are completely within Travis County, Texas". It is also possible to combine attribute and spatial queries. An example might be "Select all land parcels that intersect the 100 year floodplain and have a property value greater than $500,000".

In this article by Eric Pimpler, author of Programming ArcGIS 10.1 with Python Cookbook, we will cover the following recipes:

  • Constructing proper attribute query syntax

  • Creating feature layers and table views

  • Selecting features and rows with the Select Layer by Attribute tool

  • Selecting features with the Select by Location tool

  • Combining spatial and attribute queries with the Select by Location tool

Read Querying and Selecting Data in full

SciPy for Computational Geometry

by Francisco J. Blanco-Silva | April 2013 | Open Source

In this article by Francisco J. Blanco-Silva, the author of Learning SciPy for Numerical and Scientific Computing, we will cover the routines in the scipy.spatial module that deal with the construction of triangulations of points in spaces of any dimension, and the corresponding convex hulls. The procedure is simple; given a set of m points in the n-dimensional space (which we represent as an m x n NumPy array), we create the scipy.spatial class Delaunay , containing the triangulation formed by those points.

Read SciPy for Computational Geometry in full

Getting Started with PrimeFaces

by Mert Çalışkan Oleg Varaksin | April 2013 | Cookbooks Java Open Source

The purpose of the article, PrimeFaces—the rapidly evolving, JSF component suite, is to address a wide audience interested in modern, trend-setting Java or JEE web development. In this article by Mert Çalışkan and Oleg Varaksin, authors of PrimeFaces Cookbook, we will be provided with a sneak preview on some of the prime features of PrimeFaces, such as the AJAX processing mechanism and resource handling with Internationalization and Localizaiton, along with the necessary steps to implement a simple web application using PrimeFaces, which will give a head start to the user.

In this article  we will cover:

  • Setting up and configuring the PrimeFaces library

  • AJAX basics with Process and Update

  • Internationalization (i18n) and Localization (L10n)

  • Improved resource ordering

  • PrimeFaces scaffolding with Spring Roo

Read Getting Started with PrimeFaces in full

Creating a website with Artisteer

by Jakub Sanecki | April 2013 | Joomla! WordPress

The article, Creating a website with Artisteer, helps you develop a good-looking, professional website using Artisteer without the need to learn programming languages. This article by Jakub Sanecki, author of Creating Templates with Artisteer, explains the process of designing templates for websites using Artisteer.

Read Creating a website with Artisteer in full

Learning to Fly with Force.com

by Abhinav Gupta Ankit Arora | April 2013 | Enterprise Articles

In this article by Ankit Arora and Abhinav Gupta, the authors of the book Force.com Tips and Tricks, we will focus on the basics of cloud computing and briefly go over the following:

  • Principles and constructs of Force.com

  • Benefits and building blocks of Force.com

  • When to choose this platform

  • Which edition is right for you?

  • A cursory overview of how to manage your Salesforce.com org

Read Learning to Fly with Force.com in full

Testing your App

by Gabriel José Balda Ortíz Nehal Shah | April 2013 | Enterprise Articles Web Development

While the subject of testing could span whole books and there are many books on the subject indeed, we will offer a framework for testing HTML5 enterprise applications as well as an outline of cogent topics that will serve as a point of departure for further study. Different testing tools come with their own particular set of idioms; we will cover the concepts underlying those idioms.

This article by Nehal Shah and Gabriel José Balda Ortíz, authors of HTML5 Enterprise Application Development, will cover the following:

  • Unit testing

  • Functional testing

  • Browser testing

  • Continuous integration

Read Testing your App in full

Advanced Hadoop MapReduce Administration

by Srinath Perera Thilina Gunarathne | April 2013 | Cookbooks Open Source

In this article by Srinath Perera and Thilina Gunarathne, authors of Hadoop MapReduce Cookbook, we will cover:

  • Tuning Hadoop configurations for cluster deployments

  • Running benchmarks to verify the Hadoop installation

  • Reusing Java VMs to improve the performance

  • Fault tolerance and speculative execution

  • Debug scripts – analyzing task failures

  • Setting failure percentages and skipping bad records

  • Shared-user Hadoop clusters – using fair and other schedulers

  • Hadoop security – integrating with Kerberos

  • Using the Hadoop Tool interface

Read Advanced Hadoop MapReduce Administration in full

Getting started with Modernizr using PHP IDE

by Chip Lambert | April 2013 | Open Source

This article by Chip Lambert, author of Instant RESS Implementation How-to will explain how to get started with the feature detection library, Modernizr.

Read Getting started with Modernizr using PHP IDE in full

Creating weapons for your game using UnrealScript

by Dave Voyles | April 2013 | Cookbooks Games

In this article by Dave Voyles, author of UnrealScript Game Programming Cookbook, we will learn how we can create a gun that fires homing missiles, a gun that heals pawns, and a weapon that can damage over time.

Read Creating weapons for your game using UnrealScript 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