Article
       Thumbnail
Article

Starting with SystemTap

March 7, 2013

As I stare at this blank screen to start writing my first blog entry I have that same feeling that so many developers have when starting with an unfamiliar programming language or application. The developers in our group realize that it is not easy starting from nothing and we strive to make it easier to productively use SystemTap to investigate performance problems. A starting point for anyone's first use of SystemTap is the SystemTap Beginners Guide on the Red Hat...

            Article
       Thumbnail
Article

New Secure Development Video Series

February 25, 2013

Software Developers always know they are supposed to be paying attention to security when they program. However, developers also know that without regular reminders both of the things they know and new threats, secure development practices can suffer. As a result, you might find the new series of videos from the Red Hat Product Security Team useful. The first two videos cover that age old topic, “Input Validation” with the first video a bit of an intro and covering XSS...

            Article
       Thumbnail
Article

Getting Started with RPMs

February 22, 2013

Unfortunately, not every application is packaged for every distribution. What do you do when you can't find it packaged for Red Hat Enterprise Linux? If you are like most people, you give up or attempt to install it from source. What happens when installing from source goes badly? If you are like most people, you definitely give up. How do you keep up with application improvements or, perhaps more importantly, security fixes? If you are like most people, you periodically...

            Article
       Thumbnail
Article

Setting up Django and Python 2.7 on Red Hat Enterprise 6 the easy way

February 14, 2013

Recently, I needed to get Django installed with Python 2.7 on Red Hat Enterprise Linux 6. As this is not a directly supported activity, I wanted to document how I went about it. As you might imagine, the generally expected method for install would be to grab the Python 2.7 source tree and then build it. Obviously, that can be a lot of work; is not particularly repeatable; and, potentially, exposes you to more security flaws. As a result, I...

            Article
       Thumbnail
Article

Array allocation in C++

February 12, 2013

This technical article covers a subtlety in C++ array allocation and how we changed the GNU C++ compiler to deal with it properly. When a programmer writes T *p = new T[3];the C++ compiler allocates room for at least three copies of objects of type T on the heap. These objects require 3 * sizeof(T) bytes. For this example, assume sizeof(T) is 12, then it is straightforward to allocate 36 bytes (for example, using malloc). But what happens if the...

            Article
       Thumbnail
Article

7 ways to improve your application's performance with the new Developer Toolset 1.1 release

February 4, 2013

Are you missing out on opportunities to increase your applications' performance? As an application developer building on Red Hat Enterprise Linux, you invest a lot of time and effort into making your applications compelling and useful for your users. You probably also want to see good performance. But beyond good design, careful algorithm selection and compiler optimizations, what can a developer use to boost their application performance? 1. The latest GCC release and associated tools The very first thing a...

            Article
       Thumbnail
Article

Ruby on Rails 3.2 on Red Hat Enterprise Linux 6 with Software Collections

January 31, 2013

While Red Hat Enterprise Linux is known for its stability and flexibility, you might not think of it first when looking for the latest version of your web application framework. If you're a developer working with Ruby and Ruby on Rails, you probably want to take advantage of their new features. Sure, you can use RVM, but sometimes you just want to get supported system packages. Software Collections (often abbreviated as SCL) allows you to run more recent versions of...

            Article
       Thumbnail
Article

Software Collections on Red Hat Enterprise Linux

January 28, 2013

Did you ever wish you had newer versions of the software on your Red Hat Enterprise Linux machines? You are probably not alone. Providing new versions of software in rpm is hard, because rpm supports only one version installed on your computer at a time. Multiple versions on one machine can conflict with each other or create unpredictable behaviour in applications that you might not have considered dependencies. Last year, we developed Software Collections to allow you to install newer...

            Article
       Thumbnail
Article

Red Hat Developer Toolset 1.1 Now Available through Developer-focused Subscriptions

January 25, 2013

Today Red Hat announces the general availability of version 1.1 of Red Hat Developer Toolset through Red Hat Enterprise Linux Developer Subscriptions. For developers, having ready access to the latest, stable development tools is key to taking advantage of open source innovation. Red Hat Developer Toolset 1.1 bridges development agility with production stability by delivering the latest stable versions of essential C and C++ development tools. By employing Red Hat Developer Toolset, organizations can significantly increase developer productivity and improve...

            Article
       Thumbnail
Article

Is your C++ development team missing out? Developer Toolset: newer tools on and for multiple RHEL releases

January 23, 2013

Wouldn't it be nice if your software development team could use one common set of development tools based on the latest, stable upstream versions for your Red Hat Enterprise Linux development? Think of all the extra years of open source innovation - the features, optimizations and new standards support it would allow your team to build into your products. That would be great, wouldn't it? Fortunately, this is already available to you today, and in this blog post I'll explain...