Image for post
Image for post
#QuedateEnCasa

Estamos en semanas de Crisis, lo mejor que podemos hacer es quedarnos en casa, puede que algunos no estén acostumbrados a quedarse en casa tanto tiempo pero es por un bien común, cuidate y cuida a los demás.

Empecemos….

Si tienes una computadora o una tablet o con tu celular más internet, lograremos pasar toda esta cuarentena ya sea para trabajar o estudiar y en ciertos casos para realizar otra actividad.

Como debería de ser nuestro espacio de trabajo 🤔

Debería de ser limpio, silencioso, sin ningún tipo de distracción de modo que te fluya tus objetivos del día

Herramientas para Estudiar Online (Universidades o Autodidactas). 🎓


The Internet of Things is the extension of Internet connectivity into physical devices and everyday objects.

Image for post
Image for post
IoT-internet of things

What is IoT?

The Internet of Things, or IoT, refers to the billions of physical devices around the world that are now connected to the internet, all collecting and sharing data. Thanks to the arrival of super-cheap computer chips and the ubiquity of wireless networks, it’s possible to turn anything, from something as small as a pill to something as big as an airplane, into a part of the IoT. …


Here are the commands that you have a type…

Image for post
Image for post
$ sudo apt update$ sudo apt install mysql-server$ sudo mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.7.29-0ubuntu0.18.04.1 (Ubuntu)
Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
Query OK, 0 rows affected (0.00 …


[Machine learning is present in our daily life.]

Image for post
Image for post

The birth of machine learning

Machine learning, known in Spanish as aprendizaje automático or aprendizaje de máquina, was born as an ambitious AI idea in the 1960s. What this branch intended to study where pattern recognition and computer learning. Throughout the year machine learning began to focus on different topics such as probabilistic reasoning, statistically-based research, information retrieval and continued to delve into pattern recognition. Now, the main objective of machine learning is to address and solve practical problems in which any of the above-mentioned numerical disciplines are applied.

It is a field of computer science that, according to Arthur Samuel in 1959, gives computers the ability to learn without being explicitly programmed.
For it is nothing more than a sequence or series of instructions, which represent the solution to a given problem.
The purpose of machine learning is that people and machines work hand in hand, as they can learn as a human would. …


Image for post
Image for post

Python handles everything through objects. An object’s mutability is determined by its type. Some of these objects, like lists and dictionaries, are mutable, which means that you can change their content without changing their identity. Other objects such as integers, floats, chains, and tuples are objects that cannot be changed.

Types & id

The id() function returns the identity of an object as an integer. This corresponds to the location of the object in memory. The function type() returns the type of an object.

Difference Between Mutable and Immutable objects


Image for post
Image for post

In Python, you can group a class into data and create a new object type. Each instance can have attached attributes and can be used for content creation.

Class Attribute

An instance attribute is a Python variable belonging to one, and only one, object. This variable is only accessible in the scope of this object and it is defined inside the constructor function, __init__(self,..) of the class.

>>> class A:
... a = "I am a class attribute!"
...
>>> x = A()
>>> y = A()
>>> x.a
'I am a class attribute!'
>>> y.a
'I am a class attribute!'
>>> A.a
'I am a class attribute!' …

Static and dynamic libraries

Image for post
Image for post

I recently made a post about static C libraries. Returning to this we’ll talk about dynamic C libraries.

Dynamic

When dynamic libraries are linked, no library code is included directly in the linked destination. Instead, libraries are loaded into memory at runtime before symbols are resolved. Because the code is not statically bound in the executable binary, there are some advantages to loading at runtime. Mainly, libraries can be updated with new features or bug fixes without having to recompile and re-link the executable. …


Image for post
Image for post
http://www.somkiat.cc/ioccc/

What’s IOCCC?

Let’s talk a little IOCCC (The International Obfuscated C Code Contest) is an annual programming contest with a obfuscated C code.

In 1986 at the IOCCC they had a winner in which the category was “worst abuse of the C preprocessor”. This winner was Jim Hague in which his code was exotic. His code can be entered here for analysis along with other exotic codes found on this page.

If you enter to one of the files that I show you in this link, it will be written by Jim explaining a little the why:

Worst abuse of the C…


Image for post
Image for post

Static libraries are collections of object files that are linked when a file is compiled into an executable file.

Why use libraries?

In a static library, the linker includes the object code of the functions of the library that uses its source code. If you create a static library called lib.a in your source code and then call the functions defined in lib.a, the implementation of those functions would be passed to object code and then included in the final executable file by a launcher.

How they work?


Image for post
Image for post

👩‍💻 Using gcc as the compiler

Me: a crusty Unix system programmer.
You: someone with an editor, a C compiler, and some time to kill.

Let’s do this.

A C program starts with a main() function, usually kept in a file named main.c

About

Lina María Montaño Ramírez

Backend Developer 👩‍🏫 Mentor @coderiseorg 🎧 Podcaster en @caminodev ! 💚 Organizer @node_co

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