Linux

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 the functions...

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: "virtualenv...

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 now...

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 since...

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, so...

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!

Article Thumbnail
Article

DevConf.cz 2014 - Developer Conference in Brno

Marcela Maslanova

You might already heard about DevConf conference in Brno (February 7-9th). If not, it's an open conference for all Linux and JBoss Developers, Admins and advanced Linux users organized by Red Hat Czech Republic. There will also be a lab dedicated to Software Collections on Friday 3:50-5:20. Maintainers of Red Hat Software Collections will attend the lab, so you have great opportunity to ask how to add new modules into a Ruby collection or whatever bothers you. What's the lab...

Article Thumbnail
Article

Red Hatters on RHEL 7 Beta

Mike Guerette

Here's a short video about what Red Hatters are saying about RHEL 7 beta, the next-generation of the world’s leading Linux platform. http://www.youtube.com/watch?feature=player_embedded&v=n8cbR2AtjAQ It can also be seen on the RHEL blog for SysAdmins: rhelblog.redhat.com.

Article Thumbnail
Article

Software Collections: What Components Do You Want Added?

Mike Guerette

In October, we had a survey on which Software Collection components you are using or plan to use. This also included a placeholder for you to add your requests for future component additions. We've had good input thus far, but we're looking for more input on your collection requests. If you've not already done so, please fill out the form below (or follow this link) and let us know which components you're using. And while you're at it, tell us...

Article Thumbnail
Article

RHEL7 testers - enter a $500 drawing

Mike Guerette

Repost from Red Hat Enterprise Linux Blog. "In the coming weeks, we’ll explore the inner workings of Red Hat Enterprise Linux 7 Beta – what makes it tick and how it will make your organization tick better. But for now, read all about what the next generation of Red Hat Enterprise Linux 7 will entail here – better yet, try it out for yourself, and enter a drawing to win $500 by telling us what interests you most."

Article Thumbnail
Article

Partner Early Access Program for RHEL 7 Beta

Langdon White

As you probably saw, we announced the availability of the Red Hat Enterprise Linux 7 Beta on the 11th of December. Would you like to get more involved in the Beta? Well, we have spun up a special program (Red Hat Enterprise Linux 7 Beta: Partner Early Access Program (hence we normally just call it the "PEAP" :) ) for partners who are interested and excited about working with the Beta and sharing their feedback. We will be staffing a...

Article Thumbnail
Article

New: RHEL Blog for SysAdmins

Mike Guerette

Be sure to follow this new addition to the Red Hat blogosphere at: rhelblog.redhat.com. You can expect to see a great series of technical articles here.

Article Thumbnail
Article

Announcing OpenShift Enterprise 2.0 | OpenShift by Red Hat

Mike Guerette

Announcing OpenShift Enterprise 2.0 | OpenShift by Red Hat. In case you missed this last week - Red Hat Software Collections are becoming cartridges in OpenShift. " Cartridge Upgrades: As a leader in both operating system development and middleware solutions, Red Hat is in a unique position to provide some amazing content to PaaS users, which are integrated as OpenShift Cartridges. With the advent of the Red Hat Software Collections we are now able to bring Node.js to our OpenShift...