<?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 Martha Rodríguez on Medium]]></title>
        <description><![CDATA[Stories by Martha Rodríguez on Medium]]></description>
        <link>https://medium.com/@marthaerm?source=rss-e5db365de1c5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*H3G5ubqgrb_tpJWI8I8KkA.jpeg</url>
            <title>Stories by Martha Rodríguez on Medium</title>
            <link>https://medium.com/@marthaerm?source=rss-e5db365de1c5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 00:51:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marthaerm/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[Learning Journal | Encora Academy | Last Week]]></title>
            <link>https://marthaerm.medium.com/learning-journal-encora-academy-last-week-44e77d98a47f?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/44e77d98a47f</guid>
            <category><![CDATA[encora]]></category>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 02 Mar 2021 04:16:21 GMT</pubDate>
            <atom:updated>2021-03-02T04:28:00.043Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gtfviWuVxFSGVjyn89m-jQ.jpeg" /></figure><p>Hello! 👋</p><p>This is the last post of my experience during the <strong>Encora Academy program</strong>, a space to learn, practice, and <strong>grow</strong>. I’ve posted every week, all about the topics I’ve learned during this adventure, and today I want to share with you, my takeaways from these 6 months.</p><h4>A lot of knowledge.</h4><p>During this time, I learned a lot about different technologies, frameworks, languages, libraries, etc. I’ve talked about most of it in my last posts, and definitely, I can’t resume all of that in one post, instead, I prefer to write some bullet points with my most important takeaways:</p><ul><li>You don’t have to learn something “complex”, “complicated” or “amazing” every day, but definitely, <strong>you will learn something every day</strong>, try to notice it.</li><li><strong>Feedback</strong> is amazing, is important to learn how to take it and how to give it.</li><li>A programming language is just a tool, <strong>solve problems</strong> is a most important skill.</li><li><strong>Soft skills</strong> are more than “soft” and are as much important as tech skills.</li><li><strong>It’s okay to don’t know</strong>, what is not okay is to don’t take action in changing it.</li><li>Communication is very important, <strong>keep good communication</strong> with your team.</li><li><strong>We are not perfect and anybody is</strong>, so don’t try to be, you will just get some headaches and unnecessary stress.</li><li><strong>Ask when you need help</strong>, and research before you ask.</li><li><strong>Negotiation</strong> is very important, is a skill we need to learn.</li></ul><h4>A great experience.</h4><p>I loved my journey during the Encora Academy, and I think that Encora itself has a lot to do with it, is a cool company, they care about their employees and help you in your career. It is an amazing community, everyone I walked with, had willing to help, and as an Academy that was very useful.</p><p>I want to thank the staff and my mentors for guiding me in this whole process, the staff worked hard to help us in our learning process, organizing and planning the activities, and being there when some need some extra guidance.</p><p>Also, I have to say that my mentors did an excellent job being there when I needed some help when I had a problem dealing with some weird code or complex projects but overall, listening to me and guide me on the process.</p><p>But, the best for me is all my new friends, all the people I haven’t known in another way, I develop a great friendship with my partners in this adventure thanks to you’ll guys.</p><p>Finally, I have to say that is scary to grow, but it feels really good.</p><h4>The beginning.</h4><p>This end is also just the beginning of my career, I have a lot more to learn and to live, and I’m happy to say that this beginning will be as a Software Engineer at Encora México. Let’s make some magic ✨</p><p>Write some code and have fun. See you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44e77d98a47f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Journal | Encora Academy | Week 16]]></title>
            <link>https://marthaerm.medium.com/learning-journal-encora-academy-week-16-a95c5a49a08c?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a95c5a49a08c</guid>
            <category><![CDATA[software-internship]]></category>
            <category><![CDATA[nearsoft-academy]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[internships]]></category>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Mon, 18 Jan 2021 23:53:09 GMT</pubDate>
            <atom:updated>2021-01-18T23:53:09.347Z</atom:updated>
            <content:encoded><![CDATA[<p>January 11— January 18</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*koYdDulKzfGm_3ZGXaEFTA.jpeg" /></figure><p>Hello! 👋 This is my <em>fifteenth-week takeaways</em> being part of the <strong>Encora Academy program</strong>, a space to learn, practice, and <strong>grow</strong>. I’ll post every week, all about the topics I’ve learned during this adventure.</p><p>This is the second week of the Your Personal Branch Phase and these are my takeaways:</p><h4>What is a hash function?</h4><p>A has function, is a function that receives an object, usually a string, process it and returns a limited object of certain data type, usually and integer.</p><p>The process that happened inside, is different depending the environment, could be created for the developer who is using it, or it could be part of a language.</p><p>The idea is to have a compact representation of the input.</p><p>A good hash function should:</p><ul><li>Be efficiently computable</li><li>Should return as more different result as possible, each result should be equally likely for each input.</li></ul><h4>How a Hastables works?</h4><p>A hashtable is a data structure that use a hash function to convert a value, and make it a lot easier to access.</p><p>Here, there is a very simple example.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/72d9d0bd01aa781928d0bcb10e2a3da5/href">https://medium.com/media/72d9d0bd01aa781928d0bcb10e2a3da5/href</a></iframe><p>The <em>hash </em>function returns the first 3 elements of the input as an integer.</p><p>Then we have 3 string values that are added to a hash table, using the hash result as the index. To access it, we hash the value again to get the index we need.</p><p>In JavaScript the hash table is more defined for the way we add values and access to it, more than a data structure itself, that is why we use an array.</p><p><strong>Collisions</strong></p><p>You should be asking? but if another value is 1230987, where will it be stored?</p><p>In this example, there aren’t collisions because we have just a few values, but we can manage them, creating arrays inside a hash index or incrementing the index by 1 until find a space for that value.</p><h4>Ruby attribute accessors</h4><p>Usually, we have getters and setters on classes, functions that help us to access to our class attributes.</p><p>In Ruby, those are so easy to add, you just have to add</p><ul><li><em>attr_accesor</em>. Give write and read access to the attributes.</li><li><em>attr_writer</em>. Give just write access to the attribute.</li><li><em>attr_reader</em>. Give just read access to the attribute.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/35a31887466c65b34013adf56b4a47b7/href">https://medium.com/media/35a31887466c65b34013adf56b4a47b7/href</a></iframe><h4>Binary search</h4><p>What if we start searching from the middle instead from the beginning? Well that is what binary search does, it look for a number in an ordered array or list starting in the middle, it will look to the up half if the number is bigger or in the down half if the number is smaller, and so on.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3024e0e5de0daa124365a87cdf68ca4/href">https://medium.com/media/d3024e0e5de0daa124365a87cdf68ca4/href</a></iframe><h4>Big O notation</h4><p>This notation, helps to know the performance of an algorithm it tells you how fast an algorithm is.</p><p>You can write it with a <em>big O </em>and the mathematical function that describes the performance between parentheses. For example: <em>O(n)</em></p><p>The expression between parentheses, also represents the number of steps that takes an algorithm to finish.</p><p>Also, it usually describes the worst case scenario, it means, the number of steps that will take in a not ideal environment but, you can also look at the average or best scenario, it depends on the needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rfRDD4VAtR1pE7XseRzU1g.jpeg" /></figure><p>To calculate it, we should:</p><ul><li>Count the number of expression executions. <em>How many time each expression is executed?</em></li><li>Find the fastest growing term. <em>Which expression grows the fastest? What is it function?</em></li><li>Remove the coefficients and extra terms. <em>What is the minimum expression of this function?</em></li></ul><p>That’s all for this week, see you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a95c5a49a08c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Journal | Encora Academy | Week 15]]></title>
            <link>https://marthaerm.medium.com/learning-journal-encora-academy-week-15-93d007ffe402?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/93d007ffe402</guid>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 01:50:01 GMT</pubDate>
            <atom:updated>2021-01-12T01:50:01.600Z</atom:updated>
            <content:encoded><![CDATA[<p>January 4 — January 11</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ueajT6_V12WuBZasZoGRsA.jpeg" /></figure><p>Hello! 👋 This is my <em>fifteenth-week takeaways</em> being part of the <strong>Encora Academy program</strong>, a space to learn, practice, and <strong>grow</strong>. I’ll post every week, all about the topics I’ve learned during this adventure.</p><p>This week, was the first week of the Your Personal Branch Phase, I reviewed some Computer Science and Ruby concepts. These are my takeaways:</p><h4>Inheritance vs Composition</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QZx9npAonDCOKc2J0rm_HQ.jpeg" /></figure><h4>Duck Typing</h4><p>This concept, refers to a tendence (at least in ruby) of focus less in an object class and give more priority to its behavior, which methods has or what can be done with it.</p><p>The name, is because it is based on the Duck Test:</p><blockquote>If it walks like a duck and quacks like a duck then, it is a duck.</blockquote><h4><strong>Ruby Notes</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wc8LvMfhDbaSEpbqjHTYXA.jpeg" /></figure><p>See you next week!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93d007ffe402" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Journal | Nearsoft Academy | Week 14]]></title>
            <link>https://marthaerm.medium.com/learning-journal-nearsoft-academy-week-14-692c8e91f3ab?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/692c8e91f3ab</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[tailwind-css]]></category>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 01:46:28 GMT</pubDate>
            <atom:updated>2021-01-05T02:18:46.246Z</atom:updated>
            <content:encoded><![CDATA[<h3>Learning Journal | Encora Academy | Week 14</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*epOMvM3rJ7wWNzXcRCoc2A.jpeg" /></figure><p>December 28— January 4</p><p>Hello! 👋 And happy new year! 🥳 This is my <em>fourteenth-week takeaways</em> being part of the <strong>Encora Academy program</strong>, a space to learn, practice, and <strong>grow</strong>. I’ll post every week, all about the topics I’ve learned during this adventure.</p><p>I’ve spent this week reviewing, learning, and practicing some concepts and technologies. These are my notes:</p><h4><strong>HTML</strong></h4><p>The Doctype tag is an important part of an HTML document, it basically defines the standard to follow while building an HTML file. These are my notes about it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ieOCiDsj2kxeLgAQE9hB_A.jpeg" /><figcaption>HTML Doctype notes.</figcaption></figure><h4>Local storage, session storage and cookies</h4><p>I knew that these 3 objects help us to store data in the browser, but what are the main differences between them?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kw3yErWcSTm2hjX4I1XSeQ.jpeg" /><figcaption>Differences between local storage, session storage, and cookies.</figcaption></figure><h4>CSS</h4><p>The cascade style sheets, help us to add style to an HTML file. During this week I research a bit more about Flexbox, Grid, CSS selectors, and CSS processors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dgxMbcoiF9he9Ut1N2Lhaw.jpeg" /><figcaption>Some concepts about CSS.</figcaption></figure><p>While researching this, I found these 2 very useful guides for <a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">flexbox</a> and <a href="https://css-tricks.com/snippets/css/complete-guide-grid/">grid</a>.</p><h4>Tailwind CSS</h4><p>The last week, I was having a session with my mentor, and he sent me this website: <a href="https://stateofcss.com/">The state of CSS</a>, it<em> identifies the latest trends on CSS</em>. Trying to find another CSS library different from bootstrap, I found that <strong>Tailwind CSS </strong>was at the top of satisfaction and interest, so I decided to learn more about it.</p><p>Tailwind let us write CSS rules quickly with a high level of customization, it is really easy to install and use. You can use it in 2 ways: using it <strong>CDN</strong> or installing it with <strong>npm</strong>.</p><p>Basically, you can add classes to your HTML elements to add CSS rules, like padding, margins, text colors, etc.</p><p>For example, this code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ssqAyu-gKgWLDCm9rgG0LQ.png" /></figure><p>Generates this button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*FvEs2F7IdlAQC1zYhPf4pg.png" /></figure><p>To customize it, you need to install it with npm and then create a <em>tailwind.config.js</em> there, you can add or override the custom classes we already have.</p><p>There are 2 ways to add styles with Tailwind, by <em>adding classes to the HTML</em> tags, or adding custom classes and add the tailwind styles on a <em>CSS file</em>.</p><p><a href="https://tailwindcss.com/docs">Here</a> is the official documentation.</p><p>And I created <a href="https://marthaerm.github.io/tailwind-practice/">this small project</a> to test some of its functions.</p><h4>JavaScript</h4><p>I reviewed some concepts and learn a couple more about Javascript, these are my notes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cWjjbU_b4tGsHTI9vL8FPA.jpeg" /></figure><p>Thanks for reading! See you next week!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=692c8e91f3ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rails y React, juntos pero no revueltos?]]></title>
            <link>https://marthaerm.medium.com/rails-y-react-juntos-pero-no-revueltos-3d213db3a7f1?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d213db3a7f1</guid>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 29 Dec 2020 07:04:16 GMT</pubDate>
            <atom:updated>2020-12-29T07:06:06.001Z</atom:updated>
            <content:encoded><![CDATA[<p>Durante las ultimas dos semanas, estuve trabajando en un proyecto (mas bien, varios) de ToDo para experimentar las diferentes formas de trabajar con React y Rails.</p><p>Tome <a href="https://pamit.medium.com/todo-list-building-a-react-app-with-rails-api-7a3027907665">este tutorial</a> como base para construir los proyectos y aquí explico el proceso que seguí y las principales diferencias que encontré como principiante en ambas tecnologías.</p><h3>Rails API y React</h3><p>Este proyecto consta de dos proyectos separados:</p><ul><li>El backend desarrollado con Ruby on Rails y,</li><li>El frontend con React</li></ul><p><a href="https://github.com/marthaerm/ror-todo-app">Aqui</a> se encuentra el código fuente para el backend y <a href="https://github.com/marthaerm/react-todo-app">en este link</a> para el frontend.</p><h4>api</h4><p>Primero, inicie desarrollando una api en rails con un CRUD la cual, gracias al <a href="https://www.rubyguides.com/2020/03/rails-scaffolding/">scaffolding</a>, quedó lista en unos cuantos minutos.</p><p>Omiti la bandera -api para poder utilizar el frontend de rails usando su motor de vistas erb.</p><h4>React app</h4><p>El proyecto fue creado con <a href="https://reactjs.org/docs/create-a-new-react-app.html">create-react-app</a> e integra redux para el manejo del estado de la aplicación.</p><h4>erb</h4><p>Una vez creado el frontend con react, lo replique utilizando JS dentro de motor de vistas de rails para analizar las diferencias.</p><h4>Formato de endpoint</h4><p>Una funcionalidad muy util de Rails que utilice en este proyecto, fue el formato en los endpoints, en los controladores se puede decidir que hacer dependiendo si se recibió un formato .html o .json. El formato .html regresa por defecto la vista asociada con el controlador.</p><h3>Rails + React</h3><p>Después de trabajar el proyecto de forma separada, realice este proyecto siguiendo las bases del anterior, <a href="https://github.com/marthaerm/ror-react-todo-app">aqui esta</a> el codigo fuente.</p><h4>webpack</h4><p>El proyecto fue creado usando la bandera — webpack=react indicando que se utilizara esta libreria de javascript para el frontend.</p><p>Hacer este proyecto fue prácticamente unir el código de los dos anteriores y renderizando el componente deseado de React dentro de la vista principal del proyecto de rails.</p><h3>Diferencias</h3><p>Una de las principales diferencias que note al trabajar con este y otro proyectos, fueron las rutas, cada tecnología utiliza su propio sistema de enrutamiento, y al juntarlas se debe decidir cuál es el mejor para el proyecto.</p><p>Hablando del frontend en React y erb, las diferencias eran obvias desde el principio, pero al estar aprendiendo, considere una muy buena oportunidad replicar las mismas funcionalidades usando React y usando JS puro.</p><p>Como siempre, la manera en la que se crea un proyecto y las tecnologías que se usan, dependen de las necesidades del mismo y hay que considerar diferentes factores para tomar este tipo de decisiones, pero sin duda, crear estos proyectos con un objetivo educativo ha resultado muy util.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d213db3a7f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trabajando con Rails y React]]></title>
            <link>https://marthaerm.medium.com/trabajando-con-rails-y-react-549a535bc9ee?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/549a535bc9ee</guid>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 29 Dec 2020 06:24:49 GMT</pubDate>
            <atom:updated>2020-12-29T07:03:22.521Z</atom:updated>
            <content:encoded><![CDATA[<h3>Rails y React, juntos pero no revueltos?</h3><p>Durante las ultimas dos semanas, estuve trabajando en un proyecto (mas bien, varios) de ToDo para experimentar las diferentes formas de trabajar con React y Rails.</p><p>Tome <a href="https://pamit.medium.com/todo-list-building-a-react-app-with-rails-api-7a3027907665">este tutorial</a> como base para construir los proyectos y aquí explico el proceso que seguí y las principales diferencias que encontré como principiante en ambas tecnologías.</p><h3>Rails API y React</h3><p>Este proyecto consta de dos proyectos separados:</p><ul><li>El backend desarrollado con Ruby on Rails y,</li><li>El frontend con React</li></ul><p><a href="https://github.com/marthaerm/ror-todo-app">Aqui</a> se encuentra el código fuente para el backend y <a href="https://github.com/marthaerm/react-todo-app">en este link</a> para el frontend.</p><h4>api</h4><p>Primero, inicie desarrollando una api en rails con un CRUD la cual, gracias al <a href="https://www.rubyguides.com/2020/03/rails-scaffolding/">scaffolding</a>, quedó lista en unos cuantos minutos.</p><p>Omiti la bandera -api para poder utilizar el frontend de rails usando su motor de vistas erb.</p><h4>React app</h4><p>El proyecto fue creado con <a href="https://reactjs.org/docs/create-a-new-react-app.html">create-react-app</a> e integra redux para el manejo del estado de la aplicación.</p><h4>erb</h4><p>Una vez creado el frontend con react, lo replique utilizando JS dentro de motor de vistas de rails para analizar las diferencias.</p><h4>Formato de endpoint</h4><p>Una funcionalidad muy util de Rails que utilice en este proyecto, fue el formato en los endpoints, en los controladores se puede decidir que hacer dependiendo si se recibió un formato .html o .json. El formato .html regresa por defecto la vista asociada con el controlador.</p><h3>Rails + React</h3><p>Después de trabajar el proyecto de forma separada, realice este proyecto siguiendo las bases del anterior, <a href="https://github.com/marthaerm/ror-react-todo-app">aqui esta</a> el codigo fuente.</p><h4>webpack</h4><p>El proyecto fue creado usando la bandera — webpack=react indicando que se utilizara esta libreria de javascript para el frontend.</p><p>Hacer este proyecto fue prácticamente unir el código de los dos anteriores y renderizando el componente deseado de React dentro de la vista principal del proyecto de rails.</p><h3>Diferencias</h3><p>Una de las principales diferencias que note al trabajar con este y otro proyectos, fueron las rutas, cada tecnología utiliza su propio sistema de enrutamiento, y al juntarlas se debe decidir cuál es el mejor para el proyecto.</p><p>Hablando del frontend en React y erb, las diferencias eran obvias desde el principio, pero al estar aprendiendo, considere una muy buena oportunidad replicar las mismas funcionalidades usando React y usando JS puro.</p><p>Como siempre, la manera en la que se crea un proyecto y las tecnologías que se usan, dependen de las necesidades del mismo y hay que considerar diferentes factores para tomar este tipo de decisiones, pero sin duda, crear estos proyectos con un objetivo educativo ha resultado muy util.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=549a535bc9ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Journal | Nearsoft Academy | Week 13]]></title>
            <link>https://marthaerm.medium.com/learning-journal-nearsoft-academy-week-13-b277821eabc7?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/b277821eabc7</guid>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 29 Dec 2020 05:58:22 GMT</pubDate>
            <atom:updated>2020-12-29T06:45:11.382Z</atom:updated>
            <content:encoded><![CDATA[<p>December 21— December 28</p><p>Hello! 👋 This is my <em>thirteenth-week takeaways</em> being part of the <a href="https://nearsoft.com/academy/">Nearsoft Academy program</a>, a space to learn, practice, and <strong>grow</strong>. I’ll post every week, all about the topics I’ve learned during this adventure.</p><p>This was the last week of the Open Source Phase, and this is what I learned about it.</p><h4>Rails scaffolding</h4><p>Rails has this functionality of code generations some code through the use of commands, in this case, we can run</p><p>rails generate model users name:text age:integer</p><p>It will generates a migration with the enough code to add name and age columns, a model to manage the data and the correspondent tests.</p><p>I found this functionality really useful, because it means that you can have a simple CRUD in a couple of minutes with the help of the <em>generate controller</em> command.</p><h4>Redux</h4><p>About redux, I learned the main concepts of it: <em>Store, Actions, Reducers.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P4BEtPHeGpW-sx-SgyG9jA.png" /></figure><h4>Contributions</h4><p><strong>Openfoodnetwork</strong></p><p>After working on an issue related to instagram links, I realized that the same thing happen to facebook, twitter and linkedin so I decided to work on that also, taking the same approach than before. I created the PR, and is waiting for review.</p><p><strong>If me</strong></p><p>It’s being very fun contributing to this project, I’ve learned a lot about Rails and how all theory I’ve been researching is actually applied on a real project. The issue I’ve been working on is kind of big, I already created a PR with the first steps to solve it to get some reviews and know if I’m going on the correct way. I would like to keep working on this after the phase ends because, how I already mentioned, I’m learning a lot from it.</p><p>Well, that was it about this phase, I’m so excited to continue with the next one, this adventure is getting every day more challenging and exciting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b277821eabc7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Journal | Nearsoft Academy | Week 12]]></title>
            <link>https://marthaerm.medium.com/learning-journal-nearsoft-academy-week-12-3ed5aba8c50?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ed5aba8c50</guid>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 22 Dec 2020 05:49:56 GMT</pubDate>
            <atom:updated>2020-12-22T06:01:01.346Z</atom:updated>
            <content:encoded><![CDATA[<p>December 14— December 21</p><p>Hello! 👋 This is my twelfth<em>-week takeaways</em> being part of the <a href="https://nearsoft.com/academy/">Nearsoft Academy program</a>, a space to learn, practice, and <strong>grow</strong>. I’ll post every week, all about the topics I’ve learned during this adventure.</p><p>This is almost the last week of contributions to open source, and this is what I learned from it.</p><h4>Ruby / Ruby on rails</h4><p><strong>Validations</strong></p><p>Rails have a helper that validates the state of objects before they go into the database.</p><p>It helps to ensure that only valid data is saved into the database. This is a simple example that validates that the <em>acceptance</em> field exists.</p><pre>class <strong>Person</strong> <strong>&lt;</strong> ApplicationRecord<br>  validates :terms_of_service, acceptance: <strong>true</strong><br>end</pre><p><strong>say_with_time</strong></p><p>I used this function in one of my PR’s, it prints a message at the beginning then, you add some code into it that increments a counter, and when it returns an integer, it prints a message that says “rows” plus the integer return. In my case, I used it in a migration that modifies X number of rows, so it prints a message to indicate that a certain table is being modified and then it says which row was modified and at the end, it prints the number of rows modified.</p><p><strong>Just one line</strong></p><p>After practicing and coding with ruby, I noticed that with this language, you can do many things in just one line, it has some functions that could be implemented in a simple way that you can save some code by put them in the same line.</p><h4>Contributions</h4><p><strong>Openfoodnetwork</strong></p><p>Finally, I was able to finish this ruby issue and I already created the PR, after some days of researching about ruby and rails, I put everything together and I knew how to deal with this issue. It still needs a review after my last changes but it looks good so far.</p><p><strong>Storybook</strong></p><p>This week I’ve been working on a JS issue on the storybook project, the challenge here has been finding the best way to run the project and execute the samples to view the modifications I did, it works kind of tricky but now, I know where to edit and what to do to work on the issue.</p><p><strong>If me</strong></p><p>This is a very cool project about mental health, it has an objective to help people to share their mental health stories to get support from the community.</p><p>And another cool thing about this was that it was done with Ruby on Rails and React, so it is being really interesting working on this project and trying to understand how it works. I have not finish the issue, but I’m still working on it, I’m so excited about this project because I like its objective and the technologies they used to build it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ed5aba8c50" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Journal | Nearsoft Academy | Week 11]]></title>
            <link>https://marthaerm.medium.com/learning-journal-nearsoft-academy-week-11-89f226ac335f?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/89f226ac335f</guid>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 05:23:35 GMT</pubDate>
            <atom:updated>2020-12-15T05:23:35.314Z</atom:updated>
            <content:encoded><![CDATA[<p>December 07 — December 14</p><p>Hello! 👋 This is my <em>eleventh-week takeaways</em> being part of the <a href="https://nearsoft.com/academy/">Nearsoft Academy program</a>, a space to learn, practice, and <strong>grow</strong>. I’ll post every week, all about the topics I’ve learned during this adventure.</p><p>This was the third week of <strong>the Open Source phase</strong>.</p><p>While I was working on my last issues and looking for some new ones, I learned different things.</p><h4>asdf</h4><p>I started to use the <a href="https://github.com/asdf-vm/asdf">asdf</a> version manager, so far I’ve used it to install different versions of ruby, to be able to run the project where I’m contributing, and also to keep working on another project that I use to test and learn more about rails.</p><p>It is really easy to use, I love that you should use <em>asdf</em> as a command, it makes it very easy to write!</p><h4>Docker</h4><p>To run properly one of the projects where I’m working on, they recommend to use a docker image, so I learned a bit about some basic docker commands like docker/build and docker/server, to run the container seed the database and serve the project to be able to use it locally.</p><p>I need to keep learning more about it, I still know just the basic things to work with it.</p><h4>Keep training</h4><p>This week, I started to work on some <a href="https://www.codewars.com/users/marthaerm">codewars</a> challenges to keep learning about JavaScript and Ruby. I’ve been learning about some functions to manage string and arrays.</p><p>Random fact: JavaScript was developed in 10 days!</p><h4>Contributions</h4><p>I’ve worked on an Open Food Network, since last week. I’ve been a little bit stuck sometimes because rails projects are still new for me, but I have a clearer idea about how to solve the issue, so I feel lucky to finish it during the week.</p><p>I just found a new project: <a href="https://www.if-me.org/">If-me.org</a> which is a community to share mental health experiences, I was looking a bit into it and It looks so interesting, and I got more interested in it when I discovered it is done with React and Ruby on Rails, so I immediately went to see their issues and I found, I ask to help with it, and I will work on it during the week.</p><p>That was it about this week. I’m very excited to work on rails projects because I’m learning a lot and I’m loving it.</p><p>See you next week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89f226ac335f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Journal | Nearsoft Academy | Week 10]]></title>
            <link>https://marthaerm.medium.com/learning-journal-nearsoft-academy-week-10-fa25df129237?source=rss-e5db365de1c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa25df129237</guid>
            <dc:creator><![CDATA[Martha Rodríguez]]></dc:creator>
            <pubDate>Tue, 08 Dec 2020 04:01:22 GMT</pubDate>
            <atom:updated>2020-12-08T04:02:36.021Z</atom:updated>
            <content:encoded><![CDATA[<p>November 30— December 07</p><p>Hello! 👋 This is my <em>tenth-week takeaways</em> being part of the <a href="https://nearsoft.com/academy/">Nearsoft Academy program</a>, a space to learn, practice, and <strong>grow</strong>. I’ll post every week, all about the topics I’ve learned during this adventure.</p><p>This was the second week of <strong>the Open Source phase</strong>.</p><p>I did my first contribution to open source and I learned a lot during the trip.</p><h4><strong>Read code — Good practices</strong></h4><p>An open-source project is made by a big team and usually is a big project, so to contribute to them I should read different files and understand a small part of the project at least.</p><p>While reading and writing code on <a href="https://github.com/mui-org/material-ui">Material UI</a>, I noticed the good practices they use on the project, but the most interesting part to me was the scripts they use to make sure the code is good to read and understand.</p><ul><li><strong>yarn typescript. </strong>It checks the typescript declarations</li><li><strong>yarn prettier. </strong>It reviews the code to see if it is formatted</li><li><strong>yarn lint. </strong>Analyze code for potential errors</li></ul><h4>Testing</h4><p>On material UI, they use CI/CD to check all the pull request the community creates, one of the ones that look interesting to me was the <a href="https://www.argos-ci.com/">argos ci</a> check, it takes screenshots and compares the current project with the changes you want to do, if they look different, it will give you an error and show you the differences between the 2 versions.</p><h4>Pull requesting solutions</h4><p>Try to fix an issue, could be a bit difficult at the beginning, finding the files where the change should be done, is kind of complicated, but is about going from the big picture to the details.</p><p>First, I reproduced the error and started looking from there, opening the imports and understanding the functions.</p><p>After solving the issue, the time to create the pull request arrived. To create the pull request, is important to red gain the contribution guide of the project, to see if you should follow a determined format that the project uses, and of course, you should add all the information needed to make it easy to understand.</p><h4>Results</h4><p>I started to work on 3 issues, 2 of them on Material UI and the other on <a href="https://github.com/openfoodfoundation/openfoodnetwork">Open Food Network</a> I got a <a href="https://github.com/mui-org/material-ui/pull/23806">merge in one</a>, where I worked with the useMediaQuery.</p><p>I created another PR and I’m still working on it, the project members take care of the way you solve the issue, so they asked me to make some changes to it.</p><p>With the 3rd one, I had some blockers, I recently start learning Ruby so all the installation environment is not one of my strengths, I wasn’t able to start working on that issue but, <strong>is it a failure?</strong></p><p>I consider it as a <strong>step to success </strong>even if I didn’t create a PR, I learned more about ruby installation, versions, and docker. Now, I know that docker helps you to avoid a project work just in one machine with a specific environment, it creates containers where you can prepare all the things you need for the project to run.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa25df129237" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>