Linux

Article Thumbnail
Article

Permanently Enable a Software Collection

Langdon White

Apologies that this has been so long in coming, but I was certain that we had already written a post on this subject. What subject you ask? How does one set one or more software collections as automatically enabled for your login. Some of you may consider this obvious, but there are a number of ways to accomplish this goal. First, you just "source" the enable script from your .bashrc. For example source /opt/rh/python33/enable However, as this Red Hat kbase...

Article Thumbnail
Article

Building birdie -- a Twitter client -- for Red Hat Enterprise Linux 7 Beta

Ryan Lerch

Birdie is a beautiful, new Twitter client for the Linux desktop that is not included as official software in Red Hat Enterprise Linux 7 Beta. This post details the steps I followed, and a few of the issues faced when building and packaging birdie for RHEL7 Beta. Setting up your build environment Starting with a clean install of the RHEL7 Beta Workstation, install the Development Tools group, and the rpmdevtools package with the commands: sudo yum groupinstall "Development tools" sudo...

Article Thumbnail
Article

DevNation talks I want to see, by Matt Newsome

Matt Newsome

We've just over a month to go until Red Hat Summit 2014 and the newly rebranded DevNation conference open their doors in San Francisco's Moscone Center South, located in the heart of downtown San Francisco. While we're putting the finishing touches to our great new product releases for developers, we're also really looking forward to attending the conferences ourselves. They present a great opportunity for like-minded developers to come together, see what's new and share ideas - all part of...

Article Thumbnail
Article

Red Hat Developer Toolset 2.1 now generally available

Mike Guerette

Red Hat is pleased to announce the general availability of Red Hat Developer Toolset 2.1. This latest version bridges development agility with production stability by delivering the latest stable versions of essential open development tools to enhance developer productivity and improve deployment times. Red Hat Developer Toolset 2.1 introduces a new tool to its content set – Git 1.8.4 – and updates key packages to help developers deliver new applications and functionality faster. Red Hat Developer Toolset enables C and...

Article Thumbnail
Article

RePost | Red Hat Announces Certification for Containerized Applications, Confidence and Trust to the Cloud

Mike Guerette

Red Hat | Red Hat Announces Certification for Containerized Applications, Extends Customer Confidence and Trust to the Cloud. Red Hat "announced the extension of its application certification program to include containerized applications. The Red Hat Container Certification ensures that application containers built using Red Hat Enterprise Linux will operate seamlessly across certified container hosts. " Read the whole article .

Article Thumbnail
Article

An Introduction to COPRs

Langdon White

As many of you have probably experienced, creating your own rpms can be handy, but what is even better is if you can access those rpms from anywhere on the internet. It is also handy to be able to share the rpms with your friends :). In the past that has meant building all of the rpms for the various RHEL-ecosystem OSs and then finding somewhere you can host them and maintaining it yourself. What I am excited to tell...

Article Thumbnail
Article

Examining Huge Pages or Transparent Huge Pages performance

William Cohen

All modern processors use page-based mechanisms to translate the user-space processes virtual addresses into physical addresses for RAM. The pages are commonly 4KB in size and the processor can hold a limited number of virtual-to-physical address mappings in the Translation Lookaside Buffers (TLB). The number TLB entries ranges from tens to hundreds of mappings. This limits a processor to a few megabytes of memory it can address without changing the TLB entries. When a virtual-to-physical address mapping is not in...

Article Thumbnail
Article

Determining whether an application has poor cache performance

William Cohen

Modern computer systems include cache memory to hide the higher latency and lower bandwidth of RAM memory from the processor. The cache has access latencies ranging from a few processor cycles to ten or twenty cycles rather than the hundreds of cycles needed to access RAM. If the processor must frequently obtain data from the RAM rather than the cache, performance will suffer. With Red Hat Enterprise Linux 6 and newer distributions, the system use of cache can be measured...

Article Thumbnail
Article

Find and fix nasty memory bugs with Developer Toolset's memstomp tool

Matt Newsome

One of the really useful tools provided by Red Hat Developer Toolset v2.x is " memstomp ", which helps you identify a particularly nasty class of bug in applications built (directly or indirectly) from C/C++ code so you can then fix them before your customers experience problems. In this brief article, I'll explain the background for the tool, how to get it, how to use it yourself and briefly how it works. Background The memcpy() routine in the standard C...

Article Thumbnail
Article

Profiling Ruby Programs

William Cohen

The Ruby Interpreter includes a profiling tool which is invoked with the -rprofile option on the command line. Below is an example running the Ruby Fibonacci program ( fib.rb ) included in Ruby documentation samples. The list of functions is sorted from most to least time spent exclusively in the function ( self seconds ). The first column provides the percentage of self seconds for each function. The cumulative seconds indicates the amount of time spent in that function and...

Article Thumbnail
Article

Using Python's Virtualenv with RHSCL

Bohuslav Kabrda

I've been getting more and more questions about using Python's virtualenv with python27 and python33 collections from RHSCL, so I decided to write a very short tutorial about this topic. The "tl;dr" version is: everything works perfectly fine as long as you remember to enable the collection first. Update 2018: An updated article has been published, See How to install Python 3, pip, venv, virtualenv, and pipenv on Red Hat Enterprise Linux . What is Virtualenv Citing Virtualenv official documentation...

Article Thumbnail
Article

Repost: RHEL 7 Beta “The 7th Guest”?

Mike Guerette

Red Hat's Bhavna Sarathy writes about Red Hat Enterprise Linux 7 Beta “The 7th Guest”? in the rhelblog.redhat.com.

Article Thumbnail
Article

RHEL 7 Beta, Extra Packages

Langdon White

Hopefully, a lot of you are trying out RHEL 7. I know I have been for the last weeks and I documented my experience in an earlier post . Initially, I had some trepidation about moving to the new beta without EPEL being available. For the most part, I have been able to track down RPMs for everything I need that wasn't included in the Beta, but, I am happy to discover that the "beta" of EPEL for RHEL7 is...

Article Thumbnail
Article

Migrate to Python 3 with RHSCL

Bohuslav Kabrda

Although most of Python enterprise applications still use Python 2 (e.g. Python 2.4 on RHEL 5 or Python 2.6 on RHEL 6), Python 3 has already become a mature variant and is worth considering. Why, you ask? Python 3 series is being actively developed by upstream, while Python 2 now only gets security fixes and bug fixes. Python 2.7 is the latest minor release of the 2.X series and there will be no Python 2.8 . This is very important...

Article Thumbnail
Article

Profiling Python Programs

William Cohen

For RHEL6 and newer distributions tools are available to profile Python code and to generate dynamic call graphs of a program's execution. Flat profiles can be obtained with the cProfile module and dynamic callgraphs can be obtained with pycallgraph. The cProfile Python module records information about each of the python methods run. For older versions of Python that do not include the cProfile module you can use the higher overhead profile module. Profiling is fairly simple with the cProfile module...

Article Thumbnail
Article

Red Hat wins 2 DeveloperWeek 2014 Innovator Awards!

Mike Guerette

DeveloperWeek 2014 Innovator awards have been announced and Red Hat has garnished two of them: 1. Platform-as-a-Service: Red Hat OpenShift 2. Coding Environments: Red Hat Software Collections Thank you to all of you who voted! And thank you to all of the Red Hatters that contributed to delivering these two offerings. Note that coincidentally, Red Hat Software Collections eventually become OpenShift cartridges. Also, Red Hat will be a sponsor at DeveloperWeek Conference + Expo , February 18-19, in San Francisco...

Article Thumbnail
Article

DevConf.cz 2014 - visit these sessions!

Marcela Maslanova

The Developer Conference in Brno will be held February 7-9th. I'd like to invite you to these interesting presentations prepared by my colleagues. DevAssistant - What's in it for you Friday, February 7 • 11:30 - 12:10 DevAssistant is a new tool that targets both development beginners and seasoned coders. It can set up development environment, kickstart new projects in various languages and frameworks and install dependencies. Plugins for docker.io are in the road map. Create your own collection, (also...

Article Thumbnail
Article

Taking the plunge with RHEL7 Beta

Langdon White

I decided to switch to the RHEL 7 Beta on my work laptop. As a result, I thought I would outline my experience here. First and foremost, my drive is pretty well partitioned with /home and root ("/") separated. I also keep most of my "work" in a separate mount under /mnt/nbu ("nbu" stands for "not backed up" which is not strictly true, it just doesn't use the corporate backup :) and the name stuck). However, I don't want to...

Article Thumbnail
Article

Red Hat Developer Newsletter - December 2013

Mike Guerette

This is our new Red Hat Developer Newsletter that launched last month. Please register for this and receive a summary of important Red Hat developer news. The January issue will be going out soon! Welcome to the inaugural issue of the Red Hat Developer Monthly Newsletter If you're reading this, you probably already know that Red Hat is the world's leading provider of open source solutions, using a community-powered approach to provide reliable and high-performing Linux, cloud, virtualization, storage, and...

Article Thumbnail
Article

DTS Survey - what tools do you use/plan to use?

Mike Guerette

Red Hat Developer Toolset users - tell us which components you're using and which ones you intend to use. Also - tell us what blogs/articles you'd like to see on any of them. The better we understand your needs, the better we can address them. Thank you!