opensource.com

Subscribe to opensource.com feed
Updated: 2 hours 28 min ago

5 useful ways to manage Kubernetes with kubectl

Fri, 07/23/2021 - 15:00

Kubernetes is software to help you run lots of containers in an organized way. Aside from providing tools to manage (or orchestrate) the containers you run, Kubernetes also helps those containers scale out as needed. With Kubernetes as your central control panel (or control plane), you need a way to manage Kubernetes, and the tool for that job is kubectl. The kubectl command lets you control, maintain, analyze, and troubleshoot Kubernetes clusters.


read more

Write your first JavaScript code

Thu, 07/22/2021 - 15:01

JavaScript is a programming language full of pleasant surprises. Many people first encounter JavaScript as a language for the web. There's a JavaScript engine in all the major browsers, there are popular frameworks such as JQuery, Cash, and Bootstrap to help make web design easier, and there are even programming environments written in JavaScript.


read more

How to manage feedback on your open project

Thu, 07/22/2021 - 15:00

People who let open principles guide their leadership practices in open organizations inevitably find themselves fielding feedback. Lots of feedback.

That's by design. Open leaders invite comment and critique on just about anything they can.

But it also poses a regular challenge: How to sift through, manage, evaluate, and address that feedback in authentic and useful ways?


read more

Accessibility in open source for people with ADHD, dyslexia, and Autism Spectrum Disorder

Wed, 07/21/2021 - 15:00

For a long time, attention deficit hyperactivity disorder (ADHD), autism, Asperger syndrome, dyslexia, and other neurodiverse conditions were considered things that hold people back. But now, many researchers and employers recognize that neurodiversity is a competitive advantage, especially in technology, and especially when certain accommodations are provided.


read more

Write your first web component

Wed, 07/21/2021 - 15:00

Web components are a collection of open source technologies such as JavaScript and HTML that allow you to create custom elements that you can use and reuse in web apps. The components you create are independent of the rest of your code, so they're easy to reuse across many projects.

Best of all, it's a platform standard supported by all major modern browsers.


read more

Access cloud files on Windows with ownCloud

Tue, 07/20/2021 - 15:01

Most computer users nowadays rely on online file storage. Thanks to the rise of cloud computing, the idea of storing files remotely and downloading them when needed has gained a lot of fresh air in recent years. Yet, the principle's technical roots are anything but new, with implementations reaching back decades. While the protocols used and features expected for accessing data on online storage have changed massively, the basic idea hasn't altered much since the days of FTP and similar protocols.


read more

Run a Linux virtual machine in Podman

Tue, 07/20/2021 - 15:01

Fedora CoreOS is an automatically updating, minimal rpm-ostree-based operating system for running containerized workloads securely and at scale.

Podman "is a tool for managing containers and images, volumes mounted into those containers, and pods made from groups of containers. Podman is based on libpod, a library for container lifecycle management."


read more

Linux package managers: dnf vs apt

Mon, 07/19/2021 - 15:01

There are many ways to get applications onto a Linux system. Some, like Flatpak and containers, are new. Others, like DEB and RPM, are classic formats that have withstood the test of time.


read more

Run Python applications in virtual environments

Mon, 07/19/2021 - 15:00

If you use Python, you probably install a lot of Python applications. Some are tools you just want to try out. Others are tried and true applications you use every day, so you install them on every computer you use. In either situation, it can be useful to run your Python applications in virtual environments to keep them and their dependencies separate from one another to avoid versioning conflicts and to keep them from the rest of your system to improve security.

This is where pipx comes into the picture.


read more

17 open source technologists share their work-from-home uniforms

Sun, 07/18/2021 - 15:00

As the world turns and some folks begin returning to the office, I feel it's a good time to ask our community of open source techies: What's your work-from-home (WFH) uniform?

Do you dress like you would if you were going into the office? Or are you more comfortable in workout clothes or even your PJs? Do you have a template you stick to most days?


read more

How to avoid waste when writing code

Sat, 07/17/2021 - 15:00

The long road toward quality is filled with diversions, false starts, and detours. The enemy of quality is waste, because waste is never desirable. No one pays anyone to deliver waste. We sometimes tolerate waste as part of the process of making something useful and desirable, but the more we can reduce waste while making something, the better.

In software engineering, waste can be expressed in a few ways:


read more

Monitor your home's temperature and humidity with Raspberry Pis and Prometheus

Thu, 07/15/2021 - 15:02

Data is beautiful. As a #CitizenScientist, I enjoy gathering data and trying to make sense of the world around me. At work, we use Prometheus to gather metric data from our clusters, and at home, I use Prometheus to gather data from my hobbies. This article explores how to take an application—a Python script that gathers temperature and humidity data from a sensor—and instrument it to provide data in a model that Prometheus can gather.


read more

5 hidden gems in Python 3

Thu, 07/15/2021 - 15:01

Python has made a name for itself in the world of programming for being easy to learn, easy to read, and reasonably easy to debug. It's seen as a good starting language because it can usually resolve complex concepts such as data types on the programmer's behalf. It's considered easy to read because its syntax is simple and it enforces predictable formatting. And it's easy to debug because not only does it catch many errors on its own, it also integrates with advanced tools like GNU Debugger (gdb.) And that was its reputation before Python 3.


read more

Japan at a crossroads: How open organization principles aided the country's economic resurgence

Thu, 07/15/2021 - 15:00

At the start of the millennium, Japan was at an economic crossroads. Japanese firms urgently needed to rethink their business strategies and approaches in order to adapt to changing geopolitical and market conditions. In The Business Reinvention of Japan, author Ulrike Schaede describes how Japan succeeded in doing this.


read more

5 Rust tools worth trying on the Linux command line

Wed, 07/14/2021 - 15:01

Linux inherited a lot from Unix, which has been around for a half-century. This means most of the tools you use in your Linux terminal probably either have a very long history or were written to emulate those historical commands. It's a point of pride in the POSIX world that tools don't need constant reinvention. In fact, there's a subset of Linux users today who could run a version of Linux from before they were born without having to learn anything new. It's tried, true, and reliable.


read more

How different programming languages read and write data

Wed, 07/14/2021 - 15:00

In his article How different programming languages do the same thing, Jim Hall demonstrates how 13 different languages accomplish the same exact task with different syntax. The lesson is that programming languages tend to have many similarities, and once you know one programming language, you can learn another by figuring its syntax and structure.


read more

Use VS Code to develop in containers

Tue, 07/13/2021 - 15:02

Coding and testing inconsistencies are a risk when you have multiple developers with different development environments working on a project. Visual Studio Code (VS Code) is an integrated development environment (IDE) that can help minimize these issues. It can be combined with containers to provide separate development environments for each application alongside a consistent development environment.


read more

Use XMLStarlet to parse XML in your the Linux terminal

Tue, 07/13/2021 - 15:01

Learning to parse XML is often considered a complex venture, but it doesn't have to be. XML is highly and strictly structured, so it's relatively predictable. There are also lots of tools out there to help make the job manageable.


read more

Open source sustainable cities, AI on Arduino, supply chain security, and more

Tue, 07/13/2021 - 15:00

Open source made it into a lot of news headlines last month. Read on to learn about some of the major advances.

Stanford unveils open source sustainable cities software

80% of Americans live in cities, and 70% of the world's population is expected to be urban dwellers by 2050. Thanks to the Stanford National Capital Project, city planners and developers have a new open source tool to help improve urban wellbeing.


read more

Pages