<?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 Latiful Mousom on Medium]]></title>
        <description><![CDATA[Stories by Latiful Mousom on Medium]]></description>
        <link>https://medium.com/@latifulmousom?source=rss-762dc81931fb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NVdF4KQV54LQsJxW9c_t6g.jpeg</url>
            <title>Stories by Latiful Mousom on Medium</title>
            <link>https://medium.com/@latifulmousom?source=rss-762dc81931fb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 21:32:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@latifulmousom/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[Your Job Title Didn’t Get Promoted. Your Workload Did.]]></title>
            <link>https://medium.com/@latifulmousom/the-staff-engineer-trap-how-ai-is-inflating-expectations-not-salaries-fecd19836d76?source=rss-762dc81931fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/fecd19836d76</guid>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[tech-industry]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[developer-experience]]></category>
            <dc:creator><![CDATA[Latiful Mousom]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 14:43:32 GMT</pubDate>
            <atom:updated>2026-02-09T14:43:32.508Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1aHvKNw-tLXTWPXf2ebirg.jpeg" /><figcaption>A tired software developer sitting at a desk</figcaption></figure><p>A friend of mine — mid-level backend engineer, five years of experience, solid developer — told me something last month that stuck with me. His manager pulled him into a 1:1 and told him that with AI tools now available to the team, the expectation was that he’d be “thinking more architecturally.” Less time heads-down coding, more time designing systems, reviewing AI output, making strategic calls about what to build and how.</p><p>My friend asked if this came with a title change or a raise. His manager sort of laughed it off. “It’s not a promotion — it’s just how the role is evolving.”</p><p>I’ve been chewing on that phrase ever since. <em>How the role is evolving.</em> Because I’ve been in tech long enough to have heard it before, and it never ends the way they promise it will.</p><p>Here’s the thing about the tech industry: it has this incredible ability to rebrand “we want you to do more stuff” as “we’re investing in your growth.” It’s been doing this for at least fifteen years, and we keep falling for it.</p><p>Remember when “full-stack engineer” became the hot thing? I do. I was early enough in my career that I thought it was genuinely exciting. Why just do front-end when you could do <em>everything</em>? You’d understand the whole picture! You’d be more valuable!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eo9JYsxTNGG32-GqSwP5tA.jpeg" /><figcaption>A single person juggling too many hats — literally wearing stacked hats labeled with different roles</figcaption></figure><p>What actually happened was pretty mundane. Companies realized they could hire one person to do the work that two people used to split. The scope of the job roughly doubled. Salaries went up a little, briefly, and then settled back to about where they were. I watched it happen in real time at two different companies. One day you had a front-end team and a backend team. A year later you had a “product engineering” team that was half the size and twice as stressed.</p><p>Then the same thing happened with DevOps. “You build it, you run it” — sounds great in a conference talk. Sounds a lot less great when you’re debugging a Kubernetes cluster at 1 AM on a Saturday because that’s apparently part of being a developer now. Before DevOps became a philosophy, there were ops people who handled production. After, it was just… your problem. On top of building features. On top of everything else.</p><p>I’m not saying full-stack or DevOps were bad ideas. They weren’t. There were real benefits. But the pattern is worth noticing: a new capability gets framed as empowerment, and then it quietly becomes an obligation. The scope grows. The paycheck doesn’t.</p><p>So now we’re doing it again with AI, and this time the pitch is even bolder. It’s not just “you should learn this new tool” or “you should own this extra responsibility.” It’s “you are now, essentially, a staff engineer. An architect. AI handles the grunt work — your job is to think.”</p><p>And I get the appeal. I really do. If you’re a mid-level developer and someone tells you your role is being <em>elevated</em>, that feels good. It feels like recognition. Like the industry is finally valuing the hard parts of the job — the design thinking, the system understanding, the judgment calls.</p><p>But I keep coming back to my friend’s story. Because what’s actually happening, in most companies I’ve seen or heard about, is not elevation. It’s expansion. The job description gets bigger. The expectations get higher. The timeline gets shorter. And the title and the salary stay exactly where they are.</p><p>Think about the math from the company’s perspective. If a mid-level engineer with AI tools can produce output that <em>looks</em> like staff-level work — scaffolding systems, generating clean code across multiple services, whipping up architecture diagrams — then why would you hire actual staff engineers? Why promote anyone? You’ve got mid-level people producing staff-level artifacts. That’s a great deal. For the company.</p><p>For the engineer, it’s a different story. You’re doing harder work, across a wider scope, with more responsibility, and you’re being told this is just “how the role is evolving.”</p><p>There’s a deeper problem here that I don’t see enough people talking about, and it’s the one that worries me most.</p><p>All this talk about engineers moving “up the stack” to focus on architecture and strategic thinking assumes that this kind of judgment is something you can just… step into. Like it’s a mode you switch on. But that’s not how it works. Not even close.</p><p>The reason a staff engineer’s architectural instincts are worth something is because those instincts were earned. They come from years of building things, screwing things up, and living with the consequences. You learn what a bad database schema costs when you’re the one migrating data at 3 AM six months later. You learn why that “quick microservice split” was a terrible idea when you’re the one tracing requests across nine services trying to figure out why latency spiked.</p><p>That learning happens in the implementation work. The coding. The debugging. The messy, unglamorous, day-to-day work of actually building software. Which is exactly the work that’s now being characterized as “the easy part that AI can handle.”</p><p>See the contradiction? We’re telling engineers that the valuable skill is architectural judgment. But we’re simultaneously devaluing and automating the very process through which that judgment develops. It’s like telling someone to become a great chef but also telling them they never need to actually cook — just supervise the robot that does it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pGRYANr8QiondQ3h5f7KpQ.png" /><figcaption>A young chef standing confidently in a kitchen giving orders to robots</figcaption></figure><p>I saw a quote recently from the AWS CEO saying that getting rid of junior developers is “one of the dumbest things I’ve ever heard,” and honestly, yeah. If you cut off the pipeline of people learning by doing, where do your future senior engineers come from? Where do your future architects come from? They don’t just appear. They’re forged through years of work that we’re now busy dismissing.</p><p>The other thing that’s driving me a little crazy is the velocity expectation.</p><p>I’ve heard this from multiple people now: a manager asks for an estimate, the engineer gives one, and the manager pushes back with something like “can’t you just give it to Claude and have it done in an hour?” As if the AI-generated code is just… done. Ready to ship. No review needed, no integration work, no edge cases, no subtle bugs hiding in the parts you didn’t think to check.</p><p>Anyone who’s actually used these tools seriously knows that’s not how it works. The code generation part is fast, sure. But understanding the requirements well enough to prompt correctly, reviewing the output carefully, fixing the stuff it got wrong, making it fit into an existing system that has a decade of accumulated quirks — all of that takes real time. Sometimes more time than just writing the thing yourself, because at least when you write it, you understand every line.</p><p>But leadership doesn’t see that. What they see is the demo. Some vendor showed them an AI agent building a feature from scratch in seven minutes, and now every sprint plan gets measured against that fantasy. The gap between what the demos promise and what reality delivers is genuinely causing burnout. I’m watching it happen around me. People aren’t struggling because they’re incompetent. They’re struggling because someone moved the goalposts and pretended they didn’t.</p><p>Look, I want to be clear about something because I know how this reads: I’m not anti-AI. I use AI tools every day. They’re genuinely useful and I’m more productive with them than without them. I don’t want to go back to writing boilerplate by hand.</p><p>But I can hold two ideas in my head at once. AI tools are useful <em>and</em> the narrative around them is being weaponized against the people who use them. “Everyone’s a staff engineer now” is not a celebration of engineering talent. It’s a justification for expecting more and paying the same. And the sooner we call that out clearly, the better off we’ll be.</p><p>So what do you do? Honestly, I don’t have a grand strategy. But I think it starts with refusing to be invisible. When the AI generates something in an hour and you spend four hours making it actually work, say so. Out loud. In the standup, in the retro, in the 1:1. Don’t absorb invisible work quietly, because that just trains everyone around you to keep expecting it.</p><p>And keep actually learning. Not just prompting — learning. When the AI generates a solution, take the time to understand why it works. When it makes a bad call, figure out what it missed. The people who are going to be fine ten years from now aren’t the fastest prompters. Prompting is already being commoditized. The people who’ll be fine are the ones who genuinely understand how things work, and that understanding still comes from doing the work, not just supervising the machine that does it.</p><p>I keep thinking about my friend. Smart guy. Works hard. Clearly capable of thinking architecturally — he always was, honestly. But now that “thinking architecturally” is an expectation instead of an aspiration, it doesn’t feel like a compliment. It feels like a trap.</p><p>The real question — and I don’t think most companies are ready to answer it honestly — is this: if you’re going to expect staff-level work from mid-level people, are you going to pay them for it? Or are you going to keep calling it “how the role is evolving” and hoping nobody does the math?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5lMmK5dWvk-ozPLTc4qFzw.jpeg" /><figcaption>A software engineer standing at a crossroads</figcaption></figure><p>I think most of us already know the answer. But it’s worth asking anyway.</p><p><em>This article was inspired by </em><a href="https://youtu.be/O9uSrCEV1MY"><em>this video</em></a><em> which got me thinking about how these patterns keep repeating in our industry. Worth a watch if this resonated with you.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fecd19836d76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Idea to Reality: How Three College Students Created a Successful SAAS to Predict Customer…]]></title>
            <link>https://medium.com/@latifulmousom/how-three-college-students-created-a-successful-saas-to-predict-customer-2964d38e9cc0?source=rss-762dc81931fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2964d38e9cc0</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[leardership]]></category>
            <category><![CDATA[ecomerce]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[saas]]></category>
            <dc:creator><![CDATA[Latiful Mousom]]></dc:creator>
            <pubDate>Sat, 28 Jan 2023 15:26:22 GMT</pubDate>
            <atom:updated>2023-01-28T15:26:22.708Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Idea to Reality: How Three College Students Created a Successful SAAS to Predict Customer Behavior</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c_pG-S1yAwZo252v" /><figcaption>Photo by <a href="https://unsplash.com/@lazizli?utm_source=medium&amp;utm_medium=referral">Lala Azizli</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Once upon a time, in a small village in India, there were three young friends named Rohan, Aryan and Priya. They were all studying computer science at a nearby college and were determined to make a difference in their community.</p><p>One day, while browsing the internet, they stumbled upon a problem that plagued small business retailers everywhere: abandoned shopping carts. Customers would add items to their cart, but for some reason, they would never complete the purchase.</p><p>Being the ambitious students that they were, Rohan, Aryan and Priya decided to tackle this problem head-on. They spent countless hours researching and experimenting, trying to figure out a way to predict whether a customer was truly interested in purchasing a product or not.</p><p>They discovered that by collecting data on the customer’s browsing history, shopping cart information, time spent on the website, and purchase history, they could create a predictive algorithm that would identify patterns and trends that indicated whether a customer was likely to make a purchase or not.</p><p>The three friends were thrilled at their discovery, but they knew that they needed to take it a step further. They realised that by using technology, they could create a SAAS that could be used by small business retailers everywhere to increase their conversion rates and improve the overall shopping experience for customers.</p><p>But, their journey was not easy, they faced many challenges, from lack of funding to lack of technical knowledge. But, they didn’t give up, they kept pushing forward, and finally, their hard work paid off. They launched their SAAS and it was a huge success.</p><p>Their SAAS was quickly adopted by small retailers all over India, and it became the go-to solution for predicting customer purchasing behaviour. Rohan, Aryan and Priya became overnight success and their company was valued in millions.</p><p>Their story spread like wildfire and inspired many young entrepreneurs in their community to start their own startups and make a difference in the world.🥳</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*8EqQKuAnMhQ877dmKpTfyQ.gif" /></figure><blockquote>Note: The post not only highlights the power of technology but also the potential of young entrepreneurs in India to make a difference in their communities, and it is inspiring to read. It will be an interesting story for anyone who is interested in entrepreneurship, technology, and Indian culture.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2964d38e9cc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Crown of Sales: A Step-by-step guide to sending SMS notifications to Jeff Bezos using AWS SNS…]]></title>
            <link>https://medium.com/@latifulmousom/step-by-step-guide-to-sending-sms-notifications-to-jeff-bezos-using-aws-sns-c0396059db5a?source=rss-762dc81931fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0396059db5a</guid>
            <category><![CDATA[jeff-bezos]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Latiful Mousom]]></dc:creator>
            <pubDate>Sat, 14 Jan 2023 14:04:23 GMT</pubDate>
            <atom:updated>2023-01-14T14:04:23.766Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Crown of Sales: A Step-by-step guide to sending SMS notifications to Jeff Bezos using AWS SNS and Node.js</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z4O7L6l0m3rF4TJc5mYGPA.png" /><figcaption>Source: <a href="https://www.businessinsider.in/insider-picks/news/before-jeff-bezos-became-the-richest-person-on-the-planet-he-used-to-write-entertaining-amazon-reviews-read-them-here-/articleshow/82480303.cms">businessinsider.in</a></figcaption></figure><p>Once upon a time, in a land of e-commerce, there was a king named Jeff Bezos. He ruled over all the sales and discounts in the land, and all the merchants trembled at the thought of him missing out on their deals. But one day, a wise merchant had an idea💡. “What if I could send a message straight to the king’s phone, alerting him of my sales?” And so, the merchant set out on a journey to learn the ways of Amazon Simple Notification Service (SNS) and Node.js.</p><p>And thus, this blog post was born. In this post, I’ll show you how to send a notification to the king of e-commerce, whenever there’s a sale on your website, so you too can rule over the land of discounts🫠.</p><h3>Step 1: Create an SNS Topic</h3><p>First things first, we need to create a virtual hotline to Jeff. This is where SNS comes in. Log in to your AWS Management Console and navigate to the SNS service. Click on the “<strong>Create topic</strong>” button and give your topic a catchy name like “<strong>Jeff’s Sale Alerts</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pXYUZ-qJywNcEZCPm1QoNg.png" /><figcaption>AWS Management Console</figcaption></figure><h3>Step 2: Create an SMS Subscription</h3><p>Now that we have our hotline set up, we need to give Jeff the number to our virtual switchboard😁. To do this, click on the “<strong>Create Subscription</strong>” button, select “<strong>SMS</strong>” as the protocol and enter Jeff’s personal cell number as the endpoint.</p><h3>Step 3: Create a Node.js function to send SMS messages</h3><p>It’s time to put the Node.js to work and write a function that sends SMS messages to Jeff’s phone number whenever there is a sale on your website. To do this, you will need to use the AWS SDK for Node.js. First, install the SDK using npm by running this command on your terminal:</p><pre>npm install aws-sdk</pre><p>Once the SDK is installed, you can use the following code to track sales on Amazon and send an SMS message using AWS SNS and Node.js, you can use a package like “<strong>cheerio</strong>” to web scrape the Amazon website for sale information <em>(you can scrape any website or maybe use your own API)</em>:</p><pre>const AWS = require(&#39;aws-sdk&#39;);<br>const cheerio = require(&#39;cheerio&#39;);<br>const sns = new AWS.SNS({ region: &#39;us-west-2&#39; });<br>const fetch = require(&#39;node-fetch&#39;);<br><br>const trackAmazonSale = async () =&gt; {<br>    // Fetch the Amazon website HTML<br>    const html = await fetch(&#39;https://www.amazon.com&#39;)<br>        .then(response =&gt; response.text());<br><br>    // Use cheerio to scrape the HTML for sale information<br>    const $ = cheerio.load(html);<br>    const saleBanner = $(&#39;.sale-banner&#39;);<br>    if (saleBanner.length) {<br>        const saleMessage = saleBanner.text();<br><br>        // Send the SMS message with the sale information<br>        const params = {<br>            Message: `Hey Jeff, there is a sale on your website! ${saleMessage}`,<br>            PhoneNumber: &#39;+1234567890&#39; // Replace with Jeff Bezos phone number<br>        };<br><br>        try {<br>            const result = await sns.publish(params).promise();<br>            console.log(`SMS sent successfully with message ID: ${result.MessageId}`);<br>        } catch (err) {<br>            console.error(`Error sending SMS: ${err.stack}`);<br>        }<br>    } else {<br>        console.log(&#39;No sale found on Amazon.&#39;);<br>    }<br>};</pre><p>With this code, we are using the publish() method of the SNS object to send an SMS message to Jeff’s phone number with the message “Hey Jeff, there is a sale on your website!”.</p><h3>Step 4: Trigger the Node.js function whenever there is a sale</h3><p>Now that we have our function ready, we need to make sure that it gets triggered whenever there is a sale on your website. This can be done using a variety of techniques, such as using an event-driven architecture or a webhook.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*mpaLgofCwH-B2Qy_XPRdYg.gif" /></figure><h3>Conclusion</h3><p>You did it!🥳 You set up a virtual hotline to Jeff Bezos that sends him SMS messages whenever there’s a sale on your website. Now you can sit back, relax and wait for the Amazon shares to come rolling in.</p><blockquote><strong>Note:</strong> It is important to note that this is just an example of how AWS SNS works, and it’s not advisable to send messages to any phone number without prior consent, as it could be considered illegal and violate privacy. Also note that web scraping can be against the terms of service of the website being scraped, so it is important to check the website’s policy before proceeding. The purpose of this example is to show how SNS can be used to send messages and should not be used in any other way.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0396059db5a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Dad Jokes to Startup Success: Navigating the AI and ML Landscape]]></title>
            <link>https://medium.com/@latifulmousom/from-dad-jokes-to-startup-success-6ccfd55fba9e?source=rss-762dc81931fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ccfd55fba9e</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[dadjokes]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[future-technology]]></category>
            <dc:creator><![CDATA[Latiful Mousom]]></dc:creator>
            <pubDate>Fri, 13 Jan 2023 17:11:25 GMT</pubDate>
            <atom:updated>2023-01-13T17:11:25.518Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*baucS7XJZWep8YZ_" /><figcaption>Photo by <a href="https://unsplash.com/@possessedphotography?utm_source=medium&amp;utm_medium=referral">Possessed Photography</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Artificial Intelligence and Machine Learning are rapidly growing technologies that are transforming various industries, including making people laugh (assuming🤐). As a result, there is a high demand for startups that can provide innovative solutions using these technologies. Starting an AI/ML-based startup can be a challenging but rewarding endeavor, just like trying to make a dad joke funny.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*l41fuvTawXOFX4I3zOFIkw.gif" /><figcaption>Play audio in your mind😁</figcaption></figure><p>First, it is essential to identify a specific problem or opportunity that your startup will address. This could be anything from automating a specific business process to creating a new product or service. Once you have identified the problem or opportunity, you can begin to research potential solutions and assess the market potential. For example, if your startup is focused on <strong>making dad jokes funny</strong>, the market potential is huge.😶</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.pollsights.com%2Fc%2F57DPmL&amp;dntp=1&amp;display_name=Pollsights&amp;url=https%3A%2F%2Fwww.pollsights.com%2Fc%2F57DPmL&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=pollsights" width="800" height="550" frameborder="0" scrolling="no"><a href="https://medium.com/media/894f186199e8baa3c361366c9b95814e/href">https://medium.com/media/894f186199e8baa3c361366c9b95814e/href</a></iframe><p>Next, it is crucial to assemble a team with the necessary skills and experience to develop and launch your product or service. This team should include experts 💪in AI and ML, as well as professionals with expertise in the specific industry or problem area that your startup is addressing. It is essential to have a business-minded individual on the team who can help with strategic planning and fundraising, as well as someone who knows a good dad joke when they hear one.</p><p>The targeted audience for an AI/ML startup will vary depending on the problem or opportunity that you are addressing. For example, if your startup is developing a new product or service, your target audience will likely be businesses or consumers in the specific industry that the product or service is intended for.</p><p>If your startup is focused on automating a specific business process, your target audience will likely be companies in that industry. But if your startup is focused on <strong>making dad jokes funny</strong>, your target audience is everyone with a <strong>sense of humor</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*CVTSDQ0yIkOhRCKWOowGCQ.gif" /></figure><p>Lastly, it is important to consider the funding and resources required to develop and launch your startup. This may include securing funding from investors, grants, or crowdfunding. Additionally, it is essential to have a solid business plan and strategy in place to ensure that your startup has the best chance of success, just like <strong>a good punchline</strong>.</p><p>In conclusion, starting an AI/ML-based startup can be a challenging but rewarding endeavor. By identifying a specific problem or opportunity, assembling a skilled team, and understanding your target audience, you can increase the chances of success for your startup. And remember, AI and ML are not just about serious business, it can be about making people laugh too!😂</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ccfd55fba9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverless, Node.js and Elon Musk: A Match Made in Tech Heaven]]></title>
            <link>https://medium.com/@latifulmousom/serverless-node-js-and-elon-musk-a-match-made-in-tech-heaven-97275a4a624?source=rss-762dc81931fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/97275a4a624</guid>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[elon-musk]]></category>
            <category><![CDATA[twitter-scraping]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Latiful Mousom]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 14:31:36 GMT</pubDate>
            <atom:updated>2023-01-10T14:31:36.447Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0nE-9KiD8iSgnfsuI0a4Tw.jpeg" /></figure><blockquote>Welcome to the wild world of serverless computing! If you’re anything like me, you’re probably thinking, “But I don’t want to deal with servers! I just want to code and have a cold beer! Well, my friend, you’re in luck because with serverless computing, you can do just that.</blockquote><p>In this post, we’re going to show you how to build a serverless application using Node.js that will retrieve the latest tweets from the one and only, Elon Musk. Now, you may be thinking “Why would I want to know what Elon Musk is tweeting about? I already know it’s probably about space, Tesla, or how to colonize Mars.” Well, you never know, he might tweet about his favorite type of beer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/214/1*pe8NTPDR_clPaWsPclkMVg.gif" /></figure><p>To get started, you’ll need to have an account with a cloud provider that supports serverless functions, such as AWS Lambda or Google Cloud Functions. For this example, we’ll be using AWS Lambda because let’s face it, they’re the king of the serverless jungle.</p><p>First, we’ll create a new Lambda function and give it a catchy name like “<strong>Muskwatch</strong>” or “<strong>The Tweetening”</strong> and then we’ll choose the runtime environment for our function. In this case, we’ll be using Node.js 18.x because who wants to work with an older version of Node? That’s like still using a flip phone😜.</p><p>Now that we have our function set up, we can start writing our code. We’ll be using the “twit” library to interact with the Twitter API and retrieve the tweets because let’s be real, manually scrolling through Twitter for Elon’s tweets would take ages. You can install this library by running npm install twit in your project directory and let the magic begin.</p><pre>const Twit = require(&#39;twit&#39;);<br><br>exports.handler = async (event, context) =&gt; {<br>    const T = new Twit({<br>        consumer_key: &#39;your_consumer_key&#39;,<br>        consumer_secret: &#39;your_consumer_secret&#39;,<br>        access_token: &#39;your_access_token&#39;,<br>        access_token_secret: &#39;your_access_token_secret&#39;,<br>    });<br><br>    const params = {<br>        screen_name: &#39;elonmusk&#39;,<br>        count: 1<br>    };<br><br>    try {<br>        const tweets = await T.get(&#39;statuses/user_timeline&#39;, params);<br>        const latestTweet = tweets.data[0];<br>        return {<br>            statusCode: 200,<br>            body: JSON.stringify(latestTweet)<br>        };<br>    } catch (err) {<br>        console.log(err);<br>        return {<br>            statusCode: 500,<br>            body: JSON.stringify({ error: &quot;This is not an error, this is just a failed attempt at colonizing Mars&quot; })<br>        };<br>    }<br>};</pre><p>In this code snippet, we first require the twit library and then create an instance of the Twit class by passing in our Twitter API keys. Next, we create a params object to specify the screen name (in this case, &quot;elonmusk&quot;) and the number of tweets we want to retrieve (1 for the latest tweet).</p><p>We then use the get method to retrieve the tweets and the await operator to wait for the promise to resolve. We then return the first tweet in the array of tweets as the latest tweet.</p><p>In the case of an error we will handle it with a catch block, but instead of just returning a boring old error message, we’ll spice it up and return something like “This is not an error, this is just a failed attempt at Colonizing Mars.”</p><p>Now that our code is complete, we can deploy it to our Lambda function, and test it by invoking it and see if it gives us the latest tweet from Elon Musk.</p><p>And that’s it! You’ve just built a serverless application that retrieves the latest tweet from Elon Musk using Node.js and AWS Lambda. You can now sit back, relax, and enjoy a cold beer while your application does all the hard work for you.</p><p>This is just a basic example, you can expand the functionality of this application by adding more functionality like storing the tweet in a database, or sending the tweet as a notification to a user via SMS or Email.</p><p>Serverless computing is a powerful and cost-effective way to build and run applications, and with the growing popularity of Node.js, it’s a match made in heaven. Now go forth, and conquer the world of serverless computing with your newfound skills!</p><p>And don’t forget, if things don’t go as planned and you encounter any errors, just remember that it’s just a failed attempt at colonizing Mars.</p><p>And one last thing, if you ever get to meet Elon Musk in person, ask him what his favorite type of beer is, and let me know, I’m curious.</p><p>In summary, serverless computing is a great way to build and run applications and services without having to manage the underlying infrastructure. We’ve shown you how to use Node.js and the twit library to retrieve the latest tweets from Elon Musk, and how to use AWS Lambda to deploy the application. With some imagination and creativity, you can expand this application even further and have fun doing it. Cheers to that!</p><p>It’s worth noting that serverless computing does come with some limitations, for example, there is a timeout for function execution and hard limits on the amount of memory you can use. It is also relatively new technology and its best practices and patterns are still evolving, though it has great potential for cost efficiency and scalability.</p><p>Before you proceed with serverless, make sure it is the best fit for your use case, as other hosting options such as VMs or containers might be more appropriate for certain types of workloads.</p><p>It’s also important to keep in mind that serverless does not mean servers are not involved, rather it abstracts away the management of them and you pay only for the resources consumed by your code.</p><p>Overall, Serverless computing is a great choice for many use cases, and using it with Node.js can be a perfect fit if you’re looking to build scalable, cost-effective, and high-performance applications. So, what are you waiting for?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97275a4a624" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Your Own Frontend Framework: A Step-by-Step Guide]]></title>
            <link>https://medium.com/@latifulmousom/creating-your-own-frontend-framework-9ca9833ebb03?source=rss-762dc81931fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ca9833ebb03</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[frontend-framework]]></category>
            <category><![CDATA[framework]]></category>
            <dc:creator><![CDATA[Latiful Mousom]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 13:59:05 GMT</pubDate>
            <atom:updated>2022-12-30T13:59:05.798Z</atom:updated>
            <content:encoded><![CDATA[<p>Frontend frameworks are a crucial tool for building modern web applications. They provide a set of reusable components, styles, and functions that can help to streamline the development process and ensure that your application has a consistent look and feel. Some popular frontend frameworks include React, Angular, and Vue.js.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TD4tl9oehZ4G17Tr" /><figcaption>Photo by <a href="https://unsplash.com/@flowforfrank?utm_source=medium&amp;utm_medium=referral">Ferenc Almasi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>However, there may be times when you want to create your own frontend framework, either for a specific project or for use in multiple projects. Building your own framework can be a rewarding and educational experience, and it can also give you greater control over the design and functionality of your application.</p><figure><img alt="Excited to build your own framework?" src="https://cdn-images-1.medium.com/max/498/1*XJl9t9xyJmGxkxlXwlNM0Q.gif" /></figure><p>In this blog post, we will explore the process of creating your own frontend framework from scratch. We will cover the following topics:</p><ol><li>Why create your own framework?</li><li>Setting up the project structure</li><li>Building reusable components</li><li>Defining styles and layout</li><li>Adding functionality with JavaScript</li><li>Why create your own framework?</li></ol><p>There are several reasons why you might want to create your own frontend framework:</p><ul><li>You have specific requirements or design constraints that are not well-suited to an existing framework.</li><li>You want to learn more about how frontend frameworks work and gain a deeper understanding of web development.</li><li>You want to have full control over the design and functionality of your application.</li></ul><p>Regardless of your reason for building your own framework, it is important to carefully consider whether it is the right decision for your project. Building a custom framework can be a time-consuming and complex process, and it may be more efficient to use an existing framework if it meets your needs.</p><h3>Setting up the project structure</h3><p>The first step in creating your own frontend framework is to set up the project structure. This includes creating a directory for your project and defining the file structure.</p><p>Here is an example of a basic project structure:</p><pre>my-framework/<br>  |-- src/<br>  |   |-- components/<br>  |   |-- styles/<br>  |   |-- index.js<br>  |-- index.html<br>  |-- package.json</pre><p>In the src directory, we will store the components, styles, and JavaScript files that make up our framework. The index.html file is the entry point for our application, and the package.json file will store information about our project, such as the dependencies and scripts.</p><h3>Building reusable components</h3><p>One of the key features of a frontend framework is the ability to define reusable components. These are self-contained units of UI that can be easily shared and reused throughout your application.</p><p>To create a reusable component in your framework, you will need to define a template and a JavaScript class that controls the behavior of the component.</p><p>Here is an example of a simple button component:</p><pre>&lt;template id=&quot;button-template&quot;&gt;<br>  &lt;button&gt;<br>    &lt;slot&gt;&lt;/slot&gt;<br>  &lt;/button&gt;<br>&lt;/template&gt;</pre><pre>class Button extends HTMLElement {<br>  constructor() {<br>    super();<br>    this.attachShadow({ mode: &#39;open&#39; });<br>    this.shadowRoot.appendChild(<br>      document.getElementById(&#39;button-template&#39;).content.cloneNode(true)<br>    );<br>  }<br>}<br><br>customElements.define(&#39;my-button&#39;, Button);</pre><p>To use this component in your application, you can simply add an &lt;my-button&gt; element to your HTML, like so:</p><pre>&lt;my-button&gt;</pre><blockquote><strong>In conclusion</strong>, building your own frontend framework can be a challenging but rewarding experience. It allows you to have full control over the design and functionality of your application, and can also help you to gain a deeper understanding of web development. To create your own framework, you will need to set up the project structure, define reusable components, establish styles and layout, and add functionality with JavaScript. With careful planning and attention to detail, you can build a custom framework that meets the specific needs of your project and delivers a great user experience. By following best practices for SEO, you can also ensure that your framework is optimized for search engines and attracts a wider audience.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ca9833ebb03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Steps to Secure Your Node.js and Express Server]]></title>
            <link>https://medium.com/@latifulmousom/5-steps-to-secure-your-node-js-and-express-server-6a12a4ce4ac4?source=rss-762dc81931fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a12a4ce4ac4</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[expressjs]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Latiful Mousom]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 13:26:37 GMT</pubDate>
            <atom:updated>2022-12-30T13:26:37.392Z</atom:updated>
            <content:encoded><![CDATA[<p>Node.js is a popular runtime environment for building server-side applications with JavaScript. It is lightweight and efficient, making it well-suited for building high-performance web servers. One of the most popular web frameworks for Node.js is Express, which provides a simple and easy-to-use implementation for building web applications.</p><p>However, with great power comes great responsibility. As a server-side language, Node.js and Express applications are exposed to a variety of security risks. It is important to take steps to secure your Node.js and Express server to protect against these threats and ensure the safety of your application and its users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4LgaHISeCJJduAek" /><figcaption>Photo by <a href="https://unsplash.com/@wocintechchat?utm_source=medium&amp;utm_medium=referral">Christina @ wocintechchat.com</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this blog post, we will explore some best practices for securing your Node.js and Express server.</p><p><strong>Keep your dependencies up to date</strong></p><p>One of the key benefits of using a popular framework like Express is that it is maintained by a large community of developers. This means that security vulnerabilities and other issues are often identified and fixed quickly. However, it is important to keep your dependencies (including Express) up to date to ensure that you are using the latest, most secure version.</p><p>To update your dependencies, you can use the npm (Node Package Manager) command npm update. This will update all of your dependencies to the latest version, based on the version constraints in your package.json file.</p><p><strong>Use helmet</strong></p><p>Helmet is a middleware library for Express that helps to secure your app by setting various HTTP headers. Some of the headers that Helmet sets include:</p><ul><li>Content-Security-Policy: This header helps to prevent cross-site scripting (XSS) attacks by specifying which domains are allowed to load resources (such as JavaScript and CSS) on your site.</li><li>Strict-Transport-Security: This header tells the browser to only connect to your site using HTTPS, even if the user tries to access it using HTTP. This helps to prevent man-in-the-middle attacks.</li><li>X-Frame-Options: This header tells the browser whether or not your site can be displayed in an &lt;iframe&gt;. This can help to prevent clickjacking attacks.</li></ul><p>To use Helmet, simply install it using npm (npm install helmet) and then require it in your Express app:</p><pre>const helmet = require(&#39;helmet&#39;);<br>app.use(helmet());</pre><p><strong>Use express-rate-limit</strong></p><p>Express-rate-limit is a middleware library for Express that helps to protect your server from brute force attacks by limiting the number of requests that a client can make within a specified time period. This can help to prevent attackers from trying to guess passwords or overwhelm your server with a flood of requests.</p><p>To use express-rate-limit, simply install it using npm (npm install express-rate-limit) and then require it in your Express app:</p><pre>const rateLimit = require(&#39;express-rate-limit&#39;);<br><br>app.use(rateLimit({<br>  windowMs: 15 * 60 * 1000, // 15 minutes<br>  max: 100 // limit each IP to 100 requests per windowMs<br>}));</pre><p><strong>Use sanitization and validation</strong></p><p>To protect against injection attacks (such as SQL injection), it is important to sanitize and validate user input. This means removing any potentially malicious content (such as JavaScript code) and ensuring that the input is in the expected format.</p><p>One way to do this is to use a library like express-validator, which provides a set of middleware functions.</p><blockquote><strong><em>In conclusion</em></strong>, it is essential to take steps to secure your Node.js and Express server to protect against security threats and ensure the safety of your application and its users. By following best practices such as keeping your dependencies up to date, using security middleware like Helmet and express-rate-limit, and sanitizing and validating user input, you can significantly reduce the risk of security vulnerabilities in your Express app. Implementing these measures will help to keep your server and your users safe, and give you peace ☮️ of mind knowing that your application is secure.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a12a4ce4ac4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>