Open-source News

NVIDIA 515.49.10 Linux Driver Released With Vulkan Pipeline Robustness

Phoronix - Thu, 07/21/2022 - 16:58
NVIDIA released new Vulkan beta driver builds last night for Linux and Windows users...

NVIDIA 515.49.10 Linux Driver Released With Vulkan Pipeline Robustness

Phoronix - Thu, 07/21/2022 - 16:58
NVIDIA released new Vulkan beta driver builds last night for Linux and Windows users...

How I use the Linux fmt command to format text

opensource.com - Thu, 07/21/2022 - 15:00
How I use the Linux fmt command to format text Jim Hall Thu, 07/21/2022 - 03:00 Register or Login to like Register or Login to like

When I write documentation for a project, I often write the Readme file and Install instructions in plain text. I don't need to use markup languages like HTML or Markdown to describe what a project does or how to compile it. But maintaining this documentation can be a pain. If I need to update the middle of a sentence in my Readme text file, I need to reformat the text so I don't end up with a really long or short line in the middle of my other text that's otherwise formatted to 75 columns. Some editors include a feature that will automatically reformat text to fill paragraphs, but not all do. That's where the Linux fmt command comes to the rescue.

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 Format text with Linux fmt

The fmt command is a trivial text formatter; it collects words and fills paragraphs, but doesn't apply any other text styling such as italics or bold. It's all just plain text. With fmt, you can quickly adjust text so it's easier to read. Let's say I start with this familiar sample text:

$ cat trek.txt Space: the final frontier. These are the voyages of the starship Enterprise. Its continuing mission: to explore strange new worlds. To seek out new life and new civilizations. To boldly go where no one has gone before!

In this sample file, lines have different lengths, and they are broken up in an odd way. You might have similar odd line breaks if you make lots of changes to a plain text file. To reformat this text, you can use the fmt command to fill the lines of the paragraph to a uniform length:

$ fmt trek.txt Space: the final frontier. These are the voyages of the starship Enterprise. Its continuing mission: to explore strange new worlds. To seek out new life and new civilizations. To boldly go where no one has gone before!

By default, fmt will format text to 75 columns wide, but you can change that with the -w or --width option:

$ fmt -w 60 trek.txt Space: the final frontier. These are the voyages of the starship Enterprise. Its continuing mission: to explore strange new worlds. To seek out new life and new civilizations. To boldly go where no one has gone before!Format email replies with Linux fmt

I participate in an email list where we prefer plain text emails. That makes archiving emails on the list server much easier. But the reality is not everyone sends emails in plain text. And sometimes, when I reply to those emails as plain text, my email client puts an entire paragraph on one line. That makes it difficult to "quote" a reply in an email.

Here's a simple example. When I'm replying to an email as plain text, my email client "quotes" the other person's email by adding a > character before each line. For a short message, that might look like this:

> I like the idea of the interim development builds.

A long line that doesn't get "wrapped" properly will not display correctly in my plain text email reply, because it will be just one long line with a > character at the front, like this:

> I like the idea of the interim development builds. This should be a great way to test new changes that everyone can experiment with.

To fix this, I bring up a terminal and copy and paste the quoted text into a new file. Then I use the -p or --prefix option to tell fmt what character to use as a "prefix" before each line.

$ cat > email.txt > I like the idea of the interim development builds. This should be a great way to test new changes that everyone can experiment with. ^D $ fmt -p '>' email.txt > I like the idea of the interim development builds. This should be a > great way to test new changes that everyone can experiment with.

The fmt command is a very simple text formatter, but it can do lots of useful things that help in writing and updating documentation in plain text. Explore the other options such as -c or --crown-margin to match the indentation of the first two lines of a paragraph, such as bullet lists. Also try -t or --tagged-paragraph to preserve the indentation of the first line in a paragraph, like indented paragraphs. And the -u or --uniform-spacing option to use one space between words and two spaces between sentences.

The fmt command is a trivial text formatter. Here's how I use to format text and email replies.

Image by:

Original photo by Bob Doran via Flickr. Modified by Rikki Endsley. CC BY-SA 2.0.

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

Build Design Thinking into your team processes

opensource.com - Thu, 07/21/2022 - 15:00
Build Design Thinking into your team processes Leigh Griffin Thu, 07/21/2022 - 03:00 Register or Login to like Register or Login to like

Teams require some kind of process to coordinate work and ensure that the output of many focuses on a singular goal. Within the software industry, this has taken the form of teams following a methodology such as Agile. In industries from pharmaceutical to manufacturing, Lean is the philosophy followed to ensure that a process is adhered to. The difficulty with a process is that it's prescriptive. It's designed in such a way that you stay on the tracks that it provides. If you do, you achieve the prescribed benefits and ultimately a form of success. That doesn't give much room for paradigm-level shifts in work behavior.

More open source career advice Open source cheat sheets Linux starter kit for developers 7 questions sysadmins should ask a potential employer before taking a job Resources for IT artchitects Cheat sheet: IT job interviews

In early 2020, one such shift hit the global workplace in the form of COVID-19. Many companies self-enforced a remote strategy as people were forced to adapt to working from home. Years later, that flexibility is here to stay. This disruptor has brought new challenges in how we facilitate our process, and the ceremonies associated with it. The engagement paradigm of trying to bring people together on a problem, and to keep them attentive, productive, and happy is challenging when your interaction medium is limited to the screenspace a person is using. Engagement through a camera lens masks the environmental conditions that could also be hampering participation, from suboptimal work space conditions to barking dogs, crying kids, or noisy neighbors. When you throw in the natural distractions that working on a computer can bring (instant messaging, emails, social media, cat memes, and more) the conditions for collaboration, innovation, and problem solving tends to suffer. Combining all of those elements gives you a perfect storm, especially when you ask a human to concentrate on just one topic for a prolonged period of time.

 

. And that period of engagement extends beyond ergonomic best practices for working at computers, meaning this becomes not just a mental challenge, but a physical challenge.

[ Also read: 5 ways to better leverage remote teams ]

Team health governs a range of concerns from the happiness of team members to their social interactions with each other. Team-centric work is fundamentally based on a social contract of respecting each other, operating as a team, and looking out for one another. That's underpinned by an attempt to generate an environment where people enjoy turning up to work, or at a minimum don't dread when Monday morning comes around. If you can achieve that, and tap into what people are passionate about, then you have the means to move motivated teams towards goals.

Fun at work can often feel forced, with team-building activities, but it can help to take the engagement paradigm that is Design Thinking, and bake it into your process. This allows you to not just progress the key ceremonies and events that your processes demand, but it allows you to do so in a manner that engages people, keeps them attentive in a remote capacity, and allows them to enjoy turning up to these sessions. You can build sessions where your participants can be the stars of the show.

In our next article, we'll talk about how movie posters helped us stay organized and engaged.

Fun at work can often feel forced, with team-building activities, but it can help to take the engagement paradigm that is Design Thinking, and bake it into your process.

Image by:

opensource.com

Community management Agile What to read next Put Design Thinking into practice with the Open Practice Library This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. 61 points Waterford, Ireland

Product Owner on the Community Platform Engineering team at Red Hat from Waterford, Ireland and in my spare time I'm a retired showjumper but full time 'groom' for my son who has followed in my hoof-prints - ah, foot-prints!

| Follow aoifemoloney4 Open Enthusiast Author 61 points

Experienced People and Project Manager with over 20 years of working in the information technology and services industries.

Open Enthusiast Author Register or Login to post a comment.

Dell's New XPS 13 Plus Developer Edition Now Certified For Ubuntu 22.04 LTS

Phoronix - Thu, 07/21/2022 - 12:00
Canonical and Dell are jointly announcing that the new Dell XPS 13 Plus Developer Edition laptop has been officially certified for Ubuntu 22.04 LTS...

Dell's New XPS 13 Plus Developer Edition Now Certified For Ubuntu 22.04 LTS

Phoronix - Thu, 07/21/2022 - 12:00
Canonical and Dell are jointly announcing that the new Dell XPS 13 Plus Developer Edition laptop has been officially certified for Ubuntu 22.04 LTS...

Linux Lands Fix For A Trivial Lockdown Bypass Bug

Phoronix - Thu, 07/21/2022 - 06:29
Merged this afternoon to the mainline Linux 5.19 Git kernel and set for back-porting is a fix for a new security bug. Oracle made public CVE-2022-21505 on Tuesday as a trivial bypass to the Linux kernel's lockdown mode...

Linux Lands Fix For A Trivial Lockdown Bypass Bug

Phoronix - Thu, 07/21/2022 - 06:29
Merged this afternoon to the mainline Linux 5.19 Git kernel and set for back-porting is a fix for a new security bug. Oracle made public CVE-2022-21505 on Tuesday as a trivial bypass to the Linux kernel's lockdown mode...

Find Your Way to a Strong SysAdmin Team

The Linux Foundation - Thu, 07/21/2022 - 02:47

It’s tough sourcing enough talent today to meet growing IT team needs, but life finds a way. Our recent 10th Annual Open Source Jobs Report found 93% of employers are struggling to find enough employees with open source skills. It doesn’t help that 73% of professionals feel it would be easy to find another job, and they are demanding higher salaries than ever before to stay put. Between an overwhelming talent shortage and competition from other employers, many companies’ IT teams are at risk of “going extinct”.

93% of employers are struggling to find enough employees with open source skills.

There is a way to address this situation however. The Open Source Jobs Report  also found:

  • 74% of professionals are asking for more training opportunities so they can keep up with current technologies
  • 62% said training is the thing their employer can provide that would help them be more successful, a higher percentage than any other option
  • 81% of professionals want to add new certifications to their resumes this year
  • 90% of employers are willing to help them pay for them

Companies need to keep up by providing formal training and certification opportunities to their employees or risk giving them one more reason to leave.

62% said training is the thing their employer can provide that would help them be more successful, a higher percentage than any other option.

It should be kept in mind that providing training and certifications not only makes employees happier by demonstrating an employer’s willingness to invest in them and their career opportunities, but these opportunities also benefiSavet the employer. Having a better skilled team means you will be more successful in achieving your technology goals, and having more certified professionals on staff means your customers can have more confidence in your teams’ abilities.

Providing training and certifications not only makes employees happier by demonstrating an employer’s willingness to invest in them and their career opportunities, but these opportunities also benefit the employer.

Linux Foundation Training & Certification offers a wide catalog of training and certification in the most important open source technologies, from cloud to system administration to networking, blockchain, web development and more. This SysAdmin Day, give your team what they really want and provide them with training and/or certification that will help both you and them achieve your goals. We provide group classes, team discounts and more to help you be successful when it comes to upskilling. Learn more and contact us here.

The post Find Your Way to a Strong SysAdmin Team appeared first on Linux Foundation.

Google Engineers Lift The Lid On Carbon - A Hopeful Successor To C++

Phoronix - Thu, 07/21/2022 - 02:30
In addition to Dart, Golang, and being involved with other programming language initiatives over the years, their latest effort that was made public on Tuesday is Carbon. The Carbon programming language hopes to be the gradual successor to C++ and makes for an easy transition path moving forward...

Google Engineers Lift The Lid On Carbon - A Hopeful Successor To C++

Phoronix - Thu, 07/21/2022 - 02:30
In addition to Dart, Golang, and being involved with other programming language initiatives over the years, their latest effort that was made public on Tuesday is Carbon. The Carbon programming language hopes to be the gradual successor to C++ and makes for an easy transition path moving forward...

Patrick Debois: Untold Stories of Open Source

The Linux Foundation - Thu, 07/21/2022 - 01:54

Raise your hand if you ever downloaded software by recording a series of tones onto a cassette tape as it was being broadcast over a radio station. 

Patrick Debois did – back in the 1980s as a budding computer enthusiast. He recalled that Europe didn’t have the network of electronic BBSes that existed in the U.S. These radio broadcasts were one way to distribute software, although they were often thwarted “when your mom walked in the room saying something and ruined the recording.” 

Patrick was only temporarily deterred and continued exploring his passion for computers but missed a community. He found a community when Linux came on the scene. He recounts the value of the Linux community, “The fact that there was a sharing community, and the Linux community of tools that I could just use, especially as a student. I know open source is not about being for free. But it was tremendously helpful to me as a student at that time to be able to try new stuff, to learn new stuff, to dissect new stuff on the open source.”

In 1994, as a student at the University of Ghent, he setup a web page where anyone could contribute URLs to help people explore the Internet. This was about the same time that Yahoo! started manually indexing the Internet. His site was running on an old Spark machine, and it was fascinating for him to be using a machine running on shared source. He then moved to his first job out of college, where he ran a web server, a firewall, and other new technologies. 

Later, Patrick worked for the government, where he and his team ran the first mail server, first DNS service, etc., all on three AutoCAD stations. He was required to buy proprietary software from vendors, but was frustrated because when something didn’t work, he had to wait for the vendor to provide updates. He often wished he could just try and fix it himself and then share with others what he did. Sound familiar? 

Patrick voiced, “If people are yelling at you, right, and your only excuse is, we’re asking the vendor, and it will take like a week or a month, that’s no excuse. And that makes you feel powerless at those times. So that’s been the reason why we started taking the other route mixing both? Sometimes you get good support from vendors. It’s not like one or the other. Open source itself is also not the guarantee that you have good support, or that it’s easily written. But if there’s a community that’s supportive, and it’s open source, then you feel like a good citizen and a member to contribute your fixes and solutions.” 

Open source itself is also not the guarantee that you have good support, or that it’s easily written. But if there’s a community that’s supportive, and it’s open source, then you feel like a good citizen and a member to contribute your fixes and solutions.

Fast forward to 2000 and open source is starting to gain more steam and broader acceptance. The Open Source Development Labs combined with the Free Standards Group to standardize Linux. The project morphed into the Linux Foundation in January 2007, at which point it gained nonprofit status and was funded and sponsored by a consortium of major technology vendors.

At first, Patrick had his doubts this could work, worried one company would be able to put their interests above those of the consortium when it comes to projects that are building standards. “I’ll be honest, I have my doubts in a way that I’ve probably seen too much of the discussion about open standards, or RFCs, or whatever, being kind of like written in certain directions that certain companies wanted to in these kind of situations. But I also liked the fact that there is a governance now, and that there is a discussion and not one part is owning this. So I see the Linux Foundation probably more as a mediator in the discussions between those companies. But I love them to remain neutral and not take a stance whether we should do a certain thing, yes or no. . .  I think we’re all conscious enough, when we were coming to the Foundation, that it’s a balance of multiple views on the problem.”

One of Patrick’s favorite Linux Foundation projects is sigstore, a new standard for signing, verifying, and protecting software. The project has 465 members from over 20 companies. He also has his eye on the LF AI & Data Foundation, notably the data side because, “You can share your source quite easily, but it’s the data that makes it interesting.” 

There is so much more to Patrick’s story, including being credited with helping coin the term DevOps.  The good news is that his story is on an episode of the Linux Foundation’s Untold Stories of Open Source podcast. Check out the full episode and subscribe on your favorite podcast platform. 

Do you have suggestions for future episodes or other comments, questions, etc.? Visit the podcast’s GitHub page.

The post Patrick Debois: Untold Stories of Open Source appeared first on Linux Foundation.

Pages