<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Niraj Chauhan</title><description>Niraj Chauhan | A Software Craftsman, a father &amp; a husband. Loves reading OnePiece manga &amp; playing games on his Xbox &amp; Nintendo switch</description><link>https://www.niraj.life/</link><item><title>A Good Day Starts the Night Before</title><link>https://www.niraj.life/blog/a-good-day-starts-the-night-before/</link><guid isPermaLink="true">https://www.niraj.life/blog/a-good-day-starts-the-night-before/</guid><description>How preparing overnight oats the night before became my simple breakfast system for better mornings, fewer cravings, and healthier choices through the day.</description><pubDate>Wed, 10 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Agents Create Leverage. Harnesses Create Trust.</title><link>https://www.niraj.life/blog/agents-create-leverage-harnesses-create-trust/</link><guid isPermaLink="true">https://www.niraj.life/blog/agents-create-leverage-harnesses-create-trust/</guid><description>Everyone is asking whether AI agents can do the task. Engineering leaders should ask a harder question: does the harness around them make autonomy safe, reviewable, and trusted?</description><pubDate>Sat, 04 Jul 2026 00:00:00 GMT</pubDate></item><item><title>[] == [] is false, why? | JavaScript</title><link>https://www.niraj.life/blog/array-equal-is-false-in-javascript/</link><guid isPermaLink="true">https://www.niraj.life/blog/array-equal-is-false-in-javascript/</guid><description>I love javascript and its mystery, if you had to compare a set of two identical arrays the first thing in your mind would come is to compare using == operator. But in javascript the result will be different.</description><pubDate>Thu, 24 Mar 2016 00:00:00 GMT</pubDate></item><item><title>🚦 Avoid using enums in Typescript</title><link>https://www.niraj.life/blog/avoid-using-enums-in-typescript/</link><guid isPermaLink="true">https://www.niraj.life/blog/avoid-using-enums-in-typescript/</guid><description>If you are coming to the typescript world from Java or from any other typesafe languages, then often your choice might be Enums for structuring something like loglevels, status, etc.</description><pubDate>Mon, 19 Dec 2022 00:00:00 GMT</pubDate></item><item><title>Consistency Will Take You There, Motivation Won&apos;t</title><link>https://www.niraj.life/blog/consistency-will-take-you-there-motivation-wont/</link><guid isPermaLink="true">https://www.niraj.life/blog/consistency-will-take-you-there-motivation-wont/</guid><description>What 5 weeks of boring, repeatable training taught me about getting faster — and why simplicity is the secret to staying consistent.</description><pubDate>Mon, 30 Mar 2026 00:00:00 GMT</pubDate></item><item><title>CSS: What&apos;s the difference between px, em &amp; rem?</title><link>https://www.niraj.life/blog/css-whats-the-difference-between-px-em-rem/</link><guid isPermaLink="true">https://www.niraj.life/blog/css-whats-the-difference-between-px-em-rem/</guid><description>Most of us grew up using px CSS unit. This code should be familiar to you width: 100px;. But in the past few years, I saw other units getting added to the CSS specs. So let’s understand each of them.</description><pubDate>Fri, 17 Jul 2020 00:00:00 GMT</pubDate></item><item><title>Deploying DeepSeek Distilled Model to AWS Bedrock</title><link>https://www.niraj.life/blog/deploying-deepseek-distilled-model-to-aws-bedrock/</link><guid isPermaLink="true">https://www.niraj.life/blog/deploying-deepseek-distilled-model-to-aws-bedrock/</guid><description>Learn how to set up an EC2 instance, clone and manage a 260GB AI model, upload it to S3, and import it into AWS Bedrock for inference.</description><pubDate>Sat, 01 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Difference between Map &amp; Flatmap | RXJava</title><link>https://www.niraj.life/blog/difference-between-map-flatmap-rxjava/</link><guid isPermaLink="true">https://www.niraj.life/blog/difference-between-map-flatmap-rxjava/</guid><description>RXJava can be very intimidating at first go. Reactive Extensions - RX is all about data streams &amp; handling them and three important pillars for it are Observables, Operators &amp; Schedulers.</description><pubDate>Sat, 14 Dec 2019 00:00:00 GMT</pubDate></item><item><title>Domain Driven Design</title><link>https://www.niraj.life/blog/domain-driven-design/</link><guid isPermaLink="true">https://www.niraj.life/blog/domain-driven-design/</guid><description>Domain Driven Design, is an approach to designing a software system by getting direct inputs from the domain experts and modeling the software accordingly. These domain experts can be the product owners or someone who is close to the product and understands the need of the market/end-users</description><pubDate>Tue, 03 May 2022 00:00:00 GMT</pubDate></item><item><title>Stepping Beyond Tech: My Journey with Ekadashi and the Power of Fasting</title><link>https://www.niraj.life/blog/ekadashi-fasting-benefits-spiritual-scientific-insights/</link><guid isPermaLink="true">https://www.niraj.life/blog/ekadashi-fasting-benefits-spiritual-scientific-insights/</guid><description>A personal journey into Ekadashi fasting, exploring its spiritual roots, Hindu traditions, and surprising scientific health benefits.</description><pubDate>Fri, 09 May 2025 00:00:00 GMT</pubDate></item><item><title>Embracing AI: How Engineers Will Actually Work Now</title><link>https://www.niraj.life/blog/embracing-ai-how-engineers-will-work/</link><guid isPermaLink="true">https://www.niraj.life/blog/embracing-ai-how-engineers-will-work/</guid><description>I upgraded my entire blog - Astro 3 to 5, overhauled the CSS system, and shipped to production without writing code myself. AI has evolved. Engineers who embrace it will too.</description><pubDate>Tue, 03 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Exploring New Frontiers with AI and Chatbot Development</title><link>https://www.niraj.life/blog/exploring-new-frontiers-with-ai-chatbot-development/</link><guid isPermaLink="true">https://www.niraj.life/blog/exploring-new-frontiers-with-ai-chatbot-development/</guid><description>The landscape of Artificial Intelligence (AI) has seen significant shifts and advancements with the release of transformative tools like ChatGPT. From Twitter to Reddit, discussions about AI, its applications, and varying perspectives on its implications are growing quickly.</description><pubDate>Tue, 18 Jul 2023 00:00:00 GMT</pubDate></item><item><title>Exploring Server-Sent Events (SSE) with NestJS</title><link>https://www.niraj.life/blog/exploring-server-sent-events-sse-nestjs/</link><guid isPermaLink="true">https://www.niraj.life/blog/exploring-server-sent-events-sse-nestjs/</guid><description>Discover how to implement Server-Sent Events (SSE) with NestJS for efficient real-time web applications. Learn the benefits of SSE, its one-way communication model, and how to correctly manage headers and data streams in NestJS.</description><pubDate>Fri, 03 May 2024 00:00:00 GMT</pubDate></item><item><title>Figma to Code Using Cursor AI</title><link>https://www.niraj.life/blog/figma-to-code-using-cursor-ai/</link><guid isPermaLink="true">https://www.niraj.life/blog/figma-to-code-using-cursor-ai/</guid><description>Discover how to effectively use Cursor AI with Figma for real-world UI development, including a structured prompt strategy, design system integration, and lessons from a brownfield project.</description><pubDate>Wed, 02 Jul 2025 00:00:00 GMT</pubDate></item><item><title>From Senior Engineer → Tech Leader: What Actually Changes</title><link>https://www.niraj.life/blog/from-senior-engineer-to-tech-leader/</link><guid isPermaLink="true">https://www.niraj.life/blog/from-senior-engineer-to-tech-leader/</guid><description>What really changes when you move from Senior Engineer to Tech Leader? A practical, experience-driven reflection on decision making, mentorship, ambiguity, and leadership mindset from years in engineering and tech leadership roles.</description><pubDate>Fri, 16 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Get your website visitors device battery status</title><link>https://www.niraj.life/blog/get-your-website-visitors-device-battery-status/</link><guid isPermaLink="true">https://www.niraj.life/blog/get-your-website-visitors-device-battery-status/</guid><description>Recently I added a functionality in one my clients website to notify user about battery status if they are running low on it.</description><pubDate>Mon, 13 Apr 2015 00:00:00 GMT</pubDate></item><item><title>Going Full Serverless with AWS AppSync and DynamoDB using TypeScript CDK</title><link>https://www.niraj.life/blog/going-serverless-aws-appsync-dynamodb-typescript-cdk/</link><guid isPermaLink="true">https://www.niraj.life/blog/going-serverless-aws-appsync-dynamodb-typescript-cdk/</guid><description>Learn how to build a fully serverless architecture with AWS AppSync and DynamoDB using GraphQL and AWS CDK. Achieve seamless scalability and cost efficiency for your e-commerce order management system.</description><pubDate>Mon, 19 Aug 2024 00:00:00 GMT</pubDate></item><item><title>How AI Coached Me to a Faster 10K</title><link>https://www.niraj.life/blog/how-ai-coached-me-to-a-faster-10k/</link><guid isPermaLink="true">https://www.niraj.life/blog/how-ai-coached-me-to-a-faster-10k/</guid><description>How a personal AI coach helped me drop 6 kilos, lower my heart rate, and run my fastest 10K — 22 minutes faster than the same race a year ago.</description><pubDate>Mon, 27 Apr 2026 00:00:00 GMT</pubDate></item><item><title>How to write clean code?</title><link>https://www.niraj.life/blog/how-to-write-clean-code/</link><guid isPermaLink="true">https://www.niraj.life/blog/how-to-write-clean-code/</guid><description>A project is much easier to develop and maintain if the codebase is clean, which every developer should strive for. Writing clean code is not rocket science, in fact, it’s quite simple.</description><pubDate>Tue, 29 Aug 2017 00:00:00 GMT</pubDate></item><item><title>If You Train by Heart Rate, the Data Matters</title><link>https://www.niraj.life/blog/if-you-train-by-heart-rate-the-data-matters/</link><guid isPermaLink="true">https://www.niraj.life/blog/if-you-train-by-heart-rate-the-data-matters/</guid><description>I trained by heart rate for over a year using my Apple Watch. Then I tried a Polar H10 chest strap and the numbers did not match. If your training decisions depend on heart rate, the quality of that number matters.</description><pubDate>Sun, 07 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Java Vert.x MongoDB Client with Guice</title><link>https://www.niraj.life/blog/java-vertx-mongodb-client-with-guice/</link><guid isPermaLink="true">https://www.niraj.life/blog/java-vertx-mongodb-client-with-guice/</guid><description>Vert.x is an event-driven non-blocking library. It’s not a framework, so you get power to write code in your way. Vert.x is similar to NodeJS. It helps you to achieve concurrency with minimal hardware.</description><pubDate>Sat, 14 Jan 2017 00:00:00 GMT</pubDate></item><item><title>Javascript Mixin</title><link>https://www.niraj.life/blog/javascript-mixin/</link><guid isPermaLink="true">https://www.niraj.life/blog/javascript-mixin/</guid><description>In simple words reusing object between different classes. You can also take it as an Interface with implemented methods.</description><pubDate>Tue, 31 Mar 2015 00:00:00 GMT</pubDate></item><item><title>Javascript Naming Conventions</title><link>https://www.niraj.life/blog/javascript-naming-conventions/</link><guid isPermaLink="true">https://www.niraj.life/blog/javascript-naming-conventions/</guid><description>Many times we face situations in projects for naming our files, variables or classes. Here is the convention I am sharing which I follow in my projects of Javascript.</description><pubDate>Thu, 08 Sep 2016 00:00:00 GMT</pubDate></item><item><title>JQuery Treeview List</title><link>https://www.niraj.life/blog/jquery-treeview-list/</link><guid isPermaLink="true">https://www.niraj.life/blog/jquery-treeview-list/</guid><description>JQuery Treeview List - Creates a nice expanding and collapsing tree view control using jQuery.</description><pubDate>Mon, 23 Feb 2015 00:00:00 GMT</pubDate></item><item><title>Planning a MongoDB to Postgres Migration with AI and MCP</title><link>https://www.niraj.life/blog/mongodb-to-postgres-migration-ai-mcp/</link><guid isPermaLink="true">https://www.niraj.life/blog/mongodb-to-postgres-migration-ai-mcp/</guid><description>Discover how I used AI and the Model Context Protocol (MCP) to plan a seamless MongoDB to PostgreSQL migration through collaborative reasoning, smart prompts, and real-time data exploration.</description><pubDate>Thu, 29 May 2025 00:00:00 GMT</pubDate></item><item><title>My WFH desk setup</title><link>https://www.niraj.life/blog/my-wfh-desk-setup/</link><guid isPermaLink="true">https://www.niraj.life/blog/my-wfh-desk-setup/</guid><description>Since the pandemic began, most of us started working from home. Some people like it and some people miss their offices. But for me, the most amazing part of WFH is the desk setup. Have always seen YouTubers having this but I never got this opportunity until now.</description><pubDate>Tue, 12 Apr 2022 00:00:00 GMT</pubDate></item><item><title>MySQL get size of database</title><link>https://www.niraj.life/blog/mysql-get-size-of-database/</link><guid isPermaLink="true">https://www.niraj.life/blog/mysql-get-size-of-database/</guid><pubDate>Tue, 03 Feb 2015 00:00:00 GMT</pubDate></item><item><title>NestJS fetch secrets from AWS Secrets Manager</title><link>https://www.niraj.life/blog/nestjs-fetch-secrets-from-aws-secrets-manager/</link><guid isPermaLink="true">https://www.niraj.life/blog/nestjs-fetch-secrets-from-aws-secrets-manager/</guid><description>Often, applications use environmental variables to store secrets or values that vary depending on the system where the application runs. These values are typically not checked into the git repositories, and you may need to set them at runtime.</description><pubDate>Fri, 21 Apr 2023 00:00:00 GMT</pubDate></item><item><title>NestJS + TypeORM + Postgres InMemory DB E2E testing</title><link>https://www.niraj.life/blog/nestjs-typeorm-postgres-inmemory-db-e2e-testing/</link><guid isPermaLink="true">https://www.niraj.life/blog/nestjs-typeorm-postgres-inmemory-db-e2e-testing/</guid><description>Testing is one of the most important and a major part of any application development, NestJS by default uses Jest &amp; Supertest for making unit tests &amp; end-to-end testing jobs easier.</description><pubDate>Tue, 05 Apr 2022 00:00:00 GMT</pubDate></item><item><title>Never buy anything from Snapdeal</title><link>https://www.niraj.life/blog/never-buy-anything-from-snapdeal/</link><guid isPermaLink="true">https://www.niraj.life/blog/never-buy-anything-from-snapdeal/</guid><description>Today I am going to share my journey on buying a product from Snapdeal.</description><pubDate>Fri, 07 Oct 2016 00:00:00 GMT</pubDate></item><item><title>NextJS vs. Astro: Choosing Developer Ease over Complexity</title><link>https://www.niraj.life/blog/nextjs-vs-astro/</link><guid isPermaLink="true">https://www.niraj.life/blog/nextjs-vs-astro/</guid><description>In the dynamic world of web development, the tools and technologies we choose significantly impact our productivity and the performance of our applications. My recent experience of transitioning my blog from NextJS to Astro offers a telling example of this.</description><pubDate>Thu, 07 Dec 2023 00:00:00 GMT</pubDate></item><item><title>One piece 23rd anniversary</title><link>https://www.niraj.life/blog/one-piece-23rd-anniversary/</link><guid isPermaLink="true">https://www.niraj.life/blog/one-piece-23rd-anniversary/</guid><description>One piece is officially 23 years old now and I thought of creating a small CSS card of Luffy.</description><pubDate>Mon, 20 Jul 2020 00:00:00 GMT</pubDate></item><item><title>Optimizing for the Cloud: A Tale of Scalability and Cost Reduction</title><link>https://www.niraj.life/blog/optimizing-for-the-cloud-a-tale-of-scalability-and-cost-reduction/</link><guid isPermaLink="true">https://www.niraj.life/blog/optimizing-for-the-cloud-a-tale-of-scalability-and-cost-reduction/</guid><description>This blog narrates a Lead Architect&apos;s successful quest to enhance a client&apos;s cloud infrastructure, significantly reducing AWS costs and improving scalability through innovative AWS solutions. It marks a pivotal debut in his new role, showcasing strategic problem-solving and technological prowess.</description><pubDate>Sun, 10 Mar 2024 00:00:00 GMT</pubDate></item><item><title>AI as Your Code Partner: Pair Programming with LLMs</title><link>https://www.niraj.life/blog/pair-programming-with-ai/</link><guid isPermaLink="true">https://www.niraj.life/blog/pair-programming-with-ai/</guid><description>Exploring AI-Assisted Coding: A hands-on session demonstrating how developers can collaborate with AI tools to write better code through effective prompting and continuous refinement.</description><pubDate>Thu, 10 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Reactive programming with RXJava</title><link>https://www.niraj.life/blog/reactive-programming-with-rxjava/</link><guid isPermaLink="true">https://www.niraj.life/blog/reactive-programming-with-rxjava/</guid><description>There is a huge buzz in the market for “Reactive Programming”, but the very first question comes in our mid is what is reactive programming? Why we need reactive programming? What is RX?</description><pubDate>Fri, 27 Apr 2018 00:00:00 GMT</pubDate></item><item><title>Running a Half Marathon When You Don&apos;t Enjoy Running</title><link>https://www.niraj.life/blog/running-half-marathon-dont-enjoy-running/</link><guid isPermaLink="true">https://www.niraj.life/blog/running-half-marathon-dont-enjoy-running/</guid><description>You don&apos;t have to love something to be good at it. My honest journey of finishing a half marathon as someone who doesn&apos;t enjoy running.</description><pubDate>Tue, 10 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Stop wordpress asking FTP details</title><link>https://www.niraj.life/blog/stop-wordpress-asking-ftp-details/</link><guid isPermaLink="true">https://www.niraj.life/blog/stop-wordpress-asking-ftp-details/</guid><description>If you are on linux system and fed up with Wordpress asking FTP details on every install/update of plugin/theme??</description><pubDate>Wed, 12 Aug 2015 00:00:00 GMT</pubDate></item><item><title>Streamlining Infrastructure Management with AWS CDK and ECS Fargate</title><link>https://www.niraj.life/blog/streamlining-infrastructure-management-aws-cdk-ecs-fargate/</link><guid isPermaLink="true">https://www.niraj.life/blog/streamlining-infrastructure-management-aws-cdk-ecs-fargate/</guid><description>Last year, I joined Travelopia to lead the WebApp development teams. My early days were focused on meeting the product tech team and learning about the technology solutions they were using in their projects.</description><pubDate>Tue, 11 Apr 2023 00:00:00 GMT</pubDate></item><item><title>The Future of Data Fetching in React</title><link>https://www.niraj.life/blog/the-future-of-data-fetching-in-react/</link><guid isPermaLink="true">https://www.niraj.life/blog/the-future-of-data-fetching-in-react/</guid><description>React has recently announced the development of a new hook that will provide first-class support for Promises.</description><pubDate>Wed, 15 Mar 2023 00:00:00 GMT</pubDate></item><item><title>Ubuntu convert images to pdf</title><link>https://www.niraj.life/blog/ubuntu-convert-images-to-pdf/</link><guid isPermaLink="true">https://www.niraj.life/blog/ubuntu-convert-images-to-pdf/</guid><description>Add your multiple  images into a single pdf by following command #pdf #ubuntu</description><pubDate>Thu, 26 Feb 2015 00:00:00 GMT</pubDate></item><item><title>Understanding npm audit and fixing vulnerabilities</title><link>https://www.niraj.life/blog/understanding-npm-audit-fixing-vulnerabilities-nodejs/</link><guid isPermaLink="true">https://www.niraj.life/blog/understanding-npm-audit-fixing-vulnerabilities-nodejs/</guid><description>Learn how to use npm audit to identify and fix security vulnerabilities in your Node.js project dependencies. This guide covers how npm audit works, fixing vulnerabilities with npm audit fix, handling transitive dependencies, and best practices for maintaining a secure Node.js application.</description><pubDate>Mon, 21 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Vibe Coding: My Take</title><link>https://www.niraj.life/blog/vibe-coding/</link><guid isPermaLink="true">https://www.niraj.life/blog/vibe-coding/</guid><description>Vibe coding is a new term that has been gaining popularity in the software development community. It is a way of coding that is focused on the desired outcome of a software project, rather than the code itself. It is a way of coding that is focused on the desired outcome of a software project, rather than the code itself.</description><pubDate>Thu, 24 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Who is a Tech lead?</title><link>https://www.niraj.life/blog/who-is-a-tech-lead/</link><guid isPermaLink="true">https://www.niraj.life/blog/who-is-a-tech-lead/</guid><description>Generally, every company will have roles for understanding seniority in the team, these roles can start from Junior Developer to all the way till Principal/Senior Developer. The term might vary from company to company but the idea is the same. The team will be composed of a set of developers with different expertise &amp; experience. And it’s very important to have a SPOC(Single point of contact) for the engineering team to function. These anchor roles are generally called Tech Leads.</description><pubDate>Wed, 27 Jan 2021 00:00:00 GMT</pubDate></item><item><title>Why coding with LLMs can be harder than you think</title><link>https://www.niraj.life/blog/why-coding-with-llms-can-be-harder-than-you-think/</link><guid isPermaLink="true">https://www.niraj.life/blog/why-coding-with-llms-can-be-harder-than-you-think/</guid><description>Coding with LLMs sounds deceptively simple, but the reality is more complex than YouTube demos suggest. This post explores the challenges of  vibe coding, providing practical strategies for effectively collaborating with AI coding assistants. Learn how to manage context, separate product and developer mindsets, and adapt your approach for different project types to harness the power of LLMs while avoiding common pitfalls that can slow down development.</description><pubDate>Sun, 16 Mar 2025 00:00:00 GMT</pubDate></item></channel></rss>