Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Patches Proposed So Microsoft Debuggers Can Deal With GCC-Built MinGW Executables

    Patches have been proposed for the GCC compiler to ultimately allow MinGW Windows executables to be debugged with Microsoft's debuggers.

    The set of two dozen patches is for allowing the GNU Compiler Collection to emit debugging information in the PE-specific CodeView format used by Microsoft's debuggers. This PE-specific CodeView format is partially documented by Microsoft and understood via header files open-sourced by Microsoft as part of their PDB (Program Database) symbol file format.

  • Thinking in Questions with SQL

    I love SQL, despite its many flaws.

    Much is argued about functional programming vs object oriented. Different ways of instructing computers.

    SQL is different. SQL is a language where I can ask the computer a question and it will figure out how to answer it for me.

    Fluency in SQL is a very practical skill. It will make your life easier day to day. It’s not perfect, it has many flaws (like null) but it is in widespread use (unlike, say, prolog or D).

  • Qt 6.1 Beta 2 Released, Qt-Project.org Called For Revival

    This week marked the arrival of Qt 6.1 Beta 2 for providing the latest bug fixes for this cross-platform toolkit ahead of the planned release next month.

    Qt 6.1 beta launched just at the start of March while now the second beta has arrived while at least three more betas are expected over the coming weeks.

    [...]

    Proposed this week was reviving Qt-Project.org and using it as the "face" of the open-source Qt project. In particular, Qt-Project.org will emphasize how open-source developers can contribute to the open-source project and not to duplicate the content from Qt.io. The proposed initial look and early data for the project site can be found on this page. So far it seems the Qt community is excited about seeing Qt-Project.org restored with a focus on encouraging contributor.

  • Not on the same page

    One of the things you hear often in the Linux world goes like “you don’t need to be a developer to contribute to open source, you can also report bugs”. It turns out that having people reporting “bugs” while there no one to fix them creates more noise than it helps the project. Especially when users start treating the bug tracker like it’s their Amazon wish list. It ends up in a Hellraiser-like situation where your project is pulled apart by hooks in every possible direction… Because I care about the project and because there is a widening gap between where I want to drive the project and the feedback I receive from it, I have chosen to distance myself from certain aspects until a better solution can be found. I had given myself the goal of keeping the issue count on the Lutris bug tracker low. Because handling a higher number of tickets is just harder when development resources are so low and dilutes the real direction of the project into a huge blob of tickets. Being it’s own special kind of project, the client bug tracker also became a bug tracker for games that don’t work under Linux, broken Lutris installers and a help desk for those who have a hard time installing graphics drivers or wine. By simply unsubscribing from the Lutris bug tracker, I simply don’t get notified of new issues created. It avoids this problem of going through my email while still waking up and freaking out because some issue make me go What The Hell!? I like being able to read my email without having to freak out…

  • Let it snow: Android 12 Developer Preview 2 lands, bringing UI and security API tweaks

    Google has rolled out the second Android 12 developer preview, with the pre-release version of the mobile OS largely focusing on security and UI tweaks.

    This is by design it seems, with Google saying it has prioritised developer-facing changes first in order to simplify the work needed to upgrade existing apps.

    On the security front, Android now has a new API to determine the integrity of an installed app by contrasting its checksum against one held by the OS or the Google Play Store.

    The documentation promises support for several hashing algorithms, including SHA256, SHA512, and Merkle Root, and is ostensibly intended for developers wary of unapproved modifications (such as those working on banking apps, or building software with built-in DRM.)

  • Randal L. Schwartz: "My half-life with Perl" from OSCON 2013 live encore performance

    I've been asked by a couple of Perl groups to give a virtual presentation. Writing new material that would only have been shown once is a lot of work for a small reward.

    But, I just happened to be cleaning out my virtual junk drawer, and stumbled across my "half my life with Perl" slide deck that I had presented at OSCON 2013. Most of the stuff is timeless, as it describes Perl's first 25 years, and my second 25 years and how I influenced Perl, and Perl influenced me, and how my company (Stonehenge) was changed by all of this, and in some ways even changed all of this as well.

  • What is Django ORM? – Linux Hint

    In the world of today, technology has become an integral part of our lives as everything around us has become digitized. This is also true even in the business sector. Businesses that fail to employ the right infrastructure and are not able to equip the right technological architecture end up falling behind their competitors. This is mainly because, nowadays, the amount of data that businesses and organizations rely on for their analysis has grown exponentially and as a result, for them to be able to process and interpret it in an efficient manner, they need to have the right set of tools and infrastructure to support them.

    Databases are one of the most popular technologies being used for the collection and organization of data as it allows the data to be easily accessible, manageable, and updated as well. However, these databases require a management system for them to perform these tasks. Mostly, the language SQL is used to perform operations in a database, however, as your application grows and become more complex, it becomes extremely difficult to have an idea as to what exactly each operation is doing. This is where the technique Object Relational Mapping (ORM) comes into the picture. This allows query and manipulation of the data using an object-oriented programming language of your choice. ORMs reduce the complexity of your code and make it more understandable, which, in turn, makes it easier to update, maintain, and reuse the code.

    In this article, we will be taking a look at the Django ORM, which is a Python-based ORM and therefore, one of the most popular technologies being used these days.

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.