Language Selection

English French German Italian Portuguese Spanish

About Tux Machines

Tuesday, 17 Sep 19 - Tux Machines is a community-driven public service/news site which has been around for over a decade and a half and primarily focuses on GNU/LinuxSubscribe now Syndicate content

Search This Site

Programming Leftovers

Filed under
Development
  • To meet up or not to meetup

    I didn’t regret going to the meetup – quite the contrary – and I’ve since been to several, but it’s dreadful how low the turnout typically is. I’ve verified my numbers with some of the organizers of prior meetups: [...]

  • A look at development environments with specific tooling for Apache Camel Language

    A growing set of editors and IDEs provides specific tooling for development of applications based on Apache Camel. Historically, there was only Eclipse Fuse Tooling, which was based on the Eclipse Desktop IDE. Then, an IntelliJ plugin was created. Both of these tools are tightly coupled to the specific IDE APIs. Consequently, they have the drawback of not easily sharing the development effort.

  • mozregression update: python 3 edition

    For those who are still wondering, yup, I am still maintaining mozregression, though increasingly reluctantly. Given how important this project is to the development of Firefox (getting a regression window using mozregression is standard operating procedure whenever a new bug is reported in Firefox), it feels like this project is pretty vital, so I continue out of some sense of obligation — but really, someone more interested in Mozilla’a build, automation and testing systems would be better suited to this task: over the past few years, my interests/focus have shifted away from this area to building up Mozilla’s data storage and visualization platform.

    This post will describe some of the things that have happened in the last year and where I see the project going. My hope is to attract some new blood to add some needed features to the project and maybe take on some of the maintainership duties.

  • @Autowire MicroProfile into Spring with Quarkus

    Eclipse MicroProfile and Spring Boot are often thought of as separate and distinct APIs when developing Java microservices. Developers default to their mental muscle memory by leveraging the APIs that they use on a daily basis. Learning new frameworks and runtimes can be a significant time investment. This article aims to ease the introduction to some popular MicroProfile APIs for Spring developers by enabling them to utilize the Spring APIs they already know while benefiting from significant new capabilities offered by Quarkus.

    More specifically, this article covers the scope and details of the Spring APIs supported by Quarkus so Spring developers have a grasp of the foundation they can build on with MicroProfile APIs. The article then covers MicroProfile APIs that Spring developers will find helpful in the development of microservices. Only a subset of MicroProfile is covered.

  • Microsoft Makes Their C++ Standard Library Open-Source (STL)

    Microsoft has begun their next open-source expedition by open-sourcing an important piece of MSVC / Visual Studio... STL, their C++ standard library.

    In a surprising move, this week announced their C++ Standard Library used by their MSVC tool-chain and Visual Studio is now open-source. Microsoft's C++ Standard Library is available under an Apache 2.0 license and with the LLVM exception regarding linking, so all is well on that front.

  • Top programming languages of 2019 [Ed: Too reliant on biased Microsoft data such as GitHub]

    The most popular languages according to the world’s largest organization for engineering and applied science.

    It can be hard to gauge which programming language to learn — should you go for the most widely used language, the language developers enjoy using, or maybe the highest paid language?

    There’s no one right answer, but luckily there are no shortage of top programming languages lists ranking languages according to different criteria.

    The latest is the The Top Programming Languages 2019 list from IEEE Spectrum, the magazine for the world’s largest professional organization devoted to engineering and the applied sciences.

Standards/Consortia: Wi-Fi, E-mail and Hindi

Filed under
Web
  • Wi-Fi Certified 6 Program Available for Products based on Broadcom, Cypress, Intel, Marvell, and Qualcomm 802.11ax Chips

    Last year the WiFi alliance introduces a new naming scheme for WiFi using numbers instead of IEEE standards so that WiFI 4 is 802.11n, WiFi 5 is 802.11ac, and WiFi 6 is the latest 802.11ax standard...

  • The Wi-Fi 6 Launches Officially for the Next Generation of Wi-Fi

    Wi-Fi Alliance announced today the availability of the Wi-Fi CERTIFIED 6 certification program for vendors to provide customers with the latest and greatest Wi-Fi experience.

    Unveiled last year in October, Wi-Fi 6 (also known as 802.11ax) launches officially today with up to 37 percent faster speeds than the previous Wi-Fi generation (802.11ac), increased bandwidth for greater performance with low latency, higher data rates for greater network capacity, as well as MU-MIMO (Multi-User Multiple Input Multiple Output) support for greater download performance on more devices at once.

  • Setting up a mail server with OpenSMTPD, Dovecot and Rspamd

    I’ll say it again:

    I don’t think that either one of the Big Mailer Corps are are evil or bad, I use some of their services on a daily basis, and most of the people operating them are genuinely seeking the greater good… however they have grown too big and there needs to be a balance in power because who knows how they’ll evolve in the next ten years, who knows how the politics of their home country will evolve in the next ten years, and recent news doesn’t paint them as heading in the right direction.

    I’ll conclude by recommanding that you see this excellent presentation by Bert Hubert (@PowerDNS_Bert) from PowerDNS, about how a similar problem is starting to happen with DNS and the privacy and tracking concerns that arise from this. Many, many, many key points are also valid for mail services.

  • #StopHindilmposition: Indian tweeps respond to Amit Shah's 'Hindi as national language' comment

    But, Twitter India doesn't agree. Why? India does not have a national language. Part XVII of the Indian Constitution designates Hindi as the 'official language' of the Union. And, English is used in official purposes such as parliamentary proceedings, judiciary, communications between the Central Government and a State Government. States within India have the liberty and powers to specify their own official language(s) through legislation. In addition to the official languages, the constitution recognises 22 regional languages, which includes Hindi but not English, as scheduled languages. The number of native Hindi speakers is about 25% of the total Indian population;

    The number of native Hindi speakers is only about 25 per cent of the total Indian population and 43 per cent of India’s population use Hindi as their first language. In some states, especially in the southern regions, Hindi is not used at all.

  • Hindi spoken most, can unite country: Amit Shah

    According to the Official Languages Act, 1963, Hindi and English are the official languages for the Union government and Parliament.

    A total of 22 languages of the country are recognised under the Eight Schedule of the Constitution.

Software: Lifeograph, LabPlot and LibreOffice

Filed under
KDE
LibO
Software
  • Lifeograph is an encrypted journal application for Windows, Linux and Android

    Keeping a journal is a nice way to reflect upon oneself. It can help you become a better person, nurture good habits, can be used for research, making budgets, make health related notes, or jot down anything else that you may want to keep a record of.

    When it comes to a diary application on computers, there aren't a lot of options. RedNotebook is probably the best one I have used. I wanted something better and that's how I stumbled across Lifeograph.

  • Chocolatey package for LabPlot available

    While we’re spending quite some time now finalizing the next release of LabPlot which will be announced soon, we continue getting feedback from our users and we try to incorporate as much as possible into the upcoming release.

    This feedback usually consists of different discussions around the existing features in LabPlot or features that need to be added in near future, around bugs, etc. Recently we’ve got a somewhat different feedback informing us about the availability of a Chocolatey package for LabPlot.

  • LineStyle Extension for LibO

    I update the LineStyles for LibreOffice for the 6.4 release but in addition I made an Extension for all users how like to have > 20 different predefined LineStyles.

  • BPMN Shapes for LibreOffice

    Two months ago I post my todo list for LibreOffice 6.4 and I my work is already available via LibreOffice extensions.

Canonical/Ubuntu: Design and Web, Ubuntu Weekly Newsletter and Introduction to MicroK8s

Filed under
Ubuntu
  • Design and Web team summary – 17 September 2019

    This was a fairly busy two weeks for the Web & design team at Canonical. Here are some of the highlights of our completed work.

  • Ubuntu Weekly Newsletter Issue 596

    Welcome to the Ubuntu Weekly Newsletter, Issue 596 for the week of September 8 – 14, 2019. The full version of this issue is available here.

  • Introduction to MicroK8s – Part 1/2

    Every developer, systems admin and tech enthusiast is interested in learning Kubernetes. Kubernetes is a complex container orchestration tool that can be overwhelming for beginners. Kubernetes has been the buzzword in the tech industry and for good reason. If you’re itching to get started with Kubernetes and not looking forward to the complexities involved, this first blog of a series is for you. We’ll walk you through getting up and running in a jiffy with a Kubernetes deployment using MicroK8s. The following blogs will do a deeper dive into add-ons and usage.

Linux 5.4 Developments Explained

Filed under
Linux
  • Linux 5.4 Adds Qualcomm Snapdragon 855, Supports Some Newer ARM Laptops

    The ARM SoC platform and driver changes landed on Monday during the first full day of the Linux 5.4 merge window. There is some exciting ARM hardware support improvements for this kernel while doing away with some older platforms.

  • Linux 5.4 Continues Sound Open Firmware, Improvements For AMD/NVIDIA HDMI Audio

    Linux 5.4 will sound better. Well, at least provide audio support on more hardware with this next kernel release thanks to the latest batch of open-source sound improvements.

  • Linux 5.4 Dropping Support For The Itanium IA64-Powered SGI Altix

    With Intel having ended the Itanium CPU family at the beginning of the year and much of the open-source/Linux software support for IA64 already having been on the decline for years, the Linux kernel is beginning to remove more IA64 bits. This comes following IA64 support being deprecated for GCC 10 and likely removed for the GCC 11 release in 2021. Once that IA64 support is gone from GCC, chances are the Linux kernel support for IA64 will be dropped entirely since there isn't any other compiler capable of building the Linux kernel and supporting IA64 as well as GCC.

  • Linux 5.4 Scheduler Changes Bring Better AMD EPYC Load Balancing, Other Optimizations

    The Linux 5.4 scheduler changes are fairly exciting on multiple fronts.

    One of the Linux 5.4 scheduler changes we have been looking forward to is improved EPYC load balancing and that work is indeed part of today's pull request. The better EPYC load balancing is a scheduler topology improvement to better deal with load balancing across NUMA nodes on EPYC 2P servers. I'll be running some benchmarks of this EPYC-specific scheduler change in the days ahead.

Funtoo Linux 1.4 Released

Filed under
GNU
Linux
Gentoo

Drobbins has announced the new release of Funtoo Linux 1.4 on Sep 11, 2019.

This release is based on a 21 June 2019 snapshot of Gentoo Linux with significant updates to key parts of the system, such as compiler and OpenGL subsystem.

This is the fourth release of the Funtoo Linux 1.x series, which may be the last update of this release, as the developer said he would start developing 2.0 a month later.

Read more

10 more essential Linux commands you need to know

Filed under
GNU
Linux
HowTos

When you practice commands that can be harmful to a production system, have a virtual machine running somewhere that you can torture and restore should something go wrong. For some reason, people generally frown on having to repair or reinstall production systems because someone practiced a new command that went awry. Plus, it's cool to show up one day armed with new sysadmin skills to impress (school) your coworkers. Remember to say, "Watch this," to be sure they're paying attention before you hit the Enter key so it's more dramatic and awe-inspiring.

Read more

CentOS 8 To Be Released Next Week

Filed under
Red Hat
Server

The CentOS Project has announced that CentOS 8.0 will be available for download beginning Tuesday, September 24. This release was deferred so that work to release CentOS 7.7 could be completed, which means that CentOS 7.7 will be out shortly as well (and 7.7 it is already beginning to appear in mirrors and repos). This comes 20 weeks to the day from the release of Red Hat Enterprise Linux 8.

Read more

Games: Lenna's Inception, ScummVM, and GOG

Filed under
Gaming

Android Leftovers

Filed under
Android

How App Stores Are Addressing Fragmentation in the Linux Ecosystem

Filed under
Linux

According to DistroWatch, 273 Linux distributions are currently active, with another 56 dormant and 521 discontinued. While some of these have shared underpinnings, it still makes for an extremely varied landscape for companies and developers.

It means developers must create multiple versions of their applications to be able to provide their software to all Linux users or just address a fraction of the market. Also, developers require multiple versions of build tools, which inevitably results in significant resource overhead.

Desktop application distribution is complex across all operating systems in general; in Linux, this is further compounded by such fragmentation and inter-dependencies both in the packaging and distribution of software.

For example, Fedora uses the RPM packaging format, while Debian uses the .deb format. Moreover, packages built for one version of a Linux distribution are often incompatible with other versions of the same distribution and need to be built for each version separately.

Read more

Security Leftovers

Filed under
Security
  • Security updates for Monday

    Security updates have been issued by Debian (ansible, faad2, linux-4.9, and thunderbird), Fedora (jbig2dec, libextractor, sphinx, and thunderbird), Mageia (expat, kconfig, mediawiki, nodejs, openldap, poppler, thunderbird, webkit2, and wireguard), openSUSE (buildah, ghostscript, go1.12, libmirage, python-urllib3, rdesktop, and skopeo), SUSE (python-Django), and Ubuntu (exim4, ibus, and Wireshark).

  • Open Source Security Podcast: Episode 161 - Human nature and ad powered open source

    Josh and Kurt start out discussing human nature and how it affects how we view security. A lot of things that look easy are actually really hard. We also talk about the npm library Standard showing command line ads. Are ads part of the future of open source?

  • Skidmap malware drops LKMs on Linux machines to enable cryptojacking, backdoor access

    Researchers have discovered a sophisticated cryptomining program that uses loadable kernel modules (LKMs) to help infiltrate Linux machines, and hides its malicious activity by displaying fake network traffic stats.

    Dubbed Skidmap, the malware can also grant attackers backdoor access to affected systems by setting up a secret master password that offers access to any user account in the system, according to Trend Micro threat analysts Augusto Remillano II and Jakub Urbanec in a company blog post today.

    “Skidmap uses fairly advanced methods to ensure that it and its components remain undetected. For instance, its use of LKM rootkits – given their capability to overwrite or modify parts of the kernel – makes it harder to clean compared to other malware,” the blog post states. “In addition, Skidmap has multiple ways to access affected machines, which allow it to reinfect systems that have been restored or cleaned up.”

  • Skidmap Linux Malware Uses Rootkit Capabilities to Hide Cryptocurrency-Mining Payload

    Cryptocurrency-mining malware is still a prevalent threat, as illustrated by our detections of this threat in the first half of 2019. Cybercriminals, too, increasingly explored new platforms and ways to further cash in on their malware — from mobile devices and Unix and Unix-like systems to servers and cloud environments.

    They also constantly hone their malware’s resilience against detection. Some, for instance, bundle their malware with a watchdog component that ensures that the illicit cryptocurrency mining activities persist in the infected machine, while others, affecting Linux-based systems, utilize an LD_PRELOAD-based userland rootkit to make their components undetectable by system monitoring tools.

Oracle launches completely autonomous operating system

Filed under
OS

Together, these two solutions provide automated patching, updates, and tuning. This includes 100 percent automatic daily security updates to the Linux kernel and user space library. In addition, patching can be done while the system is running, instead of a sysadmin having to take systems down to patch them. This reduces downtime and helps to eliminate some of the friction between developers and IT, explained Coekaerts.

Read more

Software: Zotero, PulseCaster and Qt Port of SFXR

Filed under
Software
  • Zotero and LibreOffice

    If you’re working with LibreOffice and need to create a bibliography, this software makes it simple to manage your citations.

    You can tell how few people use LibreOffice’s Bibliography Database by the fact that a bug that would take 10 minutes to fix has survived since 2002. Instead, those who need bibliographies or citations rely on other software such as Zotero, which can be integrated into LibreOffice with an extension.

    That robust bug is that the Citation Format in the database table is called the Short Name in the input fields. Even more confusing, the examples give an arbitrary name, when to work with the citation insertion tool in Insert | Table of Contents and Index | Insert Bibliography Entry, it should in a standard form, such as (Byfield: 2016) for the MLA format. Add the fact that a single database is used for all files – an absurdity in these memory-rich days – and the neglect of the Bibliography Database is completely understandable.

  • PulseCaster 0.9 released!

    For starters, PulseCaster is now ported to Python 3. I used Python 3.6 and Python 3.7 to do the porting. Nothing in the code should be particular to either version, though. But you’ll need to have Python 3 installed to use it, as most Linux bistros do these days.

    Another enhancement is that PulseCaster now relies on the excellent pulsectl library for Python, by George Filipkin and Mike Kazantsev. Hats off to them for doing a great job, which allowed me to remove many, many lines of code from this release.

    Also, due the use of PyGObject3 in this release, there are numerous improvements that make it easier for me to hack on. Silly issues with the GLib mainloop and other entrance/exit stupidity are hopefully a bit better now.

    Also, the code for dealing with temporary files is now a bit less ugly. I still want to do more work on the overall design and interface, and have ideas. I’ve gotten way better at time management since the last series of releases and hope to do some of this over the USA holiday season this late fall and winter (but no promises).

  • SFXR Qt 1.3.0

    I just released version 1.3.0 of SFXR Qt, my Qt port of the SFXR sound effect generator.

Programming Leftovers

Filed under
Development
  • post modern C tooling - draft

    Some of the C++ people have pulled off one of the cleverest and sneakiest tricks ever. They required 'modern' C99 and C11 features in 'recent' C++ standards. Microsoft has famously still clung onto some 80s version of C with their compiler for the longest time. So it's been a decade of hacks for people writing portable code in C. For a while I thought we'd be stuck in the 80s with C89 forever. However, now that some C99 and C11 features are more widely available in the Microsoft compiler, we can use these features in highly portable code (but forget about C17/C18 ISO/IEC 9899:2018/C2X stuff!!).

  • Reading and Writing YAML to a File in Python

    In this tutorial, we're going to learn how to use the YAML library in Python 3. YAML stands for Yet Another Markup Language.

    In recent years it has become very popular for its use in storing data in a serialized manner for configuration files. Since YAML essentially is a data format, the YAML library is quite brief, as the only functionality required of it is the ability to parse YAML formatted files.

    In this article we will start with seeing how data is stored in a YAML file, followed by loading that data into a Python object. Lastly, we will learn how to store a Python object in a YAML file. So, let's begin.

    Before we move further, there are a few prerequisites for this tutorial. You should have a basic understanding of Python's syntax, and/or have done at least beginner level programming experience with some other language. Other than that, the tutorial is quite simple and easy to follow for beginners.

  • Python Multiple Inheritance (with Examples)

    In this tutorial, we’ll describe Python Multiple Inheritance concept and explain how to use it in your programs. We’ll also cover multilevel inheritance, the super() function, and focus on the method resolution order.

    In the previous tutorial, we have gone through Python Class and Python (Single) Inheritance. There, you have seen that a child class inherits from a base class. However, Multiple Inheritance is a feature where a class can derive attributes and methods from more than one base classes. Hence, it creates a high level of complexity and ambiguity and known as the diamond problem in the technical world. We’ll be taking up this problem later in this tutorial.

  • Adding Methods Retroactively

    Imagine you have a "shapes" library. We have a Circle class, a Square class, etc.

    A Circle has a radius, a Square has a side, and maybe Rectangle has height and width. The library already exists: we do not want to change it.

    However, we do want to add an area calculation. If this was our library, we would just add an area method, so that we can call shape.area(), and not worry about what the shape is.

Fedora: GSoC, Fedora Program Management, PHP, Fedora Infrastructure, Test Day and EPEL

Filed under
Red Hat
  • Fedora Community Blog: GSoC summer 2019: Fedora Gooey Karma

    The day GSoC projects list was published I started sorting out all the organizations that I’d enjoy working with. Being a Linux user/enthusiast I filtered down to a bunch of Linux distros and desktop managers. Sorting out all the projects, Fedora-Gooey-Karma seemed to be a project that suited the skills I have.

    Once I was sure that Fedora Gooey Karma is a project that I would love to work on during the summer, I mailed @sumantro about the project. We talked about the project on mails.

  • Fedora Community Blog: FPgM report: 2019-37

    Here’s your report of what has happened in Fedora Program Management this week. Fedora 31 Beta is go!

    I have weekly office hours in #fedora-meeting-1. Drop by if you have any questions or comments about the schedule, Changes, elections, or anything else.

  • PHP version 7.2.23RC1 and 7.3.10RC1

    Release Candidate versions are available in testing repository for Fedora and Enterprise Linux (RHEL / CentOS) to allow more people to test them. They are available as Software Collections, for a parallel installation, perfect solution for such tests (for x86_64 only), and also as base packages.

    RPM of PHP version 7.3.10RC1 are available as SCL in remi-test repository and as base packages in the remi-test repository for Fedora 30-31 or remi-php73-test repository for Fedora 29 and Enterprise Linux.

    RPM of PHP version 7.2.23RC1 are available as SCL in remi-test repository and as base packages in the remi-test repository for Fedora 29 or remi-php72-test repository for Enterprise Linux.

  • Karsten Hopp: Onboarding Fedora Infrastructure

    I'm using / working on Fedora since FC-1 and just recently joined the Infrastructure team.

  • Fedora Community Blog: Fedora 31 Gnome Test Day 2019-09-18

    Wednesday, 2019-09-18 is the Fedora 31 Gnome Test Day! As part of changes Gnome 3.34 in Fedora 31, we need your help to test if everything runs smoothly!

  • EPEL Bug: Bash errors on recent EL-8 systems.

    Last week, I got asked about a problem with using EPEL-8 on Oracle Enterprise Linux 8 where trying to install packages failed due to bad license file. I duplicated the problem on RHEL-8 which had not happened before some recent updates.

Syndicate content