Odprtokodni pogled

Opensource view


Syndicate content
Your source for Linux and Open Source news, reviews, and howtos.
Posodobljeno: 52 min 33 sec nazaj

today's leftovers

Čet, 06/13/2019 - 08:54
  • Navigating your filesystem in the Linux terminal
  • Install and enable ssh server on Centos 7
  • GSoC 2019 – Week 2 with the Titler Tool

    In the last week, I gained progress with the QML rendering library (see the code here)

    It is doing what it is supposed to do – it renders an input QML file to output frames of a specified format and renders it as quick as possible (with QQuickRenderControl). If you want to test it out – there is CLI access to it through an executable (which is one of the things I’ve been working in the last week) for the library in the test directory here (make sure you read the READMEs along the way!)

    So let’s try to understand what really happens at the core of the library i.e. the rendering part.

    To render QML, the obvious approach is to take ‘screenshots’ of each frame using a grab() method which would grab all the pixels at each instant of time and then render it – not only is this darned slow and expensive, it is also not possible to render at a custom frame rate that way.

  • Mathpix’s Snip Coverts Screenshots to LaTeX Formulas

    Mathpix writes: “Take a screenshot of math and paste the LaTeX into your editor, all with a single keyboard shortcut.” For macOS, Windows and Ubuntu.

  • Making Kubernetes Work Like Linux: Weaveworks COO

    He gave the example of Linux. Everyone understands how to deploy, monitor, manage and look after Linux distributions. But in the Kubernetes world, nothing is standardized. People do things with their own hand-built tools. Everyone’s building their own house in their own way. “What we are trying to do is provide a standardized workflow for how to deploy, configure, monitor, update and look after Kubernetes. What we are doing is providing a standard set of workflows to work with any Kubernetes and any sets of applications,” he said.

read more

Events in America: Fedora 30 Release Party Mexico City and LibOCon Latinoamérica

Čet, 06/13/2019 - 08:49
  • Fedora 30 Release Party Mexico City

    On May 23, 2019, the Fedora Community in Mexico City ran an awesome Fedora 30 Release Party. This activity took place in the local Red Hat office. We really appreciate the space for our activities and particularly thanks to Alex Callejas (darkaxl017) for doing all the necessary paperwork.

    We had three main activities: An amazing talk from Rolando Cedillo (@rolman) about KVM in Fedora, a Q&A session and our networking time with piz

  • LibOCon Latinoamérica – Asunción 2019, July 19 – 20

    A quick video inviting you to the LibreOffice Latin America Conference 2019! (English subtitles are available.) It will be held at the Facultad Politécnica de Universidad Nactional de Asunción (FPUNA) in Asunción, Paraguay on July 19th (Friday) and 20th (Sat). For more information about the conference please visit the website.

read more

Fear of GPL Compliance

Čet, 06/13/2019 - 08:46
  • macOS Catalina Switches Default Shell From Bash to Zsh. But Why? [Ed: Why? Patents. Apple is an evil company which wants software patents for leverage and the GPL stands in its way.]
  • Bethesda's legal department drops the hammer on Doom Remake 4 mod

    "Unfortunately I had to remove all downloads due to legal issues not being sorted," vasyan777 wrote in the most recent update. "I thought ZeniMax would approve the new build because this time it was distributed as a mod, but it seems the problem was a 'third-party game engine' which they said is illegal to use with Doom IP (this is very weird since Doom Remake 4 was bundled with GZDoom which is just a Doom source port forked from original Doom engine which is GPL)."

read more

Security FUD Leftovers

Čet, 06/13/2019 - 08:44

read more

Continuous integration testing for the Linux kernel

Čet, 06/13/2019 - 08:26

With 14,000 changesets per release from over 1,700 different developers, it's clear that the Linux kernel moves quickly, and brings plenty of complexity. Kernel bugs range from small annoyances to larger problems, such as system crashes and data loss.

As the call for continuous integration (CI) grows for more and more projects, the Continuous Kernel Integration (CKI) team forges ahead with a single mission: prevent bugs from being merged into the kernel.

read more

The Snap Store Gets Personal with New Distro-Specific Install Pages

Čet, 06/13/2019 - 08:05

Ubuntu lets you install and run Snap apps out of the box, but on other Linux distros the situation is a tad more …Involved.

Snapd, the engine that powers the Snap format, was built to run on a swathe of Linux distributions, from Manjaro to CentOS, but it remains an opt-in feature on most; users have to install Snapd themselves.

So, in an effort to improve the experience of using Snap apps on non-Ubuntu distributions, the Snapcraft team have launched distro-specific store pages for Snap apps.

These dedicated landing pages provide distro-relevant install instructions for both Snapd and the Snap app they frame.

Also: A Modest Ham-Related Proposal

read more

Ubuntu Kylin: The Official Chinese Version of Ubuntu

Čet, 06/13/2019 - 07:37

Ubuntu has several official flavors and Kylin is one of them. In this article, you’ll learn about Ubuntu Kylin, what it is, why it was created and what features it offers.

read more

Hardware: Raspberry Pi or Arduino, Congatec and POWER9

Čet, 06/13/2019 - 06:26
  • 5 of the Best IoT Hardware for Your Next IoT Project

    We have been exploring IoT projects based on either Raspberry Pi or Arduino. A major difference between the two is that the former is a single-board computer (SBC), whereas the latter runs on a single-board microcontroller.

    However, that is not all there is about IoT boards. Depending on your project, you might have additional needs of power, performance, applications, number of GPIOs, peripherals such as audio/video support and expansion.

    While both Raspberry Pi and Arduino were early movers, there are scores of powerful boards that are coming on the scene. The following are some of the best IoT hardware for your next IoT project.

  • Linux-friendly Whiskey Lake-UE boards feature up to 15-year availability

    Congatec has launched a “Conga-TC370” COM Express Type 6 and two SBCs — the 3.5-inch “Conga-JC370” and thin Mini-ITX “Conga-IC370” — with new embedded “UE” 8th Gen chips with 10-year plus availability.

    At Embedded World in early March, Congatec unveiled 3.5-inch Conga-JC370 and thin Mini-ITX Conga-IC370 SBCs with Intel’s 8th Gen Whiskey Lake U-series processors. Now, the German embedded firm has announced their availability along with a new Conga-TC370 COM Express Compact Type 6 module. The Linux-friendly boards sport Intel’s new embedded-focused UE versions of the chips, featuring 10-year plus availability.

  • The Speculative Execution Impact For A 4-Core POWER9 Blackbird Desktop

    Last year we looked at the Spectre mitigation cost on POWER9 using the high-end Talos II server while now several kernel releases later and also having the desktop Blackbird system in our lab, here is a look at how the Spectre/Meltdown mitigation impact is for an IBM POWER9 4-core processor running Ubuntu 19.04.

read more

Audiocasts/Shows: BSD Now (DragonFlyBSD/OpenBSD/NetBSD), The Linux Link Tech Show, and FLOSS Weekly

Čet, 06/13/2019 - 06:21
  • Contention Reduction | BSD Now 302

    DragonFlyBSD’s kernel optimizations pay off, differences between OpenBSD and Linux, NetBSD 2019 Google Summer of Code project list, Reducing that contention, fnaify 1.3 released, vmctl(8): CLI syntax changes, and things that Linux distributions should not do when packaging.

  • The Linux Link Tech Show Episode 813
  • FLOSS Weekly 533: faastRuby

    faastRuby allows you to build serverless applications using functions to deploy to any cloud and scale without cold starts. You can use both Ruby and Crystal in the same appl and schedule periodic runs in plain English and Cron syntax. It allows for real-time cloud syn from your favorite code editor as well.

read more

Linux and Linux Foundation: LWN Articles and Tungsten Fabric (Juniper Openwashing)

Čet, 06/13/2019 - 06:16
  • A ring buffer for epoll

    The set of system calls known collectively as epoll was designed to make polling for I/O events more scalable. To that end, it minimizes the amount of setup that must be done for each system call and returns multiple events so that the number of calls can also be minimized. But that turns out to still not be scalable enough for some users. The response to this problem, in the form of this patch series from Roman Penyaev, takes a familiar form: add yet another ring-buffer interface to the kernel.
    The poll() and select() system calls can be used to wait until at least one of a set of file descriptors is ready for I/O. Each call, though, requires the kernel to set up an internal data structure so that it can be notified when any given descriptor changes state. Epoll gets around this by separating the setup and waiting phases, and keeping the internal data structure around for as long as it is needed.

  • Yet another try for fs-verity

    The fs‑verity mechanism has its origins in the Android project; its purpose is to make individual files read-only and enable the kernel to detect any modifications that might have been made, even if those changes happen offline. Previous fs‑verity implementations have run into criticism in the development community, and none have been merged. A new version of the patch set was posted on May 23; it features a changed user-space API and may have a better chance of getting into the mainline.
    Fs‑verity works by associating a set of hashes with a file; the hash values can be used to check that the contents of the file have not been changed. In current implementations, the hashes are stored in a Merkle tree, which allows for quick verification when the file is accessed. The tree itself is hashed and signed, so modifications to the hash values can also be detected (and access to the file blocked). The intended use case is to protect critical Android packages even when an attacker is able to make changes to the local storage device.

    Previous versions of the fs‑verity patches ran aground over objections to how the API worked. To protect a file, user space would need to generate and sign a Merkle tree, then append that tree to the file itself, aligned to the beginning of a filesystem block. After an ioctl() call, the kernel would hide the tree, making the file appear to be shorter than it really was, while using the tree to verify the file's contents. This mechanism was seen as being incompatible with how some filesystems manage space at the end of files; developers also complained that it exposed too much about how fs‑verity was implemented internally. In the end, an attempt to merge this code for 5.0 was not acted upon, and fs‑verity remained outside of the mainline.

  • How many kernel test frameworks?

    The kernel self-test framework (kselftest) has been a part of the kernel for some time now; a relatively recent proposal for a kernel unit-testing framework, called KUnit, has left some wondering why both exist. In a lengthy discussion thread about KUnit, the justification for adding another testing framework to the kernel was debated. While there are different use cases for kselftest and KUnit, there was concern about fragmenting the kernel-testing landscape.

    In early May, Brendan Higgins posted v2 of the KUnit patch set with an eye toward getting it into Linux 5.2. That was deemed a bit of an overaggressive schedule by Greg Kroah-Hartman and Shuah Khan given that the merge window would be opening a week later or so. But Khan did agree that the patches could come in via her kselftest tree. There were some technical objections to some of the patches, which is no surprise, but overall the patches were met with approval—and some Reviewed-by tags.

    There were some sticking points, however. Several, including Kroah-Hartman and Logan Gunthorpe complained about the reliance on user-mode Linux (UML) to run the tests. Higgins said that he had "mostly fixed that". The KUnit tests will now run on any architecture, though the Python wrapper scripts are still expecting to run the tests in UML. He said that he should probably document that, which is something that he has subsequently done.

  • SIGnals from KubeCon

    The basic organizational construct within the Kubernetes project is a set of Special Interest Groups (SIGs), each of which represents a different area of responsibility within the project. Introductions to what the various SIGs do, as well as more detailed sessions, were a core part of KubeCon + CloudNativeCon Europe 2019, as the different groups explained what they're doing now and their plans for the future. Two sessions, in particular, covered the work of the Release and Architecture SIGs, both of which have a key role in driving the project forward.

  • Introducing Tungsten Fabric 5.1: Security, Feature, and Performance Enhancements for Network Operators & Developers

    The Tungsten Fabric (TF) community is excited and proud to announce our latest release, 5.1. The TF community has been hard at work on both community and technical challenges to ensure a rich and vibrant community to solve the toughest networking challenges regardless of public cloud, orchestrator, or workload. The 5.1 release reflects that effort. It is an excellent time to take a look at Tungsten Fabric as a developer or an operator for your networking needs in this multi-cloud world. Here is a quick summary of the TF 5.1 release highlights.

read more

Programming: sphinxcontrib.datatemplates, CircuitPython, Python, WebSocket and Mozilla

Čet, 06/13/2019 - 06:11
  • sphinxcontrib.datatemplates 0.4.0

    sphinxcontrib.datatemplates is an extension for Sphinx to render parts of reStructuredText pages from data files in formats like JSON, YAML, XML, and CSV.

  • Fun with LEDs and CircuitPython

    Nina Zakharenko has been programming for a long time; when she was young she thought that "the idea that I could trick computers into doing what I tell them was pretty awesome". But as she joined the workforce, her opportunities for "creative coding" faded away; she regained some of that working with open source, but tinkering with hardware is what let her creativity "truly explode". It has taken her years to get back what she learned long ago, she said, and her keynote at PyCon 2019 was meant to show attendees the kinds of things can be built with Python—starting with something that attendees would find in their swag bag.

    As part of her shift in thinking, she realized that "software doesn't have to be serious"; it can be used to make art, for example. But she also realized that hardware doesn't need to be serious either, putting up a clip from a YouTube video of "The Breakfast Machine" created by "an incredible maker", Simone Giertz. She showed pictures of some of her own projects (which can be seen in her Speaker Deck slides), such as an Arduino-based iridescent LED headdress.

  • Best 50 Python Books for Programmers with All Skill Sets

    Python has been one of my favorite programming languages ever since I started working with it. While writing this article on Python books, it reminds me of my early days with Python and searching for resources to get going with this simple but amazing programming language. Since its early days, Python has come a long way to establish its dominance in the field of data science and machine learning. For any programming task you can use Python, right from application development to debugging.Python is a powerful programming language and its contribution to the field of data science is second to none. From a simple file search computer program to the script behind self-driving cars, there is data science backed by Python. There is no surprise there is a huge demand for data science experts in today’s tech savvy world.

  • Broadcasting messages to WebSocket API clients

    Invoking individual WebSocket connections has been supported since Zato 3.0 and Zato 3.1 adds new functionality on top of it - message broadcasting - which lets one notify all the clients connected to a particular channel. Here is how to use it.

  • Building a Todo App with Flask in Python

    In this tutorial, we are going to build an API, or a web service, for a todo app. The API service will be implemented using a REST-based architecture.

  • How to create, package and sign a Firefox web extension

    Firefox is one of the most used web browser in the world: it's a free and open source software built by the Mozilla foundation, and it's available for all the major operating systems. The browser has all the features that nowadays are considered standard: tabbed browsing, private navigation, a synchronization system and its functionalities can be extended using third party addons written in Javascript. In this tutorial we will see how to create, build and sign a simple web extension.

  • Socorro: May 2019 happenings

    Socorro is the crash ingestion pipeline for Mozilla's products like Firefox. When Firefox crashes, the crash reporter collects data about the crash, generates a crash report, and submits that report to Socorro. Socorro saves the crash report, processes it, and provides an interface for aggregating, searching, and looking at crash reports.

read more

Seeking consensus on dh

Čet, 06/13/2019 - 05:49

Debian takes an almost completely "hands off" approach to the decisions that Debian developers (DDs) can make in regard to the packaging and maintenance of their packages. That leads to maximal freedom for DDs, but impacts the project in other ways, some of which may be less than entirely desirable. New Debian project leader (DPL) Sam Hartman started a conversation about potential changes to the Debian packaging requirements back in mid-May. In something of a departure from the Debian tradition of nearly endless discussion without reaching a conclusion (and, possibly, punting the decision to the technical committee or a vote in a general resolution), Hartman has instead tried to guide the discussion toward reaching some kind of rough consensus.

The question revolves around an adjunct to the debhelper tool that is used to build many Debian packages. The additional tool is a "command sequencer" for debhelper commands; it is called dh. Debhelper has commands that get invoked from the rules file that is used to build a .deb from the source code and other files that are part of a Debian package. By default, dh steps through a sequence of debhelper commands that should suffice to build many types of packages; if some of the steps need overrides or changes, that can be handled as well. In effect, dh encapsulates the standard way to build a Debian package using debhelper.

But not all packages use dh, so Hartman asked whether the distribution wanted to require, or at least recommend, the use of dh. In that posting to debian-devel, he noted that some have said that a package not using dh has a "package smell", which is an indication that the maintainers should consider fixing it. His question might ultimately boil down to "whether maintainers should be expected to apply well-written patches to convert a package to using dh".

read more

Fedora: Elliott Sales de Andrade, Outreachy and Katacoda

Čet, 06/13/2019 - 05:41
  • Fedora Update Week 20–22

    Oops, again a bit late, but the past two weekends were fairly busy. I decided to post this today so that it wouldn’t slip another full week. So this probably looks a bit larger than usual, but I hope I didn’t miss anything. Two weeks ago was rather busy with many updates. Not just new releases, but I also spent a little time going over old updates that I’ve missed and ignored due to missing dependencies. Some of these dependencies could be skipped, so I did in order to get the update in.

    Last week was a bit calmer with the updates. Instead, I spent the past week preparing several new Go packages that are dependencies for htmltest, an interesting tool for testing HTML files. I’m hoping these will get some reviews soon.

    Last week was also spent trying to figure out several upstream bugs. Pillow has been having issues on s390x. This turned out to be a bug in the types passed via varargs between Python and C code. Because of disagreement on argument size, this generally ends up being problematic on big-endian systems. I’m still waiting for the upstream PR to be accepted, but we’ve used the patch and been able to rebuild several other dependent packages with it now applied.

    With python-zarr, I’ve been running into failures with LMDB on 32-bit systems. This is generally annoying since it requires rebuilds whenever it got built on one of those systems. Basically, the LMDB store opens a very large file mapping and even though there’s enough RAM to do so, it fails. Thanks to some discussion on the devel mailing list I was pointed in the right direction to fix it. The tests rely on old store being garbage collected, and so a lot of old LMDB mappings are still around causing later ones to fail. I’ve opened a pull request upstream to explicitly close these stores, which reduces the overall memory requirement and fixes the tests.

  • Fedora Community Blog: Outreachy with Fedora Happiness Packets: Phase 1

    This blog post summaries what I’ve completed in Phase 1 in my Outreachy internship with Fedora Happiness Packets, things I learned and the challenges I faced

  • Katacoda scenario creation

read more

GIMP 2.10.12 Released

Čet, 06/13/2019 - 05:38

Though it gets less visibility, work on upcoming GIMP 3 continues and is going well. We will give more news soon enough.

Also: GIMP 2.10.12 Released With Some Useful Improvements

read more

Tiny Snapdragon 820E module boasts long lifecycle support

Čet, 06/13/2019 - 05:35

Intrinsyc’s $259 “Open-Q 820Pro μSOM” module runs Android 9 or Debian Linux on a quad-core, up to 2.34GHz Snapdragon 820E and offers long lifecycles, 4GB LPDDR4, 32GB flash, WiFi-ac, and an optional $499 dev kit.

The Open-Q 820Pro μSOM is a pin-compatible drop-in replacement for the two-year old Open-Q 820 µSOM and offers a similar layout and 50 x 25mm footprint. The biggest difference is an upgrade from Qualcomm’s Snapdragon 820 to the faster, second-gen Snapdragon 820E, an embedded-focused version with long lifecycle support. As a result, the Open-Q 820Pro μSOM has a 9 percent faster CPU and 5 percent faster GPU at the same power consumption, claims Intrinsyc.

read more

today's howtos and programming bits

Sre, 06/12/2019 - 19:38

read more

Software: ledger2beancount, Commerce, scrcpy, Oracle Linux Virtualization Manager

Sre, 06/12/2019 - 19:30
  • ledger2beancount 1.8 released

    I released version 1.8 of ledger2beancount, a ledger to beancount converter.

    I ran ledger2beancount over the ledger test suite and made it much more robust. If ledger2beancount 1.8 can't parse your ledger file properly, I'd like to know about it.

  • 15 Best Open Source Solutions for Your E-commerce Business

    One of the many advantages the Internet age has given us is the ability to launch and manage businesses online using a virtually unending list of resources that are free, paid, open source, and proprietary.


    PrestaShop is a freemium e-commerce solution that enables users to launch and manage their online business with several tools that enable them to attract visitors, customize their store, conveniently manage products, sell globally, see traffic analytics, etc.

  • scrcpy 1.9 Released (View And Control Your Android From A Linux, Windows Or macOS Desktop)

    scrcpy, an application to display and control your Android device from a desktop, be it Linux, Windows or macOS, was updated to version 1.9. The new release includes bidirectional copy-paste, new option to turn the Android screen off while mirroring, and more.

    scrcpy is a free and open source tool to display and control Android devices via USB or wirelessly. It focuses on lightness, performance and quality, offering high resolution, high FPS, and low latency. You can read more about it on this article.

    scrcpy 1.9 includes a new option to have the phone screen off, only showing the screen on the computer (while mirroring). Focus the scrcpy window and press Ctrl + o to turn the device screen off while mirroring, and POWER or Ctrl + p to turn it back on. You can also run scrcpy with -S / --turn-screen-off to turn the device screen off on start.

  • Announcing Oracle Linux Virtualization Manager

    Oracle is pleased to announce the general availability of Oracle Linux Virtualization Manager. This new server virtualization management platform can be easily deployed to configure, monitor, and manage an Oracle Linux Kernel-based Virtual Machine (KVM) environment with enterprise-grade performance and support from Oracle.

  • KVM/oVirt-Powered Oracle Linux Virtualization Manager Reaches GA

    While Oracle backs the VM VirtualBox virtualization software, they increasingly are offering new solutions around KVM virtualization. Hitting general availability (GA) status this week is the Oracle Linux Virtualization Manager. 

read more

Events: GStreamer Conference, KubeCon + CloudNativeCon, You, Me and IoT Microconferenc

Sre, 06/12/2019 - 19:28
  • GStreamer Conference 2019 announced to take place in Lyon, France

    The GStreamer project is happy to announce that this year's GStreamer Conference will take place on Thursday-Friday 31 October - 1 November 2019 in Lyon, France.

    You can find more details about the conference on the GStreamer Conference 2019 web site.

    A call for papers will be sent out in due course. Registration will open at a later time. We will announce those and any further updates on the gstreamer-announce mailing list, the website, and on Twitter.

    Talk slots will be available in varying durations from 20 minutes up to 45 minutes. Whatever you're doing or planning to do with GStreamer, we'd like to hear from you!

  • Making Data Mobile In The Cloud Native World: Ori Bendori, Reduxio

    The interview was recorded at KubeCon + CloudNativeCon, Barcelona.

  • You, Me and IoT Microconference Accepted into 2019 Linux Plumbers Conference

    integral part of our daily lives, controlling such devices as on/off switches, temperature controls, door and window sensors and so much more. But the technology itself requires a lot of infrastructure and communication frameworks such as Zigbee, OpenHAB and 6LoWPAN. Open source Real-Time embedded operating systems also come into play like Zephyr. A completely open source framework implementation is Greybus that already made it into staging.

read more