Language Selection

English French German Italian Portuguese Spanish

today's howtos and programming bits

Filed under
Development
HowTos
  • CentOS 8 Package Management with DNF on the Command Line
  • AdamW’s Debugging Adventures: “dnf is locked by another application”
  • Managing user accounts with Cockpit
  • Download Ubuntu 19.10 ISO image to install on VirtualBox VM
  • GNU poke: Dealing with alternatives - Unions in Poke

    Computing with data whose form is not the most convenient way to be manipulated, like is often the case in unstructured binary data, requires performing a preliminary step that transforms the data into a more convenient representation, usually featuring a higher level of abstraction. This step is known in computer jargon as unmarshalling, when the data is fetch from some storage or transmission media or, more generally, decoding.

    Once the computation has been performed, the result should be transformed back to the low-level representation to be stored or transmitted. This is performed in a closing step known as marshalling or, more generally, encoding.

    Consider the following C program whose purpose is to read a 32-bit signed integer from a byte-oriented storage media at a given offset, multiply it by two, and store the result at the same offset.

  • Android NDK r21 moves to beta

    Android announced that NDK r21 is now in beta. Android NDK is a toolset for implementing parts of an app in native code. The release — which is the first long term support release — includes improved defaults for better security and performance.

    One of the key features in the release is an update to GNU Make to version 4.2, which provides a number of bug fixes, and enables ‘–output-sync’ to avoid interleaving output with error messages, the team explained. This is enabled by default with ndk-build.

    Additionally, GDB, the GNU project debugger, has been updated to version 8.3, which includes fixes for debugging modern Intel CPUs.

  • What is the history behind C Programming and Unix?

    If you think C programming and Unix are unrelated, then you are making a big mistake. Back in the 1970s and 1980s, if the Unix engineers at Bell Labs had decided to use another programming language instead of C to develop a new version of Unix, then we would be talking about that language today.

    The relationship between the two is simple; Unix is the first operating system that is implemented with a high-level C programming language, got its fame and power from Unix. Of course, our statement about C being a high-level programming language is not true in today’s world.

    This article is an excerpt from the book Extreme C by Kamran Amini. Kamran teaches you to use C’s power. Apply object-oriented design principles to your procedural C code. You will gain new insight into algorithm design, functions, and structures. You’ll also understand how C works with UNIX, how to implement OO principles in C, and what multiprocessing is.

More in Tux Machines

Reorganization and migration of Mercurial repositories

Since Richard Stallman adopted GNU Health in 2011, the development environment has been hosted at GNU Savannah, which generously provided a mercurial (hg) repository, that has been in use since then. Many years have passed, and GNU Health is today a Libre digital health ecosystem made of different components. In the last couple of years, GNU Health has been facing a tremendous growth, both in the community and in the development environment, yet, the hosting facilities at Savannah has remained pretty much the same. One of the issues I have faced is not being able to have multiple mercurial repositories to match all the new components. To give you an idea, this is a list of the GNU Health ecosystem components from 2011 and 2020. Read more

Do You Know How To Secure The OpenSSH Server?

In the last few articles, we have installed the OpenSSH server know we will see how to secure OpenSSH Server.

Already you know the SSH server is the best secure and simple and easy way to connect with the remote servers, router, and switches. Using OpenSSH gives you One more layer of security.

At the time of installing we just too basic setup but you need to tweak more to get a highly secure way to connect.

Few tweaks are required to harden security So, you just need to follow me and change or update the setting according to your need.

How to achieve high secure OpenSSH server?

At the time of accessing a remote server, it requires authentication we provide the password which we had created at the time of installation.

In this scenario, an evil guy will make some kind of guess or brute force to gain access to your servers, and actually, this type of password can be easily gained by an evil guy.

So, you are thinking about what to do now? Take a sigh of relief, Thanks to the community we have the option to set up SSH as a passwordless Authentication.

Read more

GNOME 40 App Grid Now Scrolls Horizontally

The GNOME 40 is under development at the moment. And a recent change on App Grid functionality shows that it now scrolls horizontally. Read more

Android Leftovers