Language Selection

English French German Italian Portuguese Spanish

today's leftovers

Filed under
Misc
  • Podcast.__init__: Idiomatic Functional Programming With DRY Python

    Python is an intuitive and flexible language, but that versatility can also lead to problematic designs if you're not careful. Nikita Sobolev is the CTO of Wemake Services where he works on open source projects that encourage clean coding practices and maintainable architectures. In this episode he discusses his work on the DRY Python set of libraries and how they provide an accessible interface to functional programming patterns while maintaining an idiomatic Python interface. He also shares the story behind the wemake Python styleguide plugin for Flake8 and the benefits of strict linting rules to engender good development habits. This was a great conversation about useful practices to build software that will be easy and fun to work on.

  • Late Night Linux – Episode 94

    It’s been an unusually busy couple of summer weeks so we dig into the news including Canonical teaming up with Google, more updates from Pine64, and LibreOffice drama. Plus Will came up with a new segment, and KDE Korner.

  • Stratis 2.1 Proposed For Fedora 33 To Bring Per-Pool Encryption

    While Fedora 33 desktop variants are aiming to use Btrfs by default, non-desktop environments are not and Red Hat remains committed to XFS and their Stratis Storage technology for Red Hat Enterprise Linux. Coming to Fedora 33 will also likely be Stratis 2.1 for offering the latest on that front.

    As a late feature proposal for Fedora 33, Red Hat engineers are proposing Stratis 2.1 be available in F33 as the newest version. The shiny new feature of Stratis 2.1 is supporting per-pool encryption and various new interfaces for administering/monitoring it along with stratis-cli support for making use of the encryption functionality.

  • How to never miss a video call with Raspberry Pi and NextEvent
  • Media Player Integration into KDE connect SMS App, GSoC 2020

    It’s been over two weeks since I posted last time. This is the fourth report for my GSoC project. Previous two to three weeks period, I spent working on integrating media player and image viewer into KDE Connect SMS app as well as changed and improved some of my previous implementations as pointed by my mentors. The project has reached the stage where the SMS app is able to receive and display thumbnails in the chat as well as user can request to view any original attachment file just by clicking on that particular attachment thumbnail and it will get opened inside the SMS app as well as user can open it in another multimedia application present on the desktop. Here’s a demonstration video of it’s working.

  • [GSoC/LibreOffice] Simulated Animation Effects Week#7

    So after the last blog post, I have added support for animations that change positions by value ( AttributeType::PosX and AttributeType::PosY ). They pretty much share the same implementation with path motion animations.

    While doing so realized a logic error in my implementation which caused animation effects to skip updating bodies on the last frame of the animation causing a slight inaccuracy problem when they are over. To fix it added an option to delay the update event for a specified amount of box2DWorld steps.

  • Which engineering IT jobs are most affected by the pandemic?

    An analysis of more than 1,000 engineering-related IT jobs on a UK job portal reveals which jobs are facing a more difficult time since the pandemic started. Five charts reveal what’s in the data.

    [...]

    Especially, opportunities among Linux software engineers - Linux is a family of open-source Unix-like operating systems - faced difficulties over the course of the past six months, according to the data.

  • Code Quality is Fundamental
  • Standalone Boot2Qt / Yocto SDK CMake toolchain

    Cross-compiling with CMake is easy, you just need to pass the toolchain file as a parameter when you configure your project like: -DCMAKE_TOOLCHAIN_FILE=/path/to/your/toolchain.cmake

  • 2020.29 Election Time

    A group of Raku community members have come together to support the election of a Raku Steering Council using a Raku Governance Model (which is modelled after the Python Governance Model). If you have a commit bit in any of the Rakudo, NQP or MoarVM repositories, you will have active and passive voting rights for this election even if you haven’t been active for years. Please read the announcement for more information (/r/rakulang comments).

  • How to decentralize the Internet

    The Internet is centralized and what that means is that three of five companies will own the Internet, and that is not something that may happen, that is something already happening.

    Let's see an example of how three companies share most of the Internet: [...]

  • [Old] A Month-and-a-Half of Self-Hosted Email

    I went live with my self-hosted email server on 2020-05-19; almost a month and a half ago. Since then, I’ve been using it daily for all of my email-based communications through IMAP (there is no web interface). As I discussed in my blog posts about setting up email, I am using OpenBSD with OpenSMTPD, Dovecot, and Rspamd which is holding up well as a solid, reliable software stack.

  • A look at password security, Part III: More secure login protocols

    In part II, we looked at the problem of Web authentication and covered the twin problems of phishing and password database compromise. In this system, I’ll be covering some of the technologies that have been developed to address these issues.

    This is mostly a story of failure, though with a sort of hopeful note at the end. The ironic thing here is that we’ve known for decades how to build authentication technologies which are much more secure than the kind of passwords we use on the Web. In fact, we use one of these technologies — public key authentication via digital certificates — to authenticate the server side of every HTTPS transaction before you send your password over. HTTPS supports certificate-base client authentication as well, and while it’s commonly used in other settings, such as SSH, it’s rarely used on the Web. Even if we restrict ourselves to passwords, we have long had technologies for password authentication which completely resist phishing, but they are not integrated into the Web technology stack at all. The problem, unfortunately, is less about cryptography than about deployability, as we’ll see below.

    [...]

    What a PAKE gets you is security against phishing: even if you connect to the wrong server, it doesn’t learn anything about your password that it doesn’t already know because you just get a cryptographic failure. PAKEs don’t help against password file compromise because the server still has to store the verifier, so the attacker can perform a password cracking attack on the verifier just as they would on the password hash. But phishing is a big deal, so why doesn’t everyone use PAKEs? The answer here seems to be surprisingly mundane but also critically important: user interface.

  • This Week In Servo 133

    In the past week, we merged 62 PRs in the Servo organization’s repositories.

    The latest nightly builds for common platforms are available at download.servo.org.

    We now have a collection of tips & tricks for using Firefox Reality on the HoloLens 2.

  • Google announces Explore app for Chromebook

    Chromebooks are wonderful computers and anyone that says otherwise is simply uneducated on the subject. These laptops run a Linux-based operating system called "Chrome OS" that is arguably the most secure web surfing platform on the planet. Not only can Chromebooks run web apps, but Android apps and desktop Linux programs too, giving them a huge library of useful software. Most importantly, they are very easy to use. For instance, you get periodic OS updates that silently install in the background -- very unlike the complicated Windows 10.

    Even though Chromebooks are simple to use, that doesn't mean everyone will become an expert on day one. Through experience and education, Chrome OS users can always improve their knowledge of the platform. Today, Google launches a new app for Chromebooks called "Explore" aimed at helping users get the most from the Chromebook experience. For instance, as part of the onboarding process, it can teach you how to change your wallpaper or lock your screen.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. 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 the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.