opensource.com

Subscribe to opensource.com feed
Updated: 11 min 23 sec ago

Introducing our new Lua cheat sheet

Thu, 02/13/2020 - 16:00

Lua is a minimalistic, lightweight language implemented as a C library. It's fast and simple to learn, efficient to run, embeddable, and tiny (its source code download is under 500 KB, and it's just over 1MB compiled). You can use Lua to create an API for your application or as a scripting language, for quick prototyping, or as the foundation of your software project.


read more

Manage your SSL certificates with the ssl-on-demand script

Wed, 02/12/2020 - 16:03

It happens all the time, to the largest of companies. An important certificate doesn't get renewed, and services become inaccessible. It happened to Microsoft Teams in early February 2020, awkwardly timed just after the launch of a major television campaign promoting it as a Slack competitor. Embarrassing as that may be, it's sure to happen to someone else in the future.


read more

Extend the life of your SSD drive with fstrim

Wed, 02/12/2020 - 16:02

Over the past decade, solid-state drives (SSD) have brought about a new way of managing storage. SSDs have benefits like silent and cooler operation and a faster interface spec, compared to their elder spinning ancestors. Of course, new technology brings with it new methods of maintenance and management. SSDs have a feature called TRIM. This is essentially a method for reclaiming unused blocks on the device, which may have been previously written, but no longer contain valid data and therefore, can be returned to the general storage pool for reuse.


read more

How to use byobu to multiplex SSH sessions

Wed, 02/12/2020 - 16:01

Byobu is a text-based window manager and terminal multiplexer. It's similar to GNU Screen but more modern and more intuitive. It also works on most Linux, BSD, and Mac distributions.

Byobu allows you to maintain multiple terminal windows, connect via SSH (secure shell), disconnect, reconnect, and even let other people access it, all while keeping the session alive.


read more

Building a Linux desktop, CERN powered by Ceph, and more industry trends

Wed, 02/12/2020 - 02:15

As part of my role as a senior product marketing manager at an enterprise software company with an open source development model, I publish a regular update about open source community, market, and industry trends for product marketers, managers, and other influencers. Here are five of my and their favorite articles from that update.


read more

Basic kubectl and Helm commands for beginners

Tue, 02/11/2020 - 16:03

Recently, my husband was telling me about an upcoming job interview where he would have to run through some basic commands on a computer. He was anxious about the interview, but the best way for him to learn and remember things has always been to equate the thing he doesn't know to something very familiar to him. Because our conversation happened right after I was roaming the grocery store trying to decide what to cook that evening, it inspired me to write about kubectl and Helm commands by equating them to an ordinary trip to the grocer.


read more

Automate your live demos with this shell script

Tue, 02/11/2020 - 16:02

I gave a talk about multi-architecture container images at LISA19 in October that included a lengthy live demo. Rather than writing out 30+ commands and risking typos, I decided to automate the demo with a shell script.


read more

Using external libraries in Java

Tue, 02/11/2020 - 16:01

Java comes with a core set of libraries, including those that define commonly used data types and related behavior, like String or Date; utilities to interact with the host operating system, such as System or File; and useful subsystems to manage security, deal with network communications, and create or parse XML. Given the richness of this core set of libraries, it's often easy to find the necessary bits and pieces to reduce the amount of code a programmer must write to solve a problem.


read more

Why innovation can't happen without standardization

Tue, 02/11/2020 - 16:00

Any organization facing the prospect of change will confront an underlying tension between competing needs for standardization and innovation. Achieving the correct balance between these needs can be essential to an organization's success.

Experiencing too much of either can lead to morale and productivity problems. Over-stressing standardization, for example, can have a stifling effect on the team's ability to innovate to solve new problems. Unfettered innovation, on the other hand, can lead to time lost due to duplicated or misdirected efforts.


read more

Top hacks for the YaCy open source search engine

Mon, 02/10/2020 - 16:03

In my article about getting started with YaCy, I explained how to install and start using the YaCy peer-to-peer search engine. One of the most exciting things about YaCy, however, is the fact that it's a local client. Each user owns and operates a node in a globally distributed search engine infrastructure, which means each user is in full control of how they navigate and experience the World Wide Web.


read more

Scan Kubernetes for errors with KRAWL

Mon, 02/10/2020 - 16:01

When you're running containers with Kubernetes, you often find that they pile up. This is by design. It's one of the advantages of containers: they're cheap to start whenever a new one is needed. You can use a front-end like OpenShift or OKD to manage pods and containers. Those make it easy to visualize what you have set up, and have a rich set of commands for quick interactions.


read more

Music composition with Python and Linux

Mon, 02/10/2020 - 16:00

I met Brendan Becker working in a computer store in 1999. We both enjoyed building custom computers and installing Linux on them. Brendan was always involved in several technology projects at once, ranging from game coding to music composition. Fast-forwarding a few years from the days of computer stores, he went on to write pyDance, an open source implementation of multiple dancing games, and then became the CEO of music and gaming event MAGFest. Sometimes referred to as "Mr.


read more

Open source vs. proprietary: What's the difference?

Sun, 02/09/2020 - 16:00

There's a lot to be learned from open source projects. After all, managing hundreds of disparate, asynchronous commits and bugs doesn't happen by accident. Someone or something has to coordinate releases, and keep all the code and project roadmaps organized. It's a lot like life. You have lots of tasks demanding your attention, and you have to tend to each in turn. To ensure everything gets done before its deadline, you try to stay organized and focused.


read more

6 open educational resources for learning Spanish

Sat, 02/08/2020 - 16:00

My goal for 2020 is to improve my Spanish, and I intend to use the open educational resources described below to help me along my long path towards fluency. These suggestions are by no means an exhaustive list of resources for learning Spanish. The items included are all open resources, which means they are either shared under an open license or are in the public domain.


read more

Introducing Zuul for improved CI/CD

Fri, 02/07/2020 - 16:02

Jenkins is a marvelous piece of software. As an execution and automation engine, it's one of the best you're going to find. Jenkins serves as a key component in countless continuous integration (CI) systems, and this is a testament to the value of what its community has built over the years. But that's what it is­­—a component. Jenkins is not a CI system itself; it just runs things for you. It does that really well and has a variety of built-ins and a vibrant ecosystem of plugins to help you tell it what to run, when, and where.


read more

Customize your internet with an open source search engine

Fri, 02/07/2020 - 16:01

A long time ago, the internet was small enough to be indexed by a few people who gathered the names and locations of all websites and listed them each by topic on a page or in a printed book. As the World Wide Web network grew, the "web rings" convention developed, in which sites with a similar theme or topic or sensibility banded together to form a circular path to each member. A visitor to any site in the ring could click a button to proceed to the next or previous site in the ring to discover new sites relevant to their interest.


read more

Using Powershell to automate Linux, macOS, and Windows processes

Fri, 02/07/2020 - 16:00

Automation takes control of manual, laborious, and error-prone processes and replaces engineers performing manual tasks with computers running automation scripts. Everyone agrees that manual processes are a foe of a healthy DevOps mindset. Some argue that automation is not a good thing because it replaces hard-working engineers, while others realize that it boosts consistency, reliability, and efficiency, saves time, and (most importantly) enables engineers to work smart.


read more

3 ways to use PostgreSQL commands

Thu, 02/06/2020 - 16:02

In Getting started with PostgreSQL, I explained how to install, set up, and begin using the open source database software. But there's a lot more you can do with commands in PostgreSQL.


read more

How key Python projects are maintained

Thu, 02/06/2020 - 16:01

Jannis Leidel is part of the Jazzband community. Jazzband is a collaborative community that shares the responsibility of maintaining Python-based projects.

Jazzband was born out of the stress of maintaining an open source project alone for a longer time. Jannis is a roadie, which means he does administrative tasks and makes sure the people in the band can play when they want.


read more

How Drupal 8 aims to be future-proof

Thu, 02/06/2020 - 16:00

Thomas Edison famously said, "The three great essentials to achieve anything worthwhile are, first, hard work; second, stick-to-itiveness; third, common sense." This quote made me wonder if "sticking-to-it" is contradictory to innovation; does it make you resistant to change? But, the more I pondered on it, I realized that innovation is fueled by perseverance.


read more

Pages