Language Selection

English French German Italian Portuguese Spanish

OpenSource.com

Syndicate content
Updated: 2 hours 20 min ago

Save and load Python data with JSON

Tuesday 16th of July 2019 07:01:00 AM

JSON stands for JavaScript Object Notation. This format is a popular method of storing data in key-value arrangements so it can be parsed easily later. Don’t let the name fool you, though: You can use JSON in Python—not just JavaScript—as an easy way to store data, and this article demonstrates how to get started.

First, take a look at this simple JSON snippet:


read more

Become a lifelong learner and succeed at work

Tuesday 16th of July 2019 07:00:00 AM

Continuous learning refers to the ongoing, career-driven, intentional learning process people undertake to develop themselves. For people who consider themselves continuous learners, learning never stops—and these people see learning opportunities in everyday experiences. Engaging with one's colleagues in debate, reflecting on feedback, scouring the internet for a solution to a frustrating problem, trying something new, or taking a risk are all examples of the informal learning activities one can perform on the job.


read more

What is POSIX? Richard Stallman explains

Monday 15th of July 2019 07:02:00 AM

What is POSIX, and why does it matter? It's a term you've likely seen in technical writing, but it often gets lost in a sea of techno-initialisms and jargon-that-ends-in-X. I emailed Dr. Richard Stallman (better known in hacker circles as RMS) to find out more about the term's origin and the concept behind it.


read more

Understanding software design patterns

Monday 15th of July 2019 07:01:00 AM

If you are a programmer or a student pursuing computer science or a similar discipline, sooner or later, you will encounter the term "software design pattern." According to Wikipedia, "a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design." Here is my take on the definition: When you have been working on a coding project for a while, you often begin to think, "Huh, this seems redundant.


read more

What movie genre does your typical day most resemble?

Monday 15th of July 2019 07:00:00 AM

Have you ever daydreamed about what type of movie "A Day in the Life of [Your Name Here]" would be? As a sysadmin or other IT professional, your day can vary depending on what issues arise. Does your workday typically play out as planned, or does it tend to go off script? Which movie genre best describes your typical day?

Superhero blockbuster: When you save the day after Thanos deletes the world's DNS records, you might feel like one of the Avengers.


read more

MTTR is dead, long live CIRT

Friday 12th of July 2019 07:02:00 AM

The game is changing for the IT ops community, which means the rules of the past make less and less sense. Organizations need accurate, understandable, and actionable metrics in the right context to measure operations performance and drive critical business transformation.

The more customers use modern tools and the more variation in the types of incidents they manage, the less sense it makes to smash all those different incidents into one bucket to compute an average resolution time that will represent ops performance, which is what IT has been doing for a long time.


read more

Make an RGB cube with Python and Scribus

Friday 12th of July 2019 07:01:00 AM

When I decided I wanted to play with color this summer, I thought about the fact that colors are usually depicted on a color wheel. This is usually with pigment colors rather than light, and you lose any sense of the variation in color brightness or luminosity.


read more

Certifications for DevOps engineers

Friday 12th of July 2019 07:00:00 AM

DevOps teams appreciate using DevOps processes, especially in multi- and hybrid cloud infrastructures, for many reasons. For one thing, DevOps breaks down barriers and enables agile software development and continuous delivery of IT operations.


read more

What is a golden image?

Thursday 11th of July 2019 07:02:00 AM

If you’re in quality assurance, system administration, or (believe it or not) media production, you might have heard some variation of the term gold master, golden image, or master image, and so on. It’s a term that has made its way into the collective consciousness of anyone involved in creating one perfect model and then producing many duplicates from that mold. That’s what a gold master, or golden image, is: The virtual mold from which you cast your distributable models.


read more

How to install Elasticsearch on MacOS

Thursday 11th of July 2019 07:01:00 AM

Elasticsearch is an open source, full-text search engine developed in Java. Users upload datasets as JSON files. Then, Elasticsearch stores the original document before adding a searchable reference to the document in the cluster’s index.

Less than nine years after its creation, Elasticsearch is the most popular enterprise search engine. Elastic released its latest update—version 7.2.0 —on June 25, 2019.


read more

DevOps for introverted people

Thursday 11th of July 2019 07:00:00 AM

We asked members of our DevOps team to talk about their experience as introverts and to give extroverts some advice. Before we get into their responses, though, let’s first define the term.


read more

32-bit life support: Cross-compiling with GCC

Wednesday 10th of July 2019 07:02:00 AM

If you're a developer creating binary packages, like an RPM, DEB, Flatpak, or Snap, you have to compile code for a variety of different target platforms. Typical targets include 32-bit and 64-bit x86 and ARM. You could do your builds on different physical or virtual machines, but that means maintaining several systems. Instead, you can use the GNU Compiler Collection (GCC) to cross-compile, producing binaries for several different architectures from a single build machine.


read more

You can tinker with this conference badge

Wednesday 10th of July 2019 07:01:00 AM

In the beginning, there were conferences. Over time, as those conferences grew, attendees needed ways to identify each other. This need gave us the conference badge.

No one knows what the first conference badges looked like, but we can be confident that they were relatively simple affairs. Over time, paper was put into plastic sleeves, which eventually became information printed on hard plastic. Sometimes that plastic wasn’t even rectangular.


read more

How to teach software engineering students about the enterprise

Wednesday 10th of July 2019 07:00:00 AM

In this opinion article, you will find a set of suggestions for the inclusion of enterprise technology into software engineering courses. This piece goes through the difficulties that students face and proposes simplifications successfully used in the past. The continual advancement of enterprise technologies leads to a simplifying of the inclusion process in education.


read more

From BASIC to Ruby: Life lessons from first programming languages on Command Line Heroes

Tuesday 9th of July 2019 07:03:00 AM

The second episode of this Command Line Heroes season 3 drops today and it sent me back through a nostalgic look at the idea of first programming languages.


read more

How to install Elasticsearch and Kibana on Linux

Tuesday 9th of July 2019 07:02:00 AM

If you're keen to learn Elasticsearch, the famous open source search engine based on the open source Lucene library, then there's no better way than to install it locally. The process is outlined in detail on the Elasticsearch website, but the official instructions have a lot more detail than necessary if you're a beginner. This article takes a simplified approach.


read more

Sysadmin vs SRE: What's the difference?

Tuesday 9th of July 2019 07:01:00 AM

In the IT world, there has always been a pull between generalist and specialist. The stereotypical sysadmin falls in the generalist category 99 times out of 100. The site reliability engineer (SRE) role is specialized, however, and grew out of the needs of one of the first companies to know real scale: Google. Ultimately, these two roles have the same goal for the applications whose infrastructure they operate: providing a good experience for the applications’ consumers.


read more

Open education: There isn't an app for that

Tuesday 9th of July 2019 07:00:00 AM

In 2010, I confronted a problem common to all public school leaders: How do we optimize our limited funding to bring powerful learning technology to thousands of students? Faced with an end-of-life fleet of student laptops, district-wide budget cuts, and teachers pleading for more technology, I made a small bet that open source software could be an affordable path forward.


read more

10 ways to get started with Linux

Monday 8th of July 2019 07:02:00 AM

The article What is a Linux user? by Anderson Silva made it clear that these days people are as likely to use Linux (in some way) as they are to use Windows, as long as your definition of "using Linux" is sufficiently broad. Still, if you don't have enough Linux in your life, now is a great time to try Linux in a way you've never tried before.

Here are 10 ways to get started with Linux. Try one or try them all.

1. Join a free shell


read more

The case for making the transition from sysadmin to DevOps engineer

Monday 8th of July 2019 07:01:00 AM

The year is 2019, and DevOps is the hot topic. The day of the system administrator (sysadmin) has gone the way of mainframes if you will—but really, has it? The landscape has shifted as it so often does in technology. There is now this thing called DevOps, which can’t exist without Ops.


read more

More in Tux Machines

Enjoy C&C Red Alert on Linux

I am extremely happy. I remember trying to play Red Alert about 10 years ago, and you had to patch files, and there was this and that, but now, it's smooth, seamless. This is true for many other games of this type, and it's easier to get them running on the latest operating systems than it was a few years after their demise. This is because people realized how valuable and dear they were. Everything works well in this setup, but if you're not happy for some reason, you have cross-platform support, and there's also the fully open-source OpenRA clone. This one, alongside my DOSBox classics, many of which I still have the original save games for, plus OpenTTD, is the mainstay of excellence, from an era when computer gaming was pure and hard and utterly unforgiving. And it shows. I hope you find this little guide valuable. Next on the menu, Yuri's Revenge. See you soon. Read more

today's howtos

Debian: Introducing Noir, miniDebConf19 Vaumarcus and New FAI.me Feature

  • Introducing Noir

    Noir is a drop-in replacement for Black (the uncompromising code formatter), with the default line length set to PEP-8's preferred 79 characters. If you want to use it, just replace black with noir in your requirements.txt and/or setup.py and you're good to go. Black is a Python code formatter that reformats your code to make it more PEP-8 compliant. It implements a subset of PEP-8, most notably it deliberately ignores PEP-8's suggestion for a line length of 79 characters and defaults to a length of 88. I find the decision and the reasoning behind that somewhat arbitrary. PEP-8 is a good standard and there's a lot of value in having a style guide that is generally accepted and has a lot of tooling to support it. When people ask to change Black's default line length to 79, the issue is usually closed with a reference to the reasoning in the README. But Black's developers are at least aware of this controversial decision, as Black's only option that allows to configure the (otherwise uncompromising) code formatter, is in fact the line length. Apart from that, Black is a good formatter that's gaining more and more popularity. And, of course, the developers have every right to follow their own taste. However, since Black is licensed under the terms of the MIT license, I tried to see what needs to be done in order to fix the line length issue.

  • miniDebConf19 Vaumarcus – Oct 25-27 2019 – Registration is open

    The Vaumarcus miniDebConf19 is happening! Come see the fantastic view from the shores of Lake Neuchâtel, in Switzerland! We’re going to have two-and-a-half days of presentations and hacking in this marvelous venue and anybody interested in Debian development is welcome.

  • New FAI.me feature

    FAI.me, the build service for installation and cloud images has a new feature. When building an installation images, you can enable automatic reboot or shutdown at the end of the installation in the advanced options. This was implemented due to request by users, that are using the service for their VM instances or computers without any keyboard connected.

FreeBSD's Executive Director Calls For Linux + BSD Devs To Work Together

While called the Open-Source Summit, the event is primarily about Linux as after all it's hosted by the Linux Foundation. But at this week's Open-Source Summit in San Diego, Deb Goodkin as the executive director of the FreeBSD Foundation presented. Deb's talk was of course on FreeBSD but also why FreeBSD and Linux developers should work together. The presentation covered FreeBSD's development workflow and various features of this open-source operating system project for those unfamiliar as well as some of the companies utilizing FreeBSD and their different use-cases. It's a good overview for those not familiar with FreeBSD. Read more