<?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 Milos Bejda on Medium]]></title>
        <description><![CDATA[Stories by Milos Bejda on Medium]]></description>
        <link>https://medium.com/@bejda?source=rss-382ae96f5768------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XJjZKtOyoVG3eqmbO9CEdw.png</url>
            <title>Stories by Milos Bejda on Medium</title>
            <link>https://medium.com/@bejda?source=rss-382ae96f5768------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 28 May 2026 00:14:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bejda/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[Twitter Screenshot Bot]]></title>
            <link>https://bejda.medium.com/twitter-screenshot-bot-24bf3ccbc3a2?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/24bf3ccbc3a2</guid>
            <category><![CDATA[marketing-technology]]></category>
            <category><![CDATA[twitterbots]]></category>
            <category><![CDATA[twitter-marketing]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[twitter]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Sat, 28 Nov 2020 11:25:08 GMT</pubDate>
            <atom:updated>2020-11-28T11:25:08.220Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*inkhmWKjvd3HWba8FF3DBg.png" /><figcaption>Twitter Screenshot Bot</figcaption></figure><p>Do you need a static record of a tweet for future reference? If the answer is yes, you need <strong>Twitter Screenshot Bot</strong>.</p><p><strong>Twitter Screenshot Bot</strong> takes screenshots of tweets. Just mention it’s name (@get_screenshot) in a reply tweet and it will take a screenshot of the main tweet and send the screenshot to you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hi0hlTAAsxCJXLJyIz5anQ.png" /><figcaption>@Techcrunch</figcaption></figure><p>Pretty cool, ey?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ot69YT6jHWrKq1bdXLS-wA.png" /><figcaption>@realDonaldTrump</figcaption></figure><p>All screenshots get sent to your DM’s.</p><p>Just make sure to follow @get_screenshot or it’s messages won’t go through and you won’t get your screenshot.</p><p>You can find <strong>Twitter Screenshot Bot</strong> <a href="https://twitter.com/get_screenshot">here</a> (<a href="https://twitter.com/get_screenshot">https://twitter.com/get_screenshot</a> )</p><p>Made with love ❤ Enjoy</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24bf3ccbc3a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[So you want to use Cloudflare SSL certificates with AWS API Gateway?]]></title>
            <link>https://bejda.medium.com/so-you-want-to-use-cloudflare-ssl-certificate-with-aws-api-gateway-6c4ebe1128ec?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c4ebe1128ec</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ssl]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloudflare]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Thu, 03 Oct 2019 02:16:45 GMT</pubDate>
            <atom:updated>2020-03-03T15:54:19.266Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*6_y0QNvFjpIhsP5opO3EVQ.png" /><figcaption>Cloudflare + AWS API Gateway</figcaption></figure><p>So you want to use Cloudflare SSL certificates with AWS API Gateway?</p><p>First, create an origin certificate in Cloudflare’s and then import it into the AWS Certificate Manager.</p><p><strong>Cloudflare</strong> -&gt;<strong> SSL/TLS</strong>-&gt; <strong>Origin Certificate -&gt; Create Certificate</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ytlNXiO5wA6RKTTW2Lf-6Q.png" /><figcaption>Cloudflare Origin Certificate</figcaption></figure><p>Open the AWS Certificate Manager and provide it with your certificate body and private key.</p><p>The certificate manager will ask you for a <em>certificate chain</em>. You can get that <a href="https://support.cloudflare.com/hc/en-us/articles/115000479507-Managing-Cloudflare-Origin-CA-certificates#h_30cc332c-8f6e-42d8-9c59-6c1f06650639">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h0MtXm03CagORk6_UdCkXg.png" /><figcaption>AWS Certificate Manager</figcaption></figure><p>Click Review and Import.</p><p>You are now ready to use it in the AWS API Gateway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AkuVhxzzoASJ9W0QGEVEfg.png" /><figcaption>AWS API Gateway</figcaption></figure><p><strong>Happy Hacking!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c4ebe1128ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Just Released Placeholder-cli]]></title>
            <link>https://bejda.medium.com/just-released-placeholder-cli-dbe55acddde7?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbe55acddde7</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[oclif]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Mon, 30 Sep 2019 14:29:04 GMT</pubDate>
            <atom:updated>2019-12-07T04:48:18.070Z</atom:updated>
            <content:encoded><![CDATA[<h3>Replace Licensed Images With Placeholders: Placeholder-cli</h3><p><strong>Placeholder-cli </strong>is an open-source command-line tool that replaces images with placeholders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KuGlXZjyTw7q38uzY_aZRA.png" /></figure><p>If your project uses images that require a distribution license, you may use this tool to replace them.</p><p>The tool generates placeholders on the fly with the exact width and height as the image.</p><p>Did I mention those generated placeholders don’t have a watermark:)?</p><h4><strong>Watch the tool in action:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UCuAj3W7StJexes_cJhQVg.gif" /><figcaption>placeholder-cli in action</figcaption></figure><p><strong>Placeholder-cli </strong>code can be found <a href="https://github.com/mbejda/placeholder-cli">here</a></p><p><a href="https://github.com/mbejda/placeholder-cli">mbejda/placeholder-cli</a></p><p>The NPM can be found <a href="https://www.npmjs.com/package/placeholder-cli">here</a></p><p><a href="https://www.npmjs.com/package/placeholder-cli">placeholder-cli</a></p><p>Questions? Reach out on Twitter: <a href="https://twitter.com/notmilobejda">@notmilobejda</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbe55acddde7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adding Route Paths to a Map using  MapBox JS Library]]></title>
            <link>https://bejda.medium.com/adding-route-paths-to-a-map-using-mapbox-js-library-df16cc1a82fd?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/df16cc1a82fd</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[maps]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[mapbox]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Sun, 25 Aug 2019 20:18:48 GMT</pubDate>
            <atom:updated>2019-08-25T20:36:52.760Z</atom:updated>
            <content:encoded><![CDATA[<h3>MapBox Javascript Example</h3><p>An example application demonstrating how to add route paths to a map using the MapBox Javascript library.</p><p><strong>The example covers topics such as:</strong></p><ul><li>Address geocoding</li><li>Adding markers</li><li>Directions API</li><li>Adding routes</li></ul><p>Source code can be found on <a href="https://github.com/mbejda/mapbox-map-example">Github</a> and a demo can be viewed <a href="https://upbeat-cray-a72a62.netlify.com/">here</a>.</p><ul><li><a href="https://github.com/mbejda/mapbox-map-example">mbejda/mapbox-map-example</a></li><li><a href="https://upbeat-cray-a72a62.netlify.com/">Mapping multiple routes with Mapbox</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QsB6ZIFxaJq_Ang66Lx-qg.png" /><figcaption>Example of adding route paths to a map</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df16cc1a82fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chrome Extension : Copy To Gist]]></title>
            <link>https://bejda.medium.com/chrome-extension-copy-to-gist-21a6933e9e25?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/21a6933e9e25</guid>
            <category><![CDATA[gist]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[chrome-extension]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Tue, 19 Dec 2017 03:28:00 GMT</pubDate>
            <atom:updated>2017-12-19T03:28:00.416Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d_qMSn9S3tpz8WiuQFLFCg.png" /></figure><p><a href="https://chrome.google.com/webstore/detail/copy-to-gist/lofgjnadojidbnajbnflkfnfmgiipfmc?hl=en"><strong>Copy to Gist</strong></a><strong> </strong>is a Chrome extension that lets you copy selected text from a page to a gist. You can use it to streamline the process of adding gists to medium articles. For example, the following Javascript code was selected, copied to a gist and pasted below.</p><pre>var foo = function(){</pre><pre>console.log(&quot;hello world&quot;);<br>}</pre><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d5e7c6bfdc04b6d9f93f7544864dbff9/href">https://medium.com/media/d5e7c6bfdc04b6d9f93f7544864dbff9/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JKrVRs4D-p4gQPWFBdC7qg.png" /></figure><h4>Authorization</h4><p>The extension does require you to authorize your Github account. It needs an access token that has <strong>Gist</strong> permissions to create gists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*Mr2EPPVgWDRCo8SmyX3R0Q.png" /></figure><p>You can find the Chrome extension here :</p><p><a href="https://chrome.google.com/webstore/detail/copy-to-gist/lofgjnadojidbnajbnflkfnfmgiipfmc">https://chrome.google.com/webstore/detail/copy-to-gist/lofgjnadojidbnajbnflkfnfmgiipfmc</a></p><h3>Enjoy!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21a6933e9e25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Just released plotlychartexport : Export Plot.ly charts on the server]]></title>
            <link>https://bejda.medium.com/just-released-plotlychartexport-e4127d6e2b4e?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4127d6e2b4e</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[plotly]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Fri, 15 Dec 2017 10:41:45 GMT</pubDate>
            <atom:updated>2017-12-15T12:34:45.333Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*4oBGRRS-diwLiDp_C4LnAA.png" /></figure><p>PlotlyChartExport is a chart rendering module that renders static plot.ly charts on the server. It’s a lightweight module designed for serverless environments.</p><ul><li>Only 1 Dependency</li><li>Works in Serverless Environments</li><li>Size &lt; 10MB</li></ul><p><strong>Checkout PlotlyChartExport on Github:</strong></p><p><a href="https://github.com/mbejda/plotlychartexport">https://github.com/mbejda/plotlychartexport</a></p><p><strong>Find PlotlyChartExport on NPM :</strong></p><p><a href="https://www.npmjs.com/package/plotlychartexport">https://www.npmjs.com/package/plotlychartexport</a></p><p><strong>Learn how to create Plot.ly Charts As a Service on AWS :</strong></p><p><a href="https://www.mbejda.com/creating-serverless-chart-exports-with-plotly/">https://www.mbejda.com/creating-serverless-chart-exports-with-plotly/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4127d6e2b4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I present to you FireDeploy : A Firebase Deployment CLI Alternative]]></title>
            <link>https://bejda.medium.com/i-present-to-you-firedeploy-a-small-firebase-deployment-cli-for-serverless-deb754e32931?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/deb754e32931</guid>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[frontend]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Mon, 27 Nov 2017 12:33:29 GMT</pubDate>
            <atom:updated>2018-01-11T14:12:17.820Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*y_-G5GhDpJWYd39vD5cG1w.png" /></figure><p>FireDeploy is a CLI tool which can also be used as a dependency module to deploy single page applications to Firebase from serverless environments. It is a lightweight alternative to the firebase `firebase-tools` cli. It does not rely on heavy dependencies such as firebase, firebase-tools(190M), firebase-admin and weighs &lt; 10mb.</p><ul><li><em>Does not use Firebase modules</em></li><li><em>Size &lt; 10mb</em></li><li><em>Only has 7 dependencies</em></li><li><em>Can be used as a CLI or module dependency</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*1FZUFVlD7boD7mBwwVL1Fw.png" /></figure><h4>Why Another Deployment Tool?</h4><p>Firebase deployment CLI firebase-tools is loaded with functionality and that is why its a sizable package. The size of the package makes it not ideal for serverless environments. FireDeploy is a stripped down version of firebase-tools . It only has the functionality to deploy your single page application to the hosting environment.</p><h3>Installation:</h3><pre>npm install -g firedeploy</pre><h4>Example Usage:</h4><pre>$ firedeploy hosting -m &quot;Message&quot; -c &quot;/fireDeploy/spec/test&quot; -p &quot;project name&quot; -t &quot;CI Token&quot;</pre><p>You can view it <a href="https://github.com/mbejda/firedeploy">here</a>!</p><p><a href="https://github.com/mbejda/firedeploy">https://github.com/mbejda/firedeploy</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=deb754e32931" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Avoid Frontend Race Conditions by using RXJS SwitchMaps]]></title>
            <link>https://bejda.medium.com/avoiding-race-conditions-with-rxjs-switchmaps-310e14500dcc?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/310e14500dcc</guid>
            <category><![CDATA[reactive-programming]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[rxjs]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Sat, 25 Nov 2017 10:48:04 GMT</pubDate>
            <atom:updated>2017-11-29T14:16:46.788Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RL0DGa3QR1BIX1NgSngQkw.png" /></figure><p><a href="http://reactivex.io/rxjs/">RXJS</a> has a broad set of observable operators such as flatMap, mergeMap, concatMap, that can be used to do nifty things. One particular operator that I will cover in this post is called switchMap. A switchMap is not a switch statement in the traditional sense where you define a list of conditions along with logic blocks and invoke a logic block that satisfies a condition, rather it is a handy control flow operator that can be used to prevent race condition problems on the frontend.</p><h4>What are Race Condition Problems?</h4><p>Race condition is an undesired situation that occurs when two or more operations need to happen in sequence but don’t. For instance, a common race condition problem is when two ajax requests are made from the frontend to the backend simultaneously. The first request may experience a delay and return data <em>after</em> the second request, consequently overwriting the data that has been returned by the second request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t7yvEPDEaGgvtnQU06Uj3A.png" /></figure><h4>Data Source</h4><p>SwitchMap receives emitted values from an outer observable known as the data source. A data source can be an Angular httpClient, a user event, or you can create your own. For demonstration purposes I created a data source observable, and I’m using its observer to emit values to the switchMap operator.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6a8260dba640ad36db90f048f49aa4e7/href">https://medium.com/media/6a8260dba640ad36db90f048f49aa4e7/href</a></iframe><h4>SwitchMaps</h4><p>The switchMap operator has the following <strong>signature :</strong></p><p>switchMap(project: function: Observable, resultSelector: function(outerValue, innerValue, outerIndex, innerIndex): any): Observable</p><p>It subscribes to the project observable internally and only keeps one inner subscription active at a time. Each time there is an emission by the outer observable, it cancels its subscription and creates a new subscription to the new project observable. This ensures that only the latest value gets emitted to your subscriber.</p><p>Here is an example of a switchMap in action. Notice in the following code block the first call has a delay of 10 and the second call has a delay of 5.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fc2bb1f53c137fd8a3f749303be3be67/href">https://medium.com/media/fc2bb1f53c137fd8a3f749303be3be67/href</a></iframe><p>And <a href="http://plnkr.co/edit/wpOcuZ">here is a plunker</a> if you want to see the code in action.</p><p><a href="http://plnkr.co/edit/wpOcuZ">Plunker</a></p><p>If the switchMap operator wasn’t used, we would have that race condition problem described earlier. The second request would finish before the first and load its data to the frontend. Then the first request would complete, and load its data to the frontend replacing the data that has already been loaded by the most recent request. As a result of this problem, the application would be using stale data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ifhFc9L1PlQERgIUmwsYtQ.png" /></figure><h4>What We Learned?</h4><p>SwitchMap operators are useful in situations where the most current data matters. For example, when there are multiple requests sent to the backend at the same time, we end up having a race condition problem. The backend may not respond in the same order the requests were made. SwitchMaps unique ability to cancel its subscription to its internal observable and create a new one for the most recent event ensures us our subscriber will always receive the latest data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=310e14500dcc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Initialize and Define an Object with a Variable as a Key in One Line!]]></title>
            <link>https://bejda.medium.com/finally-initialize-and-define-and-object-with-variable-key-in-one-line-aaa2539364fc?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaa2539364fc</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[frontend-development]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Sun, 05 Nov 2017 11:16:44 GMT</pubDate>
            <atom:updated>2017-11-07T13:44:34.274Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QSWEyo6nIp3AZ5mZ8bmV2g.png" /></figure><p>ECMAScript 6 brought us some wonderful features and helped alleviate some Javascript pains. One particular pain I wrestled with for a long time deals with the way JavaScript initialized it’s objects.</p><p>Before ECMAScript 6, initializing an object with a variable as a key was a 2 step operation. You would first initialize the object, and then you would give it a variable key while assigning it a value.</p><p><strong>Here is an example of what l’m talking about:</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f4a32dbc0943419564b5e09143eb3ec7/href">https://medium.com/media/f4a32dbc0943419564b5e09143eb3ec7/href</a></iframe><p><strong>EWWWWW. Thankfully those nightmarish days are now gone and never coming back</strong>. Because of the new ECMAScript 6 features, we can now make this hard to bear 2 step operation just a 1 step.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2f17150f971553257c2399b2b72f913e/href">https://medium.com/media/2f17150f971553257c2399b2b72f913e/href</a></iframe><p><em>Don’t believe me?</em> <a href="https://jsfiddle.net/k7361sns/">Here is a jsFiddle!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aaa2539364fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Javascript Array.reduce() method you didn’t know existed]]></title>
            <link>https://bejda.medium.com/the-javascript-array-reduce-method-you-didnt-know-existed-6428f6b9ebca?source=rss-382ae96f5768------2</link>
            <guid isPermaLink="false">https://medium.com/p/6428f6b9ebca</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[frontend-developer]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Milos Bejda]]></dc:creator>
            <pubDate>Sun, 29 Oct 2017 14:50:33 GMT</pubDate>
            <atom:updated>2017-11-06T03:20:46.259Z</atom:updated>
            <content:encoded><![CDATA[<p>For to often I see developers do something like this</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/82a667afcba99daaf5f49e95ca23c989/href">https://medium.com/media/82a667afcba99daaf5f49e95ca23c989/href</a></iframe><p>The code block loops through an array of numbers and adds them to a number outside the loop. The end result will produce a variable that contains the sum of all numbers in the array.</p><p>However, the solution can be expressed in terms that correspond to the problem being solved. Even though the results are going to be same, future developers who may inherit that code will thank you for having a clear and concise code block.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0bf1332f53f50301467070e30e785c54/href">https://medium.com/media/0bf1332f53f50301467070e30e785c54/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6428f6b9ebca" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>