Open-source News

IBM Sends Out Initial Patches For "Dense Math" Support With Future Power CPUs

Phoronix - Tue, 11/15/2022 - 19:40
IBM is working to extend Power10's MMA architecture with a new feature for "dense math" that is expected to premiere with future IBM Power processors...

AMD Sends Out Follow-Up Zen 4 Patch For The GCC Compiler

Phoronix - Tue, 11/15/2022 - 19:12
Following Znver4 being added to GCC 13 at the end of October albeit a basic implementation, out this week isa follow-up patch to begin making more adaptations to the AMD Zen 4 target...

Ampere Computing Introducing New SMpro Co-Processor Drivers With Linux 6.2

Phoronix - Tue, 11/15/2022 - 19:00
In addition to the previously-reported Ampere SMpro hardware monitoring "HWMON" driver coming for Linux 6.2, there are also at least two other drivers for Ampere's co-processor set to be introduced with this next kernel version...

GCC 13 Ends Stage 1 Development, Moves To Bug Fixing Phase

Phoronix - Tue, 11/15/2022 - 18:41
As of Monday the GCC 13 compiler has concluded its stage one feature development and has progressed onto stage three that now just focuses on bug fixing...

Linux Adding Wake-On-Connect/Disconnect For USB4 Ports

Phoronix - Tue, 11/15/2022 - 18:32
To the USB4/Thunderbolt driver in the Linux kernel Intel is adding support for system wake on connect/disconnect...

How to Install Latest Python Version in Ubuntu

Tecmint - Tue, 11/15/2022 - 16:56
The post How to Install Latest Python Version in Ubuntu first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Python is the fastest-growing major general-purpose programming language. There are a number of reasons attributed to this, such as its readability and flexibility, ease to learn and use, reliability, and efficiency as well. There

The post How to Install Latest Python Version in Ubuntu first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

My favorite tricks for navigating the Linux terminal faster

opensource.com - Tue, 11/15/2022 - 16:00
My favorite tricks for navigating the Linux terminal faster Anamika Tue, 11/15/2022 - 03:00

One of the advantages of working in a terminal is that it's faster than most other interfaces. Thanks to the GNU Readline library and the built-in syntax of shells like Bash and Zsh, there are several ways to make your interactions with the command line even faster. Here are five ways to make the most of your time in the terminal.

1. Navigate without the arrow keys

While executing commands on the command line, sometimes you miss a part at the beginning or forget to add certain tags or arguments toward the end. It's common for users to use the Left and Right arrow keys on the keyboard to move through a command to make edits.

There's a better way to get around the command line. You can move the cursor to the beginning of the line with CTRL+A. Similarly, use CTRL+E to move the cursor to the end of the line. Alt+F moves one word forward, and Alt+B moves one word back.

Shortcuts:

  • Instead of Left arrow, left, left, left, use CTRL+A to go to the start of the line or Alt+B to move back one word.
  • Instead of Right arrow, right, right, right, use CTRL+E to move to the end of the line, or Alt+F to move forward a word.

More Linux resources Linux commands cheat sheet Advanced Linux commands cheat sheet Free online course: RHEL technical overview Linux networking cheat sheet SELinux cheat sheet Linux common commands cheat sheet What are Linux containers? Our latest Linux articles 2. Don't use the backspace or delete keys

It's not uncommon to misspell commands. You might be used to using the Backspace key on the keyboard to delete characters in the backward direction and the Delete button to delete them in the forward direction. You can also do this task more efficiently and easily with some helpful keyboard shortcuts.

Instead of deleting commands character by character, you can delete everything from the current cursor position to the beginning of the line or the end.

Use CTRL+U to erase everything from the current cursor position to the beginning of the line. Similarly, CTRL+K erases everything from the current cursor position to the end of the line.

Shortcuts:

  • Instead of Backspace, use CTRL+U.
  • Instead of Delete, use CTRL+K.

3. Execute multiple commands in a single line

Sometimes it's convenient to execute multiple commands in one go, letting a series of commands run while you step away from your computer or turn your attention to something else.

For example, I love contributing to open source, which means working with Git repositories. I find myself running these three commands frequently:

$ git add $ git commit -m "message" $ git push origin main

Instead of running these commands in three different lines, I use a semi-colon (;) to concatenate them onto a single line and then execute them in sequence.

Shortcuts:

  • Instead of:
    $ git add . $ git commit -m "message" $ git push origin main

    Use:

    $ git add .;git commit -m "message";git push origin main
  • Use the ; symbol to concatenate and execute any number of commands in a single line. To stop the sequence of commands when one fails, use && instead:
    $ git add . && git commit -m "message" && git push origin main
4. Alias frequently used commands

You probably run some commands often. Sometimes, these may be lengthy commands or a combination of different commands with the same arguments.

To save myself from retyping these types of commands, I create an alias for the commands I use most frequently. For example, I often contribute to projects stored in a Git repository. Since I use the git push origin main command numerous times daily, I created an alias for it.

To create an alias, open your .bashrc file in your favorite editor and add an alias:

alias gpom= "git push origin main"

Try creating an alias for anything you run regularly.

Note: The .bashrc file is for users using the Bash shell. If your system runs a different shell, you probably need to adjust the configuration file you use and possibly the syntax of the alias command. You can check the name of the default shell in your system with the echo $SHELL command.

After creating the alias, reload your configuration:

$ . ~/.bashrc

And then try your new command:

$ gpom

Shortcut:

Instead of typing the original command, such as:

$ git push origin main

Create an alias with the alias declaration in .bashrc or your shell's configuration file.

5. Search and run a previous command without using the arrow keys

Most terminal users tend to reuse previously executed commands. You might have learned to use the Up arrow button on your keyboard to navigate your shell's history. But when the command you want to reuse is several lines in the past, you must press the Up arrow repeatedly until you find the command you are looking for.

Typically the situation goes like this: Up arrow, up, up, up. Oh, I found it! Enter.

There is an easier way: You can search your history one step at a time using the history command.

When you use the history command, the list of commands appears with a number beside each. These numbers are known as the history-number of the command. You can type !{history-number} on your terminal to run the command of the corresponding number.

Shortcuts:

  • Instead of Up arrow, up, up, up, Enter, type history, and then look for the history-number of the command you want to run:
    $ !{history-number}
  • You can also perform this task a different way: Instead of: Up arrow, up, up, up, Enter, use CTRL+R and type the first few letters of the command you want to repeat.
Command-line shortcuts

Shortcut keys provide an easier and quicker method of navigating and executing commands in the shell. Knowing the little tips and tricks can make your day less hectic and speed up your work on the command line.

This article originally appeared on Red Hat Enable Sysadmin and has been republished with the author's permission.

Make your day less hectic and speed up your work on the Linux command line with these tips.

Image by:

iradaturrahmat via Pixabay, CC0

Linux Sysadmin Command line What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

What do you do with community metrics?

opensource.com - Tue, 11/15/2022 - 16:00
What do you do with community metrics? Georg Link Tue, 11/15/2022 - 03:00

In my previous article, I provided an overview of possible community health metrics. I look at what you can do with those metrics in this article. You'll see several examples from different communities, some of which you may be familiar with.

Contribution metric

I'll start with the "new contributors and contributions" metric, which measures developers joining and leaving a community. I can measure this by seeing which developers made a commit during a specific period. Someone who shows up for the first time joined. Someone who hasn't contributed for a while has probably left.

It is natural for developers to leave a project. Maybe they change jobs, have a change in priorities, or have personal reasons for reducing their open source engagement. It is important for the health of an open source project to attract new developers to continue the work.

Image by:

(Georg Link and Emilio Galeano Gryciuk, CC BY-SA 4.0)

The first example is taken from a 2020 community report looking at the Mautic community over the previous five years.

When considering the Mautic product repository, you can see that there has been a steady rate of new developers contributing to Mautic this quarter. New developers are defined here as having made their first commit which was merged in the given period.

Image by:

(Georg Link and Emilio Galeano Gryciuk, CC BY-SA 4.0)

I added lines to show the community attracting new contributors at various rates over different periods. This reflects the different stages of the community over these five years and the strategic decisions made.

A single metric by itself, however, is not fully descriptive of community health. The Mautic Community Report continued to also look at the overall contributions made.

Image by:

(Georg Link and Emilio Galeano Gryciuk, CC BY-SA 4.0)

The overall contributions were elevated during the period of increased attraction of new contributors, shown here in the dashed circle. After a downward spiral, the community became more active towards the end of this analysis period.

More on data science What is data science? What is Python? How to become a data scientist Data scientist: A day in the life Use JupyterLab in the Red Hat OpenShift Data Science sandbox Whitepaper: Data-intensive intelligent applications in a hybrid cloud blueprint MariaDB and MySQL cheat sheet Latest data science articles Draw conclusions

Q1 2020 was a busy one in the Mautic community. Many positive steps were taken to establish a solid foundation for growth. Teams became more proactive and processes were established that helped the community function more effectively. You see a significant increase in engagement and new contributors as a result.

Organizational diversity metric

Now, look at the metric "Organizational Diversity." Similar to how a project is healthy when many different contributors are working on it, it is good to have several organizations involved, too.

To make this case, think of a community where a single organization employs all contributors. If that organization decides to reduce its project efforts and reassign the contributors, the project would be in jeopardy. This is why communities are interested in the organizational diversity of their contributors.

Image by:

(Georg Link and Emilio Galeano Gryciuk, CC BY-SA 4.0)

One entity that regularly reports on its organizational diversity is the Drupal community. In fact, the Drupal community has a sophisticated credit system for tracking contributions and associating them with organizations. Contributors can declare whether they have contributed as a volunteer, part of their employment, or in client work for a specific customer.

In the 12 months between July 1, 2020, and June 30, 2021, Drupal.org's credit system recorded contributions from 7,420 different individuals and 1,186 different organizations. It saw a 10% decline in individual contributors but only a 2% decrease in organizational contributors.

This is the time of the COVID pandemic. While the economic situation for many wasn't good, the fact that most organizations continued to support Drupal tells us they would again increase their contributions when the economy recovered. This data was a sign of community health.

Who is making contributions? Image by:

(Georg Link and Emilio Galeano Gryciuk, CC BY-SA 4.0)

I'll look at other Contributions by Organizations. In this graph from the kata containers community, I excluded two founding member organizations. Their declared goal with open sourcing kata containers was to build a healthy and vibrant community supported by many organizations. This graph shows the number of commits done by these non-founding members, and you see a steady increase over five years. This shows the success of engaging more companies to make contributions. As more organizations get involved, the graph also becomes more colorful.

Contributor experience metric

So far, I discussed metrics that showed information about who is involved in an open source project and how engaged they were. The level of engagement is important because a community would be dead without it.

Another area of community health is the experience that community members have when contributing. Imagine trying to contribute to a community, opening an issue, and no one responds—how would you feel? Would you go on to create a change request? What if you already made a change request, and no one commented on it or reviewed it? Wouldn't you prefer to at least hear something, even if it was, "Thank you, but this is out of scope, and we won't merge it"?

Consider change requests metrics: Change requests are intended to be reviewed by other developers, who may suggest improvements. In the CHAOSS project, members decided to use the vendor-neutral term "change request" because GitHub, GitLab, and Gerrit all called it something different.

  • Pull Request (GitHub)
  • Merge Request (GitLab)
  • Changeset (Gerrit)
Image by:

(Georg Link and Emilio Galeano Gryciuk, CC BY-SA 4.0)

Image by:

(Georg Link and Emilio Galeano Gryciuk, CC BY-SA 4.0)

For example, the Starling X community has a 3.97-day Median Time to Merge (another name for Change Request Duration). The metric itself sounds good. When you contribute, the work is done within four days.

I want to put this metric into more context. You see that the overall contributions dropped off during the pandemic. However, when you look at the review efficiency index, you see that the responsiveness was good. The experience of contributors was good, albeit at a lower level during the pandemic, and they responded to each other well, even during stressful situations.

The answer is sometimes the question

Measurable data causes some people to fool themselves into thinking it's a puzzle that needs to fit together perfectly into a complete picture. But often, reviewing the data, questioning the results of community programs, inventing new solutions to problems you detect, and asking questions that drive you toward a healthier community is exactly what you should be doing with your data.

The data about your community will never stop changing, and that's to be expected. It is important to gather, look at, and take action on data when you identify weaknesses, biases, or things you've neglected.

You can build a healthier community, and a healthier community is empowered to make better software.

The data about your community will never stop changing, and that's to be expected. It's important to keep asking questions, iterate, and take action.

Image by:

Image by Mapbox Uncharted ERG, CC-BY 3.0 US

Community management Data Science What to read next 5 metrics to track in your open source community This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. 95 points Madrid, Spain

Emilio has 5+ years of experience in business and marketing across different industries and countries. His academic background includes a Bachelors degree in Business from Americana University and a Masters degree in Marketing and Sales from the EAE Business School.

Emilio is currently the Marketing Specialist at Bitergia in Madrid, Spain. He creates content and writes about open source community, metrics, and analytics.

Outside of work, his hobbies include traveling, playing video games, and boxing.

LinkedIn profile: https://www.linkedin.com/in/emilio-galeano-gryciuk/

Open Enthusiast Author Contributor Club Register or Login to post a comment.

How to Install Latest Python from Source in Linux

Tecmint - Tue, 11/15/2022 - 15:15
The post How to Install Latest Python from Source in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Several top universities around the globe use Python to introduce students to programming. The Massachusetts Institute of Technology (MIT), the University of Texas at Arlington, and Stanford are only a few examples of institutions

The post How to Install Latest Python from Source in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

How to Synchronize Time with Chrony NTP in Linux

Tecmint - Tue, 11/15/2022 - 11:31
The post How to Synchronize Time with Chrony NTP in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

The Network Time Protocol (NTP) is a protocol used to synchronize computer system clocks automatically over a network. The machine can have the system clock use Coordinated Universal Time (UTC) rather than local time.

The post How to Synchronize Time with Chrony NTP in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

Transforming the world: Announcing our Red Hat Digital Leaders 2022

Red Hat News - Tue, 11/15/2022 - 08:00
<p><span><span><span><span><span><span>The transformative power of open source technology underpins all we strive for at Red Hat. It is also the driving force behind the </span></span></span></span></span></span><strong><a href="https://digitalleaders.idcinteractive.net/"><span><span><span><span><span&gt

Red Hat Global Customer Tech Outlook 2023: Security is the top priority as digital transformation continues

Red Hat News - Tue, 11/15/2022 - 08:00
<p>Results from Red Hat's ninth <a href="https://www.google.com/url?q=https://www.redhat.com/en/resources/2023-global-tech-outlook-overview&amp;sa=D&amp;source=docs&amp;ust=1667924511942421&amp;usg=AOvVaw1J9WohXd_rFu7JPQ5KyYSF"><font color="#1155cc"><u>Global Tech Outlook</u></font></a> survey are in, and, as in years past, we explore what the data reveals about where organizations are in their <a href="ht

Pages