<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jean Victoria on Medium]]></title>
        <description><![CDATA[Stories by Jean Victoria on Medium]]></description>
        <link>https://medium.com/@jean-vic8?source=rss-a3995c015d45------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*PpHLJc09NbmpxBF0THauQg.jpeg</url>
            <title>Stories by Jean Victoria on Medium</title>
            <link>https://medium.com/@jean-vic8?source=rss-a3995c015d45------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 15:24:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jean-vic8/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Prueba categorias]]></title>
            <link>https://jean-vic8.medium.com/prueba-categorias-cf5fe9c95fee?source=rss-a3995c015d45------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf5fe9c95fee</guid>
            <dc:creator><![CDATA[Jean Victoria]]></dc:creator>
            <pubDate>Fri, 01 Apr 2022 19:29:21 GMT</pubDate>
            <atom:updated>2022-04-01T19:29:21.769Z</atom:updated>
            <content:encoded><![CDATA[<img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf5fe9c95fee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The future in time series.]]></title>
            <link>https://jean-vic8.medium.com/the-future-in-time-series-10373699d54?source=rss-a3995c015d45------2</link>
            <guid isPermaLink="false">https://medium.com/p/10373699d54</guid>
            <dc:creator><![CDATA[Jean Victoria]]></dc:creator>
            <pubDate>Thu, 22 Oct 2020 15:35:10 GMT</pubDate>
            <atom:updated>2020-10-22T15:35:10.548Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tZbQmgiFm2jGHl-6.jpg" /><figcaption>Representative image of functions and data as a function of time .<a href="https://cdn.app.compendium.com/uploads/user/a7c086f7-9adb-4d2c-90fa-e26177af8317/7531d8dc-7cb5-440d-9cd9-92d90120c751/File/220ff0c46068005baef585b112ea9040/time_series_forecasting_banner.jpg">https://cdn.app.compendium.com/uploads/user/a7c086f7-9adb-4d2c-90fa-e26177af8317/7531d8dc-7cb5-440d-9cd9-92d90120c751/File/220ff0c46068005baef585b112ea9040/time_series_forecasting_banner.jpg</a></figcaption></figure><h3><strong>Abstract</strong></h3><p>Time series are relevant when talking about machine learning because usually, the most popular machine learning algorithms are algorithms that do not consider time variables but are based on input and output values, which limits several of the machine learning algorithms in changing scenarios. But in the real world, most scenarios require algorithms that vary over time, which is why the main feature of time-series analysis and/or forecasting algorithms is the use of functions rather than predefined fixed characteristics, both to observe trends and to predict future values.</p><h3>Introduction</h3><p>We have all wanted to predict the future, humanity itself is advancing in that purpose but the truth is that they need or illusion about the future, guarantees our survival as a species, can be seen in too many areas, such as the current year’s harvest, weather conditions, the demographics of a particular territory, the projection or performance of a company, etc.</p><p>Throughout history, we have used many unreliable techniques and methods for this. Now in our times, we have grouped different areas of knowledge that have resulted in professions such as scientists and data engineers, who use algorithms and methodologies of automatic learning and artificial intelligence that provide a dimension of time, as well as multiple dimensions of channel, which makes the data in the representation of the reason for the change of something over time. There are many events in which temporal data is very natural, and the order of this data becomes important, such as the location of words, where characters and words are data, which in the correct context and order provided by time make sense. Data is data, but in this context time is order.</p><h3>Data and pre-processing</h3><p>We have at our disposal bitcamp data for the historical value of Bitcoin. But since the data is raw we must process it in such a way that our model can work with it. The first thing to do is to extract the data from the source file with the help of a function, then sort it into the right format for processing.</p><h3>Segregation and standardization of data</h3><p>For our model, we will need three sets of data. One for training, one for validation, and one for testing. Therefore, we will divide the sets within the data universe by percentages, and normalize the data with the help of the mean and standard deviation applied to the entire data set.</p><p>At this point, we have three data sets, trimmed, filled, cleaned, sampled, and normalized, almost ready to feed the model. However, we have to feed the model through data windows to process it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/0*BsFSVUXJ4SuUy3h5.png" /><figcaption><a href="https://www.tensorflow.org/tutorials/structured_data/time_series#1_indexes_and_offsets">https://www.tensorflow.org/tutorials/structured_data/time_series#1_indexes_and_offsets</a></figcaption></figure><p>Once created the new variables and the cut, we define within that function the division of the data in windows. Later, we load the data in a tf.data.Dataset format and we make the division.</p><p>Our job is to predict the closing value at the end based on the history of the past 24 hours, for this, the model needs both entries and labels according to this time window, for which we use the documentation of Tensorflow and create a class for this purpose.</p><h3>Model Architecture</h3><p>For this exercise, I use the RNN architecture because it works correctly for sequential data, as a sub-architecture I choose the LSTM architecture.</p><p>The LSTM architecture is a kind of recurrent neural network (RNN), the RNN in turn is a neural network that tries to model the time-dependent behavior or sequence by feeding back the output of a neural network layer in a given step to the same network layer a step ahead.</p><h3>Conclusion</h3><p>Time series forecasting is a powerful tool, which has its limitations, previous data does not always provide enough information to predict the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10373699d54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Postmortem Error 500 — General]]></title>
            <link>https://jean-vic8.medium.com/postmortem-error-500-general-b05736ff3488?source=rss-a3995c015d45------2</link>
            <guid isPermaLink="false">https://medium.com/p/b05736ff3488</guid>
            <dc:creator><![CDATA[Jean Victoria]]></dc:creator>
            <pubDate>Thu, 27 Feb 2020 16:56:49 GMT</pubDate>
            <atom:updated>2020-02-27T16:56:49.541Z</atom:updated>
            <content:encoded><![CDATA[<h3>Postmortem Error 500 — General</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/0*4lj_quWXFKGwVyG5.jpg" /></figure><p><strong>Issue Summary:</strong></p><ul><li>Start time: 20/02/2020 11:21 AM (GMT−5), End time: 20/02/2020 11:53 AM (GMT−5).</li><li>The page was returning a 500 status code, so the page was down for a 100% of the users.</li><li>Root cause: typo in a settings document and other script.</li></ul><p><strong>Timeline:</strong></p><ul><li>20/02/2020 11:23 AM (GMT−5) — The issue was detected by several users, who contacted the customer service department.</li><li>20/02/2020 11:25 AM (GMT−5) — The issue was escalated to the System Engineering team, and the SRE.</li><li>20/02/2020 11:27 AM (GMT−5) — They looked at the running processes on the server using ‘ps auxf’ to see if any unwanted child process was running in the background, and keeping the server from responding.</li><li>20/02/2020 11:29 AM (GMT−5) — After seeing the processes looked fine, the team used ‘strace’ on some process ids including the web server hosting the page.</li><li>20/02/2020 11:30 AM (GMT−5) — strace on one of the server processes was showing an infinite loop of system calls, so they looked at the second server process, that was calling the system call accept4() and hanging.</li><li>20/02/2020 11:35 AM (GMT−5) — When using curl on the page’s IP while running strace on that second server process, the team realized strace was displaying a lot of errors. One of them said that the file index.html didn’t exist, but it was a misleading clue because adding that file the folders didn’t seem to make it work.</li><li>20/02/2020 11:40 AM (GMT−5) — After reading carefully all the errors returned by strace, the team saw that one of them mentioned that a file didn’t exist: the file that server was trying to access seemed to be terminating in other extension, which is not a common extension for a file.</li><li>20/02/2020 11:47 AM (GMT−5) — When looking at the settings file, /var/www/html/settings.php, line 89 was trying to require that faulty file. From then, the team just removed the extension and replace for the new extension.</li><li>20/02/2020 11:53 AM (GMT−5) — The team only had to restart server. The page was back up like normal.</li></ul><p><strong>Root cause and resolution:</strong></p><ul><li>One typo in the wordpress settings fileOne typo in the server settings file was found, causing server ande the page to not work properly.was found, causing apache2 to not work properly.</li><li>The issue was saved by removing that typo and restarting server.</li></ul><p><strong>Corrective and preventative measures:</strong></p><ul><li>Setting files should not have write permissions for anyone else than the SRE, in order to avoid injection of small typos like the one that was experienced in this incident.</li><li>Change permissions on /var/www/html/settings.php to read-only for the team.</li><li>Read carefully all setting files to look for other typos of that type.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b05736ff3488" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A]]></title>
            <link>https://jean-vic8.medium.com/a-68c8643ac07d?source=rss-a3995c015d45------2</link>
            <guid isPermaLink="false">https://medium.com/p/68c8643ac07d</guid>
            <dc:creator><![CDATA[Jean Victoria]]></dc:creator>
            <pubDate>Tue, 26 Nov 2019 04:52:49 GMT</pubDate>
            <atom:updated>2020-03-07T21:43:27.030Z</atom:updated>
            <content:encoded><![CDATA[<h3>One net, one body. Internet of Things (IoT)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/0*42jhcvHEGue9DlD5.jpg" /><figcaption>Iot</figcaption></figure><h4>The Internet of Things (IoT) is a network of physical objects, which have sensors, software and different technologies that allow them to connect and exchange data between devices and systems using the Internet. The range of objects is wide and varied for domestic and industrial use. In short, they are things that communicate.</h4><p>Although the idea is not new, today it is possible thanks to the convergence of different technologies, such as cloud computing platforms, which allow access to an infrastructure that expands the capacity to execute projects without having to manage everything; machine learning and analysis that facilitates the analysis of considerable amounts of data; artificial intelligence which makes it possible to make sense of the amount of data in an efficient and effective manner; the availability of sensor technology at low cost and power which allows the application to be scalable for various economic sectors; and connectivity with high availability which allows the distribution and immediacy of the data collected by the sensors.</p><p>This allows applications to be as large or small as needed or desired, hence it can be classified according to their application, Internet of Things (Iot) for domestic use and Industrial Internet of Things (IIoT) which refers to the application of Iot technology in industrial environments, especially with automation, instrumentation and control of sensors communicating machines with machines (M2M) wirelessly, which some call the fourth industrial revolution or industry 4.0 because they have allowed companies to find new business models.</p><p>Some examples of these new business models and / or applications are smart manufacturing, smart cities, smart digital supply chains, preventive and predictive maintenance, wereables and autonomous cars.</p><p>In short, IoT’s ability to provide sensor data as well as communicate devices provides an unimaginable space to create in a wide spectrum of applications. Therefore, it is pertinent to mention and explain some of its most used applications.</p><p>More efficient manufacturing, through the supervision of machines that can analyze continuously and in real time to ensure that the quality of the products is within the required parameters and thus more quickly address quality defects.</p><p>Asset tracking, which allows companies to determine the location of assets, ensuring that high-value assets are protected against theft.</p><p>Wearebles, which accompany us in the form of accessories or clothing to analyze our health or environmental conditions, allowing us to better understand our own health and notify remotely to the doctors of our state. In another approach, it allows employers to track the health and safety of their employees.</p><p>Improving existing processes drives efficiencies and new possibilities for processes within companies by measuring and comparing metrics with respect to decisions made at one time or another.</p><p>Change of business models, causing companies that used to sell products to provide a service, where customers no longer have the need to buy a product but to pay for its use.</p><p>According to the above, this question arises What industries can benefit from IoT? To which we can answer that organizations that need sensors in their business processes. But not only can it transform private organizations, what about public? cities?</p><p>Yes, perhaps the greatest contribution of IoT can be for the public, for our government systems, for our environment, for our cities. Have you heard about smart cities? Perhaps now would be a good time to do so. Imagine all the things we have talked about, the automation in companies, the productivity, the quality, but not to produce but to optimize resources, to live better.</p><p>For this, the IoT must intervene in our transport, in our markets, in our public services, in our spaces. Our cars, for example, must be able to detect anomalies while on the road and give recommendations and detailed information about the situation of the car, it must also allow that with the information collected can be made increasingly safe cars; As for the transport and logistics systems, they will be able to optimize the routes of cars, trucks, ships and trains to be redirected according to the incidents in accordance with the atmospheric conditions, the availability of vehicles or availability of operators, the inventories and goods will have to be georeferenced for their tracking and location, to finally reach the retail distribution and thus be able to manage the inventory, improve the customer experience, optimize the supply chain and reduce operating costs, through intelligent shelves equipped with sensors that allow to detail the status of the shelves.</p><p>Interestingly enough, benefits in the public sector and other service-related environments have their own variety of applications. For example, government utilities can use IoT applications to notify citizens of massive outages or even small interruptions in water, electricity or sewage services, but not only do they allow notification, they can also help anticipate the extent of a service outage and plan the deployment of resources to get public services back up and running more quickly.</p><p>It all sounds so wonderful, it’s like living in a futuristic movie, but it brings with it multiple factors of privacy and security, which in most technological applications are not taken into account. There is too much data coming and going from one place to another and still no regulations on it, one of the biggest problems of this technology, undoubtedly. In addition, there is a lack of standardization of protocols, low or no software updates in the sensors deployed in the field, different hardware versions, security gaps in the architecture and infrastructure of IoT systems, among others.</p><p>According to the OWASP Foundation (Open Web Application Security Project) and its “IoT Top 10 2018” as part of its Internet of Things focused project lists in a document the top 10 security issues associated with IoT.</p><ol><li>Weak, predictable or in-code passwords</li><li>Unsecured network services</li><li>Unsafe Interface Ecosystem</li><li>Lack of secure upgrade mechanisms</li><li>Use of unsafe or outdated components</li><li>Insufficient privacy protection</li><li>Unsecured data transfer and storage</li><li>Lack of management controls</li><li>Unsecured configuration by default</li><li>Lack of hardeningno</li></ol><p>But perhaps the most vulnerable is the lack of hardening that clogs up the physical devices, which prevents the system attackers from taking advantage of this vulnerability, and can access them on site and exploit the data found, and even access from them to the entire system.</p><p><strong>Sources</strong></p><p><a href="https://aws.amazon.com/es/iot/"><strong>Internet de las cosas</strong></a></p><p><a href="https://es.wikipedia.org/wiki/Internet_de_las_cosas">https://es.wikipedia.org/wiki/Internet_de_las_cosas</a></p><p><a href="https://www.oracle.com/co/internet-of-things/what-is-iot.html"><strong>¿Qué es Internet of Things (IoT)?</strong><br> <em>En los últimos años, IoT se ha convertido en una de las tecnologías más importantes del siglo XXI. Ahora que podemos…</em>www.oracle.com</a></p><p><a href="https://aws.amazon.com/es/iot/"><strong>Internet de las cosas | Plataforma como servicio | AWS IoT</strong><br> <em>Descubra qué es el Internet de las cosas. Explore en las cosas, Internet y la conectividad y encuentre cómo cerrar la…</em>aws.amazon.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68c8643ac07d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine learning. Grandmoth!]]></title>
            <link>https://jean-vic8.medium.com/machine-learning-grandmoth-2f245d808706?source=rss-a3995c015d45------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f245d808706</guid>
            <category><![CDATA[grandmother]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Jean Victoria]]></dc:creator>
            <pubDate>Thu, 24 Oct 2019 22:44:16 GMT</pubDate>
            <atom:updated>2019-10-25T22:55:00.966Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*xIt5C_6Z77G1ccTVwwt-sg.png" /><figcaption><a href="https://www.instagram.com/futurismcartoons/">https://www.instagram.com/futurismcartoons/</a></figcaption></figure><p>Hey, Grandma, I didn’t meet you. But if you were alive, I would tell you that nowadays we teach machines as we teach children, only that they learn very quickly, there are many of them and they don’t forget. We teach them to imitate us, in our “intelligent” behaviors, such as driving, analyzing patterns, recognizing voices or winning a logical game, among other tasks that require cognitive ability, even if they only imitate us. But they are still somewhat clumsy, they are very good at specific tasks but lack multitasking and adaptation to diverse contexts. However, you can’t guess, they’re starting to learn for themselves, just like a child who says: Why? All through experience, like us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*mzBsHxeziG3fmNKHo6zzhQ.png" /><figcaption><a href="https://www.instagram.com/futurismcartoons/">https://www.instagram.com/futurismcartoons/</a></figcaption></figure><p>Grandma, do you remember why you had so many children? Seven? Now, look at your daughters who on average had two, and what do you think of your granddaughters? Could it be that they have one son? As you can see, they have less and less, they have learned from your experience (data mining), right? they have extracted knowledge from your data, like your time, your circumstances, your life, they have really learned about it, they have advanced. And believe me, they are not only based on your experience, but on that of all the grandmothers they know, and not because your experience is bad, they need to cross more data to generate information they can classify, otherwise they will not have enough information to predict (Mathematics and statistics) and decide their future, so now they have more time to be, to progress, and especially not to depend. It’s incredible! Right? Grandma, that’s Machine Learning. Do you understand me? You’ve been smart, haven’t you?</p><p>That is what we are doing with machines, we are discovering the path that brings us closer to being truly intelligent, to being able to learn in context, to not being imitated, to being able to conclude while learning to learn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*--gzNtR_XhEgDyyNij_YFQ.png" /><figcaption><a href="https://www.instagram.com/futurismcartoons/">https://www.instagram.com/futurismcartoons/</a></figcaption></figure><p>And since I’ve caught your attention, what do you think if we take it to the present, as if you were here with me. I tell you that since you passed away, fabulous things have happened like the internet and computers, increasingly smaller and more powerful, which has allowed information to travel faster and anywhere, so fast grandma that she would see you first on the internet than in person. Imagine the same in just about anything you can think of.</p><p>There is so much data, but so much data, so many things but so many things that neither you nor I can handle in our lives, and perhaps not where you are now. But the surprising thing about our species is that it always has a creative way of solving problems that are beyond its reach (at least in a physical way and in terms of calculation capacity), and generating solutions with the creation of technology, a word that has gained a lot of relevance in the last three decades, because it has advanced exponentially since your departure.</p><p>You wonder why I exaggerate and make so much emphasis on the data and its processing, what I can tell you is that it is about the data that gestate the machine learning and therefore the artificial intelligence. We have reached a point where the capacity for storage, calculation, technology and applications have converged, allowing us to glimpse the potential that this concept has in the evolution of our species, as part of an extension of the capacity for human reasoning. But don’t panic like everyone else, I ask you to. It is only part of our evolution. We are creating a way to process patterns faster and more reliably, something we have always done, or you are going to tell me that you do not remember the patterns you saw in the grandfather, and especially because you chose it. You trusted him, you believed in a future together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*yl5yVvywMCtKXJXt__NxLQ.png" /><figcaption><a href="https://www.instagram.com/futurismcartoons/">https://www.instagram.com/futurismcartoons/</a></figcaption></figure><p>Well, that ability to see the future that you had with your grandfather, is what we are building with machine learning for machines, and we will probably achieve it, perhaps if we can make them intelligent. And the fact that we can give them the faculty to visualize the future does not mean grandmother that they determine it. Just like us, just like your daughters and granddaughters, they always depend on data.</p><p>It is in this dependence on data that mathematics takes on great relevance and gives meaning to the pattern that insinuates you from your grandfather, for nothing is more effective than mathematics in our understanding of reality and patterns. For it is in these, as a language of the known universe, that it is possible for now to describe reality and create others.</p><figure><img alt="https://www.instagram.com/futurismcartoons/" src="https://cdn-images-1.medium.com/max/598/1*ocJ7c6J06lrpzs8dDgHn-g.png" /><figcaption><a href="https://www.instagram.com/futurismcartoons/">https://www.instagram.com/futurismcartoons/</a></figcaption></figure><p>It is only natural that we are afraid that a machine can learn something for which it was not programmed, we have been the only ones until now, of course it is scary to be creating something in your image and likeness and that I failed you, what will God think of all this? Could it be that he had as much fear and doubts as we did? Or are we literally reinventing ourselves? I know you don’t know, grandmother, I don’t think any of us do, but this idea already lives with us, and that’s why I wanted you to understand it. Even from your cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*mWR5blTTM8ZGeYNW7gphrQ.png" /><figcaption><a href="https://www.instagram.com/futurismcartoons/">https://www.instagram.com/futurismcartoons/</a></figcaption></figure><p>Since we understand the concept, which I have narrated in a figurative way from other scenarios and which I hope I have been able to transmit in such a way, that if you imagine the world of possibilities before us. Think of some, and let me insinuate one of those possibilities, probably subjective and obvious, but perhaps the most conclusive from my point of view, the possible replica of a human being.</p><p>Don’t look at me like that, grandmother, in my opinion, and based on literature and science fiction films, we have achieved each general concept to replicate a human being (at least in the only thing that differentiates us from other beings, the ability to learn), how would you say, according to my mother: “Time to time”. And so it is, make a fast and senseless parallel of the elements that allow our learning and machine learning: eyes to cameras (and so on with other senses and sensors), body to IOT (Internet of Things), brain to artificial intelligence, experience to data, and so on.</p><p>If you start to think and extrapolate our history, it seems that it will be like that, it is only a matter of time, of solving each question, of consolidating each concept, of building it, of having the resources. Really think about it.</p><p>Finally, and to let you rest in peace, wherever you are, I hope optimistically that you have more understanding of this space-time that I inhabit, and so, you could tell me if there is any possibility that we are a product of ourselves. I await your whatsapp.</p><h3>References</h3><ul><li>Understanding Machine Learning — <a href="https://futurism.com/images/understanding-machine-learning-infographic">https://futurism.com/images/understanding-machine-learning-infographic</a></li><li>What is machine learning? — <a href="https://www.youtube.com/watch?v=WXHM_i-fgGo">https://www.youtube.com/watch?v=WXHM_i-fgGo</a></li><li>The Difference Between Artificial Intelligence, Machine Learning, and Deep Learning — <a href="https://medium.com/iotforall/the-difference-between-artificial-intelligence-machine-learning-and-deep-learning-3aa67bff5991">https://medium.com/iotforall/the-difference-between-artificial-intelligence-machine-learning-and-deep-learning-3aa67bff5991</a></li><li>Holberton Concept page: Artificial Intelligence, Machine Learning, and Deep Learning</li></ul><h3>Images</h3><ul><li><a href="https://www.instagram.com/futurismcartoons/">https://www.instagram.com/futurismcartoons/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f245d808706" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What happens when you type ls -l in the shell.]]></title>
            <link>https://jean-vic8.medium.com/what-happens-when-you-type-ls-l-in-the-shell-9f59fbc4be09?source=rss-a3995c015d45------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f59fbc4be09</guid>
            <category><![CDATA[c]]></category>
            <category><![CDATA[low-level-programming]]></category>
            <category><![CDATA[holberton-school]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[shell]]></category>
            <dc:creator><![CDATA[Jean Victoria]]></dc:creator>
            <pubDate>Wed, 28 Aug 2019 21:36:04 GMT</pubDate>
            <atom:updated>2019-08-28T21:36:04.857Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*2cOWrJmc-BvvfblzUODIHw.png" /><figcaption>command example “ls -l”</figcaption></figure><p>This blog describes the step-by-step of what happens when you type ls -l and press enter in the shell.</p><p>For us to write and execute a command like: ls -l in the shell terminal there must be a shell terminal. It seems obvious, but there’s more. In the shell terminal you type the command and start the show. But what is the shell terminal?</p><h3>The shell.</h3><p>The shell is a program that allows users to interact with the system by processing commands. Commands invoked from the shell can be classified as internal (they actually correspond to commands interpreted by the shell itself) and external (they correspond to executable files external to the shell). In addition to commands, shells offer other elements to improve their functionality, such as variables, functions or control structures. The set of internal commands and elements available, as well as their syntax, will depend on the specific shell used.</p><p>In other words, it is the outermost layer of an operating system, this layer listens to the user through commands and tells the machine what to do executing calls to the system.</p><h3>General operation of the shell.</h3><p>Shell language is an interpreted language, in which lines of text (ending in \n) are read, analyzed and processed. The lines to be interpreted are read from:</p><ul><li>The standard entry (default keyboard). In this case the shell is said to be an interactive shell.</li><li>A shell-script file.</li><li>The arguments, with the -c option when running the shell. Example: bash -c “ls -l”</li></ul><p>With the lines read, the shell performs the following steps (in this order):</p><ol><li>The lines are divided into different elements: words and operators. The elements are separated using spaces, tabulators and operators. The # character is used to include a comment, which is removed from the processing.</li><li>A distinction is made between simple commands, compound commands, and function definitions.</li><li>Different expansions and substitutions are made (see below). It detects the command to be executed and the arguments that will be passed to it.</li><li>The input/output redirections are performed and the elements associated with the redirections are removed from the list of arguments.</li><li>The executable element is executed, which could be a function, an internal shell command, an executable file or a shell-script, passing the arguments as positional parameters.</li><li>Optionally, wait for the command to finish and save the output code.</li></ol><p>When typing commands from the keyboard and trying to enter an item that consists of more than one line, once you type the first line and press Enter, the shell will display the secondary prompt for request for order &gt; (instead of the prompt), prompting you to continue typing the item. When the interpreter completes the input of the element, it will interpret it, displaying the command line prompt again. If you use the ↑ cursor to try to see the command entered, you will generally see how the shell has rewritten the entry to apply the syntax with which the entire element is written on a single line. If you want to cancel the entry of a line (or lines) without deleting what has been written, you can press Ctrl-C.</p><p>However there are three important things, initialize, interpret and terminate.</p><p><strong>Initialize</strong>: The configuration files are usually read and executed.</p><p><strong>Interpret: </strong>The standard input commands are read at the line prompt and executed them.</p><p><strong>Terminate: A</strong>fter executing the commands, executes the shutdown commands, frees memory and ends.</p><p>But really the most important thing happens in the Interpret, which implements an infinite loop, which does the following: It reads the command from the standard input, makes a parse separating the command string into a program and arguments to finally execute the analyzed command.</p><p>Now focusing on our ls command and contextualizing it within what we just said, ls means “list”, and according to the manual, lists information about the files in the current directory by default.</p><h3>Split command by tokens.</h3><p>We enter a string, but for the execution in the shell you need the parts of this line separated. So the shell separates it into tokens. In other words, it separates each word and puts it in an array of strings. You can implement this behavior in getline and strtok.</p><h3>Check alias.</h3><p>Bash aliases are those that allow you to set a shortcut command for a longer command. They have the following structure.</p><p>alias [alias_name]=”[command_to_alias]”</p><p>Bash aliases are those that allow you to set a shortcut command for a longer command. They have the following structure.</p><p>After implementing the structure of the alias, when using it, below the shell will exchange the command introduced as alias by the real command with the corresponding arguments for its correct execution.</p><h3>Finds the command in the PATH.</h3><h3>- Call the program ls with -l</h3><ul><li>Fork: creates a child process (pid), when the function is called, for which the operating system duplicates the process being executed, running simultaneously. In order to differentiate them, the original process is called parent and the new process is called child.</li><li>Execve: Performs the execution of the program, for this the executables of the programs replace the parent program that is currently running by the new child program, for this the operating system stops the process, loads the new program and starts it.</li><li>Wait: Stops the parent process while the running child process ends.</li></ul><h3>When the “ls -l” command is done, print the prompt.</h3><p>The prompt is the character or characters that indicate that the terminal is ready to receive a new command. Which prints the standard output (Stdout: default file descriptor [1] where a process can write the output.)</p><h3>Wait for a new command.</h3><p>In this step of the command execution process the loop starts again, so the shell is waiting for a user input at the prompt.</p><p>That’s all.</p><h3>Notes.</h3><ul><li>Expand, Break, Alias, Built-ins, Path, Call, Prompt and Command. E BAB PC PC</li><li>This blog was written for the final project of the first quarter of the <a href="https://www.holbertonschool.com/">Holberton School</a> curriculum for Full stack software engineering.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f59fbc4be09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What happens when you type gcc main.c]]></title>
            <link>https://jean-vic8.medium.com/what-happens-when-you-type-gcc-main-c-e872b10da5bc?source=rss-a3995c015d45------2</link>
            <guid isPermaLink="false">https://medium.com/p/e872b10da5bc</guid>
            <dc:creator><![CDATA[Jean Victoria]]></dc:creator>
            <pubDate>Thu, 20 Jun 2019 04:05:26 GMT</pubDate>
            <atom:updated>2019-06-20T04:05:26.696Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>Use gcc as the compiler</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e872b10da5bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decimal to Hexadecimal]]></title>
            <link>https://jean-vic8.medium.com/decimal-to-hexadecimal-530a5b122a54?source=rss-a3995c015d45------2</link>
            <guid isPermaLink="false">https://medium.com/p/530a5b122a54</guid>
            <dc:creator><![CDATA[Jean Victoria]]></dc:creator>
            <pubDate>Mon, 17 Jun 2019 23:41:58 GMT</pubDate>
            <atom:updated>2019-06-17T23:41:58.553Z</atom:updated>
            <content:encoded><![CDATA[<p>ls *.c</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=530a5b122a54" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>