<?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 Andres Condezo Monge on Medium]]></title>
        <description><![CDATA[Stories by Andres Condezo Monge on Medium]]></description>
        <link>https://medium.com/@ra-condezomonge?source=rss-a3b199c88d03------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lcmyGFFgviKIIf99Vsq_VQ.jpeg</url>
            <title>Stories by Andres Condezo Monge on Medium</title>
            <link>https://medium.com/@ra-condezomonge?source=rss-a3b199c88d03------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:12:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ra-condezomonge/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[Portfolio Project Blog post]]></title>
            <link>https://ra-condezomonge.medium.com/portfolio-project-blog-post-e2159f5820d7?source=rss-a3b199c88d03------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2159f5820d7</guid>
            <dc:creator><![CDATA[Andres Condezo Monge]]></dc:creator>
            <pubDate>Thu, 04 Nov 2021 04:55:00 GMT</pubDate>
            <atom:updated>2021-11-11T13:05:51.256Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Holberton’s Portfolio Project</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-DOG4gO9q5SuhmjUlALjwQ.png" /></figure><p>This project was carried out due to the need of our client to be able to automate the risk capital processes to their clients, stop sending emails and wait for responses and then finalize in an excel the information to take this process to a single click.</p><h3>Team Members</h3><ul><li>Jose Herrera.- Front-end</li><li>Melisa Rojas.- Database</li><li>Andrés Condezo.- Back-end / Front-end</li><li>Eddie Huaripayta.- Back-end / Front-end</li></ul><h3>Progress</h3><p><strong>Week1:</strong></p><ul><li>Despite changing technology, we have made a good choice and advanced with the activities.</li></ul><p><strong>Week2:</strong></p><ul><li>Despite various difficulties that arose throughout the progress of the project with the database and the connections, we have been able to get ahead with the project and move forward correctly.</li><li>Parts of our project were completed as planned:</li><li>Prototype design</li><li>Database design</li><li>Architecture design</li><li>Frontend implementation</li><li>Backend implementation</li><li>Integration</li><li>Implement risk profile assessment logic</li></ul><p><strong>Week3:</strong></p><ul><li>Functional testing</li><li>Deployment</li></ul><p>This project It’s an integrated system that allows companies to optimize the information gathering process through surveys and the results evaluation process with the data that needs to be measured. The integrated system is flexible, it allows adapting to each organization, with the possibility of incorporating the language and reality of each one, on the one hand; invite participants to answer short and agile surveys, on the other.</p><h3><strong>Challenges</strong></h3><ul><li>Short time to learn a new technologies, as well as to investigate libraries that allow us to implement new functionalities such as: exporting the report of registered responses to excel.</li><li>The biggest challenge throughout the project was to know flask in depth, we had a basic knowledge learned in the Holberton projects, but it was difficult for us to implement a project from scratch, so we requested support from a colleague with more knowledge.</li><li>Difficulty in the development and implementation of the APIs and the database, to achieve communication and mapping between both parties, for which the code was being modified in order not to generate errors due to fields or type of data not created or mapped correctly, as well as correctly generating the relationships between the “foreign key” tables.</li><li>There was short time to carry out more test cases that allow covering all possible scenarios, few unit and functional tests were carried out, mainly verifying the validations in the forms, the user registry, the survey registry and the evaluation of the profile of risk.</li></ul><h3>Links</h3><ul><li>Link to the GitHub link for the project:</li></ul><p><a href="https://github.com/01Eddie/CoreCapitalProjectTest">GitHub - 01Eddie/CoreCapitalProjectTest</a></p><ul><li>Link to the project’s landing page</li></ul><p><a href="https://andres-condezo.github.io/Core-Partners-Project_Landing-Page/#about">Core Partners landing page</a></p><ul><li>Link to my LinkedIn profile</li></ul><p><a href="https://www.linkedin.com/in/andres-condezo/">Andres Condezo Monge - Diseñador gráfico autónomo - autónomo | LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2159f5820d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Postmortem — Fixing wordpress]]></title>
            <link>https://ra-condezomonge.medium.com/postmortem-fixing-wordpress-ad3a1c4f8c5b?source=rss-a3b199c88d03------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad3a1c4f8c5b</guid>
            <dc:creator><![CDATA[Andres Condezo Monge]]></dc:creator>
            <pubDate>Mon, 11 Oct 2021 01:55:23 GMT</pubDate>
            <atom:updated>2021-10-11T10:39:29.719Z</atom:updated>
            <content:encoded><![CDATA[<h3>Postmortem — Fixing wordpress</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KDUaWlMN5kD_JxX28PAdrg.png" /></figure><h3>Issue summary:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*jsZuzeFyy3C3LPniE4Sg1w.png" /></figure><p>On September 30, 2021 a report was received that our wordpress site had stopped working, the failure was reported at 9:00 am (-5 UTC) and could be resolved an hour later at 10:00 am (-5 UTC). The server returned a 500 status code. The cause of the problem was a type when calling the configuration file, but it could be solved by tracing the behavior of our server step by step with the tool called strace. Our web application remained inactive for an hour affecting 100% of our users, due to having a single server, this being our single point of failure (SPOF).</p><h3>Timeline:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*HeSocOJB4eYXRtDze1-4gw.jpeg" /></figure><p><strong>September 30 9:00 am (-5 UTC)</strong>.<strong>:</strong> An error was reported on our wordpress page.</p><p><strong>September 30 9:15 am (-5 UTC):</strong> The source of the error was searched in the log but no clue was found.</p><p><strong>September 30 9:20 am (-5 UTC): </strong>The activated status of the server was verified but it was found that the server was active but returned a 500 status code.</p><pre>root@e514b399d69d:~# curl -sI 127.0.0.1<br>HTTP/1.0 500 Internal Server Error<br>Date: Fri, 24 Mar 2017 07:32:16 GMT<br>Server: Apache/2.4.7 (Ubuntu)<br>X-Powered-By: PHP/5.5.9-1ubuntu4.21<br>Connection: close<br>Content-Type: text/html</pre><p><strong>September 30 9:25 am (-5 UTC): </strong>Using the “ps” command we list the active processes to be able to trace the process of our Apache server in a separate terminal and we find a parent process and a child process.</p><p><strong>September 30 9:30 am (-5 UTC): </strong>In a new terminal we traced the server process with the “strace” tool with the parent process but no relevant information was obtained.</p><p><strong>September 30 9:35 am (-5 UTC):</strong> The child process was traced with the “strace” tool, in parallel in another terminal the “curl” command was used to review the response from the server and a record of all the calls made to the server could be obtained.</p><p><strong>September 30 9:45 am (-5 UTC): </strong>We could find a call to a file descriptor that returned “-1” indicating an error, and we could see that it called a file with the extension “.phpp”.</p><p><strong>September 30 9:50 am (-5 UTC):</strong> We searched with the “grep” command inside the “/var/html/www/” folder for a file that contains that extension inside it and the configuration file was found.</p><p><strong>September 30 10:00 am (-5 UTC): </strong>A puppet manifest was made to fix the typo and the server was able to function normally.</p><pre>root@e514b399d69d:~# puppet apply fix-wordpress.pp<br>Notice: Compiled catalog for e514b399d69d.ec2.internal in environment production in 0.02 seconds<br>Notice: /Stage[main]/Main/Exec[fix-wordpress]/returns: executed successfully<br>Notice: Finished catalog run in 0.08 seconds<br>root@e514b399d69d:~# curl -sI 127.0.0.1:80<br>root@e514b399d69d:~#<br>HTTP/1.1 200 OK<br>Date: Fri, 24 Mar 2017 07:11:52 GMT<br>Server: Apache/2.4.7 (Ubuntu)<br>X-Powered-By: PHP/5.5.9-1ubuntu4.21<br>Link: &lt;http://127.0.0.1/?rest_route=/&gt;; rel=&quot;https://api.w.org/&quot;<br>Content-Type: text/html; charset=UTF-8</pre><h3>Root cause and resolution:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*E_hBaLfxHSvLOHDcgSaAdg.jpeg" /></figure><p>The cause of the failure was a typo in the file called “wp-settings.php” calling the configuration file “class-wp-locale.phpp”.<br>The bug could be fixed by correcting the file name to “class-wp-locale.php” using the following puppet manifest:</p><pre># fix the phpp typo<br>exec { ‘fix-wordpress’:<br> command =&gt; ‘sudo sed -i s/class-wp-locale.phpp/class-wp-locale.php/g /var/www/html/wp-settings.php’,<br> path =&gt; [‘/usr/bin’, ‘/usr/sbin’,],<br>}</pre><h3>Corrective and preventative measures:</h3><p>The use of syntax checkers could be implemented in our workflow as well as the implementation of a second server to avoid SPOF.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad3a1c4f8c5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Specialization: Full-Stack Web Developers]]></title>
            <link>https://ra-condezomonge.medium.com/specialization-full-stack-web-developers-7cc8ceed3c78?source=rss-a3b199c88d03------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cc8ceed3c78</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[full-stack]]></category>
            <dc:creator><![CDATA[Andres Condezo Monge]]></dc:creator>
            <pubDate>Mon, 11 Oct 2021 01:01:52 GMT</pubDate>
            <atom:updated>2021-10-11T01:01:52.896Z</atom:updated>
            <content:encoded><![CDATA[<img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cc8ceed3c78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recursion: A simple base case and a recursive step]]></title>
            <link>https://ra-condezomonge.medium.com/recursion-a840d54e2ee3?source=rss-a3b199c88d03------2</link>
            <guid isPermaLink="false">https://medium.com/p/a840d54e2ee3</guid>
            <category><![CDATA[recursive]]></category>
            <category><![CDATA[recursion]]></category>
            <category><![CDATA[recursive-function]]></category>
            <dc:creator><![CDATA[Andres Condezo Monge]]></dc:creator>
            <pubDate>Mon, 05 Jul 2021 04:05:02 GMT</pubDate>
            <atom:updated>2021-07-12T02:51:06.475Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*NRJFd_Q_HW6S0F_Ve6EmzQ.png" /></figure><h3><strong>About recursion:</strong></h3><p>In programming it is called recursion when a function calls itself, executing the code it contains over and over until the base case returns a value without making any subsequent recursive calls.<br> <br> Recursive functions can be very economical in lines of code, solving problems easily but this can be at the cost of consuming more resources of our ram memory, it must be analyzed if a recursive algorithm would have a lower cost than a non-recursive algorithm to implement it within our code.</p><p>Some classic examples to demonstrate how a recursive function works:</p><p><strong>The factorial of a number (JavaScript):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uXrb3SzA4hbuRRbP5XPkBg.png" /></figure><p><strong>Calculate the Fibonacci order (Python):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JFRiHLPG5Yu5FCnOEGM4qA.png" /></figure><p>Another example:</p><p><strong>Find the value of the number X raised to the power of Y (C):</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G-08bP-qVZPgRkDgiskSeA.png" /></figure><p>In this example we need to find the value of the number “x” raised to the power of “y” and we will use a recursive function. A stack is a data structure that stores information about the active subroutines of a computer program, each box from the image represents a stack frame. When a function is called recursively, a new stack frame is created for each call, leaving the previous stack frames intact.</p><p>In the examples, the recursive function is called four times, so there are four stack frames pushed on the stack; each frame stores one instance of the variable “y” and each instance holds a different value, once “y” has reached the value of zero each stack frame is removed from the stack and a new value is returned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*d2hbgiUCaWNfwJlEg3wKGw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a840d54e2ee3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Static libraries in C]]></title>
            <link>https://ra-condezomonge.medium.com/static-libraries-in-c-4e89f869d49f?source=rss-a3b199c88d03------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e89f869d49f</guid>
            <category><![CDATA[static-library]]></category>
            <category><![CDATA[c]]></category>
            <category><![CDATA[c-static-library]]></category>
            <category><![CDATA[static-libraries-in-c]]></category>
            <dc:creator><![CDATA[Andres Condezo Monge]]></dc:creator>
            <pubDate>Mon, 08 Mar 2021 19:03:32 GMT</pubDate>
            <atom:updated>2021-03-08T19:03:32.266Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S-IEeAXCE-5_dpaHd27UBA.png" /></figure><p><strong>Why use static libraries</strong></p><p>The static libraries in c</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e89f869d49f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7. What happens when you type gcc main.c mandatory]]></title>
            <link>https://ra-condezomonge.medium.com/7-what-happens-when-you-type-gcc-main-c-mandatory-96f381174b27?source=rss-a3b199c88d03------2</link>
            <guid isPermaLink="false">https://medium.com/p/96f381174b27</guid>
            <category><![CDATA[c]]></category>
            <category><![CDATA[gcc]]></category>
            <category><![CDATA[compiling]]></category>
            <dc:creator><![CDATA[Andres Condezo Monge]]></dc:creator>
            <pubDate>Thu, 04 Feb 2021 03:49:23 GMT</pubDate>
            <atom:updated>2021-02-11T01:42:30.670Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DjG36Cd4-UXFSmv7rbZ88Q.jpeg" /></figure><h3>GCC — GNU Compiler Colection</h3><p><strong>What is compilation?</strong></p><p>The compilation process converts the source code taken as input into the object code or machine code. An Example of a compiler is GCC (GNU Compiler Collection) a set of compilers created by the GNU project and I’s a open source software.</p><p><strong>How to compile a C program?</strong></p><p>We can compile a “.c” file using the below command:</p><pre>$ gcc myFilename.c –o myExeFilename</pre><p>After compilation a executable is generated and we can run the generated executable using the below command:</p><pre>$ ./myExeFilename</pre><h3>The compilation process</h3><p>The compilation process can be divided into four steps: Pre-processing, Compiling, Assembling, and Linking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*_dgHP04lbdodfss_Ke6iKQ.jpeg" /></figure><h3><strong>Pre-processor</strong></h3><p>It’s the first program invoked by the compiler and processes directives such as #include, #define and #if, take a “.c” file as an input and will produce a “.i” file as an ouput.</p><p>Pre-processor make few operations such as:</p><ul><li>Header file inclusion</li><li>Macro substitution</li><li>Comment removal</li><li>Conditional compilation</li></ul><p>We can trigger the pre-processor using the below command:</p><pre>$ gcc -E myFile.c &gt; myFile.i<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*ApxuLYT58F9DRLKF0TtsbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*TKILg48LlZgeXHh-GuvLtQ.png" /></figure><h3><strong>Compiler</strong></h3><p>Compiler take the output of the pre-processor , an “.i” file, to get Assembly instructions as an onput and will produce a “.s” file.</p><p>In compiler we have two different stages:</p><p><strong>Analysis phase</strong></p><ul><li>Linear/Lexical analysis</li><li>Syntax analysis</li><li>Semantic analysis</li></ul><p><strong>Synthesis phase</strong></p><ul><li>Intermediate code generation</li><li>Code generation</li><li>Code optimization</li></ul><p>Use the below comand to get the compiler output (the assembly instructions):</p><pre>$ gcc -S myfile.i</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*7ZnJT-Omv8DoZI3HSZjV2w.png" /></figure><h3><strong>Assembler</strong></h3><p>Assembly take the output of the compiler, a “.s” file, to get binary code as an output, and will produce an “.o” file.</p><p>Use the below comand to produce the compiler output (the object file):</p><pre>$ gcc -c myFile.s</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*FXqTUcK6TKn40IIlAaeefw.png" /></figure><h3><strong>Linker</strong></h3><p>Linker combine the object code of library files with the object code of our program, the output of the linker is the executable file.</p><p>Use the below comand to get the executable object file:</p><pre>$ gcc -O myfile.o</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*hCxss0pc-Kv_7DijD9ISNg.png" /></figure><p>The .i, .s and .o files are delete after the compilation process. We can use the below comand to keep them:</p><pre>$ gcc -save-temps myFile.c<br></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96f381174b27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the difference between a hard link and a symbolic link?]]></title>
            <link>https://ra-condezomonge.medium.com/what-is-the-difference-between-a-hard-link-and-a-symbolic-link-83274c150771?source=rss-a3b199c88d03------2</link>
            <guid isPermaLink="false">https://medium.com/p/83274c150771</guid>
            <category><![CDATA[softlink]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Andres Condezo Monge]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 23:41:41 GMT</pubDate>
            <atom:updated>2021-02-03T15:45:48.090Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is the difference between a soft link and a hard link?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T-b6JWFLyFssdcoSLgGDIA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*635QJhEeee8ShuNsF2r1jw.jpeg" /><figcaption>Hard and soft links</figcaption></figure><h3>What is Soft link (symbolic link) in Linux?</h3><p>A <strong>symbolic link</strong>, also termed a <strong>soft link</strong>, is a special kind of file that points to another file, much like a shortcut in Windows or a Macintosh alias. Unlike a hard link, a <strong>symbolic link</strong> does not contain the data in the target file. It simply points to another entry somewhere in the file system.</p><h3>Creating Soft Link</h3><p>The generic syntax for creating a soft link is as follows:</p><pre>$ <strong>ln</strong> -s TARGET LINK_NAME</pre><ul><li><strong>-s</strong>: Option to create symbolic links.</li><li><strong>TARGET:</strong> Name of the existing file to which we will create the soft link.</li><li><strong>LINK_NAME:</strong> Name of the soft link.</li></ul><p><strong>Let’s see an example:</strong></p><pre>$ <strong>ln</strong> -s test.txt my-softlink-to-test.txt</pre><h3>What is Hard link in Linux?</h3><p>A hard link is a file that points to the same inode, as another file. In case you delete one file, it removes one link to the inode.</p><h3>Creating Hard Link</h3><p>The generic syntax for creating a hard link is as follows:</p><pre>$ <strong>ln</strong> TARGET LINK_NAME</pre><ul><li><strong>TARGET:</strong> Name of the existing file to which we will create the hard link.</li><li><strong>LINK_NAME:</strong> Name of the hard link.</li></ul><p><strong>Let’s see an example:</strong></p><pre>$ <strong>ln</strong> test.txt my-hardlink-to-test.txt</pre><h3>What is the difference between a soft link and a hard link?</h3><h3>Soft link:</h3><ul><li>Can cross the file system,</li><li>Allows you to link between directories,</li><li>Has different inode number and file permissions than original file,</li><li>Permissions will not be updated,</li><li>Has only the path of the original file, not the contents.</li></ul><h3>Hard link:</h3><ul><li>Can’t cross the file system boundaries (i.e. A hardlink can only work on the same filesystem),</li><li>Can’t link directories,</li><li>Has the same inode number and permissions of original file,</li><li>Permissions will be updated if we change the permissions of source file,</li><li>Has the actual contents of original file, so that you still can view the contents, even if the original file moved or removed.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83274c150771" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>