Fluent Programmer wrote
How to pass reference to a lambda in C++ 👋
A lambda function is an anonymous function that can be defined inline without a separate function declaration. It allows you to create small, local …
Subscribe and get low level programming stuff. Beautiful code series — in your inbox. 🎁
Fluent Programmer wrote
A lambda function is an anonymous function that can be defined inline without a separate function declaration. It allows you to create small, local …
Fluent Programmer wrote
In C++, a mutex (short for mutual exclusion) is a synchronization primitive used to protect shared resources from simultaneous access by multiple …
Fluent Programmer wrote
In this tutorial we install Nginx, ModSecurity and then connect them together. To give some context ModSecurity is a open source firewall which could …
Fluent Programmer wrote
Checking disk space is an important task in Linux based machines because we may run heavy data intensive tasks that creates logs and without proper …
Fluent Programmer wrote
Enabling subject information in log storage will help administrators to sort the mails send based on the subject using grep command. In this micro …
Fluent Programmer wrote
Depending on the OS the command varies. mktemp and tempfile are the commands used in the Bash script to create temporary file - it is easy, readily …
Fluent Programmer wrote
POSIX threads also called as the Pthreads is developed as part of C programming language. It includes 100+ API functions, data types using which the programmers can develop applications that spins up, manages threads all under the same process. Every thread has its own flow of code to execution that overlaps in time.
Fluent Programmer wrote
Many of you may think why this idiot is writing a separate blog post on converting ASCII to Hexadecimal to Binary conversion table. I am frustrated and confused whenever I came across this topic. Never had the patience to stop by and see what it is all about. That’s because of my ADHD. Anyways, In my opinion it deserves a blog post.
Fluent Programmer wrote
Setting up log rotate and monitoring the files is mandatory to avoid running out of the disk space. Log rotate is a linux service that helps us to safeguard from running out of the disk space.Logs from web servers and many different software applications are the reason why we run out of the disk space. When we deploy software applications having an observability layer is crucial to understand what is happening in the application but at an expense of disk storage. In this article we explore the ways log rotate can help us is rotating the logs we won’t run out of the disk space.
Fluent Programmer wrote
Polymorphism means many forms. Ability of a message to be displayed in many forms is what it is all about. Polymorphism is very important feature in Object Oriented Programming. In C++, we have four different types of polymorphism as mentioned below