<?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 Cuthbert Guerrero on Medium]]></title>
        <description><![CDATA[Stories by Cuthbert Guerrero on Medium]]></description>
        <link>https://medium.com/@cuthbertguerrero?source=rss-4c2664282b7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_vDsiVAM_RrE2yg6yJcCOQ@2x.jpeg</url>
            <title>Stories by Cuthbert Guerrero on Medium</title>
            <link>https://medium.com/@cuthbertguerrero?source=rss-4c2664282b7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:09:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cuthbertguerrero/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[My Journey to the Growth Mindset]]></title>
            <link>https://medium.com/@cuthbertguerrero/my-journey-to-the-growth-mindset-e500441d2be3?source=rss-4c2664282b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e500441d2be3</guid>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[books]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <dc:creator><![CDATA[Cuthbert Guerrero]]></dc:creator>
            <pubDate>Wed, 12 May 2021 06:28:52 GMT</pubDate>
            <atom:updated>2021-05-12T06:28:52.834Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>My Journey to the Growth Mindset</strong></p><p><em>The article contains affiliate links, which means that whenever you use those links to buy, I’ll get a small cut.</em></p><p>The past week, I rediscovered the book of Carol Dweck, <a href="https://amzn.to/2Qd7d40"><em>Mindset: The New Psychology of Success</em></a><em>, </em>and I’m glad that I did, I’ve been struggling a bit at work where I just recently moved to a new role of Site Reliability Engineering. Reading, actually listened on <a href="https://amzn.to/2Q95tIU">Audible</a>, the book again grounded me and is allowing me to prepare myself for the things to come.</p><p>According to the book, the journey to a growth mindset has 4 steps</p><ol><li>Embrace your fixed mindset</li><li>Become aware of your fixed-mindset triggers</li><li>Give your fixed-mindset persona a name</li><li>Educate it (fixed-mindset persona). Take it on the journey with you.</li></ol><p>I’m done with step 1 (that’s why I’m writing this post!). With step 2, I have identified a couple of triggers:</p><ul><li>When I’m under pressure or there’s a lot of stress at work.</li><li>When I’m asked to take on a project I have no experience on building.</li><li>When I want to share my thoughts about a technical subject.</li></ul><p>Notice that it’s mostly about work and that’s because I want to improve and change myself when it comes to work. I’ve noticed that there are times where I will write about a technical matter and just never send it. Now I realize that I’m not helping anyone, especially me, by doing that. I didn’t learn anything from the situation.</p><p>Next is step 3, naming my fixed-mindset persona and I’ve decided to name him, Gollum. It’s the first thing that popped into my head when I was reading the book and it fits, my fixed-mindset persona helped me and protected me from failure just like Gollum helped Smeagol to survive and grow. My fixed-mindset persona also limits me by telling me that I’m not good enough or I will only fail the task that I’m currently working on.</p><p>It’s liberating to finally name my fixed-mindset persona and start on my step 4, educating Gollum! Becoming a growth minded person will be a journey (see what I did there?) and to help me with this, I’m setting a system that I can reach out to whenever Gollum is being loud. One of the system is my family, I’ll talk to them whenever I’m being overwhelmed by Gollum and I’ve asked them to stir me back to the right direction.</p><p>That’s it! This is my very first step on my journey to being a growth-minded person. I hope I’ve piqued your interest about the different mindsets and I hope that you’ll also start the journey.</p><p><em>One very important thing to note is that people are a mixtures of fixed and growth mindsets. It’s up to you to nurture the mindset that you want.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e500441d2be3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shell Scripting 101]]></title>
            <link>https://medium.com/@cuthbertguerrero/shell-scripting-101-e2a62c9d8379?source=rss-4c2664282b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2a62c9d8379</guid>
            <category><![CDATA[unix]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Cuthbert Guerrero]]></dc:creator>
            <pubDate>Fri, 04 Jan 2019 06:41:23 GMT</pubDate>
            <atom:updated>2019-01-04T06:41:23.529Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rCK2dH2o7u4qvE_rYdJlBg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/4T5MTKMrjZg?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Markus Spiske</a> on <a href="https://unsplash.com/search/photos/code?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Learning shell programming was one of my goals for 2018 and writing this post is a way to help me reinforce what I have learned going through the <a href="https://www.learnshell.org/">learnshell.org</a> tutorial.</p><p>Shell scripting can be performed in two ways:<br> 1. Directly executing shell commands at the shell prompt.<br> 2. Writing the shell commands to script and executing it. Note: The script must have the execute permission, which you can achieve by running chmod +x filename.</p><p>For this post, I’ll be discussing way #2, writing <em>shell scripts</em>. A <em>shell script</em> must begin the <strong>she-bang</strong> ( #! ) and the full path for the shell interpreter. The following hello_world.sh is a basic example of a shell script that writes “Hello, World!” to the shell.</p><pre>#!/bin/bash</pre><pre>echo &#39;Hello, World!&#39;</pre><h4>Variables</h4><p>A variable in shell scripting is created once assigned with a value. Variable names are case sensitive and are made up of a combination of letters and underscores. The following code gist contains examples of variables, note that there are <strong>NO</strong> spaces around the = sign.</p><pre>#!/bin/bash</pre><pre>MY_NAME=&#39;Cube&#39;<br>favorite_color=&#39;blue&#39;</pre><p>To use/reference a variable, prefix the variable name with $ or surround the variable within ${variable name} .</p><pre>#!/bin/bash</pre><pre>MY_NAME=&#39;Cube&#39;</pre><pre>echo &#39;Hello $MY_NAME&#39;<br>echo &#39;Hello ${MY_NAME}&#39;</pre><p>Variables can also be assigned with a command output such as ls or grep called substitution. Encapsulate the commands with backticks to use substitution.</p><pre>#!/bin/bash</pre><pre>LS_COMMAND=`ls -al`</pre><pre>echo &quot;$LS_COMMAND&quot;</pre><h4>Control Structures</h4><p>As with other programming languages, shell programming has its own control structures. The basic syntax for using an if</p><pre>if [ expression ]; then<br>  # Do something<br>elif [ expression ]; then<br>  # Do something else<br>else<br>  # Do it<br>fi</pre><h4>Loops</h4><p>Of course, shell programming also has its own loop contructs such as for and while. I’ll be concentrating with the `while` loop for this post. The syntax for the while loop is</p><pre>while [ condition ]<br>do<br>  # Do stuff<br>done</pre><p>As a conclusion, I have created a FizzBuzz solution using everything I have discussed.</p><pre>#!/bin/bash</pre><pre>COUNTER=1</pre><pre>while [ $COUNTER -le 100 ]<br>do<br>    MODULO_FIVE=`echo &quot;$COUNTER % 5&quot; | bc`<br>    MODULO_THREE=`echo &quot;$COUNTER % 3&quot; | bc`<br>    CHECK=`echo &quot;$MODULO_FIVE + $MODULO_THREE&quot; | bc`</pre><pre>if [ $CHECK -eq 0 ]; then<br>    echo &quot;fizzbuzz&quot;<br>    elif [ $MODULO_FIVE -eq 0 ]; then<br>        echo &quot;buzz&quot;<br>    elif [ $MODULO_THREE -eq 0 ]; then<br>        echo &quot;fizz&quot;<br>    else<br>        echo $COUNTER<br>    fi<br>    <br>    COUNTER=$(($COUNTER + 1))<br>done</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2a62c9d8379" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript: this key]]></title>
            <link>https://medium.com/@cuthbertguerrero/javascript-this-key-e7acaa60e105?source=rss-4c2664282b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7acaa60e105</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Cuthbert Guerrero]]></dc:creator>
            <pubDate>Tue, 13 Nov 2018 14:21:39 GMT</pubDate>
            <atom:updated>2018-11-13T14:21:39.881Z</atom:updated>
            <content:encoded><![CDATA[<p>The this keyword is one of the confusing aspects of programming with JavaScript. Admittedly, only after reading the You Don’t Know JavaScript series of Kyle Simpson, did I fully understand the subject. This article aims to summarize what I’ve read and, hopefully, help other developers to understand JavaScript better.</p><p>The most important thing to learn when dealing with the <em>this </em>keyword in JavaScript is:</p><blockquote><em>this</em> binding has nothing to do with where a function is declared but has instead everything to do with the manner in which the function is called.</blockquote><p>Knowing this we can now follow a set of rules to determine the value of this at function invocation.</p><h4>“this” as the global object (Default Binding)</h4><p>The default function invocation, standalone function invocation, which binds this to the global object, in Node that is the global and in the browser the window.</p><pre>function foo() {  <br>  this.a = 2;  <br>  console.log(this === global); // true, if in browser `this === window`<br>} </pre><pre>foo();<br>console.log(a) // 2</pre><p>NOTE: When using use strict, the default binding rule will not work as this will be undefined.</p><pre>&#39;use strict&#39;;</pre><pre>function foo() {<br>  this.a = 2;<br>}</pre><pre>foo(); // TypeError: Cannot set property &#39;a&#39; of undefined</pre><h4>“this” as the owning object (Implicit Binding)</h4><p>When calling a function with a context object, the rule states that <em>owning</em> <em>object</em> is bind to this.</p><pre>function foo() {<br>  this.a = 3;<br>}</pre><pre>var obj1 = { <br>  a: 2, <br>  foo: foo <br>};</pre><pre>obj1.foo();<br>console.log(obj1.a); // 3</pre><h4>“this” as a particular object (Explicit Binding)</h4><p>As you may (or may not) know, each function in JavaScript is an object and have access to the call, apply, and bind functions. Each of these methods accept as their first parameter an object where this will be bound to.</p><pre>function foo() {<br>  this.a = 2;<br>}<br><br>var obj1 = {}<br>var baz = foo.bind(obj1);<br><br>baz();<br>console.log(obj1.a); // 2<br><br><br>var obj2 = {}<br><br>foo.call(obj2);<br>console.log(obj2.a); // 2<br><br><br>var obj3 = {}<br>foo.apply(obj3);<br>console.log(obj3.a); // 2</pre><h4>“this” as the new object (new Binding)</h4><p>When invoking a constructor function with the new operator, this will be bound to the newly created object.</p><pre>function Todo(title, description) {<br>  this.title = title;<br>  this.description = description;</pre><pre>  this.display = function() {<br>    console.log(this.title + &#39; &#39; + this.description);<br>  }<br>}</pre><pre>var todo1 = new Todo(&#39;Write blog post&#39;, &#39;about the `this` binding in JavaScript&#39;);<br>todo1.display(); // &#39;Write blog post about the `this` binding in JavaScript</pre><h4>“this” with the ES6 arrow function (Lexical Binding)</h4><p>The arrow function doesn’t bind this, it uses the this with its lexical scope.</p><pre>function foo() {<br>  return () =&gt; {<br>    this.a = 2;<br>  }<br>}<br><br>var obj = {<br>  a: 0,<br>  foo: foo<br>}<br><br>obj.foo()();<br>console.log(obj.a);</pre><p>That’s it! Everything here I learned by reading the <a href="https://github.com/getify/You-Dont-Know-JS"><em>You Don’t Know JavaScript</em></a> series, specifically the <a href="https://github.com/getify/You-Dont-Know-JS/tree/master/this%20%26%20object%20prototypes"><em>this &amp; Object Prototypes</em></a><em> </em>book. By following these rules, we can understand this better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7acaa60e105" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Bee Token — Decentralized Sharing Economy]]></title>
            <link>https://medium.com/@cuthbertguerrero/the-bee-token-decentralized-sharing-economy-442475f51546?source=rss-4c2664282b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/442475f51546</guid>
            <category><![CDATA[beetoken]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ico]]></category>
            <category><![CDATA[cryptocurrency-investment]]></category>
            <dc:creator><![CDATA[Cuthbert Guerrero]]></dc:creator>
            <pubDate>Sat, 13 Jan 2018 06:56:03 GMT</pubDate>
            <atom:updated>2018-01-13T07:25:13.077Z</atom:updated>
            <content:encoded><![CDATA[<p>Let me start by saying that I plan on investing on their initial coin offering (ICO) and this post is meant to help people who are looking into the Bee Token ICO.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uc0sROJZng-5al3IfJXn8w.jpeg" /><figcaption>About section of <a href="https://www.beetoken.com/#about">beetoken.com</a></figcaption></figure><h3>Bee Protocols (P-A-R)</h3><p>The Bee protocol is a second layer protocol built on top of Ethereum, which will help in building the decentralized sharing economy. It’s made up of three parts:</p><ol><li><strong>P</strong>ayment Protocol<br>Using smart contracts, the payment protocol keeps track of all payments done by users of the sharing economy and handling any payments, that are sent to the arbitration protocol.</li><li><strong>A</strong>rbitration Protocol<br>The arbitration protocol tracks of all disputes happening in the sharing economy, while also allowing users (arbiters) to solve disputes.</li><li><strong>R</strong>eputation Protocol<br>The reputation protocol is pretty much it, it tracks reviews and maintains reputation scores for the users of sharing economy.</li></ol><p>NOTE: This is pretty much a TLDR version of the protocols, do read their <a href="https://s3-us-west-2.amazonaws.com/beenest-public/whitepaper/bee_whitepaper_v3.pdf">whitepaper</a> to learn more about the Bee protocol.</p><p>Using the Bee protocol, the team is proposing Beenest as their first project to be built on the protocol.</p><h3>Beenest</h3><p>From the team’s whitepaper, Beenest will be the first decentralized home-sharing network built on top of Bee protocol.</p><p>In short, they’re taking what Airbnb currently is and putting it on a blockchain. In doing so, they can lower transaction fees and with the help of Ethereum’s smart contracts, they increase security &amp; trust.</p><h3><strong>Why I’ll be investing in their ICO</strong></h3><p>Here are my reasons on investing on the Bee token:</p><ol><li>The main reason why I’m investing in the project is the Bee protocol, it’s so much more than just Beenest, it can help people build almost any P2P marketplace.</li><li>The team’s vision on what the shared economy should be. They believe that by decentralizing, all players within a shared economy will benefit.</li><li>The team has a strong background, mostly coming from the largest tech giants like Uber, Facebook, and Google.</li><li>Lastly, the team wrote a great whitepaper. Please read it <a href="https://s3-us-west-2.amazonaws.com/beenest-public/whitepaper/bee_whitepaper_v3.pdf">here</a>.</li></ol><p>Like what you read? Here’s another article about the Gems Protocol my colleague wrote, and why we’ll also be investing in it.</p><p><a href="https://medium.com/@kevinchan_45593/why-i-chose-gems-ico-65ad63d039eb">Why I Chose — GEMS ICO</a> by <a href="https://medium.com/@kevinchan_45593">Kevin Chan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=442475f51546" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>