opensource.com

Subscribe to opensource.com feed
Updated: 1 hour 32 min ago

How many IoT devices do you own?

Sat, 11/23/2019 - 16:00

When we polled our readers nearly 4 years ago with this question, most people responded that they did not have any devices connected to the Internet of Things. However these days, there are approximately three connected devices per capita globally and that number is only expected to grow. Of course, not every person has exactly three devices. Some people have ten and others still have none.


read more

Is the future of farming under water?

Fri, 11/22/2019 - 16:02

Oceans cover 71% of Earth’s surface and contain 97% of Earth’s water.

Land-based food production is in crisis, driven by climate change and population increases. We have to grow 70% more food by 2050 in order to accommodate two billion more people on our planet.


read more

Bash cheat sheet: Key combos and special syntax

Fri, 11/22/2019 - 16:02

The Bourne Again Shell (Bash) is a text interface to POSIX computers. A shell, Bash or otherwise, provides a way for you to talk directly to your computer without roundabout interfaces: you type the precise command you want your computer to execute. It's the most efficient and lightweight interface available, which is why it still endures after 40 years.


read more

How to use Bitwarden for password protection on Active Directory

Fri, 11/22/2019 - 16:01

Bitwarden is a fantastic tool for managing passwords. It has applications for every platform, a browser plugin, and a self-hosted version, and it offers some great password management tricks like folders and collections. One of my favorite features is that it will keep a history of your old passwords, which is a great feature for enterprise users.


read more

Simulate gravity in your Python game

Thu, 11/21/2019 - 16:02

    he real world is full of movement and life. The thing that makes the real world so busy and dynamic is physics. Physics is the way matter moves through space. Since a video game world has no matter, it also has no physics, so game programmers have to simulate physics.

    In terms of most video games, there are basically only two aspects of physics that are important: gravity and collision.


    read more

    How to document Python code with Sphinx

    Thu, 11/21/2019 - 16:01

    Python code can include documentation right inside its source code. The default way of doing so relies on docstrings, which are defined in a triple quote format. While the value of documentation is well... documented, it seems all too common to not document code sufficiently. Let's walk through a scenario on the power of great documentation.


    read more

    Three-course professional specialization aims to close the gap between the use and understanding of open source in business

    Thu, 11/21/2019 - 16:00

    Even though open source software (OSS) is pervasive in IT, many people in business don't understand what open source is and how it differs from proprietary software. According to Brandeis University, "open source software now accounts for between 78% and 98% of all core digital infrastructure, yet few organizational managers understand the business behind it."


    read more

    Switching from Python 2 to Python 3: What you need to know

    Wed, 11/20/2019 - 16:02

    Python 2.7 will officially become unsupported beginning January 1, 2020. There is one final bugfix planned after this date, but then that's it.

    What does this end of life (EOL) mean for you? If you run Python 2, you need to migrate.


    read more

    How to install Java on Linux

    Wed, 11/20/2019 - 16:02

    No matter what operating system you're running, there are usually several ways to install an application. Sometimes you might find an application in an app store, or you might install it with a package manager like DNF on Fedora or Brew on Mac, and other times, you might download an executable or an installer from a website. Because Java is such a popular backend for so many applications, it's good to understand the different ways you can install it. The good news is that you have many options, and this article covers them all.


    read more

    3 emerging open source projects to keep an eye on

    Wed, 11/20/2019 - 16:00

    The exciting thing about open source is that nobody needs permission to try something new. That's a formula that allows new ideas to emerge all the time.

    Here are three open source projects that are still in their early stages but show real promise.


    read more

    We're all on a journey to cloud-native adoption together

    Wed, 11/20/2019 - 05:50

    The Cloud Native Computing Foundation (CNCF) is hosting its core conference for the fifth year running. It’s official title is KubeCon + CloudNativeCon, but it’s most importantly the home for Kubernetes. Adopters, contributors, and Kubernetes-curious attendees add up to a record-breaking 12,000 people.


    read more

    Container reality checks and more industry trends

    Wed, 11/20/2019 - 00:30

    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

    Top 10 Vim plugins for programming in multiple languages

    Tue, 11/19/2019 - 16:03

    I've been a user of the Vim text editor for about two decades. For a little while, I have been customizing my Vim configuration, only using plugins for the last couple of years.

    Recently, when I was redoing my setup (as I do every so often), I decided it was a good opportunity to identify the best Vim plugins for programming in multiple languages and a way to combine those plugins for each language I program in.


    read more

    Generate random passwords with this Bash script

    Tue, 11/19/2019 - 16:02

    Periodically, I need to come up with new passwords, some of which need to be more secure than others. My mind often seems to draw a blank when I have to create a new login, and this short Bash script fills that void. Full disclosure: I found most of this script posted somewhere and made a minor modification to it.


    read more

    How to use pkgsrc on Linux

    Tue, 11/19/2019 - 16:01

    NetBSD is famous for running on basically anything, but did you know its second claim to fame is the pkgsrc package manager? Like NetBSD, pkgsrc runs on basically anything, or at least anything Unix and Unix-like. You can install pkgsrc on BSD, Linux, Illumos, Solaris, and Mac. All told, over 20 operating systems are supported.


    read more

    What is a community of practice in an open organization?

    Tue, 11/19/2019 - 16:00

    Community is a fundamental component of open organizations. The Open Organization Definition notes that:

    Shared values and purpose guide participation in open organizations, and these values—more so than arbitrary geographical locations or hierarchical positions—help determine the organization's boundaries and conditions of participation.


    read more

    Cheat sheet for Linux users and permissions

    Mon, 11/18/2019 - 16:02

    The Linux operating system is a true multi-user OS, meaning it assumes that there's data on every computer that should be protected, whether in the interest of privacy, security, or system integrity.

    Linux uses file ownership and permissions to manage file and folder access. 

    For administrators who deal with different user environments all day, this system is easy to understand, calculate, and control.


    read more

    How internet security works: TLS, SSL, and CA

    Mon, 11/18/2019 - 16:02

    Multiple times every day, you visit websites that ask you to log in with your username or email address and password. Banking websites, social networking sites, email services, e-commerce sites, and news sites are just a handful of the types of sites that use this mechanism.

    Every time you sign into one of these sites, you are, in essence, saying, "yes, I trust this website, so I am willing to share my personal information with it." This data may include your name, gender, physical address, email address, and sometimes even credit card information.


    read more

    How to use regular expressions in awk

    Mon, 11/18/2019 - 16:00

    In awk, regular expressions (regex) allow for dynamic and complex pattern definitions. You're not limited to searching for simple strings but also patterns within patterns.

    The syntax for using regular expressions to match lines in awk is:

    word ~ /match/

    The inverse of that is not matching a pattern:


    read more

    Open source radio system delivers emergency alerts and music to the Yukon and beyond

    Sun, 11/17/2019 - 16:00

    "Radio Rob" Hopkins lives in Tagish, Yukon, 120km south of the capital city, Whitehorse. It is here that he created Open Broadcaster, an open source system that enables small rural market radio stations to manage their operations and volunteers.


    read more

    Pages