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

Microsoft 365 outage affects multiple services

Microsoft Corp MSFT.O said late Monday a recent change it introduced likely caused a major outage, affecting users' access to multiple Microsoft 365 services, including Outlook.com and Microsoft Teams. The developer of Windows and Office software said it did not “observe an increase in successful connections” even after it rolled back the change to mitigate the impact. Read more

14 Best Free and Open Source Linux Compression Tools

Data compression is the process of storing data in a format that uses less space than the original representation would use. Compressing data can be very useful particularly in the field of communications as it enables devices to transmit or store data in fewer bits. Besides reducing transmission bandwidth, compression increases the amount of information that can be stored on a hard disk drive or other storage device. There are two main types of compression. Lossy compression is a data encoding method which reduces a file by discarding certain information. When the file is uncompressed, not all of the original information will be recovered. Lossy compression is typically used to compress video, audio and images, as well as internet telephony. The fact that information is lost during compression will often be unnoticeable to most users. Lossy compression techniques are used in all DVDs, Blu-ray discs, and most multimedia available on the internet. Read more

Customize an Intel NUC with Linux

After nearly six months of frequent video conferencing, I was tired of looking at my colleagues as tiny thumbnails on 13" and 15" laptop displays. However, I didn't want the clutter of a desktop or tower case and all the associated cabling. I briefly considered a Mac Mini but didn't want to surrender to a proprietary interface. I really wanted a Linux desktop with power, portability, and a small footprint. I considered System76's Meerkat but instead opted to build my own computer using an Intel Next Unit of Computing (NUC). Intel created the NUC as a very small, barebones computer system with a number of options. It's more powerful and more modular than something like a Raspberry Pi, but it's smaller than even a microATX sized PC tower. Read more

13 Best Photo Image Editors for Linux

In this article, I have reviewed of some the best photo editing software available on different Linux distributions. These are not the only photo editors available but are among the best and commonly used by Linux users. Thanks for reading and hope you find this article useful, if you know of other good photo editors available in Linux, let us know by leaving a comment. Stay connected to Tecmint for more quality articles. Read more