Language Selection

English French German Italian Portuguese Spanish

Debian and Ubuntu Leftovers

Filed under
Debian
Ubuntu
  • Joey Hess: releasing two haskell libraries in one day: libmodbus and git-lfs

    The first library is a libmodbus binding in haskell.

    There are a couple of other haskell modbus libraries, but none that support serial communication out of the box. I've been using a python library to talk to my solar charge controller, but it is not great at dealing with the slightly flakey interface. The libmodbus C library has features that make it more robust, and it also supports fast batched reads.

    So a haskell interface to it seemed worth starting while I was doing laundry, and then for some reason it seemed worth writing a whole bunch more FFIs that I may never use, so it covers libmodbus fairly extensively. 660 lines of code all told.

    Writing a good binding to a C library has art to it. I've seen ones that are so close you feel you're writing C and not haskell. On the other hand, some are so far removed from the underlying library that its documentation does not carry over at all.

    I tried to strike a balance. Same function names so the extensive libmodbus documentation is easy to refer to while using it, but plenty of haskell data types so you won't mix up the parity with the stop bits.

  • Misc Developer News (#49)
    The news are collected on https://wiki.debian.org/DeveloperNews
    Please contribute short news about your work/plans/subproject.
    
    In this issue:
     + Self-service buildd givebacks
     + Removal of the mips architecture
     + Superficial package testing
     + Debian Developers Reference now maintained as ReStructuredText
     + Scope of debian-mentors broadened to help with infrastructure questions
     + Hiding package tracker action items
    
    Self-service buildd givebacks
    -----------------------------
    
     Philipp Kern has created[1] an *experimental* service that allows Debian
     members to perform self-service retries of failed package builds (aka
     give-backs). This service aims to reduce the time it takes for give-back
     requests to be processed, which was done manually by the wanna-build
     admins until now. The service is authenticated using the Debian Single
     Signon[2] service. Debian members are still expected to act responsibly
     when looking at build failures; do your due diligence and try reproducing
     the issue on a porterbox first. Access to this service is logged and logs
     will be audited by the admins.
    
  • Debian Guts Support For Old MIPS CPUs

    Debian developers have decided to remove the 32-bit MIPS big-endian architecture. Debian will continue to maintain MIPSEL and MIPS64EL but the older 32-bit big-endian variant of MIPS will be no more. Debian developers decided to drop the older 32-bit BE support due to it being limited to 2GB of virtual address space and it being one of the remaining holdouts of big endian architectures for Debian. Not to mention, there hasn't been much interest in the older MIPS 32-bit BE target in a while either.

  • Alpha: Self-service buildd givebacks

    Builds on Debian's build farm sometimes fail transiently. Sometimes those failures are legitimate flakes, for instance when an in-progress build happens to exhaust its resources because of other builds on the same machine. Until now, you always needed to mail the buildd, wanna-build admins or the Release Team directly in order to get the builds re-queued.

    As an alpha trial I implemented self-service givebacks as a web script. As SSO for Debian developers is now a thing, it is trivial to add authentication in a way that a role account can use to act on your behalf. While at work this would all be an RPC service, I figured that a little CGI script would do the job just as well.

  • Linux Mint 19.2 Cinnamon Edition – Ships With Cinnamon 4.2 and Uses Ubuntu 18.04 LTS Package Base

    Linux Mint 19.2 has been released and announced by Linux Mint Project, now available to download which ship with the Cinnamon, Mate and Xfce editions both for both 32-bit and 64-bit architectures. It’s powered by the Linux 4.15 kernel and uses the Ubuntu 18.04 LTS package base, which will be supported for five years until 2023.

    Linux Mint 19.2 Cinnamon edition features latest version of Cinnamon desktop 4.2 with new features and updates. Although the amount of RAM consumed by Cinnamon largely depends on the video driver, Cinnamon uses significantly less RAM than before. The application menu is faster and it now identifies and distinguishes duplicates. If two applications have the same name, the menu will show more information about them. Scrollbars are now configurable and Nemo file manager support pin file and folder .

  • Jupyter looks to distro-agnostic packaging for the democratisation of installation

    When users of your application range from high school students to expert data scientists, it’s often wise to avoid any assumptions about their system configurations. The Jupyter Notebook is popular with a diverse user base, enabling the creation and sharing of documents containing live code, visualisations, and narrative text. The app uses processes (kernels) to run interactive code in different programming languages and send output back to the user. Filipe Fernandes has a key responsibility for Jupyter packaging and ease of installation. At the 2019 Snapcraft Summit in Montreal, he gave us his impressions of snaps as a tool to improve the experience for all concerned.

    “I’m a packager and a hacker, and I’m also a Jupyter user. I find Jupyter to be great as a teaching tool. Others use it for data cleaning and analysis, numerical simulation and modelling, or machine learning, for example. One of the strengths of Jupyter is that it is effectively language agnostic. I wanted Jupyter packaging to be similar, distro-agnostic, if you like.”

    Filipe had heard about snaps a while back, but only really discovered their potential after he received an invitation to the Snapcraft Summit and noticed that Microsoft Visual Studio Code had recently become available as a snap. The ease of use of snaps was a big factor for him. “I like things that just work. I often get hauled in to sort out installation problems for other users – including members of my own family! It’s great to be able to tell them just to use the snap version of an application. It’s like, I snap my fingers and the install problems disappear!”

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.