Skip to main content

Feed aggregator

Spectre Mitigation Causing Significant Slowdown in 4.20 Kernel, Shadow of the Tomb Raider Coming to Linux in 2019, Kdenlive Bug-Squashing Day December 2, Diskio Pi Kickstarter Campaign and Phones to Receive Android Pie

Linux Journal - Tue, 11/20/2018 - 10:02

News briefs for November 20, 2018.

Mitigation for Spectre variant 2 is causing significant slowdowns in the new 4.20 kernel, and Linus Torvalds posted to the LKML, "When performance goes down by 50 percent on some loads, people need to start asking themselves whether it was worth it. It's apparently better to just disable SMT entirely, which is what security-conscious people do anyway". See Phoronix, which originally posted the benchmarks showing the slowdown, and this ZDNet article for more info on this issue.

Feral Interactive announced this morning that Shadow of the Tomb Raider is coming to Linux in 2019. Shadow of the Tomb Raider is the conclusion of Laura Croft's origin story; the previous two installments are available for Linux now from Feral Interactive. You can view the Shadow of the Tomb Raider trailer here.

Kdenlive is holding a bug-squashing day on December 2, 2018 in preparation for an April 2019 major release. A list of proposed bugs to solve is available here. Contact Kdenlive via IRC: #kdenlive on Freenode.

Guillaume Debray has launched a Kickstarter campaign for a Diskio Pi, "the Ultimate Open Source Tablet". Diskio Pi is a kit tablet that you assemble with your nano computer of choice. According to the project description, it's an "ideal open solution" to use as an extra computer, a learning code machine, a media center, for home automation or for your vehicle.

Android Central reports on which phones will receive Android Pie. Android Pie is slated to come to the Asus ZenFone 5 series in early 2019, and in some markets, the Motorola One and One Power already have received it. See the post on Android Central for the full roundup.

News Spectre kernel Linus Torvalds Feral Interactive gaming Kdenlive SBCs tablets Android Mobile
Categories: Linux News

What's New in Bash Parameter Expansion

Linux Journal - Tue, 11/20/2018 - 08:00
by Mitch Frazier

The bash man page is close to 40K words. It's not quite War and Peace, but it could hold its own in a rack of cheap novels. Given the size of bash's documentation, missing a useful feature is easy to do when looking through the man page. For that reason, as well as to look for new features, revisiting the man page occasionally can be a useful thing to do.

The sub-section of interest today is Parameter Expansion—that is, $var in its many forms. Don't be confused by the name though, it's really about parameter and variable expansion.

Go to Full Article
Categories: Linux News

Feral Interactive Announces Total War: WARHAMMER II to Be Released for Linux Tomorrow, Uber Joined The Linux Foundation, Security Bug Discovered in Instagram, Fedora Taking Submissions for Supplemental Wallpapers and Kernel 4.20-rc3 Is Out

Linux Journal - Mon, 11/19/2018 - 09:32

News briefs for November 19, 2018.

Feral Interactive announces that Total War: WARHAMMER II will be released for Linux and macOS tomorrow, November 20, 2018. This follow-up of Total War: WARHAMMER "puts players in command of one of four fantastical Races, challenging them to wage a war of conquest in order to stabilise or disrupt the apocalyptically powerful Great Vortex." You can pre-order it from here for $59.99 US, and view the trailer from Feral's YouTube channel.

Uber has joined The Linux Foundation. The press release quotes Linux Foundation Executive Director Jim Zemlin: "Uber has been active in open source for years, creating popular projects like Jaeger and Horovod that help businesses build technology at scale. We are very excited to welcome Uber to the Linux Foundation community. Their expertise will be instrumental for our projects as we continue to advance open solutions for cloud native technologies, deep learning, data visualization and other technologies that are critical to businesses today."

A new security vulnerability has been discovered in Instagram (owned by Facebook). The Information reports that the recently introduced "Download Your Data" security feature caused some users' passwords to be revealed. Instagram quickly fixed the bug and users were notified and asked to change their passwords and clear their browsing history.

Submissions now open for Fedora 30 Supplemental Wallpapers until January 19, 2019. The Fedora design team works with the community each release to select 16 additional wallpapers that users can install. This is your chance to start contributing to Fedora. See the Fedora Magazine post for more information.

Linux kernel 4.20-rc3 is out. Linus says the only unusual thing was his travel and that the changes "are pretty tiny".

News Feral Interactive gaming The Linux Foundation Security Facebook Instagram Fedora kernel
Categories: Linux News

Schedule One-Time Commands with the UNIX at Tool

Linux Journal - Mon, 11/19/2018 - 07:30
by Kyle Rankin

Cron is nice and all, but don't forget about its cousin at.

When I first started using Linux, it was like being tossed into the deep end of the UNIX pool. You were expected to use the command line heavily along with all the standard utilities and services that came with your distribution. At lot has changed since then, and nowadays, you can use a standard Linux desktop without ever having to open a terminal or use old UNIX services. Even as a sysadmin, these days, you often are a few layers of abstraction above some of these core services.

I say all of this to point out that for us old-timers, it's easy to take for granted that everyone around us innately knows about all the command-line tools we use. Yet, even though I've been using Linux for 20 years, I still learn about new (to me) command-line tools all the time. In this "Back to Basics" article series, I plan to cover some of the command-line tools that those new to Linux may never have used before. For those of you who are more advanced, I'll spread out this series, so you can expect future articles to be more technical. In this article, I describe how to use the at utility to schedule jobs to run at a later date.

at vs. Cron

at is one of those commands that isn't discussed very much. When people talk about scheduling commands, typically cron gets the most coverage. Cron allows you to schedule commands to be run on a periodic basis. With cron, you can run a command as frequently as every minute or as seldom as once a day, week, month or even year. You also can define more sophisticated rules, so commands run, for example, every five minutes, every weekday, every other hour and many other combinations. System administrators sometimes will use cron to schedule a local script to collect metrics every minute or to schedule backups.

On the other hand, although the at command also allows you to schedule commands, it serves a completely different purpose from cron. While cron lets you schedule commands to run periodically, at lets you schedule commands that run only once at a particular time in the future. This means that at fills a different and usually more immediate need from cron.

Using at

At one point, the at command came standard on most Linux distributions, but these days, even on servers, you may find yourself having to install the at package explicitly. Once installed, the easiest way to use at is to type it on the command line followed by the time you want the command to run:

$ at 18:00

The at command also can accept a number of different time formats. For instance, it understands AM and PM as well as words like "tomorrow", so you could replace the above command with the identical:

Go to Full Article
Categories: Linux News

Weekend Reading: Qubes

Linux Journal - Sat, 11/17/2018 - 07:29
by Carlie Fairchild

Qubes OS is a security-focused operating system that, as tech editor Kyle Rankin puts it, "is fundamentally different from any other Linux desktop I've used". Join us this weekend in reading Kyle's multi-part series on all things Qubes.

Secure Desktops with Qubes: Introduction

In this first article, I provide an overview of what Qubes is, some of the approaches it takes that are completely different from what you might be used to on a Linux desktop and some of its particularly interesting security features. In future articles, I'll give more how-to guides on installing and configuring it and how to use some of its more-advanced features.

Secure Desktops with Qubes: Installation

This is the second in a multipart series on the Qubes operating system. In my first article, I gave an overall introduction to Qubes and how it differs from most other desktop Linux distributions, namely in the way it focuses on compartmentalizing applications within different VMs to limit what attackers have access to in the event they compromise a VM. This allows you to use one VM for regular Web browsing, another for banking and a different one for storing your GPG keys and password manager. In this article, I follow up with a basic guide on how to download and install Qubes, along with a general overview of the desktop and the various default VM types.

Secure Desktops with Qubes: Compartmentalization

This is the third article in my series about Qubes. In the first two articles, I gave an overview about what Qubes is and described how to install it. One of the defining security features of Qubes is how it lets you compartmentalize your different desktop activities into separate VMs. The idea behind security by compartmentalization is that if one of your VMs is compromised, the damage is limited to just that VM.

Secure Desktops with Qubes: Extra Protection

Go to Full Article
Categories: Linux News

New Raspbian Update, Qt Creator 4.8 Beta2 Released, Firefox Monitor Now Available in More Than 26 Languages, Chrome OS Linux Soon Will Have Access to Downloads Folder and Canonical Extends Ubuntu 18.04 Long-Term Support

Linux Journal - Fri, 11/16/2018 - 09:38

News briefs for November 16, 2018.

Simon Long has released a new Raspbian update. This update includes a "fully hardware-accelerated version of VLC", version 3 of the Thonny Python development environment, improved desktop configuration and more. You can download the update from here.

Qt Creator 4.8 Beta2 is now available. In addition to many bug fixes, the LLVM for the Clang code model is updated to version 7.0 and binary packages are updated to the Qt 5.12 prerelease. You can get the open-source version here.

Firefox Monitor, the free services that tells you whether your email has been part of a security breach, is now available in more than 26 languages: "Albanian, Traditional and Simplified Chinese, Czech, Dutch, English (Canadian), French, Frisian, German, Hungarian, Indonesian, Italian, Japanese, Malay, Portuguese (Brazil), Portuguese (Portugal), Russian, Slovak, Slovenian, Spanish (Argentina, Mexico, and Spain), Swedish, Turkish, Ukranian and Welsh." Along with this, Mozilla also announced that it has added "a notification to our Firefox Quantum browser that alerts desktop users when they visit a site that has had a recently reported data breach". See the Mozilla blog for details.

Chrome OS Linux soon will be able to access your Downloads folder and Google Drive. According to the 9to5Google post, "Making the entire Downloads folder accessible will turn Linux apps into a first-class citizen on Chrome OS and will dramatically help with file organization and ease of use."

Canonical and Ubuntu founder Mark Shuttleworth announced in his keynote at OpenStack Summit in Berlin that the Ubuntu 18.04 long-term support lifespan will be extended from five years to ten years. He also addressed IBM's acquisition of Red Hat. ZDNet reports that Shuttleworth indicated that this may lead customers to switch to Ubuntu, saying "We're neutral on the public cloud. We work at arm's length with AWS, Azure, and Google. We provide a common currency across different environment. But, we're not the lowest common denominator. We want to be the best operating system on Azure for Azure, AWS for AWS, and so on."

News Raspberry Pi Raspbian qt Firefox Security Mozilla Chrome OS Canonical Ubuntu
Categories: Linux News

FOSS Project Spotlight: BlueK8s

Linux Journal - Fri, 11/16/2018 - 08:00
by Tom Phelan

Deploying and managing complex stateful applications on Kubernetes.

Kubernetes (aka K8s) is now the de facto container orchestration framework. Like other popular open-source technologies, Kubernetes has amassed a considerable ecosystem of complementary tools to address everything from storage to security. And although it was first created for running stateless applications, more and more organizations are interested in using Kubernetes for stateful applications.

However, while Kubernetes has advanced significantly in many areas during the past couple years, there still are considerable gaps when it comes to running complex stateful applications. It remains challenging to deploy and manage distributed stateful applications consisting of a multitude of co-operating services (such as for use cases with large-scale analytics and machine learning) with Kubernetes.

I've been focused on this space for the past several years as a co-founder of BlueData. During that time, I've worked with many teams at Global 2000 enterprises in several industries to deploy distributed stateful services successfully, such as Hadoop, Spark, Kafka, Cassandra, TensorFlow and other analytics, data science, machine learning (ML) and deep learning (DL) tools in containerized environments.

In that time, I've learned what it takes to deploy complex stateful applications like these with containers while ensuring enterprise-grade security, reliability and performance. Together with my colleagues at BlueData, we've broken new ground in using Docker containers for big data analytics, data science and ML/DL in highly distributed environments. We've developed new innovations to address requirements in areas like storage, security, networking, performance and lifecycle management.

Now we want to bring those innovations to the Open Source community—to ensure that these stateful services are supported in the Kubernetes ecosystem. BlueData's engineering team has been busy working with Kubernetes, developing prototypes with Kubernetes in our labs and collaborating with multiple enterprise organizations to evaluate the opportunities (and challenges) in using Kubernetes for complex stateful applications.

To that end, we recently introduced a new Kubernetes open-source initiative: BlueK8s. The BlueK8s initiative will be composed of several open-source projects that each will bring enterprise-level capabilities for stateful applications to Kubernetes.

Go to Full Article
Categories: Linux News

New Raspberry Pi 3 Model A+, Red Hat Enterprise Linux 8 Beta Now Available, LF Deep Learning Foundation Announces First Software Release of the Acumos AI Project, Google's Project Fi to Offer Google-Run VPN and Deepin 15.8 Released

Linux Journal - Thu, 11/15/2018 - 09:39

News briefs for November 15, 2018.

Raspberry Pi 3 Model A+ is now available: "you can now get the 1.4GHz clock speed, 5GHz wireless networking and improved thermals of Raspberry Pi 3B+ in a smaller form factor, and at the smaller price of $25." You can order one here. The blog post notes that cases for the RPi 3 Model A+ will be available early next month.

Red Hat Enterprise Linux 8 Beta makes its debut. RHEL 8 Beta features hundreds of improvements and several new features. One highlight is the introduction of "the concept of Application Streams to deliver userspace packages more simply and with greater flexibility". It also supports "more efficient Linux networking in containers through IPVLAN", has several security enhancements and more.

The LF Deep Learning Foundation (a project of the Linux Foundation) yesterday announced the first software release of the Acumos AI Project, Athena. From the press release: "Acumos AI is a platform and open source framework that makes it easy to build, share and deploy AI applications. Acumos AI standardizes the infrastructure stack and components required to run an out-of-the-box general AI environment. This frees data scientists and model trainers to focus on their core competencies and accelerate innovation." See the full release notes here.

Google's Project Fi has launched a new project allowing users to route all traffic through a Google-run VPN. According to The Verge, "your traffic will be going to Google's servers, so Google will be able to see what you're visiting." However, Google has said it isn't tying traffic to accounts or phone numbers or "any other user identifiers". The traffic also will be encrypted.

Linux Deepin 15.8 was released today. The Deepin team notes that the "new release is featured with newly designed control center, dock tray and boot theme, as well as improved deepin native applications, hoping to bring users a more beautiful and efficient experience." To download, click here.

News Raspberry Pi Red Hat Linux Foundation Deep Learning Acumos AI Google Project Fi VPN Deepin Distributions
Categories: Linux News

Getting Started with Scilab

Linux Journal - Thu, 11/15/2018 - 08:15
by Joey Bernard

Introducing one of the larger scientific lab packages for Linux.

Scilab is meant to be an overall package for numerical science, along the lines of Maple, Matlab or Mathematica. Although a lot of built-in functionality exists for all sorts of scientific computations, Scilab also includes its own programming language, which allows you to use that functionality to its utmost. If you prefer, you instead can use this language to extend Scilab's functionality into completely new areas of research. Some of the functionality includes 2D and 3D visualization and optimization tools, as well as statistical functions. Also included in Scilab is Xcos, an editor for designing dynamical systems models.

Several options exist for installing Scilab on your system. Most package management systems should have one or more packages available for Scilab, which also will install several support packages. Or, you simply can download and install a tarball that contains everything you need to be able to run Scilab on your system.

Once it's installed, start the GUI version of Scilab with the scilab command. If you installed Scilab via tarball, this command will be located in the bin subdirectory where you unpacked the tarball.

When it first starts, you should see a full workspace created for your project.

Figure 1. When you first start Scilab, you'll see an empty workspace ready for you to start a new project.

On the left-hand side is a file browser where you can see data files and Scilab scripts. The right-hand side has several panes. The top pane is a variable browser, where you can see what currently exists within the workspace. The middle pane contains a list of commands within that workspace, and the bottom pane has a news feed of Scilab-related news. The center of the workspace is the actual Scilab console where you can interact with the execution engine.

Let's start with some basic mathematics—for example, division:

--> 23/7 ans = 3.2857143

As you can see, the command prompt is -->, where you enter the next command to the execution engine. In the variable browser, you can see a new variable named ans that contains the results of the calculation.

Along with basic arithmetic, there is also a number of built-in functions. One thing to be aware of is that these function names are case-sensitive. For example, the statement sqrt(9) gives the answer of 3, whereas the statement SQRT(9) returns an error.

There also are built-in constants for numbers like e or pi. You can use them in statements, like this command to find the sine of pi/2:

Go to Full Article
Categories: Linux News

Zentyal Open Source Linux Server Version 6.0 Now Available, KDevelop 5.3 Released, Scalyr Announces New Features, Mozilla Launches Version 2.0 of Its *Privacy Not Included Buyer's Guide and Debian No Longer Allowing Vendor-Specific Patches

Linux Journal - Wed, 11/14/2018 - 09:06

News briefs for November 14, 2018.

The Zentyal development team announces a new major version of its Zentyal Open Source Linux Server with native Microsoft Active Directory interoperability. Version 6.0 is based on Ubuntu 18.04 LTS with the Linux 4.15 kernel, Samba 4.7, and it includes a new RADIUS module and virtualization manager module. See the full Changelog for more details.

KDevelop 5.3 was released this morning. It's been almost a year since version 5.2, and much has changed. KDevelop 5.3 has a new analyzer plugin that's shipped out of the box, and there's a new Clazy clang analyzer plugin "specialized on Qt-using code" that also can be run from within KDevelop by default. In addition, it has improved C++, PHP and Python support. You can download it here.

Scalyr announces new troubleshooting features, introducing support for Slack, GitHub, Kubernetes and more. According to the press release, the company is moving beyond traditional log monitoring and now offers Kubernetes cluster-level logging, chart annotations, stack trace linking and AWS CloudWatch support. The new features will be available in Q4. See the Scalyr website for more information.

Mozilla has launched version 2.0 of its *Privacy Not Included Buyer's Guide just in time for holiday shopping. The guide's goal is to help you "shop smart—and safe—for products that connect to the internet". The guide also includes a "Creep-O-Meter" that allows users' to rate their feelings on a given product.

Debian is phasing out vendor-specific patches. Phoronix reports that "effective immediately these vendor-specific patches to source packages will be treated as a bug and will be unpermitted following the Debian 10 'Buster' release". See the mailing-list announcement for more information.

News Zentyal KDevelop Scalyr Monitoring Mozilla Privacy Debian Distributions
Categories: Linux News

Meet TASBot, a Linux-Powered Robot Playing Video Games for Charity

Linux Journal - Wed, 11/14/2018 - 09:06
by Allan Cecil

Can a Linux-powered robot play video games faster than you? Only if he takes a hint from piano rolls...and doesn't desync.

Let me begin with a brief history of tool-assisted speedruns. It was 2003. Less than half the developed world had internet access of any kind, and YouTube hadn't been created yet. Smartphones were rare and nascent. Pentium III processors still were commonplace, and memory was measured in megabytes. It was out of this primordial ooze that an interesting video file circulated around the web—an 18MB .wmv labeled only as a "super mario bross3 time attack video" [sic]. What followed was an absolutely insane 11-minute completion of the game by someone named Morimoto replete with close calls, no deaths and Mario destroying Bowser after apparently effortlessly obtaining 99 lives. The only other context was a link to a page written in Japanese, and the rough encoding that Windows Media Video format was known for in that era made it difficult for casual viewers to observe that it was an emulator recording rather than the output of a real Nintendo Entertainment System (NES) console.

Figure 1. Morimoto's 2003 Super Mario Bros. 3 (SMB3) Time Attack Video

The video encode had in fact been made with the Famtasia NES emulator using Tool-Assisted Speedrun (TAS) re-recording tools consisting of a "movie file" of the sequence of all buttons pressed along with the use of savestates, or CPU and memory snapshots allowing returning to a previous state. Morimoto had in essence augmented his own human skill by using tools that allowed him to return to a previous save point any time he was dissatisfied with the quality of his play. By iteratively backing up and keeping only the best results, he had created what he considered at the time to be a perfect play-through of the game. I didn't know anything about how it was made the first time I saw the run, but it blew my mind and had me asking questions to which I couldn't find answers.

The human speedrunning community members were naturally highly offended by what they saw as an unlabeled abomination akin to a doped athlete being allowed to compete in the Olympics. Their view was that anything that augmented raw human ability in any way (even as rudimentary as keyboard macros in PC games) was considered cheating, and Morimoto's run was nothing more than a fraud best left ignored. There was fascination, intrigue and division. It was, in retrospect, the perfect recipe for a new website.

Go to Full Article
Categories: Linux News

Reality2.0 - Episode 7: Sounding Alarms

Linux Journal - Wed, 11/14/2018 - 00:31
Your browser does not support the audio element. Reality2.0 - Episode 7: Sounding Alarms

Katherine Druckman and Doc Searls talk to Kyle Rankin about about sounding alarms in various communities.

Links Mentioned:

The Four Essential Freedoms

The Coral Project

 

Categories: Linux News

freenode #live 2018 - Doc Searls and Simon Phipps - In Conversation

Linux Journal - Tue, 11/13/2018 - 15:04

Please support Linux Journal by subscribing or becoming a patron.

Categories: Linux News

Red Hat Releases Red Hat OpenStack Platform 14 and a New Virtual Office Solution, ownCloud Enterprise Integrates with SUSE Ceph/S3 Storage, Run a Linux Shell on iOS with iSH and Firefox Launches Two New Test Pilot Features

Linux Journal - Tue, 11/13/2018 - 10:04

News briefs for November 13, 2018.

Red Hat this morning released Red Hat OpenStack Platform 14, delivering "enhanced Kubernetes integration, bare metal management and additional automation". According to the press release, it will be available in the coming weeks via the Red Hat Customer Portal and as a component of both Red Hat Cloud Infrastructure and Red Hat Cloud Suite.

Red Hat also announced a new virtual office solution today. This solution "provides a blueprint for modernizing telecommunications operations at the network edge via an open, software-defined infrastructure platform". Learn more about it here.

ownCloud yesterday announced SUSE Enterprise Storage Ceph/S3 API as a certified storage backend for ownCloud Enterprise Edition. The press release notes that the "SUSE Ceph/S3 Storage integration reduces dependency on proprietary hardware by replacing an organization's storage infrastructure with an open, unified and smarter software-defined storage solution". For more information on ownCloud, visit here.

There's a new project called iSH that lets you run a Linux shell on an iOS device. Bleeping Computer reports that the project is available as a TestFlight beta for iOS devices, and it is based on Alpine Linux. It allows you to "transfer files, write shell scripts, or simply to use Vi to develop code or edit files". You first need to install the TestFlight app, and then you can start testing the app by visiting this page: https://testflight.apple.com/join/97i7KM8O.

The Firefox Test Pilot Team announces two new features: Price Wise and Email Tabs. Price Wise lets you add products to your Price Watcher list, and you'll receive desktop notifications whenever the price drops. With Email Tabs, you can "select and send links to one or many open tabs all within Firefox in a few short steps, making it easier than ever to share your holiday gift list, Thanksgiving recipes or just about anything else". See the Mozilla Blog for details.

News Red Hat OpenStack Containers Kubernetes telecommunications OwnCloud SUSE Ceph Storage iOS Firefox
Categories: Linux News

Automate Sysadmin Tasks with Python's os.walk Function

Linux Journal - Tue, 11/13/2018 - 07:30
by Reuven M. Lerner

Using Python's os.walk function to walk through a tree of files and directories.

I'm a web guy; I put together my first site in early 1993. And so, when I started to do Python training, I assumed that most of my students also were going to be web developers or aspiring web developers. Nothing could be further from the truth. Although some of my students certainly are interested in web applications, the majority of them are software engineers, testers, data scientists and system administrators.

This last group, the system administrators, usually comes into my course with the same story. The company they work for has been writing Bash scripts for several years, but they want to move to a higher-level language with greater expressiveness and a large number of third-party add-ons. (No offense to Bash users is intended; you can do amazing things with Bash, but I hope you'll agree that the scripts can become unwieldy and hard to maintain.)

It turns out that with a few simple tools and ideas, these system administrators can use Python to do more with less code, as well as create reports and maintain servers. So in this article, I describe one particularly useful tool that's often overlooked: os.walk, a function that lets you walk through a tree of files and directories.

os.walk Basics

Linux users are used to the ls command to get a list of files in a directory. Python comes with two different functions that can return the list of files. One is os.listdir, which means the "listdir" function in the "os" package. If you want, you can pass the name of a directory to os.listdir. If you don't do that, you'll get the names of files in the current directory. So, you can say:

In [10]: import os

When I do that on my computer, in the current directory, I get the following:

In [11]: os.listdir('.') Out[11]: ['.git', '.gitignore', '.ipynb_checkpoints', '.mypy_cache', 'Archive', 'Files']

As you can see, os.listdir returns a list of strings, with each string being a filename. Of course, in UNIX-type systems, directories are files too—so along with files, you'll also see subdirectories without any obvious indication of which is which.

I gave up on os.listdir long ago, in favor of glob.glob, which means the "glob" function in the "glob" module. Command-line users are used to using "globbing", although they often don't know its name. Globbing means using the * and ? characters, among others, for more flexible matching of filenames. Although os.listdir can return the list of files in a directory, it cannot filter them. You can though with glob.glob:

Go to Full Article
Categories: Linux News

The Latest Version of the Nest Simulator Now Available in Fedora, Cloudflare's 1.1.1.1 DNS Services Comes to Android, Ceph Now Has Its Own Open-Source Foundation, Valve Making a VR Headset and Sparky Linux 4.9 Released

Linux Journal - Mon, 11/12/2018 - 09:39

News briefs for November 12, 2018.

The Fedora team announces that the latest version of the Nest simulator is now available in Fedora as part of the NeuroFedora initiative. Nest allows computational neuroscientists to "make large scale computer models of the brain that are needed to investigate among other things, how the brain processes information". Nest provides an easy to use Python interface and it can be run on both laptops and supercomputing clusters.

Cloudflare's 1.1.1.1 DNS service comes to Android and iOS. According to The Verge, "The mobile app uses features like VPN support to push your mobile traffic towards the 1.1.1.1 DNS servers and improve speeds. It will also prevent your carrier from tracking your browsing history and potentially selling it. Cloudflare is promising not to track 1.1.1.1 users or sell ads, and the company has retained KPMG to perform an annual audit and publish a public report." You can download it for Android here.

The Ceph storage project receives a dedicated open-source foundation, hosted by The Linux Foundation. TechCrunch quotes Sage Weil, Ceph's co-creator, project leader, and chief architect at Red Hat for Ceph: "Today's launch of the Ceph Foundation is a testament to the strength of a diverse open source community coming together to address the explosive growth in data storage and services."

Valve appears to be making its own VR headset. GamingOnLinux reports that a leaked imgur album shows several photos of the new hardware with a Valve logo. Valve also is apparently working on new Half-Life title for VR.

Sparky Linux 4.9 has been released, which celebrates 100 years of Poland's independence. Sparky 4.9 offers the LXDE desktop environment and minimal images of MinimalGUI (Openbox) and MinimalCLI (text mode), so you can "install the base system with a desktop of your choice with a minimal set of applications, via the Sparky Advanced Installer". In addition to added packages and updates, this new version has the code name "100", commemorating the 100 anniversary of Poland's independence, and it provides information about Polish history and also includes new Poland nature wallpapers.

News Fedora Science DNS Android Cloudflare Ceph The Linux Foundation Valve VR gaming Sparky Linux Distributions
Categories: Linux News

Weekend Reading: Python

Linux Journal - Sat, 11/10/2018 - 08:17
by Carlie Fairchild

Python is easy to use, powerful, versatile and a Linux Journal reader favorite. We've round up some of the most popular recent Python-related articles for your weekend reading.

Go to Full Article
Categories: Linux News

System76 to Donate Portion of Profit from Laptop Sale to Open-Source Projects, 16 New Companies Join the GPL Commitment, NVIDIA 415.3 Beta for Linux Released, Samsung Announces Linux on DeX with Ubuntu and Kdenlive 18.08.3 Is Out

Linux Journal - Fri, 11/09/2018 - 09:20

News briefs for November 9, 2018.

System76 announces it will donate a portion of its profits from laptop sales to open-source projects until January 3, 2019. Projects include KiCad, Electronic Frontier Foundation (EFF), Free Software Foundation (FSF) and the Open Source Hardware Association (OSHWA). In addition, System76 is holding a laptop sale—you can save $30–$100 on a laptop or $160–$370 with upgraded components.

Red Hat announces that 16 additional companies have joined GPL Commitment. The new companies are Adobe, Alibaba, Amadeus, Ant Financial, Atlassian, Atos, AT&T, Bandwidth, Etsy, GitHub, Hitachi, NVIDIA, Oath, Renesas, Tencent and Twitter. Red Hat writes that these companies "are strengthening long-standing community norms of fairness, pragmatism, and predictability in open source license compliance".

NVIDIA 415.3 yesterday released its first beta release for Linux in the 415 release stream. According to Phoronix, highlights include NVIDIA installer improvments, NVIDIA settings improvements, as well as various Vulkan, OpenGL and X.Org server bug fixes. Download the NVIDIA 415.13 Linux driver from here.

Samsung announces Linux on DeX with Ubuntu: "Linux on DeX empowers developers to build apps within a Linux development environment by connecting their Galaxy device to a larger screen for a PC-like experience." The Linux on DeX app is available as a private beta; interested developers can sign up here.

Kdenlive 18.08.3 is out. This release mainly updates the build script and has some compilation fixes, but has more major breakthroughs on the Windows side. A bug-squash day is being organized for early December. You can download it from here.

News System76 Laptops open source Red Hat GPL NVIDIA Samsung Kdenlive
Categories: Linux News

Removing Duplicate PATH Entries

Linux Journal - Fri, 11/09/2018 - 08:00
by Mitch Frazier

The goal here is to remove duplicate entries from the PATH variable. But before I begin, let's be clear: there's no compelling reason to to do this. The shell will, in essence, ignore duplicates PATH entries; only the first occurrence of any one path is important. Two motivations drive this exercise. The first is to look at an awk one-liner that initially doesn't really appear to do much at all. The second is to feed the needs of those who are annoyed by such things as having duplicate PATH entries.

Go to Full Article
Categories: Linux News

PostgreSQL Updates to Address Security Issue, openSUSE Announces New Legal Review System, Gumstix Launches Board Builder Service, Creative Commons on the EU "Link Tax" and Unreal Engine 4.21 Released

Linux Journal - Thu, 11/08/2018 - 10:18

News briefs for November 8, 2018.

PostgreSQL 11.1 was released today. In addition, updates are available for all supported versions, including 10.6, 9.6.11, 9.5.15, 9.4.20 and 9.3.25. The updates address a security issue as well as several bugfixes, so update as soon as possible.

openSUSE announces a new legal review system called Cavil, "designed to help Linux/GNU distributions with the legal review process of licenses". The new project is "collectively beneficial not only for the openSUSE Project, but distributions and projects that want to use it".

Gumstix has added a free new service called Board Builder to its Geppetto Design-to-Order (D2O) custom-board design service. According to LinuxGizmos, Board Builder makes "the drag-and-drop Geppetto interface even easier to use, enabling customization of ports, layout and other features. With Board Builder, you can select items from a checklist, including computer-on-modules, memory, network, sensors, audio, USB, and other features. You can then select a custom size, and you're presented with 2D and 3D views of board diagrams that you can further manipulate." Visit the Board Builder page for more information.

Creative Commons urges the EU Parliament and Council to delete Article 11 that would "require news aggregators that wish to index or incorporate links and snippets of journalistic content to first get a license or pay a fee to the publisher for their use online". According to Creative Commons, the link tax "would undermine the intention of authors who wish to share without additional strings attached, such as creators who want to share works under open licenses. This could be especially harmful to Creative Commons licensors if it means that remuneration must be granted notwithstanding the terms of the CC license."

Unreal Engine 4.21 released yesterday. Unreal Engine's goal is the "relentless pursuit of greater efficiency, performance, and stability for every project on any platform". New features include the "Niagara effects toolset is now even more powerful and easier to use"; "you can build multiplayer experiences on a scale not previously possible using now production-ready Replication Graph functionality"; an up to "60% speed increase when cooking content"; "usability improvements to the Animation system, Blueprint Visual Scripting, Sequencer, and more."

News PostgreSQL openSUSE licensing SBCs Gumstix creative commons EU Unreal Engine gaming
Categories: Linux News
Syndicate content