<?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>Forem: TermTrix</title>
    <description>The latest articles on Forem by TermTrix (@termtrix).</description>
    <link>https://forem.com/termtrix</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%2F906820%2Fa49ea49f-6906-49be-998b-ec91d3b34fcb.jpg</url>
      <title>Forem: TermTrix</title>
      <link>https://forem.com/termtrix</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/termtrix"/>
    <language>en</language>
    <item>
      <title>Using Celery With FastAPI: Solving Async Event Loop Errors Cleanly</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Thu, 25 Dec 2025 23:05:26 +0000</pubDate>
      <link>https://forem.com/termtrix/using-celery-with-fastapi-solving-async-event-loop-errors-cleanly-1ld6</link>
      <guid>https://forem.com/termtrix/using-celery-with-fastapi-solving-async-event-loop-errors-cleanly-1ld6</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fudce6useiqow3ufvzlcq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fudce6useiqow3ufvzlcq.jpg" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;strong&gt;Read it from here&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://termtrix.vercel.app/blog/using-an-mcp-server-with-langgraph-a-practical-guide-to-mcp-adapters" rel="noopener noreferrer"&gt;Read it from here!!!&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>webdev</category>
      <category>fastapi</category>
      <category>celery</category>
    </item>
    <item>
      <title>How to Create a Perfect AWS Security Group (Without Breaking Your App)</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Tue, 16 Dec 2025 17:09:13 +0000</pubDate>
      <link>https://forem.com/termtrix/how-to-create-a-perfect-aws-security-group-without-breaking-your-app-50bm</link>
      <guid>https://forem.com/termtrix/how-to-create-a-perfect-aws-security-group-without-breaking-your-app-50bm</guid>
      <description>&lt;p&gt;****&lt;a href="https://medium.com/@msbala/how-to-create-a-perfect-aws-security-group-without-breaking-your-app-ff4537854647" rel="noopener noreferrer"&gt;link&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>security</category>
      <category>cloud</category>
      <category>docker</category>
    </item>
    <item>
      <title>👋 Hey devs!</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Mon, 20 Oct 2025 18:56:33 +0000</pubDate>
      <link>https://forem.com/termtrix/hey-devs-3h2j</link>
      <guid>https://forem.com/termtrix/hey-devs-3h2j</guid>
      <description>&lt;p&gt;How’s everyone doing? I’m looking to connect with developers who are interested in building a community focused on sharing knowledge, collaborating, and creating open‑source projects together.  &lt;/p&gt;

&lt;p&gt;If you’re passionate about coding, learning, and growing together — drop a comment or DM! Let’s build something amazing as a team. 🚀  &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>community</category>
      <category>agents</category>
    </item>
    <item>
      <title>🌟 Join Our Developer Community on DEV!</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Wed, 27 Aug 2025 18:43:06 +0000</pubDate>
      <link>https://forem.com/termtrix/join-our-developer-community-on-dev-2g1f</link>
      <guid>https://forem.com/termtrix/join-our-developer-community-on-dev-2g1f</guid>
      <description>&lt;p&gt;Hey everyone 👋,&lt;/p&gt;

&lt;p&gt;I’ve started a small but growing community here on DEV where we:&lt;/p&gt;

&lt;p&gt;📚 Share knowledge and learn from each other&lt;/p&gt;

&lt;p&gt;💬 Improve our communication through open discussions&lt;/p&gt;

&lt;p&gt;🛠️ Collaborate on projects and build cool things together&lt;/p&gt;

&lt;p&gt;This community is about more than just coding – it’s about growing together as developers, communicators, and creators.&lt;/p&gt;

&lt;p&gt;👉 Follow me here on DEV to join.&lt;br&gt;
👉 Introduce yourself in the comments – I’d love to connect and collaborate!&lt;/p&gt;

&lt;p&gt;Let’s share, learn, and build amazing things together 🚀✨&lt;/p&gt;

&lt;p&gt;(&lt;a href="https://discord.gg/6jhZqz7ZEw" rel="noopener noreferrer"&gt;https://discord.gg/6jhZqz7ZEw&lt;/a&gt;)&lt;/p&gt;

</description>
      <category>community</category>
      <category>discuss</category>
      <category>programming</category>
    </item>
    <item>
      <title>Building a Simple Powerful Chatbot Using ChromaDB and Sentence-Transformers</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Mon, 03 Feb 2025 10:59:56 +0000</pubDate>
      <link>https://forem.com/termtrix/building-a-simple-powerful-chatbot-using-chromadb-and-sentence-transformers-4md</link>
      <guid>https://forem.com/termtrix/building-a-simple-powerful-chatbot-using-chromadb-and-sentence-transformers-4md</guid>
      <description>&lt;p&gt;Created an AI chatbot using ChromaDB and Sentence-Transformers. These tools made the whole process smooth and efficient, and I wanted to share my experience in hopes that it might help someone else starting out with similar projects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Steps I Took to Build the Chatbot:&lt;/strong&gt;&lt;br&gt;
I used sentence-transformers to convert text data into embeddings and ChromaDB for vector storage.&lt;/p&gt;

&lt;p&gt;so install these dependencies..&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install -U sentence-transformers

pip install chromadb
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Next&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;import chromadb
chroma_client = chromadb.Client()
collection = chroma_client.create_collection(name="data")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;blockquote&gt;
&lt;p&gt;Don't forget to load your dataset&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Using Sentence-Transformers, I generated embeddings for my dataset:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;for index,text in data.iterrows():
   res=text['Answer']
   embedding = model.encode(res)
   collection.add(
       documents=[str(res)],
       embeddings=[embedding.tolist()],
       ids=[str(index)],
       metadatas=[{'text':res}]
   )
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;*&lt;em&gt;Query and Response: *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The chatbot listens for user input, converts the query into an embedding, and uses ChromaDB to find the closest match in the stored embeddings. Here’s the basic query&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def get_response(text):
    res=model.encode(text)
    result=collection.query(
        query_embeddings=[res.tolist()],
        n_results=1
    )
    return result
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That's it ,If you pass any text relevant to your dataset it'll response for you which is has close distance&lt;/p&gt;



&lt;blockquote&gt;
&lt;p&gt;👇👇👇👇👇&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I'm excited to introduce Terminal Troubleshooters — a dynamic Slack community for tech enthusiasts to learn, share, and grow together! Our mission is to build a collaborative space where you can:&lt;/p&gt;

&lt;p&gt;✨ Share daily tech insights and experiences&lt;br&gt;
💡 Discuss innovative ideas and industry trends&lt;br&gt;
🗣️ Enhance communication skills through engaging conversations&lt;br&gt;
🤝 Connect with like-minded professionals and expand your network&lt;/p&gt;

&lt;p&gt;Community Link:&lt;br&gt;
   &lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://terminaltroub-egk3921.slack.com/?redir=%2Farchives%2FC06SCLDAHPD%3Fname%3DC06SCLDAHPD" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;terminaltroub-egk3921.slack.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



</description>
      <category>llm</category>
      <category>ai</category>
    </item>
    <item>
      <title>Scheduling the task using Crontab in Django</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Mon, 29 Jan 2024 06:52:36 +0000</pubDate>
      <link>https://forem.com/termtrix/scheduling-the-task-using-crontab-in-django-3jbn</link>
      <guid>https://forem.com/termtrix/scheduling-the-task-using-crontab-in-django-3jbn</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;*&lt;em&gt;Implementing schedule task *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note!!!!&lt;/strong&gt;&lt;br&gt;
1.You can't test this locally in Windows.&lt;br&gt;
2.Don't forget to  create the env file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 1:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;FIRST install the django-crontab&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F049z1kctwfldd80qspon.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F049z1kctwfldd80qspon.png" alt=" " width="770" height="330"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And the create a function what you want to run.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7eso5dkqabr9imnxk0gp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7eso5dkqabr9imnxk0gp.png" alt=" " width="602" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 2:&lt;/strong&gt;&lt;br&gt;
   Add it to your settings.py&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ufdi1x364u6oj9egjal.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ufdi1x364u6oj9egjal.png" alt=" " width="636" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to change the time please check the (crontab guru ) website &lt;/p&gt;

&lt;p&gt;&lt;em&gt;example:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnzpj0629bp7g7a27lzz6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnzpj0629bp7g7a27lzz6.png" alt=" " width="800" height="317"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 3&lt;/strong&gt;&lt;br&gt;
    And finally run this command&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; python manage.py crontab add
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;Happy code&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>django</category>
      <category>python</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>New chat application</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Thu, 06 Apr 2023 02:06:04 +0000</pubDate>
      <link>https://forem.com/termtrix/new-chat-application-3473</link>
      <guid>https://forem.com/termtrix/new-chat-application-3473</guid>
      <description>&lt;p&gt;Hii friends this is my chat application&lt;br&gt;
Link::&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ms-chat-topaz.vercel.app/" rel="noopener noreferrer"&gt;https://ms-chat-topaz.vercel.app/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>node</category>
      <category>mongodb</category>
      <category>express</category>
    </item>
    <item>
      <title>Typeerror: super expression must either be..</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Thu, 26 Jan 2023 15:14:56 +0000</pubDate>
      <link>https://forem.com/termtrix/typeerror-super-expression-must-either-be-2bdf</link>
      <guid>https://forem.com/termtrix/typeerror-super-expression-must-either-be-2bdf</guid>
      <description>&lt;p&gt;typeerror super expression must either be null or a function nextjs&lt;/p&gt;

&lt;p&gt;_&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Solution&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If your get this error when you importing any packages (then it'll work for you) &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.In next js 13 app directory is a server component.so simply add 'use client' in top of your file. &lt;/p&gt;

&lt;p&gt;_&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>webdev</category>
      <category>erro</category>
      <category>react</category>
    </item>
    <item>
      <title>My first web app</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Fri, 30 Dec 2022 15:10:33 +0000</pubDate>
      <link>https://forem.com/termtrix/my-first-website-1o3n</link>
      <guid>https://forem.com/termtrix/my-first-website-1o3n</guid>
      <description>&lt;p&gt;Hi friends I'm just created the blog using MERN stack. &lt;br&gt;
What do you think friends&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Link&lt;/strong&gt;:&lt;br&gt;
&lt;a href="https://eloquent-blini-da7d60.netlify.app/" rel="noopener noreferrer"&gt;https://eloquent-blini-da7d60.netlify.app/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Sanity io won't work in firefox browser(studio)</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Fri, 07 Oct 2022 17:28:54 +0000</pubDate>
      <link>https://forem.com/termtrix/sanity-io-wont-work-in-firefox-browser-4h8c</link>
      <guid>https://forem.com/termtrix/sanity-io-wont-work-in-firefox-browser-4h8c</guid>
      <description>&lt;p&gt;*&lt;em&gt;Hello everyone!!! *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you are building project using sanity io for content management you should know about this.. &lt;/p&gt;

&lt;p&gt;Yeah, sanity io won't work in firefox browser &lt;strong&gt;_without deployed in the server. _&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So, when you are building your project you need change browser firefox to chrome browser. Then it'll be work... &lt;/p&gt;

&lt;p&gt;Thank you❤.... &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>sanity</category>
      <category>help</category>
      <category>sanityio</category>
    </item>
    <item>
      <title>IF YOU FACE this error::no reducer provided for key {name}</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Wed, 24 Aug 2022 17:44:05 +0000</pubDate>
      <link>https://forem.com/termtrix/if-you-face-errorno-reducer-provided-for-key-name-429h</link>
      <guid>https://forem.com/termtrix/if-you-face-errorno-reducer-provided-for-key-name-429h</guid>
      <description>&lt;p&gt;Just add like cartReducer instead of using your component name like cartSlice&lt;/p&gt;

&lt;p&gt;@redux/toolkit&lt;/p&gt;

</description>
      <category>react</category>
      <category>redux</category>
      <category>reduxtoolkit</category>
      <category>solution</category>
    </item>
    <item>
      <title>no reducer provided for key {name}</title>
      <dc:creator>TermTrix</dc:creator>
      <pubDate>Tue, 23 Aug 2022 01:26:48 +0000</pubDate>
      <link>https://forem.com/termtrix/no-reducer-provided-for-key-name-ki2</link>
      <guid>https://forem.com/termtrix/no-reducer-provided-for-key-name-ki2</guid>
      <description>&lt;p&gt;no reducer provided for key {name}  &lt;/p&gt;

&lt;p&gt;while using redux ,anyone help me to solve this problem&lt;/p&gt;

</description>
      <category>help</category>
      <category>redux</category>
      <category>react</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
