<?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 Reza as Mo on Medium]]></title>
        <description><![CDATA[Stories by Reza as Mo on Medium]]></description>
        <link>https://medium.com/@mrzslr?source=rss-83cf439104e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nBke--o362_9FGu6F8fNMw.jpeg</url>
            <title>Stories by Reza as Mo on Medium</title>
            <link>https://medium.com/@mrzslr?source=rss-83cf439104e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 23:17:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mrzslr/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[SDK Showdown: CDN vs. Website vs. NPM — Choose Your Fighter (and Watch Your Back!)]]></title>
            <link>https://medium.com/@mrzslr/sdk-showdown-cdn-vs-website-vs-npm-choose-your-fighter-and-watch-your-back-e58ed32de4da?source=rss-83cf439104e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e58ed32de4da</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Reza as Mo]]></dc:creator>
            <pubDate>Tue, 30 Jul 2024 19:24:22 GMT</pubDate>
            <atom:updated>2024-08-02T08:29:53.861Z</atom:updated>
            <content:encoded><![CDATA[<h3>SDK Showdown: CDN vs. Website vs. NPM — Choose Your Fighter (and Watch Your Back!)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*O1p03br7b69cQPB_9F81-g.png" /></figure><p>I’m sure you’ve heard about the Polyfill.io fiasco that rocked the web development world in June 2024. A major supply chain attack compromised the JavaScript library and hundreds of thousands of affected websites — including some big names. Yikes! It’s a stark reminder that even trusted sources can turn into ticking time bombs. read more here: <a href="https://censys.com/july-2-polyfill-io-supply-chain-attack-digging-into-the-web-of-compromised-domains/">https://censys.com/july-2-polyfill-io-supply-chain-attack-digging-into-the-web-of-compromised-domains/</a></p><p>Now, as we dive into the wild world of SDK loading methods, let’s keep that cautionary tale in mind. Whether you’re Team CDN, Website Warrior, or NPM Ninja, choosing how to load your SDKs isn’t just about convenience anymore — it’s about staying one step ahead of the bad guys. So, let’s break down these options faster than a developer debugging a production issue!</p><ol><li>The CDN Contender</li></ol><p>Loading SDKs from a CDN is like ordering fast food — it’s quick, and convenient, and you don’t have to do the dishes afterward. You simply add a script tag to your HTML, and voila! The SDK is served fresh and hot from a network of servers spread across the globe.</p><p>Pros:</p><ul><li>Faster loading times (in theory)</li><li>No need to manage updates yourself</li><li>Reduces strain on your own servers</li></ul><p>Cons:</p><ul><li>Dependency on third-party servers</li><li>Limited offline functionality</li><li>Less control over the exact version</li></ul><p>Security-wise, Using a CDN is like trusting a stranger to deliver your pizza. Most of the time, it’s fine, but there’s always a tiny chance they might sneeze on it. CDNs can be compromised, potentially serving malicious code to your users.</p><p>Remember the time when NPM’s CDN went down in 2019? Developers around the world suddenly felt like they were coding with stone tablets and chisels.</p><ol><li>The Website Warrior</li></ol><p>Hosting the SDK on your own website is like growing your own vegetables. It’s more work, but you know exactly what’s going into your digital salad.</p><p>Pros:</p><ul><li>Complete control over the SDK</li><li>No reliance on external services</li><li>Can work offline (if implemented correctly)</li></ul><p>Cons:</p><ul><li>Requires more maintenance</li><li>It may increase your hosting costs</li><li>You’re responsible for keeping it updated</li></ul><p>This is like having a bouncer at your code club. You decide who gets in and who doesn’t. However, if your website gets hacked, your SDK could be compromised too.</p><p>Many financial institutions prefer this method for their online banking SDKs. They’re not taking any chances with your money… or your angry phone calls when things go wrong.</p><ol><li>The NPM Ninja</li></ol><p>Installing via NPM is like adopting a pet — it becomes a part of your project family, living right there in your node_modules directory (which, let’s face it, is probably bigger than some small countries by now).</p><p>Pros:</p><ul><li>Easy version management</li><li>Integrates well with build processes</li><li>You can pet it and call it whatever you want (okay, maybe not)</li></ul><p>Cons:</p><ul><li>Increases your project’s dependencies</li><li>It can bloat your project size</li><li>Requires rebuilding and redeploying for updates</li></ul><p>NPM packages are like a box of chocolates — you never know what you’re gonna get. While most are safe, some might contain unexpected “surprises”. Always check the package’s reputation and audit your dependencies.</p><p>Let me give you another example. Remember the left-pad incident of 2016? One tiny package removal brought down half the internet. It was like watching a digital domino effect with less fun and more panicked developers.</p><p>And now here we are!</p><p>So, which SDK loading method should you choose? Well, as with most things in life (and definitely in programming), it depends. Are you looking for speed and convenience? CDN might be your jam. Want total control? Host it yourself. Love living on the edge with thousands of dependencies? NPM’s got your back.</p><p>Remember, there’s no one-size-fits-all solution. Choose the method that best fits your project’s needs, security requirements, and your tolerance for coding adventures. And whatever you do, may your code be bug-free and your coffee be strong!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e58ed32de4da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What about the 30-day challenge]]></title>
            <link>https://medium.com/@mrzslr/what-about-the-30-day-challenge-7d92c4b31ee6?source=rss-83cf439104e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d92c4b31ee6</guid>
            <category><![CDATA[expense-management]]></category>
            <category><![CDATA[pomodoro-technique]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Reza as Mo]]></dc:creator>
            <pubDate>Fri, 26 Oct 2018 16:37:40 GMT</pubDate>
            <atom:updated>2024-08-20T12:30:03.400Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EhBsFcKupoWDNAw3eZafkg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/5IiH_UVYdp0?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">rawpixel</a> on <a href="https://unsplash.com/search/photos/expense?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Today I passed 30 days since I published <a href="https://mohammadreza.github.io/30-day-challenge"><strong>30DayChallenge</strong></a>. Changing your habits is a little bit painful, but I’ll explain what I learned in this way. I started by defining a plan for myself that contains a list of things to do and not to do. for example, I decided to read 15 minutes of books each night before bed, watch a <a href="https://www.ted.com/"><strong>TedTalk</strong></a> every day, do exercise for 10 minutes during the day, and more, but the true fact is I just could not do some of these items I had in my list. there are more unpredictable reasons why I couldn’t do them. One important thing that I’ve learned is never to choose too many items for your challenge because it will make you exhausted. so I choose 2 primary and useful items from my list to continue.</p><h3>💰 Writing down expenses and incomes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*ZCizMyeIr1vbvyTj.jpg" /></figure><p>Writing down your expenses helps you have a better sight of your money. when you don’t do this you can’t realize how money you had or spent. I prepared a spreadsheet document in <a href="http://sheets.google.com/"><strong>Google Sheets</strong></a> and wrote down my expenses and income sorted by Year, Month, Day, Title, Description, and Amount. Every time I bought fruit, clothes, or even milk for breakfast I wrote down them and I saw the sum of expenses using a math formula called SUM and checked how I spent my money since now. I did this for two months and I realized how much money I saved or spent, so I can have a better plan to buy things.</p><h3>🍅 Using the <a href="https://en.wikipedia.org/wiki/Pomodoro_Technique">Pomodoro</a> Technique</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*2wnaJv1Hw0NWTES7.jpg" /></figure><p>I’ve known this technique since I searched for <a href="https://www.dds.ca.gov/RC/RCipp.cfm"><strong>IPP</strong></a> and <a href="https://www.managers.org.uk/knowledge-bank/personal-development-planning"><strong>PDP</strong></a> and read this blog post. It’s hard to do because you need to focus on what you want to do and you have too many distractions like notifications from Twitter, Instagram, and other social media. so, first of all, make them silent and keep on your work for 20 or 25 minutes (it depends on your energy ) and take 5 or 10-minute rest between each Pomodoro and it will be so helpful for your focus and productivity.</p><p>you can read more about Pomodoro technique on <a href="https://en.wikipedia.org/wiki/Pomodoro_Technique"><strong>Wikipedia</strong></a>.</p><p>I will add other items to my challenge when I get ready for it. maybe it takes a long but persistence is more important than velocity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d92c4b31ee6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[30 Day Challenge]]></title>
            <link>https://medium.com/@mrzslr/30-day-challenge-88eb0ba3d57d?source=rss-83cf439104e------2</link>
            <guid isPermaLink="false">https://medium.com/p/88eb0ba3d57d</guid>
            <category><![CDATA[challenge]]></category>
            <category><![CDATA[pomodoro]]></category>
            <category><![CDATA[pomodoro-technique]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Reza as Mo]]></dc:creator>
            <pubDate>Fri, 26 Oct 2018 16:30:57 GMT</pubDate>
            <atom:updated>2024-08-20T12:28:43.788Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u-S1Wbpfys8djXBazftbTQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/9juIo6mtK3w?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Wayan Parmana</a> on <a href="https://unsplash.com/search/photos/challenge?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Before I went to military service I thought I could plan for my life as I did before, but the conditions differed.</p><blockquote><em>Everything not going as you want.</em></blockquote><p>I’ve been confused and clatter, so I decided to make the right way to mine. I read a lot of article and blog posts and watched <a href="https://www.ted.com/"><strong>Ted </strong></a><strong>Talks </strong>about life-changing and personal planning methods like <a href="https://www.dds.ca.gov/RC/RCipp.cfm"><strong>IPP</strong></a> and <a href="https://www.managers.org.uk/knowledge-bank/personal-development-planning"><strong>PDP</strong></a>, but I felt everything were wrong yet.</p><p>Social media, economic crisis, and family problems, all of them put me under pressure and take my focus. One day I read an <a href="https://shop.thebettyrocker.com/30-day-challenge-meal-plan/"><strong>article</strong></a> about the 30-Day Challenge for Health. Actually, this challenge was for those who wanted to lose their weight and make their diet and habits better. There was a quote that said :</p><blockquote><em>It takes 21 days to form a new habit (or 30 days or some other magic number).</em></blockquote><p>I thought to myself that I could make this challenge more fit and customized, and then I made a list of things I had to do and not to do for 30 days. One of the important points of this challenge is to grab a friend and do this with each other, so it helps you to be more engaged in this challenge.</p><p><strong>Here is the list of 30-Day Challenge items :</strong></p><ul><li>Programming Just Use the POMODORO Technique.</li><li>Write Down Expenses.</li><li>Eat Meals Without Your Phone.</li><li>Stop Drinking Any Caffeine After Noon.</li><li>Read For 15 Minutes Before Bed Each Night.</li><li>Remove Added Sugar From My Diet.</li><li>Stop Using Instagram And Twitter.</li><li>Write A Blog Post every weekend.</li><li>Watch A Ted Talk Video Each Day.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88eb0ba3d57d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>