Language Selection

English French German Italian Portuguese Spanish

Programming: Perl, Python, Java, Fortran and More

Filed under
Development
  • [Perl] Monthly Report - July

    God, the year 2020 seems never ending. I just pray it gets over quickly and we start fresh with new year 2021. Unfortunately we have to wait for another 5 months. In the current situation, anything can happen in this period. Please stay safe and avoid unnecessary human contacts.

    So what was the main attraction of last month?

    Well, quite a few, to begin with, I submitted 12 Pull Requests which is much better than the month before i.e. 9 Pull Requests. I remember there was time when I used to submit at least 50 PR every month. I aim to do at least 1 PR every 2 days i.e. 15 PR every month. Unfortunately I have only managed to do that in January i.e. 22 Pull Requests. I did come close to the target in two months e.g. May (13 Pull Requests) and July (12 Pull Requests). I am going to keep trying hard. Wish me luck.

    I would like to talk about my participation to the Pull Request Club contributions. Ever since I joined i.e. January 2019, I have never missed a single month. As of today, I have submitted 20 Pull Requests to 20 different distributions. Of those 10 have been accepted and merged. There are 9 PR still open and 1 closed without merge. So overall 50% success rate, not a bad attempt so far.

  • How and why I built Machine Learning model to predict tennis table matches results

    First of all I have chosen Python as the language for the project since python provides many libraries and documentations to support with any challengs during this milestone.

  •         

  • Just updated - Optimize Images v1.3.6

    Optimize Images has just been updated to version 1.3.6, a minor but still important release that fixes a few bugs and improves its overall stability. Thank you for using Optimize Images and/or contributing with feature suggestions, bug reports, or pull requests!

  • Java ternary operator

    Ternary operator can be used as the alternative of ‘if-else’ and ‘if-else-if’ statements. It is called a ternary operator because it takes three operands to do any task. If the conditional expression that is used in a ternary statement returns true, then it executes a particular statement; otherwise, it executes another statement. The ‘?’ and ‘:’ symbols are used to define the ternary statement. The ternary operator is better to use for solving a very simple task in place of ‘if’ statement. Different uses of the ternary operator in java are shown in this tutorial.

  • Java List Tutorial

    The list is a useful way to store ordered multiple data like an array in Java. But It has many features that do not exist in the array. The list is called an ordered collection, and it is an interface that extends the Collection interface. It cannot create an object like an array, but it implements four classes to use the functionalities of the list. These classes are ArrayList, LinkList, Stack, and Vector. These are defined in the Java Collection Framework. ArrayList and LinkList classes are widely used in Java. The insert, update, delete, and search operations are done in the list based on the index-value like an array. It can store both null and duplicate values. java.util package contains the ‘list’ interface, and it will require to import to use the ‘list’. How the different methods of the ‘list’ can be used in Java are shown in this tutorial.

  • Java switch case statement

    ‘switch-case’ statement can be used as the alternative of ‘if-else-if’ statement where different conditions are defined in different ‘if’ statements. If the first condition returns false, then check the second condition and so on. Defining multiple conditions using this way is a very lengthy process. The same task can be done very simply by using a switch-case statement. It contains different execution parts and executes the statement where the particular value matches with any ‘case’ value. The switch statement can be applied to the various types of primitive data such as int, char, byte, etc. The different uses of switch-case statements in Java are explained in this tutorial.

  • Fortran newsletter: August 2020

    Welcome to the August 2020 edition of the monthly Fortran newsletter. The newsletter comes out on the first calendar day of every month and details Fortran news from the previous month.

  • Which Is The Best WordPress Caching Plugin?

    I’ve talked about how I optimise this site before, but I wanted to do some digging into which is the best WordPress caching plugin. I’ve tested some of the most popular caching plugins available, and decided to write this post with the results.

  • 10 Tips to Defeat Your Fear of Coding

    Why do you fear to code? Is it because you’re afraid to mess up or break something? is it because the technical concepts are confusing for you? is it because of so many overwhelming concepts in programming? Whatever your answer is…but, the most pleasurable thing for a programmer is the moment when they see their code run in the blink of an eye and the magic happens on the screen.

    Coding is intimidating, coding is overwhelming but if anyone defeats the fear of coding then it’s also one of the most enjoyable and fun things to do. Some people who enjoy coding get addicted to it and they start spending hours either trying different programming strategies or building the new applications, or solving some coding-related challenging problems. In this blog, we will discuss the top reasons why people fear of coding and tips to overcome this problem.

  • July 2020: webmail, custom MDA and python framework work

    The issue is that folder pinning is far from being the only thing I want to do with incoming mails at delivery time, and shoving everything in the mda executable is not ideal. I rewrote the MDA to have it handle delivery only and call an API to determine where it should do it, this let me play with a ton of ideas on a custom API server without tweaking the working MDA. At the end of the day, I had incoming mails processed by various text analyzers, attachments automatically extracted and put in an s3 backing store, and mails indexed for fast lookups.

    I will not expand much on how I did this as I think it makes a nice topic for a dedicated article on custom MDA, and fun stuff you can easily do with them to provide some awesome features on your mail setup.

  • Intel ISPC 1.14 Released With Initial GPU Offloading Support

    A few days back we wrote of Intel's ISPC compiler landing GPU code generation support for their UHD/Iris/Xe Graphics from Gen9 Skylake and beyond. Following that code being merged, ISPC 1.14.0 was quickly tagged.

    Intel ISPC 1.14.0 was released shortly after the GPU support code landed for the Implicit SPMD Program Compiler. See more details on the GPU code landing in the aforelinked article. It's an exciting milestone and another great Intel software achievement playing into their oneAPI efforts. ISPC 1.14.0 continues offering great first-rate CPU support across all platforms. All of these open-source goodies remain open-source as one of Intel's continued strong points.

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.