<?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 Yomi on Medium]]></title>
        <description><![CDATA[Stories by Yomi on Medium]]></description>
        <link>https://medium.com/@alajide?source=rss-db2fbc31f8a7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Y3mRc3zHWcpJHQGMLEIc_Q.jpeg</url>
            <title>Stories by Yomi on Medium</title>
            <link>https://medium.com/@alajide?source=rss-db2fbc31f8a7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 22:00:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alajide/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[Of Course Ruby has it…..]]></title>
            <link>https://medium.com/@alajide/of-course-ruby-has-it-7c6ced7ec429?source=rss-db2fbc31f8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c6ced7ec429</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[minswan]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby]]></category>
            <dc:creator><![CDATA[Yomi]]></dc:creator>
            <pubDate>Tue, 30 May 2017 03:06:10 GMT</pubDate>
            <atom:updated>2017-09-19T17:16:05.291Z</atom:updated>
            <content:encoded><![CDATA[<p>I don’t know what I was expecting, actually that’s not entirely accurate, I truly thought it would be a gem not something already included as part of the language. Why aren’t more people gravitating towards ruby? It is by far the most accommodating language I have encountered, has it always been this way? Does anyone know enough ruby history to tell me at the start Ruby was a pain in the a&amp;$?</p><p>Anyway, I was thinking about benchmarking…I am trying to learn algorithms and boy does this stuff take some serious brain power, so what do I do? I distract myself with reading up everything else, including writing this blog post. As I was watching my 3rd lesson on algorithms I start to think how would I benchmark my method calls in ruby is there a benchmark gem? I googled <em>“Ruby Benchmark”, and </em><strong><em>Of Course Ruby has it…</em></strong></p><p>Ok, surprise has worn off now, lets learn how to use this sucker. <a href="https://ruby-doc.org/stdlib-2.4.1/libdoc/benchmark/rdoc/index.html">Documentation</a>, check. Ease of use, check. Lets get this baby going.</p><ol><li>require “benchmark”</li><li>Call the Benchmark module and bm method with a bloc utilizing the report method to output the “results”. {Methods to be bench marked must be called within the curly braces, as pictured below}.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*QkJxLKY8HNAIlEpdRwtceQ.png" /><figcaption>Sample Benchmark</figcaption></figure><p>3. Ruby outputs a standard breakdown of computational cost for your method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*cBnPSvWQchnWxLbUwjM_ig.png" /><figcaption>Benchmark output.</figcaption></figure><p>4. Bam, just like that, it worked. I am sure there’s more to this benchmarking thing, once I learn more about it, I will update this blog post, maybe benchmark some old methods.</p><p>Ok, back to learning.</p><blockquote><em>Thanks for reading, until next time — Yomi!!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c6ced7ec429" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adventures in multiplication.]]></title>
            <link>https://medium.com/@alajide/adventures-in-multiplication-5cc02f201446?source=rss-db2fbc31f8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cc02f201446</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Yomi]]></dc:creator>
            <pubDate>Thu, 02 Mar 2017 17:53:34 GMT</pubDate>
            <atom:updated>2017-03-22T15:36:02.639Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently had an interview, which did not go as expected.</p><p>Before I get ahead of myself, I completed my coding bootcamp on 02/24/2017. It was a transformative experience, to say the least. Prior to graduating, myself and 37 others began our search, for what will be our new careers and life, I was terrified, I am, in certain ways, still terrified. Read all that follows with this in mind.</p><p>My first interview was on Monday (02/27/2017), sweaty palms, half excited smile on my face, I tell myself, this interviewer will take one look at me and think I was inadequate. He/She will give a coding challenge I wasn’t prepared for, I will suck at this.</p><p>The perfect representation of my expectations going in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*7UYcbEDMfruM01FS_9j04w.jpeg" /><figcaption>Look</figcaption></figure><p>I couldn’t be more wrong. First, my interviewer was awesome, he was very charismatic, interesting and engaging, we spent a few minutes sharing our interests and history. Things are going well, he asked me a few questions. Subject areas highlighted below.</p><ul><li>Comfort level/level of expertise in javascript/css3/html5.</li><li>Event handlers</li><li>CSS manipulation</li><li>If ruby is a dynamically and strongly typed language, what is JavaScript?</li><li>Why’d you start your previous career?</li><li>Do you have any questions for me? (I truly think I didn’t ask him enough questions, I was too scared to ask.)</li><li>Create a multiplication table.</li></ul><p>Now before I go on, don’t assume I am capable of articulating my answers to all these questions very well, sweaty palm here is still nervous as all hell and can’t even think of the words. My interviewer was very helpful and gave me answers, I should have known and I was very appreciative. I now know the <a href="http://www.koffeinfrei.org/2012/03/19/static-vs-dynamic-vs-strong-vs-weak-vs-duck-typing">difference</a> between static vs dynamic vs strong vs weak vs duck typed languages. I was also given a <a href="http://shop.oreilly.com/product/9780596517748.do">great recommendation</a> on books to read to sharpen my javascript knowledge. <br><strong>But why this blog?</strong></p><p>I want to analyze creating the multiplication table. I knew what needed to be done, but when it came down to writing the code down on paper, my brain decides it needs a vacation…in Tahiti.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/165/1*o8kJVE5XUezWprnw9vrwFQ.jpeg" /><figcaption>Yep! This kind of moment!!</figcaption></figure><p>What is a multiplication table? This thing we all learned in the 3rd grade. Easy to recite even easier to screw it up under pressure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*awSRtqo5kJdQad0uYTwZHw.png" /></figure><p>This is a 12 x 12 multiplication table. It lists the multiples of the numbers less than 12, up to 12. <br><strong>The challenge: </strong>create a function that takes in one value and returns the multiplication table up to that value.</p><p>My idea was simple, a loop within a loop multiplying the first value from the outer loop with every value in the inner loop this repeats for every value in the outer loop. The initial method takes in a value which represents the value of the total iteration for both loops.</p><p><strong>Here’s the code in ruby!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*W9vbDCsdlJv4Ou3a5AvYVA.png" /><figcaption>for loops for the win.</figcaption></figure><p>My first attempt at this….was not as elegant as you see here. I went about it in a less than ideal fashion of over thinking the implementation.<br>But my line of thinking was correct, a loop within a loop created the results I was looking for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/43/1*V2rGWNSWpP11Hn6VvU1_BQ.png" /><figcaption>results are in, it works!</figcaption></figure><p>Currently, the result looks nothing like a multiplication table though. I can fix that. Ruby’s <em>puts</em> method adds a new line to each output, ruby <em>print </em>does not, so i change the <em>puts to print. </em>I seperate where each iteration of the inner loop ends with a pipe(“|”).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*po1oram0_c6oKgOAb6APsQ.png" /></figure><p>In order to insert the pipe character, I need to interpolate the result of the loop. Which is done in ruby via “<em>string</em>#{<em>ruby logic</em>}<em>string</em>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ezPFRzMdFXpSshQJGqt6Jg.png" /></figure><p>It looks better but it’s not that much improved, surely I can do better than that. Let’s print a new line for each iteration of the outer loop: <em>print</em> “\n”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*Zx-B2pDnEiI0RtcDeDVgNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*1lwlWh1DD1X4wQNrFXMeGA.png" /><figcaption>Yay! Mission complete…kinda!</figcaption></figure><p>That is a fine looking multiplication table. I know what you are thinking! That looks uneven. I am not satisfied, so I will tinker some more. Every column should line up appropriately. The issue is, I don’t have enough digits to fill up certain rows, I can add digits of starting zero’s or empty strings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q2HR-t-QP3sCNPYaEmEATA.png" /><figcaption>Right justification with “0”</figcaption></figure><p>To achieve the look of the multiplication table, I used a ruby string method <em>rjust; </em><a href="https://ruby-doc.org/core-2.2.3/String.html#method-i-rjust"><em>rjust(integer, padstr=’ ‘) → new_str</em></a><em>. </em>To use rjust i need to change my output to a string via ruby to string method (<em>.to_s), </em>on this new string, i right adjusted via <em>rjust </em>using the length of the initial number(to string) input plus 1, padding with zeros. The result is the multiplication table below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*mTcqoDYiae83L_X5BB4SDA.png" /><figcaption>ahh!! looks pretty!</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*cN9WIzowhZotmRIbdi_Ojg.png" /></figure><p>To avoid the leading zeros, you can right adjust with an empty string.</p><p>That sums up my adventure in interview land for that day! I followed the simple make it work, make it right part of the big three…I will try and make it fast another time. Can I even make that faster? I am sure I can.</p><p>Take away from the interview:</p><ul><li>Code more.</li><li>Worry less.</li><li>Don’t complicate things.</li><li>I have much to learn.</li><li>Tech world is filled with awesome people.</li><li>Slow down when talking.</li></ul><blockquote>Thanks for reading, until next time — Yomi!!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cc02f201446" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring drawing in HTML5: Rasta in Raster or Rasta in Vector.]]></title>
            <link>https://medium.com/@alajide/exploring-drawing-in-html5-rasta-in-raster-or-rasta-in-vector-a3acc69a9059?source=rss-db2fbc31f8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3acc69a9059</guid>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[canvas]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[rasta]]></category>
            <dc:creator><![CDATA[Yomi]]></dc:creator>
            <pubDate>Wed, 01 Feb 2017 17:54:38 GMT</pubDate>
            <atom:updated>2017-02-01T18:07:10.901Z</atom:updated>
            <content:encoded><![CDATA[<p>This started with simple question, what is this canvas everyone keeps talking about? What can i do to learn it? This quickly led me down a path, that wasn’t too unpleasant and finally led to this question.</p><p><strong>Question: What options are there to draw/animate on an HTML5 document?</strong></p><p><strong>Answers:</strong> SVG,Canvas…</p><p><strong>What is SVG?</strong> <br>Scalable Vector Graphics (SVG).Vector Graphics use polygons to represent images in computer graphics. When scaled up the graphical qualities should be maintained. SVG is an <a href="https://en.wikipedia.org/wiki/XML">XML</a>-based <a href="https://en.wikipedia.org/wiki/Vector_image_format">vector image format</a> for <a href="https://en.wikipedia.org/wiki/Two-dimensional">two-dimensional</a> graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. — wikipedia</p><p>SVG is a language for describing two-dimensional graphics. As a standalone format or when mixed with other XML, it uses the XML syntax [XML10]. When mixed with HTML5, it uses the HTML5 syntax [HTML]. …</p><p>SVG drawings can be interactive and dynamic. Animations can be defined and triggered either declaratively (i.e., by embedding SVG animation elements in SVG content) or via scripting</p><p>So rather than HTML elements. SVG is a dialect for describing documents that focuses on shapes rather than text. You can include SVG elements in HTML by adding a tag with an XML attribution and namespace change.</p><p>Snake in SVG : <a href="http://bl.ocks.org/jvns/5518109">http://bl.ocks.org/jvns/5518109</a> (Looks smoother around the edges.) Lets Zoom In…..</p><p><strong>What is canvas? </strong>A Simple to implement single DOM element that encapsulates a picture area for creating and interacting. It provides a programming interface for drawing shapes onto the space taken up by the node. Implemented universally with HTML5. Initially introduced by Apple in 2004, for the Mac OS X powering the dashboard and Safari, it was standardized in 2005. Canvas was Apples replacement for flash. Canvas utilizes raster graphics.</p><p>Snake in canvas: I made my <a href="https://joll59.github.io/">own</a>, kinda, with a tutorial by <a href="https://medium.com/@shiffman">Daniel Shiffman</a>.<br>Using processing(java based flexible software sketchbook and a language for coding within the context of the visual arts), canvas, javascript.</p><p>So? why would I pick one over the others?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*mKmfciEbzTB3aGgyFlQvsA.png" /><figcaption>-Wikipedia-</figcaption></figure><p>This image illustrates one of the differences between bitmap and vector images. The bitmap image is composed of a fixed set of pixels, while the vector image is composed of a fixed set of shapes. In the picture, scaling the bitmap reveals the pixels while scaling the vector image preserves the shapes.</p><ul><li>This is one of the improvements SVG offers over canvas its dedicated to less pixelation and more clarity. It looks great even when you zoom in.</li><li>The difference between Immediate Mode(Canvas) vs Retained Mode(SVG)</li><li>Immediate mode: you, the developer specifies commands to draw objects, create and maintain what final output should look like, and specify what needs to be updated. The browser simply executes your commands.</li></ul><p>Canvas is uses a bitmapped paint area, utilizing. Once you’ve drawn an object, you can’t delete that object. You have to draw something to cover up the object. You can’t manipulate this object. To determine interactions like a mouse click, you write code that calculates the click coordinates, and code to check if coordinates are within the object boundaries. If you want to move the object, you have to draw something to cover up the old object,(refresh) and draw the object again somewhere else. (refresh)</p><ul><li>With SVG each graphics element you created can be scripted with JavaScript for interactivity as part of XML/CSS/DOM. For example, onclick, onmouseover, ….</li><li>The language of Canvas is procedural, while SVG is declarative and higher level.</li><li>Procedural: you give commands telling a paint brush where to move.</li><li>Declarative: You say draw a circle with this radius. This circle can now roll when you tell it to.</li><li>SVG is also real-time, if the code base changes, the changes are reflected without a redraw of the image.</li><li>But because SVG does have to interact with DOM and create more nodes often it often gets bloat(y) and slow.</li><li>Canvas is very fast. In terms of speed it blows SVG out of the water,</li></ul><p>Performance differences was covered by <a href="http://www.htmlgoodies.com/html5/client/the-complete-guide-to-building-html5-games-with-canvas-svg.html">html Goodies.</a></p><p><a href="http://themaninblue.com/experiment/AnimationBenchmark/canvas/?particles=1000">Canvas Loading</a> in 1000 balls at once…..lets watch and zoom!<br><a href="http://themaninblue.com/experiment/AnimationBenchmark/svg/?particles=1000">SVG Loading</a> in 1000 balls at once….lets watch and zoom!</p><p>But there are ways to combine the two <a href="https://github.com/zenozeng/p5.js-svg">technology</a>. p5.js.svg.</p><p>SVGs remain a better alternative for logos or charts with fewer intensive effects, canvas for higher frame rate intensive events, fireworks for instance would probably require a heavy amount of processing from an SVG standpoint. Canvas without its DOM element limitations would render faster and maintain higher frame rates.</p><p>Ok, yay SVG…what else? Cool looking implementation of Canvas snake using webGL</p><p><strong>WebGL:</strong> is a javascript API for rendering 3D graphics within compatible web browsers. It lives in the canvas.</p><p>(I did not make this, but it is awesome)</p><p><a href="https://preview.c9users.io/waveofthought/top_secret/snake3d.html">https://preview.c9users.io/waveofthought/top_secret/snake3d.html</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*8Imbns1wUNtUaQNXt5Aqdg.jpeg" /><figcaption>a Rasta made with Raster (Rasta Tax!!)</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3acc69a9059" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Wild Wide Web.]]></title>
            <link>https://medium.com/@alajide/the-wild-wide-web-c6705069cfce?source=rss-db2fbc31f8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6705069cfce</guid>
            <category><![CDATA[oauth2]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Yomi]]></dc:creator>
            <pubDate>Mon, 23 Jan 2017 18:40:07 GMT</pubDate>
            <atom:updated>2017-01-23T18:40:07.716Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s discuss one of its <strong>insecurities</strong>! The USER!<br>It’s so useless it can’t make toast…but then again neither can I.</p><p>The internet is an active ecosystem of users, those with enough information and motivation among the users become <strong>creators</strong>. When enough creators combine they become an organization or just a very powerful entity. Facebook, Twitter, Snapchat, Google, LinkedIn when their powers combine they make up your online network.(<em>Captain Planet reference</em>).</p><p>How does one go from utilizing the internet to a powerful being? When enough trust is placed in a creator by the users. But wait, isn’t the creator just another user…yes. Doesn’t that mean they are prone to err and be human? Yes! As fledgling creator this scares me a bit, what if I screw things up royally? Who’s idea was this? Why was the internet designed this way?</p><p><strong>Trust</strong>; a keyword that was to hold the internet together…how weird, its not a word you associate with the internet today. When this vast network was initially developed its design was for research data exchange, not every day utility like we see now, as such the dangers of users attacking each other was not considered, by the time the error was apparent, a Morris worm was born! One of the pioneers of the internet age was asked about this he reaction was a very simple and innocent one:</p><blockquote>“It’s not that we didn’t think about security, We knew that there were untrustworthy people out there, and we thought we could exclude them.”<br>- David D. Clark</blockquote><p>Unfortunately this idealized world is not the current state of the internet, yet we sometimes behave like it is. Lets talk about my latest obsession OAuth.</p><p><strong>OAuth</strong> is an open standard for authorization, commonly used as a way for Internet users to authorize websites or applications to access their information on other websites but without giving them the passwords.(user logs into a new website/app using credentials created at a “more” trusted website/app and authorize new website/app to have access to your information.) Notice what just happened? You don’t trust this website with your username and password but you trust them with the rest of your information…isn’t this why you have a username and password in the first place, before you hang me for being one-sided, there are implementations of OAuth between trusted parties…We wont talk about those.</p><p><em>Ok, you are either not very trusting or very trusting, you cant be both it’s confusing.</em></p><p>Moving on! On an international scale OAuth implementation was debagged last year on <a href="https://www.blackhat.com/docs/eu-16/materials/eu-16-Yang-Signing-Into-Billion-Mobile-Apps-Effortlessly-With-OAuth20-wp.pdf">vulnerable</a> mobile platform SSO(Single-Sign-On). The discovery is summarized in this one sentence:</p><blockquote>we have discovered a new type of widespread but incorrect usages of OAuth by 3rd party mobile app developers, which can be exploited remotely and solely by the attacker to sign into a victim’s mobile app account without any involvement/ awareness of the victim. -Yang, Lau, Liu 2016</blockquote><p>How? You ask simple, they found a one sided problem and exploited the bejesus out of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dY-OZWlef5qeKURAACY6lA.png" /><figcaption>OAuth web-based vs app-based!</figcaption></figure><h4>The OAuth Flow</h4><ol><li><strong>User</strong> visits client webpage/app</li><li><strong>User</strong> opts to utilize Identity provider</li><li><strong>User</strong> authenticates and authorizes on <strong>IdP</strong> server</li><li><strong>IdP</strong> server sends redirection code to <strong>Client</strong> webpage/app</li><li><strong>Client</strong> webpage/app sends back Access Token request with client ID &amp; Secret</li><li><strong>IdP</strong> sends back Access Token</li><li><strong>Client</strong> webpage/app uses Access Token to request user information/resource</li><li><strong>IdP</strong> sends back user information/resource</li><li><strong>Client</strong> webpage/app saves or displays resource/information</li></ol><p>Both web-based OAuth and App based OAuth depend on each party involved to be securely implementing their own parts.(Trust) Lets dive right into what is going wrong. Most 3rd party mobile apps don’t just display user information, they store them as well, this includes sensitive information. Which means that each user has an identity on their servers. So, each log-in through an IdP should match up to a User on their server if the user exists, otherwise a new one is created, even in a single sign on scenario. This is where the issue is.</p><blockquote>A 3rd party mobile app provides authentication through OAuth, and creates a callback to support the app, that’s /profile/UserID, which requires an authorization token.</blockquote><blockquote>User logs-in with Facebook, requests and receives auth-token, normally apps attach that auth-token to the user on app server, but some do not verify the auth-token/userID relationship.</blockquote><blockquote>In other words, user ID 5 once successfully authenticated to Facebook and have a valid token. Vulnerable apps will allow user 5 to GET &amp; POST to profile/1, profile/2, etc and retrieve those profiles like they are user 5&#39;s, because it is only checking for authentication not whether the token is authorized on the resource.</blockquote><p>Bottom line OAuth implementation is not enough you still need to develop a backend that authorizes user to the correct data. Not just all data. The difference is authentication vs authorization, it really is that simple.</p><p>3 weeks ago, I wouldn’t have known the difference. Do you? Are you sure?<br>Process of confirming identity is called <a href="https://en.wikipedia.org/wiki/Authentication"><em>authentication.</em></a><em> (You are whom you are claiming to be.)<br></em>Permission to access a resource is called <a href="https://en.wikipedia.org/wiki/Authorization"><em>authorization</em></a>.(What you can do once you’ve authenticated or not.)</p><p>Now because these issues only affect the 3rd party app, the powerful creators out there have done nothing about it, but how can they? The responsibility falls on the user and the app creator.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6705069cfce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Failing my way to success.]]></title>
            <link>https://medium.com/@alajide/failing-my-way-to-success-1d7d71eb593b?source=rss-db2fbc31f8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d7d71eb593b</guid>
            <category><![CDATA[fear-of-failure]]></category>
            <category><![CDATA[tdd]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[failure]]></category>
            <category><![CDATA[soft-skills]]></category>
            <dc:creator><![CDATA[Yomi]]></dc:creator>
            <pubDate>Thu, 22 Dec 2016 09:03:16 GMT</pubDate>
            <atom:updated>2016-12-22T09:08:53.839Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*NCjmqk9fymQ99khemn2SlA.png" /><figcaption>How Ian see’s our code.</figcaption></figure><blockquote>When you’ve tried everything that has failed, you can begin trying everything that works but first, failed — Yomi.</blockquote><p>In life, first you need to fail, in failure you weed out minute errors in your actions, thinking and process. There are a multiple <a href="https://en.wikipedia.org/wiki/List_of_software_development_philosophies">software development methodologies</a>, today I am <em>only</em> interested in <strong>Test Driven Development</strong>, TDD from now on. What is TDD? TDD is a software development process that relies on the repetition of a very short development cycle: software requirements are turned into very specific test cases, then the software is improved to pass the new tests, only. (!!pay attention to the <em>only,</em> it’s important!!)</p><p>In a TDD environment, it is the specificity of these tests that determines the errors. Errors that are highlighted by a screen of text, when I run my tests(Tspec for the win!). What I initially expect is errors, preferable in a color I don’t want to see. I am interested in the very first few lines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*96GTqjtxJ-8bMqicH4Sgbw.png" /><figcaption>Red is officially becoming my favorite color!</figcaption></figure><p>Once I have these errors, I drop everything that I was doing before hand and I get to work, slowly, very slowly, pick away at these problems. Initially, I mostly failed at solving these problems, but I don’t just fail with each attempt, I learn something new about the problem. Sometimes the problems are minor, these are the annoyances that I always remember, the minor problem in which I exhaust resources trying to solve, the return on investment just feels off. Others, -(why is other-times not a single word?)- seem to be major, until I encounter them again a few minutes later, and now the problem is just a minor inconvenience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*0Awvs0fkmIQz2HBQ4QSsvQ.gif" /><figcaption>Problem solved.</figcaption></figure><p>Rinse, repeat! Before long, I clear all my tests. But there are more tests I can write that will make my software fail, so I write them and…well do it again until my software achieves what I have set out for it to be. Not a bad way to do things. But, what does this have to do with anything?</p><p>Let me expand on the idea of Test Driven Development outside the scope of software development for a second. I like childhood development stages cause it seems we have so clear cut down to the month when you should be capable of doing simple human tasks. CHART TIME!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hiNwBBp-XRVW9EVmWfapJA.jpeg" /></figure><p>Looking at the domains above, start with the physical, first it takes me one whole year to learn how to walk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*NhOEIVf1pJMJ8Yg4Rcre5Q.jpeg" /></figure><p>What in the patrick stewart is going on in that next year? It took me one year to walk forward but another year to do it backwards...but I already knew how to walk,does not compute! Lets look at the rest of the chart, ahh the trend is incremental improvements. Yes, this is a generalized table, I don’t care, I AM MAKING A POINT; I will get to it soon.</p><p>Why did I not immediately learn how to walk backwards? Simple, I never started testing for backwards mobility until I was aware enough to notice there was things behind me not just in front of me, and I probably found it easier to just turn around, not walk backwards. You could also argue, that my body was not designed to walk backwards, but then why can I do it?</p><p>It’s a good thing I am not a piece of software, I’d be mostly broken.</p><p>Bringing it all in, the take aways here are simple.</p><ol><li>You are meant to struggle until it looks like its not a struggling but a dance. (Failing is part of the process, embrace it.)</li><li>TDD is only as good as the tests and their scope. (The tests don’t catch everything, but they also have to be very specific, sometimes they aren’t friendly about it.)</li><li>It took you one year to learn how to walk…and you’ve had all this time to practice and you still screw it up sometimes; don’t worry no one saw you fall that onetime in that very public place. (Coding is hard.)</li><li>It took you 2 years to learn how to walk backwards…can you even do that well now? Try doing it with your eyes closed. (Learning to code in a very short period is even harder)</li><li>Be gentle with yourself, you are only just learning to crawl, but who’s to say you can’t doing it beautifully(9 months is a long time though…)</li></ol><blockquote><em>There is no failure. Only feedback. ~Robert Allen</em></blockquote><p>Talk nerd to me, leave a comment, I like it when people talk nerd to me. Better yet Subscribe and we can be friends.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d7d71eb593b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I have the sneaky suspicion, I may have joined a cult.]]></title>
            <link>https://medium.com/@alajide/i-have-the-sneaky-suspicion-i-may-have-joined-a-cult-9012f6cea773?source=rss-db2fbc31f8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9012f6cea773</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[new-york-city]]></category>
            <dc:creator><![CDATA[Yomi]]></dc:creator>
            <pubDate>Wed, 07 Dec 2016 14:58:28 GMT</pubDate>
            <atom:updated>2016-12-07T14:59:20.770Z</atom:updated>
            <content:encoded><![CDATA[<p>According to wikipedia:</p><blockquote>The term cult usually refers to a social group defined by their religious beliefs, or common interest in a particular personality, object or goal.</blockquote><p>This particular cults object of focus is the code, their common interest is in writing good code while helping me get better at doing the same and they are masterful. My initial hope of a normal adventure, has been swiftly dealt with. I am now in a fantasy realm, with enumerables, hashes, APIs, magical spells I have been granted access to. Classes, modules, super classes…I HAVE the power. This power has been described as intoxicating by some, I have no idea what they were talking about, this just feels like my heads going to explode. Explode from the knowledge that’s being pushed in at an alarming rate.</p><p>I am dug in and ready for my socialization , but first, 11 weeks of initiation. I will update as I progress.</p><p>PSA: INITIALIZE is spelled as such…you will spell it wrong and it will break everything, you will search for hours, you have been warned.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9012f6cea773" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>