<?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 nikolmarentes on Medium]]></title>
        <description><![CDATA[Stories by nikolmarentes on Medium]]></description>
        <link>https://medium.com/@Musclenun?source=rss-37e5a2b5cc01------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*g2_8dudgv3Sfpmwj.jpg</url>
            <title>Stories by nikolmarentes on Medium</title>
            <link>https://medium.com/@Musclenun?source=rss-37e5a2b5cc01------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 14:21:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Musclenun/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[Redux vs. Vuex:]]></title>
            <link>https://medium.com/@Musclenun/redux-vs-vuex-9b682529c36?source=rss-37e5a2b5cc01------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b682529c36</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[nikolmarentes]]></dc:creator>
            <pubDate>Tue, 07 Feb 2017 02:53:13 GMT</pubDate>
            <atom:updated>2017-02-08T17:58:50.396Z</atom:updated>
            <content:encoded><![CDATA[<p>This week’s post is going to be a bit different from the usual posts about weekly goings on at Codesmith. The change is because this week is all about ideation for a production project which I and two cohort-mates are working on. We’re all really excited about a framework that got a lot of attention this past year, Vue. I’ve read a lot about the differences between Vue and other frameworks, but I was also really curious about how different state management libraries work with Vue. I decided it might be nice to get a little bit into the differences between Redux and Vuex, the official state management library for Vue, and share my findings.</p><p>Here we go:</p><p>Redux is a framework agnostic state management library. If you’re thinking about trying out Vue, or already using Vue with Redux, Vuex is probably a better state management library for maintaining performance, Here are some things to know about the two, so you can compare:</p><p><strong>REDUX:</strong></p><p><strong>Actions:</strong></p><p>Redux relies on actions: objects with a ‘type’ property and the minimum number of other properties and values that are necessary to explain the action. The only way to manipulate your state is to use the store.Dispatch() method which takes in a type (your action object) and a payload(which sends data from your application to your store). If the action isn’t recognized and no change is dispatched, the state is defaulted to the old state.</p><p><strong>Reducers :</strong></p><p>Reducers are pure functions (with pure functions you can guarantee that the same input will always result in the same output and do not mutate the input or create any side effects) that are used to implement how the next state is calculated from the current state and the action.</p><p>Each reducer manages its own part of the global state. State logic can be managed by breaking down your reducers to correspond to smaller sub-pieces of a state. These reducers can then be combined to one root reducer to manage all of your applications state. The redux store saves the complete state tree returned by the root reducer.</p><p><strong>Store:</strong></p><p>The store is the single source of truth and holds the whole state tree. In truth, it is just an object. To change the state, you must dispatch an action to it. In Redux, there is only one store, and one root reducing function, similar to having a root component in React. You never add a store, you only split the root reducer into smaller reducers that work on different parts of your state tree. You can add a change listener called subscribe to check anytime an action is ‘dispatched’ and your state tree may have changed.</p><p>FYI, you can bind Redux and Vue.js, just keep in mind that according to some, it is not necessarily the best fit for Vue.js. This is because Redux replaces the state object on every update. Though Redux is framework agnostic, it was created with React in mind. React is different from Vue in the way it processes updates: React renders a virtual DOM then calculates the most optimal DOM operations to make the currently rendered DOM match the new Virtual Dom. But it has no way of knowing whether a particular component needs to re-render or not based on the new data. Vue instances keep track of which bits of data they depend on to render. These instances automatically register what needs to re-render when the data changes.</p><p><strong>VUEX:</strong></p><p>Similar to Redux, Vuex is also inspired by Flux. However, unlike Redux, Vuex mutates the state rather than making the state immutable and replacing it entirely like with Redux’s ‘reducer’ functions.</p><p>This allows Vue.js to automatically know which directives need to be re-rendered when the state changes. Instead of breaking down state logic with specialized reducers, Vuex is able to organize its state logic with stores called modules.</p><p><strong>Mutations:</strong></p><p>Rather than actions, the only way to change the state tree in Vuex is with <strong>Mutations</strong>. <strong>Mutations </strong>require a type and handler. The type is a string name that acts as the key, and the handler is a function body. The mutations can be assigned to modules with a corresponding slice of the state. For small apps, this might seem tedious, but the benefits are that (particularly for larger apps) you will have one place where you will be able to see all of the possible ways that the state can change. This makes debugging much more convenient. Also, note that these are always synchronous to ensure that the state isn’t dependent on the timing and order of unpredictable (asynchronous) events.</p><p><strong>Actions:</strong></p><p>In Vuex, we also have actions: these are functions that dispatch (communicate changes to the store) our mutations. These can be asynchronous and receive the store instance as their first argument.</p><p>Actions do not mutate the state directly, but only commit the mutations. These can also be used to make asynchronous state changes. Keep in mind that the actions support the same payload format and object-style dispatch as mutations (i.e. your arguments for dispatch look the same as in a commit).</p><p><strong>Store:</strong></p><p>Like Redux, Vuex also has a store. This is the center of every Vuex application. This store holds the entire state, but it is not like a plain global object. Vuex stores are different because when components get state from the store, these components can reactively and efficiently update ‘whenever the store’s state changes. The store’s state can only be changed by committing mutations.</p><p>Overall, Vuex was really built to take advantage of what makes Vue unique. But for anyone thinking of moving over Vue, there is a caveat. For one, Vue doesn’t yet have the support, resources, and wide spread adoption of other frameworks like React. Having said that, Vue makes serious efforts to have lots of functionality right out of the box so getting started on your project is a more straightforward experience than setting up with React.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b682529c36" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First week back]]></title>
            <link>https://medium.com/@Musclenun/first-week-back-bb434944e55a?source=rss-37e5a2b5cc01------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb434944e55a</guid>
            <category><![CDATA[pair-programming]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[bootcamp]]></category>
            <dc:creator><![CDATA[nikolmarentes]]></dc:creator>
            <pubDate>Tue, 17 Jan 2017 22:45:26 GMT</pubDate>
            <atom:updated>2017-02-06T18:12:24.286Z</atom:updated>
            <content:encoded><![CDATA[<p>First week back</p><p>Happy New Year!! Due to the timing of the holidays, our break split the course into a shorter 5 week “junior” portion with a 1 week break, and then another week of being the “junior” cohort before jumping into the “senior”/ 2nd portion immediately after. It’s a strange feeling being in this limbo period and feeling like you’ve completed the first half but not being quite ready for the second half.</p><p>Per usual, we hit the ground running after the new year with a team project. It was definitely different working on a group as opposed to just pair programming with someone. I spent the first two days fearing merge conflicts but being surprised at how organized our team was! I doubt I’ll be this lucky in the future.</p><p>The next part of our week was spent with a new team iterating over another group’s project. It’s hard to say which project I learned more from. It was immediately understandable why documentation and commenting are so important!!</p><p>This was also the last week we spent with the “senior” cohort. I can’t believe the time has gone by so quickly. I will seriously miss this group and am so excited to see them moving on!</p><p>Lessons learned for this week were:</p><ul><li>Documentation, commenting, and keeping code organized are really, really important for anyone who will inherit your code. Seriously.</li><li>Working with the google maps API is a little bit confusing and fun at the same time.</li><li>I am also really excited for the coming week, when we finally get started on our production projects.</li></ul><p>Looking forward to the following week!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb434944e55a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 5]]></title>
            <link>https://medium.com/@Musclenun/week-5-c933ede627ec?source=rss-37e5a2b5cc01------2</link>
            <guid isPermaLink="false">https://medium.com/p/c933ede627ec</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[nikolmarentes]]></dc:creator>
            <pubDate>Wed, 28 Dec 2016 04:45:55 GMT</pubDate>
            <atom:updated>2016-12-28T04:45:55.933Z</atom:updated>
            <content:encoded><![CDATA[<p>Some notable events that occurred in week 5:</p><ul><li>We had our ugly sweater/ black tie Christmas party. It was really fun! And I was surprised that so many alumni and friends of students came to partake in the festivities.</li><li>We learned about implementing and working with databases</li><li>We learned about testing, implemented some unit testing and integration testing into our learning modules</li><li>My cohort started using lunch times to have mini-study- sessions to refresh on previous topics and fill in any knowledge gaps</li></ul><p>Last Saturday was the start of our solo-projects, which I, unfortunately, did not take advantage of my free Sunday to work on, using that day to prepare for my presentation, or rather, Tech Talk, as Codesmith calls them. My talk was titled ‘ES 6 Features You Might Not Know’, I’ll probably go over it again as a blog post in the near future.</p><p>Week 6 was especially difficult. For my solo-project I ended up using my time to try to understand React a little better and use what we’ve learned so far. In an effort to combat my ever-permanent indecisiveness, I decided to make a personalized web app that would help you choose where to eat for lunch based on your own preferences. This ended up being far more difficult to accomplish in two days than I had anticipated. Especially because I am procrastinator and the solo-project and my Tech Talk were due on the same day.</p><p>We also had one last unit on security, which ended up being really fun and I wish I’d had more time to complete the unit.</p><p>We spent Thursday reviewing and preparing for our assessment and Friday was spent taking our assessment before the Christmas Break.</p><p>Some lessons learned for this week were :</p><ol><li>Be aware of your scope. Some things were just not possible to complete within two days. There’s a lot that I did not yet fully understand, and it was really kicking my butt the day our projects were due.</li><li>I am still dealing with imposter syndrome and I think that’s okay.</li></ol><p>And now, a much needed break to sleep, eat, and hang out with some family.</p><p>That’s all for now. Happy Holidays and a very Happy New Year!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c933ede627ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set up snippets for efficient programming!]]></title>
            <link>https://medium.com/@Musclenun/how-to-set-up-snippets-for-efficient-programming-b4d9acec0248?source=rss-37e5a2b5cc01------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4d9acec0248</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[nikolmarentes]]></dc:creator>
            <pubDate>Thu, 22 Dec 2016 01:34:01 GMT</pubDate>
            <atom:updated>2016-12-22T01:34:01.669Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve ever needed to reuse a small portion of code over and over again and you’ve never used snippets, then this post is for you. Snippets is a programming term for a small bit of reusable code or text. Most text editors like VSCode, Atom, and Sublime Text and even apps like snippets.me have options to save and add commonly needed code into snippets that you can reuse for different projects many times over and allow for faster programming.</p><p>Here’s a quick example: Let’s say you’re making a new website and making HTML pages is something you do pretty often. You can create a snippet for your HTML page and call it <em>boilerhtml </em>so that the next time you need to set one up you just start typing <em>boilerhtml</em> , hit <em>Tab</em> and there is your boilerplate. Or perhaps you hate wasting your time writing out for loops when you are coding. So go to your editor’s Snippets menu. You will probably have to pick out which language you’re going to be working in and your editor should open up a JSON file for your language.</p><p>You will start with setting up your <em>For Loop</em> method and keep in mind that basically everything must be in quotes. Your prefix is what will be the name you type out for your <em>For Loop </em>to work while you are coding. Every variable or item that is not part of your boilerplate will be notated with a <em>${}</em> and contain a number and description.</p><pre>&quot;For Loop&quot;: {<br>     &quot;prefix&quot;: &quot;for&quot;, <br>     &quot;body&quot;:[<br>         &quot;for (var ${1:index} = 0; ${1:index} &lt; ${2:array}.length;  ${1:index} += 1 )&quot;,<br>&quot;\t var  ${3:element}=  ${2:array}[${1:index}];&quot;,&quot;&quot;,</pre><pre>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4d9acec0248" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Server-side]]></title>
            <link>https://medium.com/@Musclenun/server-side-d041ca8cf1ff?source=rss-37e5a2b5cc01------2</link>
            <guid isPermaLink="false">https://medium.com/p/d041ca8cf1ff</guid>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[codesmith]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[chrome-extension]]></category>
            <dc:creator><![CDATA[nikolmarentes]]></dc:creator>
            <pubDate>Thu, 15 Dec 2016 18:34:44 GMT</pubDate>
            <atom:updated>2016-12-15T18:34:44.584Z</atom:updated>
            <content:encoded><![CDATA[<p>Server-side</p><p>This week we departed our safe space in the front-end and rolled up our sleeves to dig in to the server-side with Node and Express. I’d heard horror stories- that it was this big, vast space where the rules are different, what you think you know suddenly is wrong and all your nightmares become reality. Okay, not really, but I had always felt the sense of — <em>approach with extreme caution</em> when thinking about it.</p><p>I was, as it now seems to be quite often, way off. I actually ended up really liking this weeks challenges. Lesson learned to not let the unknown keep you from moving forward!</p><p>This week was extra exciting because on Wednesday we had our first Codesmith Hack-athon. It had been rescheduled due to the Thanksgiving holiday. Our objective: make a Google Chrome extension. I paired with fellow cohort-mate Vinnie to make an extension that highlights news stories from a Pew Research Center-sourced list of ‘politically- biased’ media sources on Google news. So far, our units have been very focused on doing various projects to learn specific material and get a good understanding of everything Javascript/ CS, and so it was really cool actually being able to ideate and create something from scratch. It definitely won’t be our last time, next week we start solo projects!</p><p>We also had a really great speaker come in- Luc Hall, Senior Engineer from Avata, who shared some really nice insights into his work, some things to keep in mind when pursuing a career in a big company or a startup, and some great tips for programming in React and keeping your code organized. Looking forward to next week when we get into databases and testing!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d041ca8cf1ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 3 : frameworks]]></title>
            <link>https://medium.com/@Musclenun/week-3-frameworks-abd2f6612d9c?source=rss-37e5a2b5cc01------2</link>
            <guid isPermaLink="false">https://medium.com/p/abd2f6612d9c</guid>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[pair-programming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[nikolmarentes]]></dc:creator>
            <pubDate>Wed, 07 Dec 2016 08:53:06 GMT</pubDate>
            <atom:updated>2016-12-07T08:53:06.923Z</atom:updated>
            <content:encoded><![CDATA[<p>Week 3 : frameworks</p><p>It’s the first week back from the thanksgiving holiday and cohort -11 hit the ground running. It was extra challenging because not only did we cannon-ball into the seas that are React and Angular, but our bootcamp training-wheels officially came off this week with the ‘juniors’ now getting into the swing of peer code reviews and leading tech talks.</p><p>The structure of each unit is compartmentalized into chunks that allow you to get really focused on your project, and then go to the lectures where you examine the concepts to further grasp and reinforce what you’re learning, and build on that learning to understand new concepts. It is intense. There’s so much to learn! So much to process! I am definitely spending this weekend (and probably every weekend) doing some catching-up/ wrapping up things I wasn’t able to finish during the week.</p><p>Here were my takeaways for the week:</p><ul><li>I find that I’m really enjoying pair-programming much more now that I’m really getting the hang of it. For me, coherently communicating my thought process while coding turned out to be more difficult than I had thought it would be but during this time, I’ve really grown to appreciate and look forward to pair-programming.</li><li>I totally get why people get so excited about frameworks! They really allow you think about your code in a different way, and when done correctly, can really help to organize your code.</li></ul><p>That’s all for now. Can’t wait for next week!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abd2f6612d9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 2]]></title>
            <link>https://medium.com/@Musclenun/week-2-1e7da634fd6f?source=rss-37e5a2b5cc01------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e7da634fd6f</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[codesmith]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[nikolmarentes]]></dc:creator>
            <pubDate>Tue, 29 Nov 2016 06:24:40 GMT</pubDate>
            <atom:updated>2016-11-29T06:24:40.891Z</atom:updated>
            <content:encoded><![CDATA[<p>Week 2</p><p>Okay, week 2 — it was so short! It’s thanksgiving week and among many other things, I am so thankful that we got this mini-break. I feel like this was such a great chance to let the first week at Codesmith really sink in and also gave me extra time to review some assignments I wish I’d had more time on, as well as getting some time to see and hang out with my family.</p><p>So on Monday it was back to work after the weekend. We got our new groups and I partnered up with Max for unit 3. After lots of starts and stops we were able to recreate our own Mario Kart themed snake-game.</p><p>There was a time on the 2nd day of the unit where nearly everyone was having the same problem with their projects. But by the time we presented them on Wednesday, everyone came out with some really great and really hilarious projects.</p><p>Tuesday evening we had our first guest speaker from Codesmith’s Women In Tech Speaker Series. The guest speaker, Unnati Sethi, is a Software Development Manager at IMDb and was so inspirational and funny. She had such a great story and I loved hearing her insights into the tech industry, as well as her awesome advice for forging your own career path and the importance of diversity in the workplace. I found myself all the more inspired that she was able to work in a space that combines two of her passions- tech and film (two of my passions as well). I left that talk having a serious girl-crush / idol.</p><p>Here are some of my take-aways for this week:</p><ul><li>I find that I’m really a fan of the feedback sessions we hold nearly every other day. They allow the students to reflect on the units, give constructive criticism to the staff and each other and learn about what we too can do to improve for our future pair partners.</li><li>I can’t wait to see the next speaker at the Women In Tech Speaker Series. These are also open to the public, so if you’re in the LA area, I highly recommend coming to check it out!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EOZBrtM67OLyJttTqoDkgA.jpeg" /></figure><p>Lastly, here’s the epic ping-pong battle that ended the Codesmith relay race. It included everyone in the two cohorts and the staff! Photo credit: Chris Fleming</p><p>Happy long weekend! Can’t wait for next week!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e7da634fd6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beginnings.]]></title>
            <link>https://medium.com/@Musclenun/beginnings-b186af5b50c?source=rss-37e5a2b5cc01------2</link>
            <guid isPermaLink="false">https://medium.com/p/b186af5b50c</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[codesmith]]></category>
            <dc:creator><![CDATA[nikolmarentes]]></dc:creator>
            <pubDate>Tue, 29 Nov 2016 06:24:07 GMT</pubDate>
            <atom:updated>2016-11-29T06:24:07.350Z</atom:updated>
            <content:encoded><![CDATA[<p>Today is the last day of my first week at Codesmith. Looking back, it went by too quickly and I’m already wishing time was a bit slower. Part of that is so I can catch up to my work, but really it’s because everything happens so fast here, I really wish I could just savor all the small victories and moments for a little longer.</p><p>I was surprised that one of the most rewarding things I experienced this week was getting to know all of my fellow students. Codesmith’s approach to learning is so amazing because when you’re here, its not a competition. They’ve set up this culture where everyone is proud of everyone else’s accomplishments. When a group finishes a problem, I’ll often see them walking around helping others to not only solidify their knowledge but also support everyone else. The rule, of course, is to never give the answer but to ask the right questions.</p><p>Having said all that- this course is intense. I feel like there’s so much to absorb I’m constantly catching up. The moment I feel like I finally understand something, a new problem comes along and I am thrown. I was really nervous about this at first, (and honestly I’m still pretty nervous about it) but the seniors (who are so super nice and helpful) were quick to let me know that they often felt the same way. After hearing some of their really impressive project ideas I can’t believe that they were struggling with the same problems only six weeks ago.</p><p>I’m also really pleased with the events they hold for the students. On Tuesday, my cohort had a welcome bon-fire at the beach which was really fun! Thursday had a really awesome mentor talk- I only understood part of of it, but afterwards he answered a lot of questions about his career which was a nice insight and informative. On Friday I attended the ‘ladies lunch’. It was really nice to get to know the other ladies at Codesmith. All I can say is that it has been a really, really hard week and I loved <em>almost</em> every minute. I already feel like I’ve learned so much .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b186af5b50c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>