Language Selection

English French German Italian Portuguese Spanish

November 2018

Debian and Ubuntu Leftovers

Filed under
Debian
Ubuntu
  • glBSP

    I was surprised to see glBSP come up for adoption; I found out when I was installing something entirely unrelated, thanks to the how-can-i-help package. (This package is a great idea: it tells you about packages you have installed which are in danger of being removed from Debian, or have other interesting bugs filed against them. Give it a go!) glBSP is a dependency on another of my packages, WadC, so I adopted it fairly urgently.

    glBSP is a node-building tool for Doom maps. A Map in Doom is defined in a handful of different lumps of data. The top-level, canonical data structures are relatively simple: THINGS is a list of things (type, coordinates, angle facing); VERTEXES is a list of points for geometry (X/Y coordinates); SECTORS define regions (light level, floor height and texture,…), etc. Map authoring tools can build these lumps of data relatively easily. (I've done it myself: I generate them all in liquorice, that I should write more about one day.)

  • How to Connect Your Android Phone to Ubuntu Wirelessly

    Easy: all you need is a modern Linux distro like Ubuntu and an open-source GNOME Shell extension called ‘GSConnect‘.

    GSConnect is a totally free, feature packed add-on that lets you connect your Android phone to Ubuntu over a wireless network, no USB cable required!

    In this post we talk about the features the extension offers, and show you how to install GSConnect on Ubuntu 18.04 LTS and above so that you can try it out for yourself!

Security: FSB and NSA in Linux, HTTPS is Not Enough, Microsoft Back Doors and Exploits (e.g. WannaCry), 5G China Scare

Filed under
Security
  • Linux 4.21 Positioned To Pickup Streebog Crypto Support Developed By Russia's FSB

    In addition to Linux 4.21 set to land Adiantum as the crypto algorithm backed by Google following the company's falling out with the NSA's Speck crypto for low-end data encryption, Streebog is also set to be introduced as a cryptographic hash function developed in large part by the Russian government.

    The Linux kernel patches introducing the Streebog code were posted back in October for review. Those patches were spearheaded by a developer from Russia's ALT Linux distribution. Those patches are now queued into the crypto subsystem's development branch ahead of the Linux 4.21 kernel.

  • HTTPS Is Almost Everywhere. So Why Isn’t the Internet Secure Now?

    Chrome used to display the word “Secure” and a green padlock in the address bar when you were visiting a website using HTTPS. Modern versions of Chrome simple have a little gray lock icon here, without the word “Secure.”

    That’s partly because HTTPS is now considered the new baseline standard. Everything should be secure by default, so Chrome only warns you that a connection is “Not Secure” when you’re accessing a site over an HTTP connection.

    However, the word “Secure” is also gone because it was a little misleading. It sounds like Chrome is vouching for the contents of the site as if everything on this page is “secure.” But that’s not true at all. A “secure” HTTPS site could be filled with malware or be a fake phishing site.

  • WannaCry: One year later, is the world ready for another major attack? [Ed: Somehow that neglects to mention that this was largely the result of a collusion involving Microsoft and the NSA]
  • UK gov report to raise fresh security concerns over Huawei's 5G kit

Linux Apps on Chromebooks Getting Google Drive, Play Store File Access Support

Filed under
GNU
Linux
Google

Linux apps on Chromebooks are slowly but surely gaining their legs. Sure, we’re still missing a few things here and there, but progress on this front is moving along at a nice, swift pace and today we are happy to be talking about another progression that will help the overall user experience in an important and meaningful way.

Read more

GNU: GCC and Wget Release

Filed under
GNU
  • GCC Compiler Picks Up New Option To Help With Live Kernel Patching

    Adding to the list of new features for GCC 9 due out early next year is a new -flive-patching= flag to help with scenarios like live Linux kernel patching.

    This GCC live-patching support addition was done by Oracle and is about controlling the optimizations/behavior when wanting to compile code for the context of applying it as a live patch. In particular, for Linux kernel live patching to avoid system reboots when applying security/maintenance updates. With Oracle the focus is on their own Ksplice live kernel patching to avoid reboots but this work should also be relevant to the likes of SUSE's kGraft and Red Hat's Kpatch kernel live patching.

  • GNU Wget 1.20 Released

    Noteworthy Changes in this release:
    Add new option `--retry-on-host-error` to treat local errors as transient and hence Wget will retry to download the file after a brief waiting period.
    Fixed multiple potential resource leaks as found by static analysis
    Wget will now not create an empty wget-log file when running with -q and -b switches together
    When compiled using the GnuTLS >= 3.6.3, Wget now has support for TLSv1.3
    Now there is support for using libpcre2 for regex pattern matching
    When downloading over FTP recursively, one can now use the

GameShell Linux-based Console Upgraded: New Board, 1GB Ram, HDMI Port

Filed under
GNU
Linux
Gaming
Gadgets

About a year ago, Clockwork put up a Linux-powered handheld gaming console called GameShell on Kickstarter website.

This portable retro console is shipped as a DIY kit that can let you play games, learn to code and also teach you a little about how the hardware works. And the best part is that it lets you upgrade the system without replacing it.

Read more

5 Reasons Why Linux OS Is A Hot Favorite Among Coders

Filed under
Development
GNU
Linux

Operating systems have come a long way in the past few decades. What was once dominated by Microsoft Windows or Apple MacOS is no longer the norm these days. After Y2K, a variety of OS have come into play as a result of people exploring the computing environment. One particular series of OS that has caught attention of the users is Linux. Although it was introduced way back in 1991, it gained popularity over time due to its decentralised development approach and a solid support from the software developer community as well.

Here we explore some reasons why Linux made it to the top among developers and tech enthusiasts.

Read more

Programming: Python, C++, Java and More

Filed under
Development
  • Amsterdam Python meetup, november 2018

    My summary of the 28 november python meetup at the Byte office. I myself also gave a talk (about cookiecutter) but I obviously haven't made a summary of that.

  • Trip Report: C++ Standards Meeting in San Diego, November 2018

    A few weeks ago I attended a meeting of the ISO C++ Standards Committee (also known as WG21) in San Diego, California. This was the third committee meeting in 2018; you can find my reports on preceding meetings here (June 2018, Rapperswil) and here (March 2018, Jacksonville), and earlier ones linked from those. These reports, particularly the Rapperswil one, provide useful context for this post.

    This meeting broke records (by a significant margin) for both attendance (~180 people) and number of proposals submitted (~270). I think several factors contributed to this. First, the meeting was in California, for the first time in the five years that I’ve been attending meetings, thus making it easier to attend for Bay Area techies who weren’t up for farther travels. Second, we are at the phase of the C++20 cycle where the door is closing for new proposals targeting to C++20, so for people wanting to get features into C++20, it was now or never. Finally, there has been a general trend of growing interest in participation in C++ standardization, and thus attendance has been rising even independently of other factors.

    This meeting was heavily focused on C++20. As discussed in the committee’s standardization schedule document, this was the last meeting to hear new proposals targeting C++20, and the last meeting for language features with significant library impact to gain design approval. A secondary focus was on in-flight Technical Specifications, such as Library Fundamentals v3.

    To accommodate the unprecedented volume of new proposals, there has also been a procedural change at this meeting. Two new subgroups were formed: Evolution Incubator (“EWGI”) and Library Evolution Incubator (“LEWGI”), which would look at new proposals for language and library changes (respectively) before forwarding them to the Evolution or Library Evolution Working Groups (EWG and LEWG). The main purpose of the incubators is to reduce the workload on the main Evolution groups by pre-filtering proposals that need additional work before being productively reviewed by those groups. A secondary benefit was to allow the attendees to be spread out across more groups, as otherwise EWG and LEWG would have likely exceeded their room capacities.

  • The Future of OpenJDK at Red Hat

    With the release of Java 11, the transition of Java into an OpenJDK-first project is finally complete. The days of most Java installations using the proprietary OracleJDK binaries are at an end. This increased focus on Open and Free Java naturally brings the contributions of companies other than Oracle into greater prominence. InfoQ recently spoke with Rich Sharples, Senior Director of Product Management for Middleware at Red Hat, to discuss OpenJDK and Red Hat's involvement with it.

  • PyBites: 3 Cool Things You Can do With the dateutil Module
  • Subtleties of Python

    A good software engineer understands how crucial attention to detail is; minute details, if overlooked, can make a world of difference between a working unit and a disaster. That’s why writing clean code matters a lot—and clean code isn’t just about neat indentation and formatting; it’s about paying attention to those details that can affect production.

    In this article, you’ll see a couple of short cases of problematic code in Python and how they can be improved. Please note that these are just examples and in no way must you interpret them to universally apply for real-world problems.

  • A Tale of Two Commits

    I’ve discussed and linked to articles about the advantages of splitting patches into small pieces to the point that I don’t feel the need to reiterate it here. This is a common approach at Mozilla, especially (but not just) in Firefox engineering, something the Engineering Workflow group is always keeping in mind when planning changes and improvements to tools and processes.

    Many Mozilla engineers have a particular approach to working with small diffs, something, I’ve realized over time, that seems to be pretty uncommon in the industry: the stacking of commits together in a logical series that solves a particular problem or implements a specific feature. These commits are generally authored, reviewed, updated, and even landed as a set. They tell a complete story; indeed, you could view this process as similar to writing a novel: the book is written, edited, and published as a complete unit.

  • Common architectural elements for modern integration architectures

    In Part 1 of this series, we explored a use case around integration being the key to transforming your customer experience.

    I laid out how I’ve approached the use case and how I’ve used successful customer portfolio solutions as the basis for researching a generic architectural blueprint. The only thing left to cover was the order in which you’ll be led through the blueprint details.

Free-floating Ubuntu social bot chats up astronauts on International Space Station

Filed under
Ubuntu

An Ubuntu-powered social robot called CIMON (Crew Interactive Mobile CompaniON) has begun work on the International Space Station. The self-navigating bot recognizes faces and answers questions relayed to a ground-based IBM Watson computer.

A social robot with an Ubuntu OS has launched on the International Space Station (ISS) to answer astronauts’ questions via voice and an 8-inch display. On Nov. 15, German astronaut Alexander Gerst demonstrated the CIMON (Crew Interactive Mobile CompaniON) robot in action, showing off its facial recognition, voice assistance, and ability to autonomously navigate in the weightless environment of the ISS. CIMON can also play music, document results of experiments, or search for objects using its image recognition capability.

Read more

Graphics: Sway 1.0 Closer, AMDGPU FreeSync / Adaptive-Sync Update

Filed under
Graphics/Benchmarks
  • Sway 1.0 Beta 2 Rolls Out For Feature-Rich i3-Compatible Wayland Compositor

    The release of Sway 1.0 as the popular i3-compatible Wayland compositor is one step closer with the latest beta update.

    Sway 1.0 Beta 2 offers various i3 compatibility updates, implements the Wayland presentation-time protocol, introduces multi-seat support to the Swaylock, supports additional i3 window types, and has other usability enhancements while for the most part is made up of bug fixes. Bug fixes for Sway 1.0 Beta 2 range from XWayland fixes, Swaybar output hotplug handling, and a variety of other corrections.

  • AMDGPU FreeSync / Adaptive-Sync Is Set To Land For Linux 4.21

    AMD developers have a miraculous Christmas present for their open-source Linux users, particularly Linux gamers with FreeSync/Adaptive-Sync displays... This last major feature missing from AMDGPU DRM driver that's long been sought after is finally set to land in the mainline Linux kernel!

    It has been a long time coming but the FreeSync support (or VESA Adaptive-Sync / HDMI VRR) is finally set to be merged with the upcoming Linux 4.21 kernel cycle. FreeSync/Adaptive-Sync/VRR as a reminder is about adjusting monitor refresh rates dynamically without any mode change to reduce stuttering, tearing, and input lag. Previously this support was just available for Radeon Linux users via the AMDGPU-PRO components and not from the standard Linux kernel driver.

More in Tux Machines

Programming Leftovers

  • The HTTP Referer header is fading away (at least as a useful thing)

    The HTTP Referer header on requests is famously misspelled (it should be Referrer), and also famously not liked because of privacy and security concerns. The privacy and security concerns are especially strong with external ('cross-origin') Referers, which is also the ones that many people find most useful because they tell you where visitors to your pages are coming from and let you find places where people have linked to you or are mentioning you.

  • Top 10 Natural Language Processing (NLP) Trends To Look Forward

    AI and Machine Learning have gifted us marvelous things. NLP or Natural Language Processing is one of them. It is one of the most prominent applications of AI. We are using this technology in our day-to-day life without even knowing. Translators, speech recognition apps, chatbots are actually NLP-powered products. Tech giants like Google and Microsoft are making new developments in NLP every year. If you are an AI enthusiast, you should go deep inside NLP. Chill! We got you covered. Just go through the article, and know about the top NLP trends that most data scientists are talking about.

  • Russ Allbery: DocKnot 4.01

    DocKnot is my software documentation and release management tool. This release adds support for a global user configuration file separate from the metadata for any given project and adds support for signing generated distribution tarballs with GnuPG. Currently, the only configuration options for the global configuration file are to set the destination location of generated distributions and the PGP key to use when signing them.

  • horizonator: terrain renderer based on SRTM DEMs

    I just resurrected and cleaned up an old tool I had lying around. It's now nice and usable by others. This tool loads terrain data, and renders it from the ground, simulating what a human or a camera would see. This is useful for armchair exploring or for identifying peaks. This was relatively novel when I wrote it >10 years ago, but there are a number of similar tools in existence now. This implementation is still useful in that it's freely licensed and contains APIs, so fancier processing can be performed on its output.

  • Happy birthday, Python, you're 30 years old this week: Easy to learn, and the right tool at the right time

    The 30th anniversary of Python this week finds the programming language at the top of its game, but not without challenges. "I do believe that Python just doesn’t have the right priorities these days," said Armin Ronacher, director of engineering at software monitoring biz Sentry and creator of Flask, the popular Python web app framework, in an email interview with The Register. Ronacher, a prolific Python contributor, remains a fan of the language. He credits Python's success to being both easy to learn and having an implementation that was easy to hack. And in its early years, Python didn't have a lot of competitors with those same characteristics, he said.

  • Google fires 150 game developers hired for Stadia: Report

    In about two years, Google has announced to shut down the in-house Stadia game development division, as it sees a great adoption of its technology by third-party developers and publishers to create world-class games.

    Google has said that it will not be investing further in bringing exclusive content from its internal development team SG&E, beyond any near-term planned games.

Benchmarks at Phoronix and Phoronix Test Suite

  • Vulkan Ray-Tracing Along With Other New/Updated Benchmarks For February - Phoronix

    Below is a look at all of the updates now available via OpenBenchmarking.org for Phoronix Test Suite users or if simply wanting to go to the test profile pages to gauge the CPU/GPU performance in the different real-world workloads. All these updates are available to Phoronix Test Suite users automatically if on an Internet connection when the metadata automatically updates or by running phoronix-test-suite openbenchmarking-refresh to force refresh.

  • The Phoronix Test Suite Gains Vulkan Ray-Tracing Benchmarks

    The versatile Phoronix Test Suite, developed and used by the Linux news website Phoronix, has gained profiles for benchmarking Vulkan ray-tracing performance using two different benchmarks as well as the JPEG XL benchmarks. There's also updates to many of the existing tests as well as a new 10.2.2 release of the Phoronix Test Suite software. [...] Michael Larabel has also updated many existing benchmarks, including the ones for the commercial closed-source games Portal 2, Insurgency and Civilization VI, blender, the libavif AVIF image encoder, the dav1d AV1 video encoder, GROMACS (GROningen MAchine for Chemical Simulations), ParaView, V-RAY (commercial), Pennant (OpenMP benchmark), NWChem and the free software platform game DDraceNetwork.

today's howtos

  • How To Use chmod and chown Command in Linux

    How do I use chmod and chown command under Linux / Unix operating systems? Use the chown command to change file owner and group information. we run the chmod command command to change file access permissions such as read, write, and access. This page explains how to use chmod and chown command on Linux or Unix-like systems.

  • How To Add Route on Linux – devconnected

    As a network engineer, you probably spend a lot of time thinking and planning your network infrastructure. You plan how computers will be linked, physically using specific cables but also logically using routing tables. When your network plan is built, you will have to implement every single link that you theorized on paper. In some cases, if you are using Linux computers, you may have to add some routes in order to link it to other networks in your company. Adding routes on Linux is extremely simple and costless : you can use the Network Manager daemon (if you are running a recent distribution) or the ifconfig one. In this tutorial, you will learn how you can easily add new routes on a Linux machine in order to link it to your physical network.

  • syncing subtitles in freedom

    The topic of creating subtitles with Free Software has often come up in my circles of Emacs-oriented users, and I haven't had a good recommendation to share, until this idea hit me the other day. Subtitle files are largely blocks of start/end time associated with blocks of text. I figured, once you got a transcript, existing Emacs Org Mode features could be used, perhaps along with keyboard macros, to turn the transcript into a synced subtitle file.

  • How To Install Minecraft on Ubuntu 20.04 LTS [Ed: Proprietary and Microsoft; not an attractive option as Free/libre alternatives exist]

    In this tutorial, we will show you how to install Minecraft on Ubuntu 20.04 LTS. For those of you who didn’t know, Minecraft is the most popular sandbox video game developed by Mojang studios but later purchased by Microsoft. It can be used with all major platforms like Linux, macOS, and Windows. Most Minecraft players would agree that the secrete to the game’s success lies in its creativity-inspiring design. Players are free to explore a large, procedurally generated world made of blocks, each of which can be interacted with, moved, or transformed into resources for crafting. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of Minecraft on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

  • Ubuntu: format SD card [Guide]

    Are you new to Ubuntu? Do you need to format your SD card but can’t figure out how to do it? If so, this guide is for you! Follow along as we go over a few ways you can format SD cards on Linux.

  • How to remove a remove apt repository from Debian

    Do you have an Apt repository on your Debian Linux PC that you want to delete? Can’t figure out how to do it? We can help! Follow along as we go over two ways you can remove Apt repositories from Debian!

  • The Raspberry PI Cheat Sheet – Raspberry PI User

    The Raspberry PI cheat sheet gives a quick overview of common commands, installation tips and links to guides to help you set up your Raspberry PI as a desktop computer.

  • Do a Kernel Upgrade the Easy Way in Linux Mint

    Upgrading the Linux kernel can be difficult, especially for new Linux users. In Linux Mint, however, it's possible to upgrade to a newer kernel with zero hassle. Today we'll find out how to do it, and what to do if you experience problems.

Kernel: Linux 5.12 Features, Some Xilinx Code Liberated, Apple's Hardware Support Added

  • Linux 5.12 Features Intel Xe VRR, Nintendo 64 Port + Clang LTO + Much More - Phoronix

    The Linux 5.12 merge window was off to a rough start due to winter storms preventing Linus Torvalds from merging changes for nearly one week, but in any case he appears to have caught up and the Linux 5.12-rc1 kernel is expected later today to end out the merge window. Here is a look at the many exciting changes coming for Linux 5.12. Linux 5.12 is going to be another very exciting kernel release. The stable Linux 5.12 release should happen in late April or early May depending upon how the cycle ultimately plays out. Linux 5.12 is an interesting kernel during COVID times with additions ranging from Nintendo 64 support some 20+ years later to Sony mainlining an official PlayStation 5 controller driver.

  • Xilinx Volleys Latest Open-Source Alveo Accelerator Driver Code - Phoronix

    Back in March 2019 Xilinx announced they were looking to upstream their Alveo FPGA accelerator drivers into the mainline kernel code. They followed through with posting the initial kernel patches and then fast forward to the end of 2020 they posted a new iteration of the patches. This month the company, which is in the process of being acquired by AMD, posted the third iteration of their open-source Linux kernel driver patches.

  • Apple Touch Bar Linux Driver Hopes For Upstream In 2021 - Phoronix

    For more than four years Apple's MacBook Pro has featured the Touch Bar as a display / control bar input device above the keyboard on these laptops. While there have been reports of Apple potentially phasing out the Touch Bar in future models, an open-source Linux driver for the component is still working its way toward the mainline kernel. Sent out on Saturday by independent developer Ronald Tschalär was the latest reverse-engineered, open-source driver code that gets the Touch Bar and ALS support working for MacBook Pro 13,* / 14,* / 15,* models. The Apple Touch Bar driver code was previously sent out on the kernel mailing list while now the Apple MBP 15,* models are supported and various code improvements made as a result of prior comments.