Language Selection

English French German Italian Portuguese Spanish

March 2019

LLVM Clang 9.0 Adds "-ftime-trace" To Produce Useful Time Trace Profiling Data

Filed under
Development
BSD

LLVM has merged a very useful feature for the Clang 9.0 release this autumn: the -ftime-trace feature allows producing time trace profiling data in a friendly format that is useful for developers to better understand where the compiler is spending most of its time and other areas for improvement.

Clang has already supported -ftime-report for printing time summaries for each stage of the compilation process while -ftime-trace yields much more useful data. The output of -ftime-trace is JSON-based profiling outputs that can be loaded into Chrome's chrome://tracing visualizer. This data shows how much time LLVM/Clang is spending on compiling each file, down to the function granularity.

Read more

SDDM v0.18.1

Filed under
KDE

We are happy to release a new SDDM version.

SDDM is a Qt based graphical login manager developed in a collaborative fashion by people from Liri, KDE and LXQt.

Read more

Linux Lite 4.4 is ready to replace Microsoft Windows on your aging PC

Filed under
Linux

One of the best things about operating systems based on the Linux kernel is they can sometimes be very lightweight. Why is this important? Well, when an OS uses very few resources, it can breathe new life into an aging PC. In other words, just because Windows 7 or Windows 10 run like molasses on your old computer, that doesn't mean you have to buy a new one. The right Linux distribution can make your older PC feel fast and new.

One of the most popular lightweight Linux-based operating systems is Linux Lite. Heck, the name of the distribution tells you that it is designed to use few resources! Version 4.4 is now available, and as per usual, it is based on the latest Ubuntu LTS -- 18.04. The Xfce desktop environment will feel familiar to those switching from Windows. Those new to Linux will also appreciate the easy access to many popular programs, such as Skype, Steam, and Spotify. Even the excellent Microsoft Office alternative, LibreOffice, is included.

Read more

Openness, Open Data and Open Hardware

Filed under
OSS
  • Open-source seeds: protecting new crops from privitisation

    From the green grass of England to the tropical forests of the Amazon basin and the semi-arid plains of North Africa, when it comes to food, no one crop can suit every soil type, or withstand the challenges of climate change. It is therefore vitally important that humans seek to preserve and increase the biological diversity of crops.

    In pursuit of this goal, Dr Johannes Kotschi from the Association for AgriCulture and Ecology, along with researchers from the University of Göttingen, has developed an open-source seed (OSS) licence that can be applied to new crop varieties. The OSS licence prevents seeds and their derivatives from being privatised, patented or otherwise protected in a way that would limit their sale or further modification. In doing so, it ensures that new varieties are available to everyone. Alongside the licence, the organisation OpenSourceSeeds supports breeders and seed producers who use it.

  • Aptiv Releases Comprehensive Open-Source Automated Vehicle Data Set

    Aptiv has released a comprehensive set of automated driving training data including camera, radar and lidar signals that has been fully annotated and labeled.

  • Aptiv Releases Comprehensive Open-Source Dataset for Autonomous Driving

    Global auto parts supplier Aptiv, formally known as Delphi Automotive, announced today the full release of nuScenes, an open-source autonomous vehicle (AV) dataset. The dataset will help developers improve the safety of autonomous vehicles.

  • MIPS R6 Architecture Now Available for Open Use

    Asked if any other MIPS cores – beyond R6 – will be available in the future, Swift said additional announcements are in the offing, indicating that Thursday’s offering is only the first set of MIPS Open’s release.  

    “Remember, this is a journey, not a destination,” Swift reminded.

    Other pending announcements include MIPS Open’s certification partners and MIPS Open Advisory Board. Names of individuals or companies for those initiatives are not yet public.

  • Wave Computing launches MIPS Open, provides royalty-free access to chip design data

    A few months after announcing plans to “open source its MIPS instruction set architecture,” the folks at Wave Computing are following through. Mostly.

    The company has launched the MIPS Open program and released the first components, offering developers royalty and license fee-free access to the latest versions of its 32-bit and 64-bit MIPS architecture.

    But it’s questionable whether this is truly an “open source” initiative, so much as an “open use” project designed encourage developers to work with the company’s chips.

DragonFlyBSD Receives Initial FUSE Port For File-Systems In User-Space

Filed under
BSD

Tomohiro Kusumi has contributed an initial FUSE implementation to DragonFlyBSD for implementing file-systems in user-space support.

The design is based roughly on FreeBSD code but is a cleanly written implementation for allowing user-space file-systems to work on this BSD. This initial FUSE support isn't designed to be API/ABI compatible with the FreeBSD code due to different sysctls and other factors.

Read more

Nate Graham's KDE Usability & Productivity Weekly Report

Filed under
KDE
  • KDE Usability & Productivity: Week 64

    Week 64 in KDE’s Usability & Productivity initiative has arrived, and I think you’ll see why this week needed two posts.

  • KDE's Konsole Now Supports Splitting, Plasma Vault Integration In Dolphin

    KDE contributor Nate Graham has continued his weekly blog posts outlining some of the notable improvements made in the world of KDE. One of the notable changes this week is the Konsole terminal emulator allowing arbitrary grid-like splits of a single window. That honors a ten year old bug report about wanting to restore support for "Quadkonsole" for allowing several consoles to render within a single window. That support is finally in place for the KDE Applications 19.08 release due out this summer.

Software: Python IDEs, Kodi, Best alternatives to Skype

Filed under
Software
  • 9 Best Free Python Integrated Development Environments (Updated 2019)

    Python is a widely used general-purpose, high level programming language. It’s easy to read and learn. It’s frequently used for science, data analysis, and engineering. With a burgeoning scientific community and ecosystem, Python is an excellent environment for students, scientists and organizations that develop technology software.

    One of the essential tools for a budding Python developer is a good Integrated Development Environment (IDE). An IDE is a software application that provides comprehensive facilities to programmers for software development.

    Many coders learn to code using a text editor. And many professional Python developers prefer to stay with their favourite text editor, in part because a lot of text editors can be used as a development environment by making use of plugins. But many Python developers migrate to an IDE as this type of software application offers, above all else, practicality. They make coding easier, can offer significant time savings with features like autocompletion, and built-in refactoring code, and also reduces context switching. For example, IDEs have semantic knowledge of the programming language which highlights coding problems while typing. Compiling is ‘on the fly’ and debugging is integrated.

  • Are free VPNs any good for Kodi?

    Before we get to the VPNs, let's start with Kodi, which is a free and open source media player.

  • What Is Kodi and How Does It Work?

    What is Kodi? Imagine your own version of Netflix or Amazon Prime Video, but one that is completely free? Sounds too good to be true, right?

  • Best alternatives to Skype 2019: paid and free

    If you're looking for the best Skype alternatives, then you've come to the right place. For many years, Skype has been one of the most popular VoIP (Voice over IP) services, with home and business users alike using it to video and voice call friends and family over the world.

    However, in 2011 Microsoft acquired Skype, and since then it has been tweaking the interface and adding (and removing features) which has not been too popular.

    So, if you're looking to move from Skype to another VoIP service, then this guide to the best Skype alternatives will help you make the leap. We look at both free alternatives to Skype, as well as packages you need to pay for, which is good for large companies with employees around the world.

Linux laptops alive in South Africa

Filed under
Linux

While it may serve a small niche in South Africa, Dell has been offering laptops that run Ubuntu Linux for years.

This is according to Chris Buchanan, client solutions director at Dell EMC in South Africa.

Dell and Canonical recently announced the new version of the Dell XPS 13 Developer Edition laptop, offering up to 16GB RAM and a 1TB SSB. Since then, a 2TB version has become available.

Like other Developer Edition variants of the Dell XPS 13, the 2018 model comes with Ubuntu Linux rather than Windows. At the time, the latest long-term support release: Ubuntu 18.04 “Bionic Beaver”.

Read more

More in Tux Machines

Kernel: XFS and WiMAX in Linux

  • Prepare To Re-Format If You Are Using An Older XFS Filesystem - LinuxReviews

    Linux 5.10 brings several new features to the XFS filesystem. It solves the year 2038 problem, it supports metadata checksumming and it has better metadata verification. There's also a new configuration option: CONFIG_XFS_SUPPORT_V4. Older XFS filesystems using the v4 layout are now deprecated and there is no upgrade path beyond "backup and re-format". The Linux kernel will support older XFS v4 filesystems by default until 2025 and optional support will remain available until 2030. A new CONFIG_XFS_SUPPORT_V4 option in Linux 5.10. In case you want to.. still be able to mount existing XFS filesystems if/when you upgrade to Linux 5.10. We previously reported that XFS patches for Linux 5.10 delay the 2038 problem to 2486. That's not the only new feature Linux 5.10 brings to the XFS filesystem when it is released early December: It supports metadata checksumming, it has better built-in metadata verification and there is a new CONFIG_XFS_SUPPORT_V4 configuration option. Make sure you don't accidentally say N to that one if you have an older XFS filesystem you'd like to keep using if/when you upgrade your kernel.

  • The Linux Kernel Looks To Eventually Drop Support For WiMAX

    With the WiMAX 802.16 standard not being widely used outside of the Aeronautical Mobile Airport Communication System (AeroMACS) and usage in some developing nations, the Linux kernel may end up dropping its support for WiMAX but first there is a proposal to demote it to staging while seeing if any users remain. Longtime kernel developer Arnd Bergmann is proposing that the WiMAX Linux kernel infrastructure and the lone Intel 2400m driver be demoted from the networking subsystem to staging. In a future kernel release, the WiMAX support would be removed entirely if no active users are expressed. The Linux kernel WiMAX infrastructure is just used by the Intel 2400m driver for hardware with Sandy Bridge and prior, thus of limited relevance these days. That Intel WiMAX implementation doesn't support the frequencies that AeroMACS operates at and there are no other large known WiMAX deployments around the world making use of the frequencies supported by the 2400m implementation or users otherwise of this Linux kernel code.

  • Linux Is Dropping WiMAX Support - LinuxReviews

    It's no loss. There is a reason why you have probably never seen a WiMAX device or heard of it, WiMAX was a wireless last-mile Internet solution mostly used in a few rural areas in a limited number of countries between 2005 and 2010. There is very little use for it today so it is almost natural that Linux is phasing out support for WiMAX and the one WiMAX device it supports. WiMAX is a wireless protocol, much like IP by Avian Carriers except that it has less bandwidth and significantly lower latency. WiMAX (Worldwide Interoperability for Microwave Access) is a set of wireless standards that were used to provide last-mile Internet connectivity where DSL and other solutions were unavailable. WiMAX can work over long distances (up to 50 km), something WiFi can't. The initial design could provide around 25 megabit/s downstream, which was competitive when WiMAX base-stations and modems become widely available around 2005. That changed around 2010 when 4G/LTE become widely available. The WiMAX Forum, who maintains the WiMAX standard, tried staying relevant with a updated standard called WiMAX 2 in 2011. Some equipment for it was made, but it never became a thing. WiMAX was pretty much dead by the time WiMAX 2 arrived. The standard NetworkManager utility GNU/Linux distributions come with supported WiMAX until 2015. The Linux kernel still supports it and exactly one WiMAX device from Intel as of Linux 5.9, but that's about to change.

Fedora Elections and IBM/Red Hat Leftovers

  • Fedora 33 elections nominations now open

    Candidates may self-nominate. If you nominate someone else, please check with them to ensure that they are willing to be nominated before submitting their name. The steering bodies are currently selecting interview questions for the candidates. Nominees submit their questionnaire answers via a private Pagure issue. The Election Wrangler or their backup will publish the interviews to the Community Blog before the start of the voting period. Fedora Podcast episodes will be recorded and published as well. Please note that the interview is mandatory for all nominees. Nominees not having their interview ready by end of the Interview period (2020-11-19) will be disqualified and removed from the election.

  • 12 Tips for a migration and modernization project

    Sometimes migration/modernization projects are hard to execute because there are many technical challenges, like the structure of legacy code, customer environment, customer bureaucracy, network issues, and the most feared of all, production bugs. In this post I'm going to explain the 12-step migration / modernization procedure I follow as a consultant using a tip-based approach. I have some experience with this kind of situation because I’ve already passed by different kinds of projects with several kinds of problems. Over time you start to recognize patterns and get used to solving the hard problems. So, I thought: Wouldn't it be cool to create a procedure based on my experience, so that I can organize my daily work and give the transparency that the customers and managers want? To test this out, I did this for one customer in my hometown. They were facing a Red Hat JBoss EAP migration/modernization project. The results of the project were outstanding. The customer said they were even more satisfied with the transparency. The project manager seemed really comfortable knowing all about the details through the project and pleased with reducing the risk of unexpected news.

  • Awards roll call: June 2020 to October 2020

    We are nearly at the end of 2020 and while the pace continues to increase, we want to take a moment to acknowledge and celebrate some of the successes of Red Hat's people and their work. In the last four months, several Red Hatters and Red Hat products are being recognized by leading industry publications and organizations for efforts in driving innovation.

  • How developers can build the next generation of AI advertising technology – IBM Developer

    As we look across the most rapidly transforming industries like financial services, healthcare, retail – and now advertising, developers are putting open source technologies to work to deliver next-generation features. Our enterprise clients are looking for AI solutions that will scale with trust and transparency to solve business problems. At IBM®, I have the pleasure of focusing on equipping you, the developers, with the capabilities you need to meet the heightened expectations you face at work each day. We’re empowering open source developers to drive the critical transformation to AI in advertising. For instance, at the IBM Center for Open source Data and AI Technologies (CODAIT), enterprise developers can find open source starting points to tackle some of your thorniest challenges. We’re making it easy for developers to use and create open source AI models that can ultimately help brand marketers go deeper with AI to reach consumers more effectively.

Programming: Qt, PHP, JS and Bash

  • Qt 6 To Ship With Package Manager For Extra Libraries - Phoronix

    Adding to the list of changes coming with the Qt 6 toolkit, The Qt Company has now outlined their initial implementation of a package manager to provide additional Qt6 modules.

  • Qt for MCUs 1.5 released

    A new release of Qt for MCUs is now available in the Qt Installer. If you are new to Qt for MCUs, you can try it out here. Version 1.5 introduces new platform APIs for easy integration of Qt for MCUs on any microcontroller, along with an in-depth porting guide to get you going. Additionally, it includes a set of C++ APIs to load new images at runtime into your QML GUI. As with every release, 1.5 also includes API improvements and bug fixes, enhancing usability and stability.

  • KDDockWidgets v1.1 has been released! - KDAB - KDAB on Qt

    KDDockWidgets v1.1 is now available! Although I just wrote about v1.0 last month, the 1.1 release still managed to get a few big features.

  • KDAB TV celebrates its first year - KDAB

    A year ago KDAB started a YouTube channel dedicated to software development with Qt, C++ and 3D technologies like OpenGL. We talked to Sabine Faure, who is in charge of the program, about how it worked out so far and what we can expect in the future.

  • How to build a responsive contact form with PHP – Linux Hint

    Contact forms are commonly used in web applications because they allow the visitors of the website to communicate with the owner of the website. For most websites, responsive contact forms can be easily accessed from various types of devices such as desktops, laptops, tablets, and mobile phones. In this tutorial, a responsive contact form is implemented, and the submitted data is sent as an email using PHP.

  • Applying JavaScript’s setTimeout Method

    With the evolution of the internet, JavaScript has grown in popularity as a programming language due to its many useful methods. For example, many websites use JavaScript’s built-in setTimeout method to delay tasks. The setTimeout method has many use cases, and it can be used for animations, notifications, and functional execution delays.Because JavaScript is a single-threaded, translative language, we can perform only one task at a time. However, by using call stacks, we can delay the execution of code using the setTimeout method. In this article, we are going to introduce the setTimeout method and discuss how we can use it to improve our code.

  • Removing Characters from String in Bash – Linux Hint

    At times, you may need to remove characters from a string. Whatever the reason is, Linux provides you with various built-in, handy tools that allow you to remove characters from a string in Bash. This article shows you how to use those tools to remove characters from a string. [...] Sed is a powerful and handy utility used for editing streams of text. It is a non-interactive text editor that allows you to perform basic text manipulations on input streams. You can also use sed to remove unwanted characters from strings. For demonstration purposes, we will use a sample string and then pipe it to the sed command.

Python Programming

  • Dissecting a Web stack - The Digital Cat

    Having recently worked with young web developers who were exposed for the first time to proper production infrastructure, I received many questions about the various components that one can find in the architecture of a "Web service". These questions clearly expressed the confusion (and sometimes the frustration) of developers who understand how to create endpoints in a high-level language such as Node.js or Python, but were never introduced to the complexity of what happens between the user's browser and their framework of choice. Most of the times they don't know why the framework itself is there in the first place. The challenge is clear if we just list (in random order), some of the words we use when we discuss (Python) Web development: HTTP, cookies, web server, Websockets, FTP, multi-threaded, reverse proxy, Django, nginx, static files, POST, certificates, framework, Flask, SSL, GET, WSGI, session management, TLS, load balancing, Apache. In this post, I want to review all the words mentioned above (and a couple more) trying to build a production-ready web service from the ground up. I hope this might help young developers to get the whole picture and to make sense of these "obscure" names that senior developers like me tend to drop in everyday conversations (sometimes arguably out of turn). As the focus of the post is the global architecture and the reasons behind the presence of specific components, the example service I will use will be a basic HTML web page. The reference language will be Python but the overall discussion applies to any language or framework. My approach will be that of first stating the rationale and then implementing a possible solution. After this, I will point out missing pieces or unresolved issues and move on with the next layer. At the end of the process, the reader should have a clear picture of why each component has been added to the system.

  • Introducing AutoScraper: A Smart, Fast and Lightweight Web Scraper For Python | Codementor

    In the last few years, web scraping has been one of my day to day and frequently needed tasks. I was wondering if I can make it smart and automatic to save lots of time. So I made AutoScraper!

  • django-render-block 0.8 (and 0.8.1) released!

    A couple of weeks ago I released version 0.8 of django-render-block, this was followed up with a 0.8.1 to fix a regression. django-render-block is a small library that allows you render a specific block from a Django (or Jinja) template, this is frequently used for emails when you want multiple pieces of an email together in a single template (e.g. the subject, HTML body, and text body), but they need to be rendered separately before sending.

  • Pyston v2: 20% faster Python | The Pyston Blog

    We’re very excited to release Pyston v2, a faster and highly compatible implementation of the Python programming language. Version 2 is 20% faster than stock Python 3.8 on our macrobenchmarks. More importantly, it is likely to be faster on your code. Pyston v2 can reduce server costs, reduce user latencies, and improve developer productivity. Pyston v2 is easy to deploy, so if you’re looking for better Python performance, we encourage you to take five minutes and try Pyston. Doing so is one of the easiest ways to speed up your project.

  • Pyston v2 Released As ~20% Faster Than Python 3.8 - Phoronix

    Version 2.0 of Pyston is now available, the Python implementation originally started by Dropbox that builds on LLVM JIT for offering faster Python performance. Pyston developers believe their new release is about 20% faster than the standard Python 3.8 and should be faster for most Python code-bases.

  • Python int to string – Linux Hint

    Python is one of the universal languages that support various types of data types like integer, decimal point number, string, and complex number. We can convert one type of data type to another data type in Python. This data type conversion process is called typecasting. In Python, an integer value can easily be converted into a string by using the str() function. The str() function takes the integer value as a parameter and converts it into the string. The conversion of int to string is not only limited to the str() function. There are various other means of int to string conversion. This article explains the int to string conversion with various methods.

  • Python isinstance() Function – Linux Hint

    Python is one of the best and efficient high-level programming languages. It has a very straightforward and simple syntax. It has very built-in modules and functions that help us to perform the basic tasks efficiently. The Python isinstance() function evaluates either the given object is an instance of the specified class or not.