Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development

      

  • C++20 Modules Compiler Code Under Review, Could Still Land For GCC 11 - Phoronix

    With C++20 one of the major features added is that of modules as a modern alternative to that of conventional C++ header files for packages. The C++20 modules code for the GNU Compiler Collection that has been in the works for several years is now under review and could potentially still land for the GCC 11 release next year.

    [...]

    Some features of C++20 modules are not yet implemented around private module fragments, complete type (in)visibility, and more, but he is hoping to address the most significant shortcomings still in time for stage one (the current GCC 11 feature development). The code so far has been tested in Linux x86_64 / AArch64 / POWER, among other targets. 

  •   

  • What is new in the Qt Marketplace - Autumn 2020 Update

    TreeView is a QML type to display data from any QAbstractItemModel. It extends TableView with expandable and collapsable nodes, which can be used in either a list or table mode. The former lets the user navigate up and down like in the list, but the left and right arrow keys will expand or collapse the nodes. The latter mode lets the user navigate between the columns as well using the left and right arrow keys.

    Several convenience methods are available to map the model index with the item index in the view. Custom delegates can be created, but it is possible to customize the view delegate with several style hints. Row background and foreground colors, alternate background colors, text font, and collapsed/expanded icons can be easily changed without writing a new delegate. 

  •   

  • Qt Installer Framework 4.0 Released

    We are proud to announce that Qt Installer Framework 4.0 has been released. At the same time, we have released Qt Online Installer and Qt Maintenance tool 4.0, which have been updated to use the new IFW version as well. 

  •   

  • The world needs women who code | Enable Sysadmin

    How can we motivate more women to get into the technology field?

    [...]

    I was always curious about how things work. I remember, when I was first introduced to Facebook, I thought, "This thing is amazing, but how does it work? I wonder if I can build something like this?"

    This curiosity quickly led me to the world of coding, which was one of the best things that ever happened to me. I started with the C language, and it was really tough for me as it was my first time ever even seeing code. After a year, I got comfortable with things, and I learned all the concepts but hadn’t put them into action. So I moved onto what eventually became my favorite programming language—Python. It has been approximately three years, and I still use Python, though I still have a lot of things to learn about it.

  •  

  • Women in Tech: "It is essential that more women get a foothold in the tech industry" - JAXenter

    Women are underrepresented in the tech sector —myth or reality? Three years ago, we launched a diversity series aimed at bringing the most inspirational and powerful women in the tech scene to your attention. Today, we’d like you to meet Daniela Valero, Senior Engineer Experience Technology at Publicis Sapient.

  • What does a transformer? - Vincent Lequertier's blog

    Transformers have revolutionized Natural Language Processing by reducing the time required to train the models compared Recurrent Neural Networks. Because they are not sequential, attention-based models can process words in parallel, which is a major speed improvements. This allows the model to scale better, both in term of parameters and dataset size. This is also useful for interpretability, because attention weights allow one to easily understand the part of the input which contributed to the most to the predictions.

  •  

  • COBOL Is Our Friend: Don’t Believe The Common Misconceptions

    You’ve probably seen more headlines about COBOL this year than in the last 20 years. It started at the beginning of the Covid-19 outbreak when a U.S. governor went on television asking for COBOL programmers to fix the state’s overwhelmed unemployment insurance systems.

    As it turns out, COBOL — the programming language for the back-end mainframe — was not the source of the problem. It was a front-end issue: the inability to scale completion of Java-based website forms in such dramatic numbers. But that didn’t stop self-serving critics from continuing to lambast the government (states and federal) for continuing to run vital systems using an “ancient” programming language.

    It is ironic that this volley of false criticism was happening as the mainframe and the COBOL language were achieving one of their greatest feats: handling a huge increase in transactions, previously completed with cash, that were forced to be handled online or with credit cards as the world sheltered or sought touch-free activities. And they accomplished this without a hitch.

    So, as we look ahead to the next phase of increased dependence on the mainframe platform, it would be proper and valuable to dispel some common misconceptions about the programming language that fuels it.

  •  

  • 4 Cobol Misconceptions and My #5

    This article in Forbes identifies four misconceptions that have harmed Cobol’s reputation but also continues the misconception that Cobol is just a mainframe language when in reality companies such as Micro Focus have made Cobol available on Windows and Unix. The language created by Grace Murray Hopper to make computers easier for normal people to program lives on – as well it should!

  •  

  • Now and Then: Programming Languages to Shake up the Mix?

    Back in September 2013 we carried an article showcasing 11 newfangled programming languages, each of which sought to approach programming in a fresh, modern way. The languages are: Dart, Julia, Clojure, Haxe, Fantom, OpenCL, Elixir, Go, Rust, Ceylon, and Harlan.

    We acknowledged that it was unlikely many of the 11 newfangled languages would displace the established languages, but noted that a few could become mainstream.

    What happened to these 11 programming languages? Have they become central to the development of open source software, have they stayed on the fringes, or are they only remembered like fingerprints on an abandoned handrail?

  • Streamline your JavaScript code with top-level await | Opensource.com

    Prevent your JavaScript code from getting hung up or returning errors while waiting for external resources or long-running processes.

  • Caching in Python Using the LRU Cache Strategy – Real Python

    Caching is an essential optimization technique. In this tutorial, you'll learn how to use Python's @lru_cache decorator to cache the results of your functions using the LRU cache strategy. This is a powerful technique you can use to leverage the power of caching in your implementations.

  • Gradient Descent in Python: Implementation and Theory

    This tutorial is an introduction to a simple optimization technique called gradient descent, which has seen major application in state-of-the-art machine learning models.

    We'll develop a general purpose routine to implement gradient descent and apply it to solve different problems, including classification via supervised learning.

    In this process, we'll gain an insight into the working of this algorithm and study the effect of various hyper-parameters on its performance. We'll also go over batch and stochastic gradient descent variants as examples.

  • Python 3.10.0a2 is now available for testing

    Python 3.10 is still in development. This releasee, 3.10.0a2 is the second of six planned alpha releases.
    Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.
    During the alpha phase, features may be added up until the start of the beta phase (2021-05-03) and, if necessary, may be modified or deleted up until the release candidate phase (2021-10-04). Please keep in mind that this is a preview release and its use is not recommended for production environments.

  • ABlog v0.10.12 released

    ABlog v0.10 is released with the main focus being to support the latest version of Sphinx as well as Python 3 only support.

    Ablog V0.9.X will no longer be supported as Python 2 comes to an end in a few months and it is time people upgraded.

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.