Red Hat Enterprise Linux

Article Thumbnail
Article

.NET on Linux: Which Environment?

Don Schenck

If you are a Windows developer and you want to start writing .NET code in Linux, and you're not sure where to start, this article should help you understand some of the choices regarding your development environment. I’ll be using the Red Hat Enterprise Linux Developer Suite (RHEL) as my Linux of choice, which is freely downloadable for development use. It's also worth mentioning that how you actually install RHEL will affect your development experience. The up-front work to get...

Article Thumbnail
Article

Smart light with Arduino in Fedora / RHEL

Sumantro Mukherjee

The Internet of Things is a very new "thing" to us, but when we think of it, we've had access to the internet for a long period of time. We use "things" in day to day life that have been making our life easier for as long as we can remember. Let's take a common light bulb as an example. It consumes energy and produces light, which helps us everyday. Technology improvements have stripped down the consumption of resources to...

Article Thumbnail
Article

All Together Now: .NET, RHEL, Hyper-V and VSCode

Don Schenck

I'm a .NET developer at heart, and I want to write C# code that runs natively in Linux - Red Hat Enterprise Linux (RHEL), to be specific. So, I hopped over to the Red Hat .NET Developers web site, installed the CDK and was up and running in short order. I had a no-cost developer's copy of RHEL running on my PC and was writing .NET code. Life was good. I had my instance of RHEL inside a Vagrant Box...

Article Thumbnail
Article

Get started with Node.js v4 using Red Hat Software Collections 2.2 Beta

Rob Terzi

Node.js v4 is now available on Red Hat Enterprise Linux 6 and 7 using Red Hat Software Collections 2.2 Beta. The Get Started with Node.js v4 guide has you covered even if you don’t know how to use Red Hat Software Collections (RHSCL) or how to access the beta. After enabling the RHSCL 2.2 Beta software repository on your system, you will be able to install node, npm, and up to 200 additional Node.js packages with a simple yum command...

RedHat Shadowman Logo
Article

New beta: Software Collections 2.2 and Developer Toolset 4.1

Mike Guerette

Red Hat Developer Toolset has already been available for nearly four years and Red Hat Software Collections has been out for two and a half. We've seen excellent adoption of these as more and more developers and customers utilize the newer technologies that become available. So, this week we announced more with these two new beta releases. New news Red Hat Software Collections 2.2 Beta includes: new open source databases (MariaDB 10.1, MongoDB 3.2 and PostgreSQL 9.5) new open source...

Article Thumbnail
Article

Fedora "update testing" with Bodhi

Sumantro Mukherjee

Before and after Fedora releases, there are updates that keep coming in to fix bugs or add minor features to packages included in Fedora. To ensure that these are stable and don't affect the performance of the existing system, we do "update testing". Once testing is complete, we share our results and make sure that the developer is aware about the bugs and the success rate of the package. This article will explain how to participate in update testing and...

Article Thumbnail
Article

Getting Started with Release Validation Testing in Fedora QA

Sumantro Mukherjee

Release validation testing is a process which takes place before the official Fedora release. (Fedora is the upstream, community project from which RHEL is built.) Before the Final (GA) release, we have Alpha and Beta pre-releases and at each of these milestones, nightly builds (nightlies) and composes are released and tested to ensure that the release meets quality standards. Release validation testing is one way you can help Fedora get better, and this post will talk about how you can...

Article Thumbnail
Article

Introducing atomic scan - Container vulnerability detection

Brent Baude

In the world of containers, there is a desperate need to be able to scan container images for known vulnerabilities and configuration problems, and as we proliferate containers and bundled applications into the enterprise, many groups and companies have started to build container scanning tools. Even Red Hat has been building a scanning tool based on the tried and true OpenSCAP project, but there were several problems we saw time and again. The problems with existing container scanning tools included...

Article Thumbnail
Article

Redhatloves.net and #dotNETonLinux

Burr Sutter

Much has changed in the IT world in the last few years, first Microsoft Loves Linux and now Red Hat Loves .NET. I suspect for many of you it is a bit bewildering, however, there are huge wins here for software developers. C# is rapidly becoming the programming language with the greatest number of target platforms, including: iOS, Android, OSX, and now through the partnership with Red Hat (home of the worlds' most popular enterprise Linux platform) C# is becoming...

Article Thumbnail
Article

Refine your Linux package maintenance process with 'rebase-helper'

Petr Hracek

Rebase-helper is a tool that helps Linux package maintainers update their to the latest upstream version. New maintainers and experts alike will find value in the convenience this tool can offer. Rebase-helper applies patches, packages, and reports differences between the patched and un-patched versions.In summary, it automates some of the manual tasks usually performed by package maintainers when a new upstream version of that package is released. This article will explain how to get started using rebase-helper, and also demonstrate...

Article Thumbnail
Article

"Don't cross the streams": Thread safety and memory accesses at the speed of light

William Cohen

The classic 1984 movie Ghostbusters offered an important safety tip for all of us: " Don't cross the streams." - "Why not?" - "I t would be bad." - " I’m fuzzy on the whole good/bad thing. What do you mean, 'bad'?" - "Try to imagine all life as you know it stopping instantaneously and every molecule in your body exploding at the speed of light." - "Right. That’s bad. Okay. All right. Important safety tip. Thanks..." Similarly, in computing...

Red Hat Logo
Article

Important code snippet for Python (and other) developers

Mike Guerette

Special thanks to Red Hat's Petr Viktorin for sharing this bit of clever code. #! /usr/bin/python3 -O # finite_function_recursion:lazy_runtime_recoding:raw_unicode_escape from functools import partial def main(): """Print an encouraging message to stdout""" print() for m in get_strings(): print(m) print() def get_strings(c=0): """Return list of strings to display to the user""" I = L = C = s = 0 S = o( 41825590960378124374546057353963710973031568, 1128197075877756693608173239149061571294131523370094467240707291316, 28634919999905333837375431815649071658638057502987522288563421, 365227113932356026740958928599365475099366847504156564532, 10832, 9648, 1547030252077890721054968240874293402, 6848886034432315113697, 1026545237296201918476380, 136341829649174, 3484359852033570050171, 10968655762475855182, 39478210171221680, 3160248663052126290380, 3160029950901936033378, ) z, Z =...

Article Thumbnail
Article

Sharing the stage with Microsoft at Build 2016

Harry Mower

Back in November we announced that we would be partnering with Microsoft to make a supported version of .NET available for Red Hat Enterprise Linux. Since then we’ve been working together to make sure that .NET runs great on RHEL and has the capabilities that enterprise developers require. Today, at Microsoft Build, we were invited to join Scott Hanselmann on stage where we demonstrated some of that work and showed how the partnership is helping to create a more stable...

Red Hat Developer image
Article

No-Cost RHEL Developer Subscription now available

Ray Ploski

May 2019 UPDATE - The no-cost developer subscription now includes RHEL 8. Today, Red Hat announced the availability of a no-cost Red Hat Enterprise Linux developer subscription, available as part of the Red Hat Developer Program. Offered as a self-supported, development-only subscription, the Red Hat Enterprise Linux Developer Suite provides you with a more stable development platform for building enterprise applications - across cloud, physical, virtual, and container-centric infrastructures. Red Hat SVP Craig Muzilla added some good points in his...

Article Thumbnail
Article

A Linux Cheat Sheet for Developers

Burr Sutter

I first started using computers in the mid-80’s. A DOS-based computer, where - as a programmer - I had to first learn how to type and how to navigate a seemingly arcane series of commands. There was no mouse back in those days. Today, as a developer, I spend most of my day on a Windows or Mac OSX-based laptop and use Linux within a virtual machine (VM) inside a hypervisor like VirtualBox or Hyper-V. Even with years of experience...

Article Thumbnail
Article

Origins of .NET on Linux: An explanation for Java Developers

Lincoln Baxter III

The .NET framework is a relatively young technology when compared to the rest of computer science history, but as it turns fourteen this year, we can look back and see a long-standing record of innovation, developer productivity, and more recently a refreshing open-source mentality from Microsoft that has resulted in the first ever release of (the official) .NET framework in a Linux distribution. .NET is a development platform that includes several programming languages, notably C# and Visual Basic, and the...

Article Thumbnail
Article

We're heading to Build 2016!

Emily Parish

We are heading to Moscone in San Francisco. Yes, for DevNation in June, but we are there for Microsoft Build 2016 this week. We’ve got many exciting things planned - some below and some you will need to wait and see - but as a first time sponsor of Build we are looking forward to welcoming the .NET audience to Red Hat Developers. All the details are here but here are some of the highlights: Red Hat Developers team will...

Performance graph
Article

Practical micro-benchmarking with 'ltrace' and 'sched'

DJ Delorie

Recently I was asked to look into an issue related to QEMU's I/O subsystem performance - specifically, I was looking for differences in performance between glibc's malloc and other malloc implementations'. After a good deal of benchmarking I was unable to see a clear difference between our malloc (glibc) and others, not because the implementations were similar, but because there was too much noise in the system; the benchmarks were being polluted by other things, not just in QEMU, but...

Introduction to Docker containers Open Why configuration options
Article

Keep it small: a closer look at Docker image sizing

Rafael Benevides

A recent blog post, 10 things to avoid in docker containers , describes ten scenarios you should avoid when dealing with docker containers. However, recommendation # 3 - Don’t create large images and the sentence "Don’t install unnecessary packages or run “updates” ( yum update) that download files to a new image layer" has generated quite a few questions. Some of you are wondering how a simple yum update can create a large image. In an attempt to clarify the...

Article Thumbnail
Article

Project: Remote Dependency Solving

Petr Hracek

Abstract This project (part of Red Hat Lab Q) was initiated by Jan Zeleny to accommodate low-end and low-cost devices, which have usually slower hardware, and has particular usefulness to Fedora. Three students (Josef Řídký, Michal Ruprich, Šimon Matěj) from Faculty of Information Technology (FIT VUT Brno, Czech Republic) began work on the project with me (Petr Hracek) as a leader of the team. The aim Let’s say we have a device with low-cost hardware and we have Fedora/EPEL Linux...

GNU C library
Article

Upgrading the GNU C Library within Red Hat Enterprise Linux

Florian Weimer

Occasionally, there's a need for a new GNU C Library for a given application to run. For example, some versions of the Google Chrome browser started to warn users on Red Hat Enterprise Linux 7 that future versions of Chrome would not support their operating system. The Chromium source code contained a version check, flagging all versions of the GNU C Library (glibc) older than 2.19 as obsolete. This check has since been relaxed to 2.17 (the version in Red...

Review of the year Top 10 Highlights
Article

2015 Year in Review - oh what a year.

Emily Parish

2015 is coming to a close and it’s always fun to reflect on all that has changed, grown, and news that almost make you wonder if pigs can now fly. Our team has greatly expanded, the community is growing, we are now accepting content contributors from around the world...so much to pick from. As you can tell it’s been a busy year and here are just some of top highlights. Here we go and in no particular order: 1) A...

A Practical Introduction to Docker Container Terminology
Article

Deploying PSGI Applications using RHSCL Docker Containers

Petr Pisar

Red Hat Software Collections (RHSCL) 2.0 brings Perl 5.20 as a Docker image. This allows you to deploy Perl applications easily. The basic idea is to combine your application code from Git tree and Red Hat's rhscl/perl-520-rhel7 base image into an application image that will run your application in mod_perl environment. Your application can either be a simple Common Gateway Interface (CGI) script or a full-fledged Perl Web Server Gateway Interface (PSGI) application. Following this step-by-step procedure will show you...

Article Thumbnail
Article

Red Hat Software Collections 2.1 now generally available

Mike Guerette

Today, Red Hat announced the general availability of Red Hat Software Collections 2.1, Red Hat’s newest installment of open source web development tools, dynamic languages, and databases. Delivered on a separate lifecycle from Red Hat Enterprise Linux with a more frequent release cadence, Red Hat Software Collections bridges developer agility and production stability by helping to accelerate the creation of modern applications that can then be more confidently deployed into production. Red Hat Software Collections 2.1 features several new and...