Developer tools

Red Hat Wimplicit
Article

-Wimplicit-fallthrough in GCC 7

Marek Polacek

(See this article to install GCC 7 on Red Hat Enterprise Linux.) In C and C++, the cases of a switch statement are in fact labels, and the switch is essentially a go to that jumps to the desired label. Since labels do not change the flow of control, one case block falls through to the following case block, unless terminated by a return, a break, a no return call or similar. In the example below, " case 1" falls...

Article Thumbnail
Article

Developers, join us at Red Hat Summit

Mike Guerette

Red Hat Summit 2017 is nearing (May 2-4, Boston) and more than ever will include more advanced application development sessions, CodeStarters, labs, birds of a feathers, etc. Visit the new "Developer Zone" in the expo area to try out new technologies for modern application development, attend sessions and earn “Developer Dollars” to buy cool swag (maybe a hoodie or other cool stuff??), and be sure to catch the opening keynote (May 2, 8:30 AM) for a fun demo of developer...

Camel / Red Hat Fuse
Article

Reorder your Camel components graphically with Fuse Tooling 9.1.0

Aurélien Pupier

Red Hat JBoss Fuse is an open source, lightweight and modular integration platform that allows you to connect services and systems across your entire application portfolio. And if you’re familiar with Fuse, you’re probably familiar with the Fuse Tooling that comes with Red Hat JBoss Developer Studio.

Article Thumbnail
Article

Malloc Internals and You

DJ Delorie

Introduction In my last blog, I mentioned I was asked to look at a malloc performance issue, but discussed the methods for measuring performance. In this blog, I'll talk about the malloc issue itself, and some measures I took to address it. I'll also talk a bit about how malloc's internals work, and how that affects your performance. First off, a bit of terminology - throughout this blog, these terms are defined to mean as follows... memory a region of...

Red Hat Development image
Article

Announcing Red Hat Development Tools Updates

Mike Guerette +1

Red Hat is dedicated to creating development tools that can simplify modern application development, especially for containerized applications and microservices. This February 2017 release builds upon the December 2016 release with a host of new capabilities, enhancements and features. Today, Red Hat is pleased to announce general availability of our newest development tools: Red Hat Development Suite 1.3 Red Hat JBoss Developer Studio 10.3 Red Hat Container Development Kit 2.4 Also available is a beta version of Red Hat Container...

Fedora logo
Article

ABI change analysis of Fedora packages

Dodji Seketeli

In 2016, many improvements happened in the ABI static analysis framework that is Libabigail. In this article we'll present how fedabipkgdiff, a new Libabigail tool can help Fedora users, developers and others to analyze ABI changes of libraries carried by packages of the distribution. Introduction As many of you already know, the engine used to build RPM packages in the Fedora build system is named Koji. Thus, one can get Fedora RPMs from Koji using a web browser. In that...

NTP Server using a Raspberry Pi
Article

How to Build a Stratum 1 NTP Server Using A Raspberry Pi

Samantha Donaldson

The Raspberry Pi Model B was released in 2012 and, since then, a number of useful applications regarding this device have ensued. However, one particular application that is seldom overlooked when dealing with the Raspberry Pi is its ability to be used as a Stratum 1 NTP server and allow you to synchronize clocks across networks like the Internet. For me, this useful trick has actually made my entire office far more efficient. What is Stratum 1 NTP? Although many...

Data Consumers
Article

Unlock your Microsoft Excel data with Red Hat JBoss Data Virtualization

Madou Coulibaly

After Unlock your MariaDB/MySQL data, Unlock your PostgreSQL data, and Unlock your Hadoop data with Hortonworks episodes, let's continue the journey with this new episode of the series: "Unlock your [….] data with Red Hat JBoss Data Virtualization." Through this blog series, we will look at how to connect Red Hat JBoss Data Virtualization (JDV) to different and heterogeneous data sources. JDV is a lean, virtual data integration solution that unlocks trapped data and delivers it as easily consumable, unified...

Article Thumbnail
Article

PowerShell on RHEL in One Minute

Don Schenck

While not specifically related to .NET on Linux, PowerShell on Linux is available and -- let's face it -- if you're a Windows developer you're using PowerShell. If you're not using PowerShell, now is the time to start. While bash is the traditional Linux shell, PowerShell gives you the advantage of objects. In PowerShell, everything is an object, with properties you can directly access. It's also a very powerful object-oriented scripting language, with classes and methods, much like any OOP...

Red Hat Developer logo
Article

Programmatic Debugging: Part 1 the challenge

Ben Woodard

As every developer knows, debugging an application can be difficult and often enough you spend as much or more time debugging an application as originally writing it. Every programmer develops their collection of tools and techniques. Traditionally these have included full-fledged debuggers, instrumentation of the code, and tracing and logging. Each of these has their particular strengths and weaknesses. Source-level debuggers Source-level debuggers like GDB, TotalView, and DDT operate outside of the address space of the programs being debugged and...

Camel / Red Hat Fuse
Article

The Camel Rest DSL

Mary Cochran

Camel Apache Camel is a piece of JBoss Fuse. It is an open source integration framework with a variety of components to fit your integration needs. Camel is a Java-based implementation of the Enterprise Integration Patterns based on a book by Gregor Hohpe and Bobby Woolf. Camel includes components for HTTP, Files, FTP, JMS, JDBC, AWS, and much more. While Camel can be used for many different purposes, this post will focus on the REST DSL specifically. Rest DSL Overview...

Article Thumbnail
Article

Coala, setting it up and auto patching

Abishek V Ashok

Coala is a free and open-source language-independent analysis toolkit, written in Python. The primary goal of coala is to make it easier for developers to create rules, which a project's code should conform to the developer-defined rules. It has support for more than 40+ programming languages and is best for people who want their code to look good and follow good coding practices. It's been developed at https://github.com/coala/coala Bears and coala Coala checks the code with the help of bears...

Article Thumbnail
Article

Build your first application using GCC4 on RHEL 6 with Red Hat Developer Toolset (DTS)

mguerett

Get started developing with the native version of C++ on Red Hat Enterprise Linux in under 10 minutes. Introduction and Prerequisites In this tutorial, you will install the GNU Compiler Collection (GCC) and build a simple C++ Hello World application. This tutorial should take less than 15 minutes to complete. Before you begin, you will need a current Red Hat Enterprise Linux 6 workstation or server subscription that allows you to download software and get updates from Red Hat. If...

Article Thumbnail
Article

Build your first application using GCC4 on RHEL 7 with Red Hat Developer Toolset (DTS)

mguerett

Get started developing with C++ on Red Hat Enterprise Linux in under 10 minutes. Introduction and Prerequisites In this tutorial, you will install the native GNU Compiler Collection (GCC) that's included in RHEL and build a simple C++ Hello World application. This tutorial should take less than 12 minutes to complete. Before you begin, you will need a current Red Hat Enterprise Linux 7 workstation or server subscription that allows you to download software and get updates from Red Hat...

Article Thumbnail
Article

Data Encapsulation vs. Immutability in Javascript

Lance Ball

A while ago, I wrote a fairly long post attempting to shed some light on a few things you can do in your JavaScript classes to enforce the concept of data encapsulation - or data "hiding". But as soon as I posted it, I got some flak from a friend who is a Clojure programmer. His first comment about the article was this. Mutability and data encapsulation are fundamentally at odds. Eventually, he walked that back - but only just...

Camel / Red Hat Fuse
Article

Getting Started with Fuse Integration Service 2.0 Tech preview

Christina Lin

To get started with FIS 2.0, for people who are just getting to know the technology, here is how I interpret it. Basically, it's divided into two aspects. 1. Integration development: FIS uses Apache Camel as the core technology that creates, orchestrates, and composes microservices into a super lightweight thin integration layer, and becomes the API provider and service orchestrator through exposing RESTful or messaging service endpoints. And you can choose to either package and run it with Spring-Boot or...

Using API keys securely in your OpenShift microservices and applications
Article

Using Pipelines in OpenShift 3.3+ for CI/CD

Alessandro Arrichiello

It's been a while since Red Hat released version 3.3 of OpenShift Container Platform, this version is full of features. One of my favorites is the support for Pipelines (Tech Preview for now) that lets you easily integrate Jenkins builds on your OpenShift (Origin) Platform. OpenShift Pipelines OpenShift Pipelines are based on the Jenkins Pipeline plugin. ( https://jenkins.io/solutions/pipeline/) Integrating Jenkins Pipelines into OpenShift unlocks all the features for the CI/CD world enabling its users to easily manage repeatable tasks in...

Data Consumers
Article

Unlock your PostgreSQL data with Red Hat JBoss Data Virtualization

Madou Coulibaly

And here we go for another episode of the series: "Unlock your [….] data with Red Hat JBoss Data Virtualization." Through this blog series, we will look at how to connect Red Hat JBoss Data Virtualization (JDV) to different and heterogeneous data sources. JDV is a lean, virtual data integration solution that unlocks trapped data and delivers it as easily consumable, unified, and actionable information. It makes data spread across physically diverse systems — such as multiple databases, XML files...

Article

Installing Red Hat Developer Studio 10.2.0.GA through RPM

Jeff Maury

With the release of Red Hat JBoss Developer Studio 10.2, it is now possible to install Red Hat JBoss Developer Studio as an RPM. It is available as a tech preview. The purpose of this article is to describe the steps you should follow in order to install Red Hat JBoss Developer Studio. Red Hat Software Collections JBoss Developer Studio RPM relies on Red Hat Software Collections. You don’t need to install Red Hat Software Collections but you need to...

New vscode-java
Article

New vscode-java 0.0.8 release

Fred Bricon

Version 0.0.8 of the Java extension for Visual Studio Code (a.k.a. vscode-java) has been unleashed onto the world. It's available in the Visual Studio Code Marketplace and can be found and installed directly from within Code. Highlights of this release can be seen in this screencast: Gradle Support vscode-java finally provides basic Gradle support for Java projects. Basically, you just need to open a folder containing a build.gradle file in its root and wait for the Java support to kick...

Article Thumbnail
Article

Build your first application using Ruby with Red Hat Container Development Kit (CDK)

MGuerette

Get started building Ruby applications in docker formatted containers using the Red Hat Container Development CDK (CDK) 2. Introduction and Prerequisites In this tutorial, you will learn how to start building Ruby applications in docker formatted containers using the Red Hat Container Development Kit (CDK) 2 on Red Hat Enterprise Linux. You need to have CDK 2 installed and should have downloaded the Red Hat Enterprise Linux vagrant box for your system. See the CDK 2 Installation Guide for more...

Article Thumbnail
Article

Build your first application using Python with Red Hat Container Development Kit (CDK)

MGuerette

Get started building Python applications in docker formatted containers using the Red Hat Container Development CDK (CDK) 2 Introduction and Prerequisites In this tutorial, you will learn how to start building Python 3 applications in docker formatted containers using the Red Hat Container Development Kit (CDK) 2 on Red Hat Enterprise Linux. You need to have CDK 2 installed and should have downloaded the Red Hat Enterprise Linux vagrant box for your system. See the CDK 2 Installation Guide for...

Article Thumbnail
Article

Build your first application using PHP with Red Hat Container Development Kit (CDK)

mguerett

Get started building PHP applications in docker formatted containers using the Red Hat Container Development CDK (CDK) 2. Introduction and Prerequisites In this tutorial, you will learn how to start building PHP applications in docker formatted containers using the Red Hat Container Development Kit (CDK) 2 on Red Hat Enterprise Linux. You need to have CDK 2 installed and should have downloaded the Red Hat Enterprise Linux vagrant box for your system. See the CDK 2 Installation Guide for more...

Article Thumbnail
Article

Build your first application using Node.js with Red Hat Container Development Kit (CDK)

MGuerette

Get started building Node.js applications in docker formatted containers using the Red Hat Container Development CDK (CDK) 2. Just 3 easy steps. Introduction and Prerequisites In this tutorial, you will learn how to start building Node.js applications in docker formatted containers using the Red Hat Container Development Kit (CDK) 2 on Red Hat Enterprise Linux. You need to have CDK 2 installed and should have downloaded the Red Hat Enterprise Linux vagrant box for your system. See the CDK 2...