programming

All About My Custom Hugo Theme KMT

My ToDo List for 2024 (daily updates)

waffarx cash back

Why I recommend Peek as a Gif screen recorder ?

Peek has too many advantages as a git screen recorder. simple user interface easy to use fast enough and efficient available as snap, flatpak and appimage for Linux distributions with some other native packaging . open source software free of charge But Peek is not cross platform. It doesn’t support Windows 10 nor Mac OS X. Use Cases 🔗 I use Ubuntu, Pop! OS, Elementary OS and Mac OS. So Peek works on three of my four operating systems.

Windows vs Linux RAM Usage - Is Linux Better Than Windows?

Is Linux better than Windows in RAM usage or RAM management ? Both Linux and Windows are full multitasking operating systems that use virtual memory. If the operating system does not have enough space of physical memory, it use swap memory. swapping means that if your actual RAM is totally used, the operating system will take some of the memory from RAM and copy them into the hard disk or SSD.

Zig language vs Rust language

In the world of programming languages, two of the most popular choices are Zig and Rust. Both languages have their own unique advantages and disadvantages, so it can be difficult to decide which one is best for a particular project. To help you make an informed decision, we’ll take a look at the features and benefits of each language. Zig is a relatively new language that was designed to be a better alternative to C and C++.

Zig Will Succeed

To understand why I say Zig will be a successful programming language, we need to know why all popular languages are that popular. How popular programming languages get popular ? 🔗 In a talk by Richard Feldman, he talked about why isn’t functional programming the norm . And he answered the question “how did they get popular?” by this answer. Killer App C as a systems programming language because UNIX is written in C.

Zig Programming Language

Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. A Simple Language 🔗 Focus on debugging your application rather than debugging your programming language knowledge. No hidden control flow. No hidden memory allocations. No preprocessor, no macros. Comptime 🔗 A fresh approach to metaprogramming based on compile-time code execution and lazy evaluation. Call any function at compile-time. Manipulate types as values without runtime overhead. Comptime emulates the target architecture.

[OS] Windows 7, 8, 8.1, 10, 11

Microsoft Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for servers, and Windows IoT for embedded systems. Microsoft Windows for consumers has popular releases which are Windows XP, Windows 7, Windows 8.1, Windows 10 and the latest one, Windows 11. Microsoft developed Windows OS after DOS by Bill Gates.

Measuring website responsiveness : Interaction to Next Paint (INP), next year

There is web vitals which indicates the website health and performance. It is like health vitals in medicine which indicates the human health stats and performance metrics such as blood pressure. Core Web Vitals has many metrics such as First Contentful Paint (FCP), Largest Contentful Paint (LCP), Total Blocking Time (TBT) and Cumulative Layout Shift (CLS). Currently, we use First Input Delay (FID) to measure website responsiveness. But next year, we will use Interaction to Next Paint (INP) instead.

[OS] GNU Linux : A Whole Category of Operating Systems

GNU Linux is a category of all operating systems with a Linux kernel inside. The Linux kernel first released on September 17, 1991, by Linus Torvalds. GNU Linux operating systems are — for example — Ubuntu, Debian, Linux Mint, Arch Linux, Pop!_OS, Elementary OS, Fedora Linux, Zorin OS, Manjaro, RedHat Entreprise Linux (RHEL), Deepin, Solus. If you like any of them, you can try it out from a live bootable USB drive without installation.

[update][tutorial] reduce memory usage in Google Chrome Browser

Google Chrome informed me that the great suspender extension contains malware. Here is a screenshot of the malware alert. I installed this extension to save memory by suspending inactive tabs. But Google Chrome browser, now, has a similar functionality, so, I don’t need this extension anymore. I uninstalled the Chrome extension. Then checked Memory Saver option in Chrome Settings (as you can see in the below image). Memory Saver option is to free up memory from inactive tabs.

[tutorial] How to rate limit http requests in Laravel ?

Rate Limiting is the process of limiting the number of requests per minute sent to a web application is often necessary to protect against attacks trying to saturate your server or to brute force authentication forms. So Laravel framework has a rate limiting mechanism, which we will use now to rate limit http requests per minute for all routes or some of them. You can rate limit for all users or per user.