Octave is an ideal tool to perform many different types of data analysis. The data can be generated by other programs or be collected from a database and then loaded into Octave's workspace. The data analysis tools in Octave are based on a truly impressive arsenal of different functions. In this article by Jesper Schmidt Hansen, author of GNU Octave Beginner's Guide, we will only discuss a few of them here, namely, how to perform the simplest statistical analysis and function fitting.
In brief terms, upon reading this article, you will learn:
- More about the ASCII file formats that can be loaded into Octave's workspace.
- How you can use Octave to perform simple descriptive statistics.
- About fitting different functions to data.
In this article written by Jacobo Rodríguez, the author of the book GLSL Essentials, we will learn how to set up the shaders from the host application side.
OpenGL 4.3 is a C language API that bases its design in encapsulating objects in opaque handles that represents abstract concepts (from the user's point of view) such as textures, shaders, vertex buffers, and so on. In order to render something using OpenGL, we have to create those objects, associate our data to them, and issue the required OpenGL commands to set them as active, and in the last term, launch the draw call.
Let's define an important computer graphics concept: a rendering batch. A rendering batch is the geometry set that will be rendered along with the textures, OpenGL's states and shaders. Once we have all that data ready, we can issue the drawing command to the GPU, and hopefully (if we did everything correctly) watch the rendering in our screen.
The order of the creation of the different OpenGL objects is not relevant. You can first create the vertex buffer or the shaders, or first the textures and then the shaders. I will use the following order just for teaching purposes:
- Vertex array objects
Then, I will put all together and render the batch.Read GLSL – How to Set up the Shaders from the Host Application Side in full
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
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
This article by Dirk Manuel explains how to build and implement a Glossary.
A Glossary defines terms that are unique to a project or system, or new to your users. A Glossary typically consists of a number of term/description pairs. The added value that UPK provides is that instances of each term in exercises can be hyperlinked to the relevant entries in the Glossary.Read Glossary in UPK 3.5 in full
In this article by Mauricio Salatino, we will cover the main points that you need in order to start working with the jBPM framework.
This article will tackle, in a tutorial fashion, the first steps that you need to know in order to start using the framework with the right foot. We will follow a real example and transform the real situation into requirements for a real jBPM implementation.Read Getting Your Hands Dirty with jPDL: Part 1 in full
In this article by Brandon Ballentine, author of Desire2Learn for Higher Education Cookbook, we will cover the following recipes:
Copying course materials from a previous semester
Importing a publisher's course cartridge
Changing many due dates from one screen
Double-checking everything from the student view
Configuring your web browser
In this article by Douwe Pieter Van Den Bos, we will get ready for our Forms conversion and generation. In this part of our conversion project, we will investigate, analyze, and adjust some of the most important parts of our application. This means that we will set everything up for the generation of the application. We will discuss the following parts of the conversion project in this article:
- Investigating the components that will be generated
- Getting to know the database blocks in our Forms files
- Looking deeper into the block items inside our blocks and editing them
- Enhancing the queries on which our blocks are based
- Analyzing the triggers we have in the Forms XML files
- Massively changing the completeness and applicability of triggers or items
- Customizing the query that the blocks are based on in order to complete our generation
- Understanding the way our pages will be generated in APEX
- Editing the titles of our blocks and items
- Analyzing our business logic (probably the most important part)
There are, several ways to get MySQL for Python in a place such that your local Python installation can use it. Which one you use will depend as much on your familiarity with your operating system and with Python itself, as it will on which operating system and version of Python you are running.
In this article, by Albert Lukaszewski, PhD, author of MySQL for Python, we will cover the following:
- Where you can get MySQL for Python
- Installing MySQL for Python
- Importing the module into your programs
- Accessing online help about the MySQL for Python API and its accompanying modules
- How to connect to a database
- How to create a MySQL cursor proxy within your Python program
- How to close the database connection from Python
- How to access multiple databases within one program
A free and open-source Integrated Development Environment (IDE) for software developers. In this article by Atul Palandurkar, author of Instant NetBeans IDE How-to, you get all the tools you need to create professional applications with the Java platform such as follows :
- Desktop applications,
- Enterprise applications,
- Web applications, and
- Mobile applications,
In this article by Dr. Mark Alexander Bain, we will be dealing with building a Facebook application. However, before we jump into building a Facebook application, we need to spend some time looking at the Facebook platform, and by the end of this article you will:
- Understand what the Facebook Platform is, and how it relates to your application
- Know about the elements that make up the Facebook Platform, and how to test them without having to create an application
- Know how to set up the Facebook Platform, ready for your new application
GML or GameMaker Language is a great tool for expanding the already vast variety of tools provided by GameMaker: Studio. GML scripts allow users to write their own code, creating an organized codebase that is easier to modify and debug than GameMaker: Studio's built-in drag-and-drop functionality.
Before exploring GML's use in creating actual games, this article by Matthew DeLucas, the author of GameMaker Game Programming with GML, will go over the basics of the language, such as the following components:
- Syntax and formatting
In this article, we are going to hit the ground running. We are going to go from zero to a deployed website by the end of this article. This means that we are going to see an in-depth review of every setting.Read Getting Started withRapidWeaver in full
This definition is from the Zombie.js documentation at http://zombie.labnotes.org. Automating tests for your web application is crucial to having a quality product but doing it properly can be a painful experience. That is why most of the time this part of the project never gets implemented. Developers either limit themselves to testing the underlying business logic and control flow in isolation, or, if they really want to test the user interface, must resort to complicated setups where you somehow connect to real browsers and command them using remote scripts.
In this article by Pedro Teixeira from the book Using Node.js for UI Testing, we will cover following topics:
A brief history of software testing
Understanding the server-side DOM
How Zombie.js works internally
By the end of this article, you should understand how Zombie.js works and what types of applications can be tested using it.Read Getting Started with Zombie.js in full
This article by Faruk Akgul, author of ZeroMQ explains what a message queuing system is, discusses the importance of message queuing, and introduces ZeroMQ to the reader.
Before we start digging into ZeroMQ, let's first have a brief introduction on the general concept of message queues.Read Getting Started with ZeroMQ in full
In this article by Jonathan Fielding, the author of Instant jQuery Boilerplate for Plugins, we will have a look at creating our first plugin that manipulates the shape of the div element. You will be familiarized with both with jQuery plugin development and the jQuery Boilerplate template.
Let us write our first plugin. For this recipe, we will look at how we can create a plugin that manipulates the shape of a div element.
XenApp 6 is the leader in application hosting and virtualization delivery, allowing users from different platforms such as Windows, Mac, Linux, and mobile devices to connect to their business applications. It reduces resources and costs for application distribution and management.
In this article by Guillermo Musumeci, author of Getting Started with Citrix XenApp 6, we will learn:
- XenApp 6 and its features
- System requirements for the installation of XenApp 6
This article by April Hodge Silver, author of WordPress 3 Complete, will guide you through the process of setting up WordPress and customizing its basic features. You can choose between a couple of options regarding where your WordPress installation will live. Keep in mind that WordPress is relatively small (under 10 MB), easy to install, and easy to administer.
In this article, you will learn how to:
- Create a free blog on WordPress.com
- Install WordPress manually on your web host
Windows Installer XML (WiX) is a free XML markup from Microsoft that is used to author installation packages for Windows-based software. The underlying technology is Windows Installer, which is the established standard for installing desktop-based applications to any Windows operating system. It is used by countless companies around the world. Microsoft uses it to deploy its own software including Microsoft Office and Visual Studio. In fact, Microsoft uses WiX for these products.
In this article by Nick Ramirez, author of the book WiX: A Developer's Guide to Windows Installer XML, we will cover the following:
- Getting WiX and using it with Visual Studio
- Creating your first WiX installer
- Examining an installer database with Orca
- Logging an installation process
- Adding a simple user interface