<?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 Daniela S. Alzate on Medium]]></title>
        <description><![CDATA[Stories by Daniela S. Alzate on Medium]]></description>
        <link>https://medium.com/@daniela-s-alzate?source=rss-6e9935003d13------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GShUVLk489V4INFH0oCDtw.jpeg</url>
            <title>Stories by Daniela S. Alzate on Medium</title>
            <link>https://medium.com/@daniela-s-alzate?source=rss-6e9935003d13------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:21:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@daniela-s-alzate/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[Concepts To Understand Big Data part 2]]></title>
            <link>https://daniela-s-alzate.medium.com/concepts-to-understand-big-data-part-2-6ed17f433855?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ed17f433855</guid>
            <category><![CDATA[5v]]></category>
            <category><![CDATA[fundamentals]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Thu, 24 Mar 2022 04:51:42 GMT</pubDate>
            <atom:updated>2022-03-24T04:51:42.181Z</atom:updated>
            <content:encoded><![CDATA[<p>In the previous post, <a href="https://daniela-s-alzate.medium.com/concepts-to-understand-big-data-part-1-d2a9d959a217">Concepts To Understand Big Data part 1</a>, I talked about the different types of data and their storage, now I’m going to talk about the main characteristics of data in Big Data technologies.</p><p>The most important characteristics of data in Big Data can perfectly be classified into six , better known as the six V’s of Big Data. Let’s see a little bit about them.</p><h4><strong>1. Volume</strong></h4><p>The first characteristic is the volume of the data, this means the amount of data that exists and which will be processed. Remember that when we talked about Big Data we refer to a huge amount of data, we can talk about terabytes or petabytes that’s why the traditional technologies can’t process quickly that amount of information.</p><h4><strong>2. Velocity</strong></h4><p>Velocity is one of the most important aspect of Big Data, this refers to how quickly data is generated. For example, just imagine how many posts could be made on Instagram or Facebook per minute? A lot, right, that’s why for companies is very important to have a quickly data to flow, so the information that they need It’s available at the right times to make the best business decisions possible.</p><h4><strong>3. Variety</strong></h4><p>Variety refers to the diversity of data types such as text, images, audios, etc and also be classified by unstructured, semi-structured or structured as explained in the previous post. It’s important to have in mind that the data might be obtain it from different number of sources inside or outside the companies. For example, you can extract public government information and use it inside your company. the challenge in variety concerns the standardization and distribution of all data being collected.</p><h4><strong>4. Veracity</strong></h4><p>It refers to the quality and accuracy of data. Gathered data could have missing pieces, may be inaccurate or may not be able to provide real, valuable insight. Veracity, overall, refers to the level of trust there is in the collected data. Both value and veracity help define the quality and insights gathered from data.</p><h4><strong>5. Value</strong></h4><p>This refers to the value that big data can provide, and it relates directly to what organizations can do with that collected data. Being able to pull value from big data is a requirement, as the value of big data increases significantly depending on the insights that can be gained from them. Companies can use the same big data tools to gather and analyze the data, but how they derive value from that data should be unique to them.</p><h4>6. Visualization</h4><p>It refers to the explanation and representation of data through graphs or diagrams. Nowadays data visualization is very important, using charts and graphs to visualize large amounts of complex data is much more effective and accurate in conveying meaning than spreadsheets or slides.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ed17f433855" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Concepts To Understand Big Data part 1]]></title>
            <link>https://daniela-s-alzate.medium.com/concepts-to-understand-big-data-part-1-d2a9d959a217?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2a9d959a217</guid>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Mon, 07 Feb 2022 01:11:48 GMT</pubDate>
            <atom:updated>2022-02-07T01:11:48.054Z</atom:updated>
            <content:encoded><![CDATA[<p>Nowadays, it is very common to hear companies talk about the concept of Big Data, but <em>what is Big Data?</em>, well, Big Data is the massive analysis of data, a quantity of data so extremely large and it is expected that still growing exponentially in the future time. Processing this amount of data with traditional software it is impossible or too slow of capturing, treating and give value in a reasonable time to the business areas.</p><p>This massive amount of data must be organized and prepared to be processed for that we use three terms: structured, unstructured and semi-structured data. Let’s see a little bit what each one refers to.</p><p><strong>Structured Data</strong></p><p>Structured data is a term to refer to all information which had a schema of data defined, this means it’s organized by a series of well-defined rows and columns, where all rows has the same set of columns and unique identifiers for every row.</p><p>This kind of data doesn’t require a previous cleaning or preparation process, this data can be used as a reliable source. For example, the SQL(<strong>S</strong>tructured <strong>Q</strong>uery <strong>L</strong>anguage) programming language use structured data to execute queries in Related Databases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*o68R_W0bL1XebHl2j61fPg.png" /><figcaption>Structured Data</figcaption></figure><p><strong>Semi-Structured Data</strong></p><p>Semi-Structured data is a term to refer to any information doesn’t have a well-defined row/columns schema but still have some <strong><em>key-value</em></strong> structure in it. It’s possible to find that no all values have the same value type or even the same keys that’s why for this kind of data is required a previous cleaning or preparation.</p><p>An example of semi-structured data a JSON, XML or YAML file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*KyNFT1xf6wOgwFvh09atGA.png" /><figcaption>Semi-Structured Data</figcaption></figure><p><strong>Un-structured Data</strong></p><p>Unstructured Data is a term to refer to any data with unknown schema. This data cannot be fit it to the standardized rows and columns or used in a traditional database. This is the most common data in technology world and due to their huge size, Un-structured data generate multiple challenges in terms of its processing for deriving value out of it.</p><p>Some examples could be: an application data, log files such as .ini or .dll, data from social networks or from platforms, location data, telephone recordings, texts, images, audios, videos files.</p><p>All organizations that start in the Big Data world have a place where they store data, whether it is structured, semi-structured or un-structured. This place can have two names Data Lake or Warehouse. Let’s see a little about these two important concepts.</p><p><strong>Data Lake</strong></p><p>Data Lake is an environment of shared data in its original format that comprises multiple repositories. The Data Lake uses a flat architecture to store the data, that is, the information is stored in a multitude of flat files that are not processed until their use is necessary.</p><p>Most companies have digitized data distributed throughout all areas of the organization, and sometimes it happens that each employee has their data located but not others, using a Data Lake the companies have just one place to storage the data.</p><p><strong>Data Warehouse</strong></p><p>A Datawarehouse is a corporate database that is characterized by integrating and purifying information from one or more different sources, to later process it, allowing it to be analyzed from an infinite number of perspectives and with great response speeds. The creation of a data warehouse represents in most cases the first step, from a technical point of view, to implement a complete and reliable Business Intelligence solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2a9d959a217" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Linux?]]></title>
            <link>https://daniela-s-alzate.medium.com/what-is-linux-4d4c8a9f627b?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d4c8a9f627b</guid>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Tue, 09 Nov 2021 04:20:37 GMT</pubDate>
            <atom:updated>2021-11-09T04:20:37.281Z</atom:updated>
            <content:encoded><![CDATA[<p>Linux is a free-to-use operating system, an operating system manages the communication between your software and your hardware. Linux was developed by Linus Trovals, who is a software engineer of the Helsinki University.</p><p>On October 5 in 1991, Linus announced the first official version of Linux (version 0.02), which it was built based on Minix developed by Andrew Tanenbaum and which incorporated many functionalities at the time and most popular operating system Unix. With this version Linus was able to run Bash (GNU Bourne Again Shell) and gcc (The GNU C Compiler), because he used the GNU development tools to produce the Linux kernel, completing a complete and operating GNU system, this allowed to execute commands and control the system.</p><p>Since then Linux Kernel is developed from different developers around the world, in 1992, for example, there were only 100 people working on it, but in 2010 there were already 1000 people working on it.</p><p>Linux is widely used across the globe, it’s used in numerous software applications such as smartphones, in fact, Android, the current most popular mobile operating system, was based on a modified version of the Linux kernel. It also use for cars applications, home desktops, IoT (Internet of Things) and enterprise servers. Actually, Linux is leading the operating system on servers due to its reliability and scalability.</p><p>Linux adopted the GPL (<strong>G</strong>eneral <strong>P</strong>ublic <strong>L</strong>icense), this license was originally written by Richard Stallman, who create GNU Operating System as Unix alternative.</p><p>It is based on the following:</p><ul><li>The freedom to run the program, for any purpose.</li><li>The freedom to study how the program works, and change it to make it do what you wish.</li><li>The freedom to redistribute copies so you can help your neighbor.</li><li>The freedom to distribute copies of your modified versions to others.</li></ul><p>The Linux Kernel is made up of 6 main parts:</p><ol><li><strong>Bootloader : </strong>The software that manages the boot process of your computer. For most users, this will simply be a splash screen that pops up and eventually goes away to boot into the operating system.</li><li><strong>Kernel: </strong>The kernel is the lowest level of the OS. This is what it’s called Linux. The kernel is the core of the system and manages the CPU, memory, and peripheral devices.</li><li><strong>Init system : </strong>This is a sub-system that bootstraps the user space and is charged with controlling daemons. It is the init system that manages the boot process, once the initial booting is handed over from the bootloader, for example GRUB(<strong>GR</strong>and<strong> U</strong>nified <strong>B</strong>ootloader).</li><li><strong>Daemons : </strong>These are background services such as printing, sound, scheduling, etc. That start up during boot or after you log into the desktop.</li><li><strong>Graphical server: </strong>This is the sub-system that displays the graphics on your monitor.</li><li><strong>Desktop environment:</strong> This is the piece that the users actually interact with. There are many desktop environments to choose from GNOME, Cinnamon, Mate, Pantheon, Enlightenment, KDE, Xfce, etc.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d4c8a9f627b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Bash Terminal Commands]]></title>
            <link>https://daniela-s-alzate.medium.com/linux-commands-c750c545d7df?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/c750c545d7df</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Sun, 07 Nov 2021 04:25:16 GMT</pubDate>
            <atom:updated>2021-11-07T04:25:57.064Z</atom:updated>
            <content:encoded><![CDATA[<p>Linux is a free-to-use operating system, in its beginnings, it was developed by Linus Trovals in the 1991. But currently, the Linux Kernel is developed from different developers around the world. Linux is widely used across the globe, it’s used in numerous software applications such as smartphones, cars, home desktops, IoT (Internet of Things) and enterprise servers. Actually, Linux is leading the operating system on servers due to its reliability and scalability.</p><p>One of the most remarkable advantages of Linux is its terminal. Linux has a very complete <strong>Bash </strong>terminal, from which you can control all the system. For example, you can create and remove files or directories, set up network connection, monitoring system performance, etc. The <strong>Bash </strong>terminal (Stands for <strong>B</strong>ourne<strong> A</strong>gain <strong>SH</strong>ell) is the most used shell by most of Linux distributions and allows to executes commands and create scripts. A Script is a file that contains a set of commands that will be executed in sequence.</p><p>In this post, I will show you some of the most common commands.</p><h4>File System Commands</h4><ol><li><strong>ls: </strong>This command is used to list in alphabetical order the files or folder.</li><li><strong>cd: </strong>With this command, you can navegate between folders.</li><li><strong>pwd: </strong>It stands for<strong> P</strong>rint<strong> W</strong>orking <strong>D</strong>irectory, this command will show you the current path where you are.</li><li><strong>mkdir: </strong>This command is used to create a folder.</li><li><strong>rm: </strong>This command is used to delete a file or folder.</li><li><strong>cp: </strong>This command is used to make a copy of a file or folder.</li><li><strong>mv: </strong>This command is used to move a file or folder to another path.</li><li><strong>touch: </strong>This command is used to create a empty file.</li><li><strong>cat: </strong>This command is used to get the content of a file.</li><li><strong>tar: </strong>This command is used to compressed archives which contain a file or folder.</li></ol><h4>System Info</h4><ol><li><strong>date: </strong>This command is used used to display the system date and time.</li><li><strong>uptime: </strong>This command is used to find out how long the system is running.</li><li><strong>whoami: </strong>This command is used to show the user who is login in.</li><li><strong>cat /proc/cpuinfo: </strong>This command is used to get the información f the hardware of your computer like microprocessor (vendor_id), model (model name) or speed (CPU MHz).</li><li><strong>cat /proc/meminfo: </strong>This command is used to show the current use of RAM in the system.</li><li><strong>uname: </strong>This command is used to show linux system information.</li></ol><h4>Processes</h4><ol><li><strong>ps: </strong>This command is used to show file system process information.</li><li><strong>kill: </strong>This command is used to stop a process of the system.</li></ol><h4>Networking</h4><ol><li><strong>ping: </strong>This command is used to verify connectivity to a server.</li><li><strong>wget: </strong>This command is used to download files.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c750c545d7df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 YouTube Channels to Learn Programming]]></title>
            <link>https://daniela-s-alzate.medium.com/5-youtube-channels-to-learn-programming-c69e71b55f47?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/c69e71b55f47</guid>
            <category><![CDATA[channel]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[youtube]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Sun, 19 Sep 2021 01:35:15 GMT</pubDate>
            <atom:updated>2021-09-20T21:55:05.666Z</atom:updated>
            <content:encoded><![CDATA[<p>Nowadays, It has never been so easy to learn something, you only need to search on the internet and many high-quality resources will appear. One of the best sources of tutorials is YouTube, That is why in this post I will recommend you ten Youtube channels from which you can learn programming.</p><h4><a href="https://www.youtube.com/c/Freecodecamp/featured">freeCodeCamp.org</a></h4><p>This channel offer a great variety of videos from learning programming languages such as Python, PHP and C# to Deep Learning, Mathematics and computer science concepts. It had also a <a href="https://www.freecodecamp.org/learn">web page</a> when you can find certificates and courses.</p><blockquote>“Our mission: to help people learn to code for free. We accomplish this by creating thousands of videos, articles, and interactive coding lessons — all freely available to the public. We also have thousands of freeCodeCamp study groups around the world.”</blockquote><blockquote><a href="https://www.freecodecamp.org/learn">https://www.freecodecamp.org/learn</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*K3dKR4v2i6dq8u3NFzzvew.png" /><figcaption>freeCodeCamp.org</figcaption></figure><h4><a href="https://www.youtube.com/c/programmingwithmosh/featured">Programming with Mosh</a></h4><p>The channel is owned by Mosh Hamedani, who is a software engineer with 20 years of professional experience. In this channel, you will find a variety of videos from an Angular, Node, React to programming languages such as Java, Python and C# tutorials. The channel has almost 2M subscribers and he had already creating a <a href="https://codewithmosh.com/">web page</a> where you can also find awesome programming courses.</p><blockquote>“My mission is to make coding and software engineering accessible to everyone through courses that are simple to digest, and practical to implement”. <a href="https://programmingwithmosh.com/">https://codewithmosh.com/</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*-IpNMbcD2ATfzKVbcR3x6Q.png" /><figcaption>Programming with Mosh</figcaption></figure><h4><a href="https://www.youtube.com/c/ProgrammingKnowledge/featured">ProgrammingKnowledge</a></h4><p>This channel offer free tutorials with practical examples for programming languages Java, C++, C, C#, Javascript, Python and tutorial of some web development framework like Django, Flask, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*JnR3ksTAq_-NvYkppZle2w.png" /><figcaption>ProgrammingKnowledge</figcaption></figure><h4><a href="https://www.youtube.com/c/derekbanas/featured">Derek Banas</a></h4><p>This channel specializes in make short videos and compact lessons for fast learning. It has a very popular playlist “Learn JavaScript in 30 Minutes”. In this channel you can also find great variety of videos from learn programming languages such as PHP, JavaScript, Python and Ruby to vegan recipes and sale techniques.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*7gkBMbRYA9q0rWMLXErxgw.png" /><figcaption>Derek Banas</figcaption></figure><h4><a href="https://www.youtube.com/c/learncodeacademy/featured">LearnCode.academy</a></h4><p>In this channel, you will find everything you need to learn Web Development. Including, HTML, CSS (with Layouts), JavaScript, React.js, Node.js and Angular.js. It had also some videos of responsive design and server administration. Something I really like from this channel it is the roadmap videos, where you can know what do you need to becoming a web developer and how to move foward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*dE065rk2sYTsODqq8-sa-Q.png" /><figcaption>LearnCode.academy</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c69e71b55f47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HDFS Architecture]]></title>
            <link>https://daniela-s-alzate.medium.com/hdfs-architecture-566c40da3f95?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/566c40da3f95</guid>
            <category><![CDATA[hdfs-architecture]]></category>
            <category><![CDATA[apache-hadoop]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hdfs]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Fri, 17 Sep 2021 01:14:20 GMT</pubDate>
            <atom:updated>2021-10-29T13:52:32.563Z</atom:updated>
            <content:encoded><![CDATA[<p>HDFS stands for <strong><em>H</em></strong>adoop<strong><em> D</em></strong>istributed <strong><em>F</em></strong>ile<strong><em> S</em></strong>ystem. HDSF is part of the core of <a href="http://hadoop.apache.org/">Apache Hadoop</a> and it was designed to storage large quantities and big sizes of structured, unstructured and semi-structured data. This means any type of information can be storage such as images, videos, text, etc.</p><p>Like any File System, HDFS has a traditional hierarchical file organization, making possible to an user or an application create, modify, delete or read files or folders and had files inside these folders. In HDFS the administrator can configurate user quotas, access permissions and some paths and names following the <a href="http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/filesystem/model.html#Paths_and_Path_Elements">naming convention of the FileSystem</a>. In HDFS some paths and names (e.g. /.reserved and .snapshot ) are reserved, that is why is very important to check the conventions.</p><p>HDFS is based on a leader/follower or also know as master/slave architecture, which is composed of a single NameNode and an arbitrary number of DataNodes and it is designed to be deployed on low-cost hardware.</p><p><em>NameNode </em>is the leader or master node that it is in charge of managing and regulating access to files and metadata. A file is split into one or more blocks and these blocks are stored in a set of DataNodes. The metadata contains information about the blocks and their location in the DataNodes.</p><p><em>DataNodes </em>is the follower or slave node, which have the responsibility of storing and retrieving the blocks of information. The DataNodes replicated by default 3 times the blocks to guarantee fault tolerance with instruction from the NameNode.</p><p>In HDFS has an other server role not so common, but very useful which is called the Secondary Name Node. This provides a housekeeping service to the NameNode. This means that occasionally the Secondary Name will be connect to the NameNode by default every hour and combines its metadata information with the NameNode’s metadata information and synchronized in both nodes the metadatainformation. This guarantees that if in any moment the Name Node die the files retained by the Secondary Name Node can be used to recover the cluster. It’s highly recommend to change the default configuration of the connection with the NameNode according to the business need, because leaving the default configuration may cause a loss of data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*dpb8mFKzwlVzIjr5PtX20A.png" /><figcaption>HDFS Architecture</figcaption></figure><p>Due to its architecture and the techniques of replicated in multiple nodes the information this make HDFS highly fault-tolerant and high-speed processing. HDFS works on models “Write Once, Read Many” and “Moving Computation is Cheaper Than Moving Data”. All this make HDFS the favourite File system for Big Data environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=566c40da3f95" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HDFS Basic Commands]]></title>
            <link>https://daniela-s-alzate.medium.com/hdfs-basic-commands-3ca59afa3d58?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ca59afa3d58</guid>
            <category><![CDATA[apache-hadoop]]></category>
            <category><![CDATA[hdfs]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Thu, 02 Sep 2021 04:14:39 GMT</pubDate>
            <atom:updated>2021-09-02T04:14:39.971Z</atom:updated>
            <content:encoded><![CDATA[<p>HDFS stands for <strong><em>H</em></strong>adoop<strong><em> D</em></strong>istributed <strong><em>F</em></strong>ile<strong><em> S</em></strong>ystem. HDSF is part of the core of <a href="http://hadoop.apache.org/">Apache Hadoop</a> and it was designed to storage structured, unstructured and semi-structured data. This means any type of information can be storage such as images, videos, text, etc in large quantities and big sizes.</p><p>In this post, I would like to share some basic commands of the HDFS’shell, which is very easy to use if you are familiar with the Unix world, considering that various commands behave like Unix System’s shell does.</p><h3>1. hdfs dfs -ls</h3><p>This command is used to list files or folders from the argument path and show their content.</p><pre>hdfs dfs -ls [PATH]</pre><p>If you want to list the folders and the files or folder inside, you can use <em>hdfs dfs -ls -r</em> or <em>hdfs dfs -lsr</em> (both do the same).</p><pre>hdfs dfs -lsr [FOLDER_PATH]<br>hdfs dfs -ls -r [FOLDER_PATH]</pre><h3>2. hdfs dfs -cat</h3><p>This command is used to read data from a file and show their content.</p><pre>hdfs dfs -cat [FILE_PATH]</pre><h3>3. hdfs dfs -du -s</h3><p>This command is used to know file’ size on bytes. It has a shorcut <em>hdfs dfs -dus </em>but It is<em> </em>already deprecated in some versions. If you want the human-readable size, you can add the argument -h or another way to know file’size is <em>hdfs dfs -ls -h.</em></p><pre>hdfs dfs -dus [PATH]<br>hdfs dfs -du -s [PATH]<br>hdfs dfs -du -s -h [PATH]<br>hdfs dfs -ls -h [PATH]</pre><h3>4. hdfs dfs -mv</h3><p>This command is used to move a file or folder into another location.</p><pre>hdfs dfs -mv [SOURCE_FILE_OR_FOLDER_PATH] [DESTINATION_FOLDER_PATH]</pre><h3>5. hdfs dfs -rm</h3><p>This command is used to delete a file or folder. <em>hdfs dfs -rm is </em>for deleting file(s)<em> </em>and<em> hdfs dfs -rmr </em>is a shortcut of hdfs dfs -rm -r which delete all the content of a folder.</p><pre>hdfs dfs -rm [FILE_PATH]<br>hdfs dfs -rmr [FOLDER_PATH]</pre><h3>6. hdfs dfs -cp</h3><p>This command is used to copy files from source to destination.</p><pre>hdfs dfs -cp [SOURCE_FILE_OR_FOLDER_PATH] [DESTINATION_FOLDER_PATH]</pre><h3>7. hdfs dfs -touchz</h3><p>This command is used to create an empty file.</p><pre>hdfs dfs -touchz [FILE_NAME]</pre><h3>8. hdfs dfs -mkdir</h3><p>This command is used to create an empty folder.</p><pre>hdfs dfs -mkdir [FOLDER_NAME]</pre><h3>9. hdfs dfs -get</h3><p>This command is used to copy files or folders to the local file system. Does the same that the command <em>hdfs dfs -copyToLocal.</em></p><pre>hdfs dfs -get [FOLDER_PATH]<br>hdfs dfs -copyToLocal [FOLDER_PATH]</pre><h3>10. hdfs dfs -put</h3><p>This command is used to from local file system to HDFS. Does the same that the command <em>hdfs dfs -copyFromLocal.</em></p><pre>hdfs dfs -put [FOLDER_PATH]<br>hdfs dfs -copyLocal [FOLDER_PATH]</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ca59afa3d58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTML Basics for Beginners Part 1]]></title>
            <link>https://daniela-s-alzate.medium.com/html-basics-for-beginners-part-1-ef09cd55e34c?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef09cd55e34c</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[www]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Sat, 07 Aug 2021 01:46:28 GMT</pubDate>
            <atom:updated>2021-08-07T01:46:28.919Z</atom:updated>
            <content:encoded><![CDATA[<p>HTML stands for<strong> H</strong>yper<strong>T</strong>ext<strong> M</strong>arkup<strong> L</strong>anguage. It is not programming language, it’s a collection of tags that allows to organize and visualize web pages using the browsers.</p><p>HTML was developed by an English scientist <a href="https://en.wikipedia.org/wiki/Tim_Berners-Lee">Tim Berners-Lee</a> in the 80s. At first, it was used to interpret, organize and share files between computers such as texts, images, etc. This leverage the beginning of the <a href="https://en.wikipedia.org/wiki/World_Wide_Web">World Wide Web</a> also known as the Web where the resources files are transferred via the <a href="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">Hypertext Transfer Protocol</a> (HTTP).</p><p>Usually the HTML documents follow the next basic structure:</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;meta charset=&quot;utf-8&quot;&gt;<br>    &lt;title&gt;Page Title&lt;/title&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;!-- Page Content --&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><ul><li>&lt;!DOCTYPE html&gt; It is a special instruction that goes to the beginning of HTML documents and allows the browser to understand the file is a html page.</li><li>&lt;html&gt;&lt;/html&gt; This is the root element of the HTML documents and encloses all the content of the entire page.</li><li>&lt;head&gt;&lt;/head&gt; This tag goes inside the root element &lt;html&gt; and contains tags with information about the page such as title, a description of the page that will apear in search engines, keywords, etc.</li><li>&lt;meta charset=&quot;utf-8&quot;&gt;This tag goes inside&lt;head&gt;and it is very important beacuse this will tell the browser how to handle any text content you can include like accented or special characters.</li><li>&lt;title&gt;&lt;/title&gt;This tag also goes inside&lt;head&gt; and it is used to set your page title, which is the title that appears on the browser’s tab or title bar when the page is loaded.</li><li>&lt;body&gt;&lt;/body&gt; This tag goes inside the root element &lt;html&gt; and contains all the elemest that you want to show in your web such as images, videos, text, links and so on.</li><li>&lt;!-- Page Content --&gt;This is the comments tag and it is only visible when you have the HTML document. This can be helpful if you want to make your page maintenance much easier and it will help you to remember something.</li></ul><p>Now a days, HTML is one of the most popular technologies used around the world for creating websites and the W3C (World Wide Web Consortium), which was founded by <a href="https://en.wikipedia.org/wiki/Tim_Berners-Lee">Tim Berners-Lee</a>, is mainly in charge to of developing the protocols and guidelines that ensure long-term growth for the Web.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef09cd55e34c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comprehensions in Python]]></title>
            <link>https://daniela-s-alzate.medium.com/comprehensions-in-python-b23542475ba4?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/b23542475ba4</guid>
            <category><![CDATA[comprehension]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Sat, 31 Jul 2021 20:10:39 GMT</pubDate>
            <atom:updated>2021-07-31T20:10:39.971Z</atom:updated>
            <content:encoded><![CDATA[<p>Python allows you to create in a fast-writing, highly readable and functionally efficient way lists, dictionaries and sets, that’s what we call comprehensions, <em>fast-writing programming</em>. In this post, we will see some examples of comprehensions in Python.</p><h3>List Comprehension</h3><p>A list is an ordered array of items, It can have duplicate values and any type of data such as strings, sets, integers, etc. For this example we’re going to use integer types using list comprehension. The list comprehension is declared following the next structure:</p><blockquote>var_name_list = [iter_var <strong><em>for </em></strong>iter_var <strong><em>in</em> </strong><em>list </em><strong>condition</strong>(optional)]</blockquote><p>To see how list comprehension works, Let’s suppose we want to create a list with all odd numbers up to 100, we can programming the same solution in two different ways.</p><p>First, we can create an empty list, then iterate from 0 to 100, divide by 2 every number and if the remainder of dividing by 2 is diferent from 0 we add the number to the list.</p><pre>odd_nums = []<br>for i in range(0, 100):<br>  if i%2 != 0: <br>    odd_nums.append(i)</pre><p>Or we can rewrite the code above using list comprehension, just like this:</p><pre>odd_nums = [i for i in range(0, 100) if i%2!=0]</pre><h3>Dictionary Comprehension</h3><p>A datadictionary is key-value collection. It means that when you want to storage a value, you must assign an unique key to do it and when you want to access to the value, you must use the key that it was assigned.</p><p>The Dictionary Comprehension help us to create new dictionaries from other dictionaries, usually it follow the next structure:</p><blockquote>var_name_dict = [operation <strong><em>for (</em></strong><em>key, value</em><strong><em>) in</em> </strong>other_dict.items()]</blockquote><p>To see how dictionary comprehension works, let’s suppose we have a dictionary “<em>fruits” </em>with the cost per unit for some fruits and we want to create a dictionary <em>“tax_fruits” </em>with the total price for each fruit in the dictionary <em>“fruits” . </em>The total price is equal to add the price and the price multiply by 0.02, when 0.02 represents the 2% profits from the store.</p><p>We can programming the same solution in two different ways. First, we can create an empty dictionary, then iterate for each of the items, calculate the total price and storage the key-pair item.</p><pre>fruits = {&quot;apples&quot;:2, &quot;grapes&quot;:3, &quot;bananas&quot;:1, &quot;oranges&quot;:4}<br>tax_fruits = {}<br>for key, value in fruits.items():<br>    tax_fruits[key] = value+value*0.02</pre><p>Or we can rewrite the code above using dictionary comprehension, just like this:</p><pre>fruits = {&quot;apples&quot;:2, &quot;grapes&quot;:3, &quot;bananas&quot;:1, &quot;oranges&quot;:4}<br>tax_fruits = {key:value+value*0.02 for key, value in fruits.items()}</pre><h3>Set Comprehension</h3><p>A set is an unordered collection of items, where every item in the set is unique. The set comprehension has a very similiar structure to the list comprehension.</p><blockquote>var_name_set = {iter_var <strong><em>for </em></strong>iter_var <strong><em>in</em> </strong>set <strong>condition</strong>(optional)}</blockquote><p>To see how set comprehension works, Let’s suppose we want to create a set with the powers of two from 0 to 9, we can programming the same solution in two different ways.</p><pre>powers_2 = set()<br>for s in range(10):<br>    powers_2.add(2**s)</pre><p>Or we can rewrite the code above using set comprehension, just like this:</p><pre>powers_2 = {2**s for s in range(10)}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b23542475ba4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Basic Git Commands That Developers Should Know]]></title>
            <link>https://daniela-s-alzate.medium.com/7-basic-git-commands-that-developers-should-know-201880ca48fc?source=rss-6e9935003d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/201880ca48fc</guid>
            <category><![CDATA[dvc]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Daniela S. Alzate]]></dc:creator>
            <pubDate>Wed, 09 Jun 2021 22:55:10 GMT</pubDate>
            <atom:updated>2021-06-09T22:55:10.266Z</atom:updated>
            <content:encoded><![CDATA[<p>Git is an open source DVC (<em>Distributed Version Control System) </em>that integrates all the changes from multiple and simultaneous work, keeping all the development history centralized.</p><p>Git is widely used in the software industry for this reason it is a highly requested skill for developers. In this post we will know some basic commands to know how to work with Git.</p><p><strong>Note: To understand this article, you need to know the basics concepts of Git, for more infomation read </strong><a href="https://daniela-s-alzate.medium.com/getting-started-with-git-b8ae43aabdb2"><strong><em>my previous post</em></strong></a></p><h3>1. git clone</h3><p>Git clone is a command for downloading existing files or code from a Server Repository, creating an identical copy of the latest version of the server repository and saves it to your local repository.</p><pre>git clone &lt;Server-Repository&gt; &lt;Folder-Name(Optional)&gt;</pre><p>For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*tPS1H4F15BPGJ7A4hRDoIQ.png" /><figcaption>git clone example</figcaption></figure><p>You can also specify the name of the folder in which you will create the local repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*0cb6jzpP5CKfuc_roL6-DQ.png" /><figcaption>git clone folder name parameter</figcaption></figure><h3>2. git init</h3><p>Git init is a command for initialize an empty local repository. This command is very usefull when you want to start a new project. Once the command is executed, it will create a <em>.git </em>folder where all the repository information will be stored.</p><pre>git init &lt;Repository-Name&gt;</pre><p>For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*aDz6rbfb_R9WrlRleNUndg.png" /><figcaption>git init command</figcaption></figure><h3>3. git branch</h3><p>Git branch is a command to keep work in parallel on the same project. Git branch is used for creating, listing or deleting branches. Usually, a branch is created to work on a new feature. Once the feature is completed, it is merged back to the main branch and we delete the branch.</p><pre># For creating a new branch<br>git branch &lt;Branch-Name&gt;</pre><pre># For deleting a branch<br>git branch -d &lt;Branch-Name&gt;</pre><pre>#For listing branches.<br>git branch --all</pre><h3>4. git checkout</h3><p>Git checkout is a command mostly used to switch between branches but it can be also use for checking out files and commits.</p><pre># For switching to another branch<br>git checkout &lt;Branch-Name&gt;</pre><pre># For checking out commits<br>git checkout &lt;Commit-Id&gt;</pre><pre>#For creating new branch and switching it<br>git checkout -b &lt;Branch-Name&gt;</pre><h3>5. git commit</h3><p>Git commit is a command to save our changes or checkpoint functionality only for the local repository.<strong> </strong>Using git checkout you can go back to later if you needed. It is mandatory to write a short message to explain what we have developed or changed. Before doing a git commit it is recommended to perform a git add.</p><pre>git add .<br>git commit -m &lt;Short-Message&gt;</pre><h3>6. git push</h3><p>Git push is used after a git commit command, at the moment that is required to send the local commits to the server repository. Git push <em>ONLY </em>send changes or functionalities that are committed.</p><pre>git push -u origin &lt;Branch-Name&gt;</pre><h3>7. git pull</h3><p>Git pull<strong> </strong>command is used to get and applies the lastest commits from the server repository to the local repository.</p><pre>git pull origin &lt;Branch-Name&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=201880ca48fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>