Memory object caching systems like Memcached can optimize back-end database performance by temporarily storing information in memory, retaining frequently or recently requested records. In this way, they reduce the number of direct requests to your databases.

Memcached can contribute to denial of service attacks if improperly configured, it is important to secure your Memcached servers. In this guide, we will cover how to protect your Memcached server by binding your installation to a local or private network interface and creating an authorized user for your Memcached instance.

Proviso

You must have a server set up with a non-root sudo user and…


Inceptive Server

As you start with your new Ubuntu server, you should perform some important configuration steps as part of the inceptive setup. These steps will increase the security and usability of your server and will give you a solid foundation for subsequent actions.

Login As Root

To log into your server, you will need to know your server’s public IP address. You will also need the password or — if you installed an SSH key for authentication — the private key for the root user’s account.

ssh root@your_server_ip

Accept the warning about host authenticity if it appears. If you are using password authentication, provide…


Functions Pythonista Must Know

There are two basic types of functions: built-in functions and user-defined functions. The built-in functions are part of the Python language; for instance dir() , len() , or abs() . The user-defined functions are functions created with the def keyword.

A function that is already defined in a program or programming framework with a set of statements, which together performs a task and it is called the Build-in function. So users need not create this type of function and can use it directly in their program or application.

Python has a set of built-in methods that you can use on…


Technology is evolving at such a rapid pace, enabling faster change and progress, causing an acceleration of the rate of change, until eventually, it will become exponential. However, it is not only technology trends and top technologies that are evolving, a lot more has changed this year due to the outbreak of COVID-19 making IT professionals realize that their role will not stay the same in the contactless world tomorrow. And an IT professional in 2020–21 will constantly be learning, unlearning, and relearning (out of necessity if not desire).

What does this mean for you? It means staying current with…


Enclone — Encoption

A pseudonym or alias is a fictitious name that a person or group assumes for a particular purpose, which differs from their original or true name. This also differs from a new name that entirely or legally replaces an individual’s own.

In Python, aliasing happens whenever one variable’s value is assigned to another variable because variables are just names that store references to values.

Purpose Of Pseudonym

  1. They want to try something new. …


Python and R are both great programming languages for data science and analytics. Since they’re open-source, they’re free to download for everyone, unlike commercial tools like SAS and SPSS. Find out their strengths and weaknesses and figure out which is better for your specific use cases.

Python


Deployment of machine learning models can take different routes depending upon the platform where you want to serve the model. The web interface is the most common way to serve a model but not limited to android and IOS apps or an IOT device like Raspberry Pi. …


If you are managing Python packages (libraries) with pip, you can use the configuration file requirements.txt to install the specified packages with the specified version.

This article describes the following contents.

  • Install packages with pip: -r requirements.txt
  • How to write a configuration file requirements.txt
  • Export current environment configuration file: pip freeze

Install packages with pip: -r requirements.txt

The following command will install the packages according to the configuration file requirements.txt.

$ pip install -r requirements.txt

The name of the configuration file is arbitrary but requirements.txt is often used.

Put requirements.txt in the directory where the command will be executed. …


In today’s multi-technology environments, it becomes inevitable to work on different software and hardware platforms simultaneously.

The need to run multiple different machine platforms with customized hardware and software requirements has given the rise to a new world of virtualization in the IT industry.


What is hashing?

Hashing is the process of converting a given key into another value. A hash function is used to generate the new value according to a mathematical algorithm. The result of a hash function is known as a hash value or simply, a hash.

A good hash function uses a one-way hashing algorithm, or in other words, the hash cannot be converted back into the original key.

Collisions

Keep in mind that two keys can generate the same hash. This phenomenon is known as a collision. There are several ways to handle collisions, but that’s a topic for another time.

A…

PRAABINDH PRADEEP

A Passionate Python Programmer Actor 🎭 Dancer 🕺 Swimmer 🏊🏻‍♂️ Sportsman 🚴 Film Maker 🎬 High On Visual Creativity... 🎨✒️ Loves Innovative Ideas... 👨‍🔬💡

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store