<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Sanjeev Poudel · Blog</title>
    <link>https://www.sanjeevpoudel.com.np/blog</link>
    <description>Notes on software engineering, plus opinions and articles.</description>
    <atom:link href="https://www.sanjeevpoudel.com.np/blog/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Speeding up slow Rails pages: N+1 queries, indexes and EXPLAIN ANALYZE</title>
      <link>https://www.sanjeevpoudel.com.np/blog/speeding-up-slow-rails-pages</link>
      <guid isPermaLink="true">https://www.sanjeevpoudel.com.np/blog/speeding-up-slow-rails-pages</guid>
      <pubDate>Fri, 20 Nov 2026 00:00:00 GMT</pubDate>
      <description>Most slow Rails pages come down to two things: too many queries, or queries the database can&apos;t answer efficiently. Here&apos;s how I find and fix both, with real before-and-after query plans.</description>
      <category>Ruby on Rails</category>
      <category>PostgreSQL</category>
      <category>Performance</category>
    </item>
    <item>
      <title>AI changed the code. Did it change the engineering?</title>
      <link>https://www.sanjeevpoudel.com.np/blog/ai-changed-the-code-not-the-engineering</link>
      <guid isPermaLink="true">https://www.sanjeevpoudel.com.np/blog/ai-changed-the-code-not-the-engineering</guid>
      <pubDate>Wed, 14 Oct 2026 00:00:00 GMT</pubDate>
      <description>An AI assistant can now draft a working feature in minutes, and I use one every day. But the hard parts of turning an idea into a product, deciding what to build, weighing trade-offs and owning what ships, haven&apos;t moved. If anything, they matter more.</description>
      <category>AI</category>
      <category>Software engineering</category>
    </item>
    <item>
      <title>Where engineering instincts come from</title>
      <link>https://www.sanjeevpoudel.com.np/blog/where-engineering-instincts-come-from</link>
      <guid isPermaLink="true">https://www.sanjeevpoudel.com.np/blog/where-engineering-instincts-come-from</guid>
      <pubDate>Tue, 10 Feb 2026 00:00:00 GMT</pubDate>
      <description>Six years ago I could lose an afternoon to a missing character. Today I can often tell where a bug is before I open the file. That change didn&apos;t come from talent. It came from mistakes, feedback that stung, and a lot of conversations.</description>
      <category>Career</category>
      <category>Software engineering</category>
    </item>
    <item>
      <title>Handling webhooks in Rails without losing or doubling data</title>
      <link>https://www.sanjeevpoudel.com.np/blog/handling-webhooks-in-rails</link>
      <guid isPermaLink="true">https://www.sanjeevpoudel.com.np/blog/handling-webhooks-in-rails</guid>
      <pubDate>Tue, 04 Nov 2025 00:00:00 GMT</pubDate>
      <description>Webhooks arrive twice, arrive out of order, or don&apos;t arrive at all. Here&apos;s the pattern I use in Rails to handle them safely: verify, store first, process idempotently, and reconcile.</description>
      <category>Ruby on Rails</category>
      <category>Webhooks</category>
      <category>Shopify</category>
      <category>Background jobs</category>
    </item>
    <item>
      <title>Why I love Ruby on Rails</title>
      <link>https://www.sanjeevpoudel.com.np/blog/why-i-love-ruby-on-rails</link>
      <guid isPermaLink="true">https://www.sanjeevpoudel.com.np/blog/why-i-love-ruby-on-rails</guid>
      <pubDate>Mon, 20 Oct 2025 00:00:00 GMT</pubDate>
      <description>I&apos;ve spent most of my career building SaaS and eCommerce backends in Rails, and it&apos;s still the framework I reach for first. Here&apos;s why: the conventions, Ruby itself, the batteries, and how far a small team can go with it.</description>
      <category>Ruby on Rails</category>
      <category>Ruby</category>
    </item>
    <item>
      <title>Building document search with AI in Rails: RAG with pgvector</title>
      <link>https://www.sanjeevpoudel.com.np/blog/rag-in-rails-with-pgvector</link>
      <guid isPermaLink="true">https://www.sanjeevpoudel.com.np/blog/rag-in-rails-with-pgvector</guid>
      <pubDate>Tue, 03 Jun 2025 00:00:00 GMT</pubDate>
      <description>I built a retrieval-augmented generation (RAG) app in Rails 8 with PostgreSQL and pgvector. Here&apos;s how the pieces fit together, the choices that matter most, what I&apos;d do differently, and how to measure whether the answers are right and what they cost.</description>
      <category>Ruby on Rails</category>
      <category>AI</category>
      <category>RAG</category>
      <category>PostgreSQL</category>
    </item>
  </channel>
</rss>
