source unsplash.com

what happens when you type https://www.holbertonschool.com in your browser and press Enter, in the following post, I am going to explain the process of DNS request, lookup, the TCP/IP layer, HTTPS/SSL protocol, web server, app server, DB storage, necessary to serve a web page when you request it in your browser.

DNS request:

When the browser request the IP address of a domain name, first it looks into its cache if that IP address is in cache, if not it sends the request to the ISP to lookup for that IP if is not in its records, the request is sent to…


source expressvpn.com

What is it and how does the Internet of things work?

It is a term we hear constant talk about. Internet of Things or IoT for its acronym in English is a somewhat abstract concept but has been gaining popularity in recent months. The idea it tries to represent is quite well illustrated by his name, everyday things that connect to the Internet, but in reality, it is much more than that.

To understand what the Internet of things is about, we must also understand that its foundations are not new at all. For about 30 years, it has been working with the idea of making all everyday objects a little…


source unsplash.com

As Carlos García Moreno says : Artificial intelligence is the great protagonist of today. So much that the almighty computers with great processors begin to have coprocessors or neuronal engines to allocate resources to the tasks of the AI found .

source andro4all.com

Talking about Artificial Intelligence, to make it fairly clear is to talk about tasks that would normally require human intelligence to be executed. The AI comes from computer science and dates back to the 60s. It was created to solve tasks that humans can do in a simple way, but they were a challenge for computers. …


source unsplash.com

Introduction

In Python everything is an object, and almost everything has attributes and methods. All functions have a built-in attribute __doc__, which returns the doc string defined in the function's source code. The sys module is an object which has an attribute called path.

What is an object? Different programming languages define “object” in different ways. In some, it means that all objects must have attributes and methods; in others, it means that all objects are subclasses. In Python, the definition is baggy; some objects have neither attributes nor methods, and not all objects are subclasses. …


source unsplash.com

Inbuilt functions are grouped together and placed in a file called library, that’s the definition of a library in C.

Why using libraries in general?

Libraries are useful when it comes to maximize your productivity, and allows the user to get access to a myriad of functions that have pre-defined output instead of writing your own code.

How do they work?

All C libraries are declared in the header of a file, a library is saved as libame.h the header file .h should be guarded using these flags:

#ifndef _H_NAME
....
....
#endif

Then this file should be included at the beginning of your C program like this #include…


source pexels.com

Inbuilt functions are sometimes grouped together and placed in a file called library, that’s the definition of a C library.

Why should you use libraries in C?

Static libraries are useful when it comes to maximizing your productivity, and allows the user to get access to a bunch of functions that gets pre-defined output instead of writing your own code.

How do libraries work?

All C libraries are declared in the header of a file, a library is saved as libame.h , then this file should be included at the beginning of your C program like this #include <libname.h>


source stacksocial.com

Compiling a C program is a common process you should perform to generate the executable file your computer will run.

It is as simple as typing a short line in your terminal, first navigate to the directory where your source code is stored, for example, if you created a file named main.c inside /home/user/source type the following :

$ cd /home/user/source

Now that you are in the directory where main.c is stored, you can compile that file using gcc command, just type as follows:

$ gcc main.c -o executablefilename

We use -o to redirect the output to the executable file…


The difference between a hard link and a symbolic link .

source wentzwu.com

The difference between hard links and symbolic links will be explained here:

A symbolic link is a term used for any file that holds a reference to another file or directory in the form of an absolute or relative path , any changes made through the symbolic will affect the original file, however if the symlink is deleted the original file still remain.

Hard links may take less disk space as they only take up a directory entry, and they share the same inode as the original file,whereas a symlink needs its own inode to store the name it points…


source pexels.com

When you are working in your terminal most of the times you will want to find certain files ending with a given extension.

Let’s say you have been coding some C-type files, these files have an extension ending with .c , for example you were coding some C/C++ project and you created a file named “coderun”, then you will likely to run your code. For your computer to be able to run and interpret your code inside it, it’s imperative that you add an extension at the end of the file that tells your computer what kind of contents your…

Andres Martin

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