<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Diksha Rawat</title>
    <description>The latest articles on DEV Community by Diksha Rawat (@diksharawat).</description>
    <link>https://dev.to/diksharawat</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3822666%2F714a2e40-4575-454a-9d23-6a6ae948a68c.jpeg</url>
      <title>DEV Community: Diksha Rawat</title>
      <link>https://dev.to/diksharawat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/diksharawat"/>
    <language>en</language>
    <item>
      <title>I Published a Python Package in 2019. Revisiting It in 2026 Reminded Me of Something</title>
      <dc:creator>Diksha Rawat</dc:creator>
      <pubDate>Sat, 14 Mar 2026 16:26:10 +0000</pubDate>
      <link>https://dev.to/diksharawat/i-published-a-python-package-in-2019-revisiting-it-in-2026-reminded-me-of-something-lb5</link>
      <guid>https://dev.to/diksharawat/i-published-a-python-package-in-2019-revisiting-it-in-2026-reminded-me-of-something-lb5</guid>
      <description>&lt;p&gt;You know how elders always start with "&lt;em&gt;&lt;strong&gt;In those days...&lt;/strong&gt;&lt;/em&gt;" 😄&lt;/p&gt;

&lt;p&gt;Well, consider this my version of that.&lt;/p&gt;

&lt;p&gt;Because in 2019, building and publishing your own Python package wasn't something many developers around me were doing. There was no AI to guide you, no tools generating everything automatically.&lt;/p&gt;

&lt;p&gt;You figured things out yourself. And when it finally worked, it meant something.&lt;/p&gt;

&lt;p&gt;That little package I built back then made me genuinely proud of myself.&lt;br&gt;
Revisiting it in 2026 brought a smile back to my face.&lt;/p&gt;
&lt;h2&gt;
  
  
  How It Started
&lt;/h2&gt;

&lt;p&gt;Back in 2019, I was a few years into my career and preparing for technical interviews.&lt;/p&gt;

&lt;p&gt;Back then, interviewers loved asking Python logic questions, not just to see if you could write code, but whether you truly understood how things worked.&lt;/p&gt;

&lt;p&gt;While practicing problems, I noticed something interesting.&lt;/p&gt;

&lt;p&gt;Python has packages for almost everything. But not for counting set bits in a range of natural numbers.&lt;/p&gt;

&lt;p&gt;So I built one. 😄&lt;/p&gt;
&lt;h2&gt;
  
  
  What is a Set Bit?
&lt;/h2&gt;

&lt;p&gt;A set bit is simply a binary digit that equals 1.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;3 in binary = 011 → 2 set bits&lt;br&gt;
7 in binary = 111 → 3 set bits&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At this point you might be thinking&lt;/strong&gt;, &lt;em&gt;Why do we even need this?&lt;/em&gt; 😄&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Honestly, I had the same thought later. But 2019-&lt;strong&gt;me&lt;/strong&gt; probably needed it for something and decided to solve the problem.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;My package counts set bits in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a single number&lt;/li&gt;
&lt;li&gt;or across a range of natural numbers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;…with one simple function call.&lt;/p&gt;
&lt;h2&gt;
  
  
  Building it in 2019, No AI, Just Google
&lt;/h2&gt;

&lt;p&gt;I figured everything out the hard way.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python package structure&lt;/li&gt;
&lt;li&gt;PyPI publishing&lt;/li&gt;
&lt;li&gt;Documentation&lt;/li&gt;
&lt;li&gt;Versioning&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All through Google, Stack Overflow, and trial-and-error.&lt;/p&gt;

&lt;p&gt;No ChatGPT.&lt;br&gt;
No Claude.&lt;br&gt;
No AI assistant.&lt;/p&gt;

&lt;p&gt;Just curiosity, patience, and a lot of browser tabs. 😄&lt;/p&gt;

&lt;p&gt;I wasn't a fresher building a toy project.&lt;br&gt;
I was a working developer who noticed a small gap and decided to fill it.&lt;/p&gt;

&lt;p&gt;And when the package finally went live on PyPI, I felt genuinely proud.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Maybe nobody would ever use it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;But that was never really the point.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Fast Forward to 2026
&lt;/h2&gt;

&lt;p&gt;That little project stayed somewhere in the back of my mind.&lt;/p&gt;

&lt;p&gt;So recently I went back to it.&lt;/p&gt;

&lt;p&gt;Looking at the old code with fresh eyes, and with AI helping this time, I realised there were things I could improve:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;missing input validation&lt;/li&gt;
&lt;li&gt;no error handling&lt;/li&gt;
&lt;li&gt;incomplete docstrings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I cleaned it up and published v1.1.1 of:&lt;/p&gt;

&lt;p&gt;setbitcounter-pkg 🚀&lt;/p&gt;
&lt;h2&gt;
  
  
  What Revisiting It Taught Me
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;The code I wrote in 2019 wasn’t perfect.&lt;/em&gt;&lt;br&gt;
&lt;em&gt;But it was real.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I built something from scratch, published it, and moved forward in my career.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Coming back to it in 2026 reminded me of something important.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;It reminded me of the version of myself who was curious enough to explore, patient enough to learn, and motivated enough to build.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Today we have AI that can help us build almost anything.&lt;br&gt;
But back then, you had to really want to figure things out.&lt;/p&gt;

&lt;p&gt;And that curiosity still matters.&lt;/p&gt;
&lt;h2&gt;
  
  
  Try It Yourself
&lt;/h2&gt;

&lt;p&gt;Install the package:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;pip install setbitcounter-pkg&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Example usage:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;setbitcounter.countset&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;countsetbit&lt;/span&gt;

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;countsetbit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;       &lt;span class="c1"&gt;# 3
&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;countsetbit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;   &lt;span class="c1"&gt;# 17
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;PyPI&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://pypi.org/project/setbitcounter-pkg/" rel="noopener noreferrer"&gt;https://pypi.org/project/setbitcounter-pkg/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://github.com/diksha-rawat/SetBitCount" rel="noopener noreferrer"&gt;https://github.com/diksha-rawat/SetBitCount&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do you have an old project you’re proud of?&lt;br&gt;
Drop it in the comments. I would love to see it! 👇&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>programming</category>
      <category>development</category>
    </item>
    <item>
      <title>How I Used One AI to Build Another: A Local AI Code Review Pipeline (For Free)🤖</title>
      <dc:creator>Diksha Rawat</dc:creator>
      <pubDate>Fri, 13 Mar 2026 16:54:42 +0000</pubDate>
      <link>https://dev.to/diksharawat/using-ai-to-learn-ai-for-free-4jj4</link>
      <guid>https://dev.to/diksharawat/using-ai-to-learn-ai-for-free-4jj4</guid>
      <description>&lt;p&gt;We all hear about AI almost every minute now.&lt;/p&gt;

&lt;p&gt;Some people are not happy about it.&lt;br&gt;
Some are just letting it pass.&lt;br&gt;
And some are excited to play with it.&lt;/p&gt;

&lt;p&gt;I am in the last category. 😄&lt;/p&gt;

&lt;p&gt;I’m fortunate enough to work in an organization that gives us access to AI models and tools to learn and build with. &lt;br&gt;
But one day, sitting at home, I wondered —&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if I want to recreate something I already use at work?&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Could I build it without spending money on cloud AI services?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So I did what any curious person would do — &lt;br&gt;
asked one AI to teach me how to build with another AI. For free. 😄&lt;/p&gt;


&lt;h2&gt;
  
  
  What I Am Building
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Here’s roughly how the pipeline works:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;👨‍💻 Developer opens Pull Request
               ↓
⚙️  GitHub Actions triggers
               ↓
🐳  Docker builds the app
               ↓
☸️  Kubernetes deploys it
               ↓
🤖  Ollama + Mistral reviews the code diff
               ↓
💬  AI posts review comment on the PR
               ↓
👨‍💻  Developer gets feedback instantly
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The interesting part is that the AI model runs locally using Ollama, so the entire system works without cloud APIs or paid services. In simple terms, it's a pipeline that automatically reviews code using a local AI model.&lt;/p&gt;

&lt;p&gt;Is it something new? Not really. Many people have experimented with this idea already.&lt;/p&gt;

&lt;p&gt;But my goal is different.&lt;/p&gt;

&lt;p&gt;I want to build it from scratch, understand how it works, and share the process so others can learn as well — without needing expensive AI APIs or cloud infrastructure.&lt;/p&gt;

&lt;p&gt;The entire system runs locally on a laptop.&lt;/p&gt;

&lt;p&gt;No cloud.&lt;br&gt;
No API costs.&lt;br&gt;
No subscriptions.&lt;/p&gt;

&lt;p&gt;Just open-source tools, your machine, and curiosity.&lt;/p&gt;




&lt;h2&gt;
  
  
  Who This Is For
&lt;/h2&gt;

&lt;p&gt;Anyone curious about AI + DevOps and who wants to learn by building things.&lt;/p&gt;

&lt;p&gt;If you want to explore how AI can be integrated into developer workflows without spending money, follow along. 🚀&lt;/p&gt;

&lt;p&gt;Project: &lt;a href="https://github.com/diksha-rawat/DevMind-AI" rel="noopener noreferrer"&gt;DevMind-AI&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Whether you’re skeptical about AI, ignoring it, or excited to experiment like me — I’d love to hear where you stand. 😊&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>ai</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
