Language Selection

English French German Italian Portuguese Spanish

About Tux Machines

Monday, 21 Oct 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
  • Python Script Invalidates Hundreds Of Papers

    This news item is interesting not just because it is a lesson to us all, but because of the way it is being reported as "Bug In Python Script ..." with the suggestion that Python is the cause of the problem. The truth is, in fact, much more interesting.

    The script is about 1000 lines of Python and hence it isn't a small program. It has been in use since 2014 and was created by Patrick Willoughby, Matthew Jansma, and Thomas Hoye to take raw data and calculate NMR shifts. In the journal Nature Protocols the subject is referred to as the "Willoughby-Hoye" scripts.

  • Future-Proof Code

    Y2K was the nerdy disaster that wasn’t. The fear was that the moment 1/1/00 rolled around, some computers would think it was Jan. 1, 1900. What could go wrong? Maybe highly computerized hydroelectric dams would open their floodgates! Or maybe all date math trying to subtract from 00 would end up negative, and suddenly your mortgage would have been paid off dozens of decades ago!

    The world freaked out. Software engineers stayed up late. In the end, Y2K had some terrible real-life consequences, but it also didn’t turn out to be a complete catastrophe that required stockpiling ammunition and MREs. After airplanes didn’t fall out of the sky, everyone breathed a sigh of relief. The problem, as the public learned so well in the run-up to the New Year, was that for decades, software engineers had left out the century to save on space when storing dates. It was as though they had assumed their software would always run in a year that began with 19. For many who were still just getting used to dial-up internet, Y2K was their first exposure to the potential fragility of software.

  • Current qutebrowser roadmap and next crowdfunding

    Now I'm employed around 16h/week at the same place, mainly helping out with the operating systems course (in other words: I spend my time staring at LaTeX/C/Assembler/Python and teaching students).

    Like already mentioned in the earlier mail, this means I now have a lot more time than before for working on open-source projects. I'm in the process of founding my own one-man company and already have some work lined up - but as soon as everything is set up, I plan to spend much more time on qutebrowser. Certainly a lot more than what I've been able to during my studies in the past years.

    However, that means I don't have a lot of recurring income (enough to pay for rent, food and other bills - but not much more than that). This is why I plan to start another qutebrowser fundraising very soon. There will be shirts and stickers available again, as well as some other swag. This time, I'll focus on recurring donations, but I also plan to offer a way to contribute via one-time donations instead.

  • Introduction to PyTorch for Classification

    PyTorch and TensorFlow libraries are two of the most commonly used Python libraries for deep learning. PyTorch is developed by Facebook, while TensorFlow is a Google project. In this article, you will see how the PyTorch library can be used to solve classification problems.

    Classification problems belong to the category of machine learning problems where given a set of features, the task is to predict a discrete value. Predicting whether a tumour is cancerous or not, or whether a student is likely to pass or fail in the exam, are some of the common examples of classification problems.

    In this article, given certain characteristics of a bank customer, we will predict whether or not the customer is likely to leave the bank after 6 months. The phenomena where a customer leaves an organization is also called customer churn. Therefore, our task is to predict customer churn based on various customer characteristics.

  • Arduino With Python: How to Get Started

    Microcontrollers have been around for a long time, and they’re used in everything from complex machinery to common household appliances. However, working with them has traditionally been reserved for those with formal technical training, such as technicians and electrical engineers. The emergence of Arduino has made electronic application design much more accessible to all developers. In this tutorial, you’ll discover how to use Arduino with Python to develop your own electronic projects.

  • Eclipse Vert.x 3.8.1 update for Red Hat Runtimes

    The latest update to Red Hat Runtimes has arrived and now supports Eclipse Vert.x 3.8.1.

    Red Hat Runtimes provides application developers with a variety of application runtimes and enables them to run on the Red Hat OpenShift Container Platform.

  • Robotic process automation (RPA): How it works

    “Do more with less” might be a timeworn excuse for a business mantra, but robotic process automation (RPA) is a tool that could actually help teams do just that in the right circumstances.

    That’s the big selling point of RPA. The phrase itself might sound complicated or scary, but the possible benefits of RPA are pretty simple: Use software to automatically handle repetitive (and often boring) computer-based tasks that previously hogged a person’s time.

    Moreover, the processes that make good fits for RPA usually take up human hours with work that requires minimal (or no) skill or creativity. It’s ultimately about efficiency.

Events: CopyleftConf, Oggcamp and FOSDEM

Filed under
OSS
  • CopyleftConf 2020

    A week before Software Freedom Conservancy had announced the CopyleftConf 2020. The conference is going to take place on 3 February 2020, Monday, in Brussels, Belgium.

    The first edition of CopyleftConf took place in February 2019. One can have a look at the videos here The organizers do plan it after Fosdem.

  • The fight to get home from Oggcamp 2019

    I’d heard that parking in Manchester was not only a nightmare and that you would have to sell your children into slavery to pay the parking fee for a few hours so with that in mind I decided to use the train. Now to get to Manchester by car from my house

    takes around an hour and a half so long as you stick within the speed limit. My train was set to eat two and a half hours from my lifes timeline, but I felt it was a small price to pay given I was only going to do one day of a two-day event.

    My journey to Oggcamp started at 6.55 am the train took me to Birmingham New Street, where I was due to change for the onward train to Manchester, on the way up to Birmingham, we stopped at Wolverhampton train station. My connection was on-time, and I made myself as comfortable as possible in my reserved seat. To my horror, a rather large gentleman poured himself into the seat next to me and mine if truth be told. We set off heading back the way we came and just for the fun of it and to wind me up a little our first stop was, yes, you guessed it, Wolverhampton train station. I could see the next two hours were going to be a bundle of joy as I tried to look at my phone while feeling that I was confined in an invisible straight jacket if only that were the extent of my problems. Mr Creosote decided that after consuming his breakfast which he had brought on board, it was now time to have a little sleep. “What’s wrong with that?” I hear you ask. Mr Creosote promptly started to snore like farmer Giles’s prized Gloucestershire Old Spot pig. Two hours later, frazzled we arrived in Manchester Mr Creosote had been kind enough to wake up in Macclesfield just enough time for my bladder to fill to bursting along with my fit to burst brain after all that snoring. Oh, and I forgot to mention the lad opposite who while sat underneath a sign saying “Please be considerate to those around you” played videos of South Park amongst other things at full volume on his phone. Never heard of headphones arsehole?

  • FOSDEM 2020 IoT Devroom Call for Proposals

    FOSDEM (Free & Open-source Software Developers’ European Meeting) takes place every year in Brussels, Belgium on the first weekend of February.

Graphics: Vulkan and Mesa

Filed under
Graphics/Benchmarks
  • RLSL Allows Running A Subset Of Rust On Vulkan/SPIR-V Enabled GPUs

    There was a recent Khronos meet-up in Munich where Maik Klein of Embark Studios talked about their work on bringing a sub-set of the Rust programming language to Vulkan (SPIR-V) enabled GPUs.

    RLSL is the project being worked on by the Swedish game studio for opening up Rustlang use for GPUs to benefit from the language's same design advantages, provide a unified front-end, and being able to leverage the existing Rust ecosystem with the likes of Cargo/crates.

  • Raspberry Pi 4's V3D Driver Lands OpenGL ES 3.1 Bits In Mesa 19.3-devel

    The Broadcom "V3D" Gallium3D driver that is most notably used by the new Raspberry Pi 4 boards now is effectively at OpenGL ES 3.1 support within the newest Mesa 19.3 code.

    We've known that Igalia has been ironing out OpenGL ES 3.1 for V3D after taking over the work from Eric Anholt who left Broadcom earlier this year to go work for Google.

    Merged this past week was the OpenGL compute shader bits as the main blocker that prevented the V3D open-source Gallium3D driver from exposing GLES 3.1. Following that was a memory violation fix and then explicitly exposing OpenGL ES Shading Language 3.1. That merge request does note that a few more fixes are still needed before V3D will officially pass all of the OpenGL ES 3.1 conformance tests, but at least Mesa 19.3's code is good enough along to enable the support.

Ubuntu: AMD Support, NVIDIA GPU Operator and More

Filed under
Ubuntu
  • Ubuntu 19.10 Doesn't Ship With AMD Navi / Radeon RX 5700 Support Working, But Easy To Enable

    While last week's release of Ubuntu 19.10 "Eoan Ermine" is new enough for Radeon RX 5700 series support with the Linux 5.3 kernel and Mesa 19.2, it doesn't actually work out-of-the-box for these Navi graphics cards.

    While the principal driver components of the Linux kernel and Mesa3D (for RadeonSI OpenGL and RADV Vulkan) are new enough with Navi support, Ubuntu 19.10's support isn't rounded out because its linux-firmware package isn't new enough for containing the necessary Navi firmware binaries required for the open-source driver usage. So if booting a clean Ubuntu 19.10 install with Radeon RX 5700, you are likely to just see a blank screen.

  • NVIDIA GPU Operator – Simplifying AI/ML Deployments on the Canonical Platform

    Leveraging Kubernetes for AI deployments is becoming increasingly popular. Chances are if your business is involved in AI/ML with Kubernetes you are using tools like Kubeflow to reduce complexity, costs and deployment time. Or, you may be missing out!

    With AI/ML being the tech topics of the world, GPUs play a critical role in the space. NVIDIA, a prominent player in the GPU space is one of the top choices for most stakeholders in the field. Nvidia takes their commitment to the space a step ahead with the launch of the GPU Operator open-source project at Mobile World Congress LA.

  • Ubuntu Weekly Newsletter Issue 601

    Welcome to the Ubuntu Weekly Newsletter, Issue 601 for the week of October 13th – 19th, 2019.

Audiocasts/Shows: Linux Headlines, Ohio Linux Fest, GNU World Order and Extras

Filed under
GNU
Linux

Audio capture in Linux on Chromebooks testing about to begin in Chrome OS

Filed under
OS
Linux

I may be one of the few that wants to record audio using a Linux app on my Chromebook, but I’m going to share this news anyway. The effort to bring audio capture support to Project Crostini that started in February is nearly ready for testing, at least on a limited basis.

’ve tried to start my conainer with the new –enable-audio-capture argument using the Dev Channel of Chrome OS 79 but the extra parameter isn’t yet recognized. Hopefully, it arrives in the next Dev Channel update for Chrome OS.

My specific need for audio capture is when using Audacity, an open-source audio editing tool available for Linux, as well as Windows and macOS.

Read more

Alpine 3.10.3 released

Filed under
GNU
Linux

The Alpine Linux project is pleased to announce the immediate availability of version 3.10.3 of its Alpine Linux operating system.

Read more

Games: vkBasalt, Ikey Doherty, Crusader Kings II, Sunless Skies

Filed under
Gaming
  • vkBasalt, an open source Vulkan post processing layer for Contrast Adaptive Sharpening

    This is an interesting open source project! vkBasalt is a new Vulkan post processing layer that currently supports Contrast Adaptive Sharpening.

    Unlike Radeon Image Sharpening, vkBasalt supports Linux and works with both NVIDIA and AMD. This isn't entirely reinventing the wheel though, as it's partly based upon the ReShade port of AMD's CAS. Still, it's fun to see what hackers are able to do with little layers like this, especially when we don't have official support.

  • Ikey Doherty Launches Open-Source Focused Game/Software Development Company

    Well known open-source figure Ikey Doherty who rose to prominence for his work on the Solus Linux distribution and then went on to work on Intel's Clear Linux project is now having his hand at game engine development.

    Ikey shared with us that he left Intel back in May to begin his new adventure: Lispy Snake. Lispy Snake is a UK software development firm that at least initially is working on a game engine and games. Given Ikey's experience, the firm is focused on leveraging open-source technologies.

  • After making Crusader Kings II free, Paradox are now giving away The Old Gods expansion

    It's been a bit of a whirlwind of Paradox news recently and we have even more to share. With a tiny amount of effort, you can get The Old Gods expansion for Crusader Kings II free.

    This is after Crusader Kings II was set free to play and Crusader Kings III was announced just like I suggested it would be.

  • Failbetter Games are upgrading owners of Sunless Skies to the Sovereign Edition next year

    Failbetter Games have announced that Sunless Skies is getting a bit of an upgrade with the Sovereign Edition and it's going to be free to existing purchasers when it's release next year.

    Part of the reason, is that it will be releasing on Consoles so they're polishing the experience up some more. It's not just a special console edition though, it's coming with a bunch of new content and various improvements to the flow of it. To release on PC at the same time as Consoles, free for existing players.

What To Do After Installing Ubuntu 19.10 Eoan Ermine

Filed under
Ubuntu

In this traditional article special for Ubuntu 19.10 Eoan Ermine you will find my suggestions and recommendations in 3 parts, work (including date/time adjustments, productivity tools), non-work (including extensions, podcasts, RSS, codecs), and system maintenance (including CPU-X, repository setup, auto-backup). I also have suggestion for you wanting Global Menu on this Eoan Ermine OS at the end. Adjust it once and use freely everyday. Finally, I hope Ubuntu 19.10 will be your best tool you could imagine to use without worry. Happy working!

Read more

Python Programming Leftovers

Filed under
Development
  • Pylint: Making your Python code consistent

    Pylint is a higher-level Python style enforcer. While flake8 and black will take care of "local" style: where the newlines occur, how comments are formatted, or find issues like commented out code or bad practices in log formatting.

    Pylint is extremely aggressive by default. It will offer strong opinions on everything from checking if declared interfaces are actually implemented to opportunities to refactor duplicate code, which can be a lot to a new user. One way of introducing it gently to a project, or a team, is to start by turning all checkers off, and then enabling checkers one by one. This is especially useful if you already use flake8, black, and mypy: Pylint has quite a few checkers that overlap in functionality.

  • PyDev of the Week: Sophy Wong

    This week we welcome Sophy Wong (@sophywong) as our PyDev of the Week! Sophy is a maker who uses Circuit Python for creating wearables. She is also a writer and speaker at Maker events. You can see some of her creations on her Youtube Channel or her website. Let’s take a few moments to get to know her better!

  • Erik Marsja: Converting HTML to a Jupyter Notebook

    In this short post, we are going to learn how to turn the code from blog posts to Jupyter notebooks.

Proper Linux Screen Sharing Coming to Chromium & Electron Apps like Discord

Filed under
Linux

A patch to add ‘screen enumeration’ to the Chromium browser is currently pending merge upstream.

Once this fix is accepted Chromium and Chromium-based apps (like Discord) will finally support full screen sharing on Linux in a manner similar to that on Windows and macOS.

Not being a multi-monitor user, or someone who shares their screen often, I wasn’t aware of this particular limitation until recently.

So I’ll explain.

Read more

Firefox 70 Is Now Available to Download with Fresh New Look, Extended Dark Mode

Filed under
Moz/FF

Judging by the version number, you would think that Firefox 70 is a massive update to the open-source and cross-platform web browser built by Mozilla, but it's not really a major release. However, it does bring some a fresh new look for its icon, new welcome screen, and an extended dark mode for the built-in pages.

So the first thing you'll notice after installing Firefox 70, which you can download right now for GNU/Linux, macOS, and Windows systems, it's the new Firefox icon that was unveiled by Mozilla a few months ago. In addition, you'll notice that all of Firefox's built-in pages now follows the system dark mode preference and a new welcome screen will help you setup Firefox faster.

Read more

KDevelop 5.4.3 released

Filed under
KDE

We today provide a stabilization and bugfix release with version 5.4.3. This is a bugfix-only release, which introduces no new features and as such is a safe and recommended update for everyone currently using a previous version of KDevelop 5.4.

You can find the updated Linux AppImage as well as the source code archives on our download page.

Read more

AAB Support in Qt for Android

Filed under
Android
KDE

Starting with Qt 5.14.0 beta2, users will notice that there are a lot fewer Qt for Android distributions than in previous versions. But don't panic: All the usual target architectures are still available! Instead of distributing a single package for each target ABI, we now have one larger package that covers all the ones we support: arm64-v8a, armv7a, x86 and x86-64.

For users building from source, the new default is also to build for all target ABIs in one go.

The reason for this is that Google Play is moving away from requiring the upload of multiple publisher-signed APK packages. Instead, the recommended form of distribution now is the new AAB format: An unsigned package that contains all supported target ABIs in one. Based on this, the app store will generate signed APKs that are suitable and optimized for the device issuing the request.

Read more

Linux-powered NVR system offers up to eight PoE+ ports

Filed under
Linux

SolidRun’s rugged “ClearFog GTR A385” NVR system runs Linux on a Marvell Armada A385 and offers 4x 90W PoE++ or 8x 30W PoE+ camera ports plus powered GbE PoE WAN and 2.5Gbps SFP+ ports, 3x mini-PCIe, and optional 2x SATA.

SolidRun announced a fanless network video recorder for indoor or outdoor surveillance and industrial infrastructure applications. The ClearFog GTR A385 is available in an unpriced S4 model and a $345 L8 model. Both provide 4x PoE++ Gigabit Ethernet ports for 90W Power-over-Ethernet control of cameras. The L8 model provides four more GbE/PoE ports that can be configured with the first four ports to alternatively support 8x 30W PoE+ (802.3bt) connections. All the ports are 802.3at/af/bt-compliant power sourcing equipment (PSE) ports with up to type 4 PoE support.

Read more

Syndicate content

More in Tux Machines

Graphics: Vulkan and Mesa

  • RLSL Allows Running A Subset Of Rust On Vulkan/SPIR-V Enabled GPUs

    There was a recent Khronos meet-up in Munich where Maik Klein of Embark Studios talked about their work on bringing a sub-set of the Rust programming language to Vulkan (SPIR-V) enabled GPUs. RLSL is the project being worked on by the Swedish game studio for opening up Rustlang use for GPUs to benefit from the language's same design advantages, provide a unified front-end, and being able to leverage the existing Rust ecosystem with the likes of Cargo/crates.

  • Raspberry Pi 4's V3D Driver Lands OpenGL ES 3.1 Bits In Mesa 19.3-devel

    The Broadcom "V3D" Gallium3D driver that is most notably used by the new Raspberry Pi 4 boards now is effectively at OpenGL ES 3.1 support within the newest Mesa 19.3 code. We've known that Igalia has been ironing out OpenGL ES 3.1 for V3D after taking over the work from Eric Anholt who left Broadcom earlier this year to go work for Google. Merged this past week was the OpenGL compute shader bits as the main blocker that prevented the V3D open-source Gallium3D driver from exposing GLES 3.1. Following that was a memory violation fix and then explicitly exposing OpenGL ES Shading Language 3.1. That merge request does note that a few more fixes are still needed before V3D will officially pass all of the OpenGL ES 3.1 conformance tests, but at least Mesa 19.3's code is good enough along to enable the support.

today's howtos

Ubuntu: AMD Support, NVIDIA GPU Operator and More

  • Ubuntu 19.10 Doesn't Ship With AMD Navi / Radeon RX 5700 Support Working, But Easy To Enable

    While last week's release of Ubuntu 19.10 "Eoan Ermine" is new enough for Radeon RX 5700 series support with the Linux 5.3 kernel and Mesa 19.2, it doesn't actually work out-of-the-box for these Navi graphics cards. While the principal driver components of the Linux kernel and Mesa3D (for RadeonSI OpenGL and RADV Vulkan) are new enough with Navi support, Ubuntu 19.10's support isn't rounded out because its linux-firmware package isn't new enough for containing the necessary Navi firmware binaries required for the open-source driver usage. So if booting a clean Ubuntu 19.10 install with Radeon RX 5700, you are likely to just see a blank screen.

  • NVIDIA GPU Operator – Simplifying AI/ML Deployments on the Canonical Platform

    Leveraging Kubernetes for AI deployments is becoming increasingly popular. Chances are if your business is involved in AI/ML with Kubernetes you are using tools like Kubeflow to reduce complexity, costs and deployment time. Or, you may be missing out! With AI/ML being the tech topics of the world, GPUs play a critical role in the space. NVIDIA, a prominent player in the GPU space is one of the top choices for most stakeholders in the field. Nvidia takes their commitment to the space a step ahead with the launch of the GPU Operator open-source project at Mobile World Congress LA.

  • Ubuntu Weekly Newsletter Issue 601

    Welcome to the Ubuntu Weekly Newsletter, Issue 601 for the week of October 13th – 19th, 2019.

Audiocasts/Shows: Linux Headlines, Ohio Linux Fest, GNU World Order and Extras