<?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: Saad Ali</title>
    <description>The latest articles on DEV Community by Saad Ali (@saad_ali_21c328f1cb588b4d).</description>
    <link>https://dev.to/saad_ali_21c328f1cb588b4d</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%2F2202080%2Fef7aa612-ed2a-4659-b473-04bc2bf89c75.png</url>
      <title>DEV Community: Saad Ali</title>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saad_ali_21c328f1cb588b4d"/>
    <language>en</language>
    <item>
      <title>Understand data science before using LLM into your AI agents</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Mon, 10 Feb 2025 01:37:00 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/understand-data-science-before-using-llm-into-your-ai-agents-161e</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/understand-data-science-before-using-llm-into-your-ai-agents-161e</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%2F1q78indvx3uf3g6iecpu.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%2F1q78indvx3uf3g6iecpu.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
Exploring data science is crucial, not just for aspiring data scientists. Understanding how data is structured and processed is essential even if you're building and integrating AI agents. Whether you're using pre-built LLMs like OpenAI's or models from Hugging Face, a solid grasp of data is key to ensuring your AI agent performs correctly. You need to understand the data before you can expect your agent to work effectively.&lt;/p&gt;

&lt;p&gt;Checkout video for more detailed :&lt;a href="https://youtu.be/zppJSAIbDg0?si=iM4L_BeAhqaeW9aU" rel="noopener noreferrer"&gt;https://youtu.be/zppJSAIbDg0?si=iM4L_BeAhqaeW9aU&lt;/a&gt;&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>llm</category>
      <category>ai</category>
    </item>
    <item>
      <title>Pre-trained Ai models in huggingface</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Sun, 09 Feb 2025 02:40:22 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/pre-trainedbeen-36jg</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/pre-trainedbeen-36jg</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%2Fy3hxykmqf3yxb8b5agmg.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%2Fy3hxykmqf3yxb8b5agmg.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
Been diving into Hugging Face lately and it's seriously impressive! Their transformer models are a huge help, especially when building AI apps. Think about it: instead of manually coding all the LLM integrations for your AI agent, you can use these pre-built transformer models from Hugging Face. Saves a ton of time and makes the whole process way smoother. Definitely worth checking out if you're working with AI&lt;/p&gt;

&lt;p&gt;you can download and integrate all type of models, for example &lt;/p&gt;

&lt;p&gt;text to text&lt;/p&gt;

&lt;p&gt;text to image &lt;/p&gt;

&lt;p&gt;image to video &lt;/p&gt;

&lt;p&gt;text to video &lt;/p&gt;

&lt;p&gt;it's really cool instead of implement from scratch use these models &lt;/p&gt;

&lt;p&gt;they support all libraries and frameworks &lt;/p&gt;

&lt;p&gt;. #AI #MachineLearning #HuggingFace #Transformers&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
    </item>
    <item>
      <title>Run DeepSeek R1 in your local machine</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Thu, 06 Feb 2025 00:52:22 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/run-deepseek-r1-in-your-local-machine-2nfj</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/run-deepseek-r1-in-your-local-machine-2nfj</guid>
      <description>&lt;p&gt;Run DeepSeek-R1 Locally simple&lt;/p&gt;

&lt;p&gt;Step 1: Install Ollama if you'r using ubuntu &lt;/p&gt;

&lt;p&gt;command : curl -fsSL &lt;a href="https://ollama.com/install.sh" rel="noopener noreferrer"&gt;https://ollama.com/install.sh&lt;/a&gt; | sh&lt;/p&gt;

&lt;p&gt;Step 2: Download and run DeepSeek-R1&lt;/p&gt;

&lt;p&gt;run,&lt;/p&gt;

&lt;p&gt;command :ollama run deepseek-r1&lt;/p&gt;

&lt;p&gt;and &lt;/p&gt;

&lt;p&gt;replace 'x' with parameter size you want (1.5b, 7b, 8b, 14b, 32b, 70b, 671b):&lt;/p&gt;

&lt;p&gt;command: ollama run deepseek-r1:Xb&lt;/p&gt;

&lt;p&gt;Step 3: Running DeepSeek-R1 in the background&lt;/p&gt;

&lt;p&gt;command : ollama serve&lt;/p&gt;

&lt;p&gt;now deepseek starts running on your local machine terminal if still not working then again enter this command &lt;/p&gt;

&lt;p&gt;command : ollama run deepseek-r1&lt;/p&gt;

&lt;p&gt;now you start chat with deepseek r1 in your local machine terminal..&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>deepseek</category>
      <category>ubuntu</category>
    </item>
    <item>
      <title>nest (unit,integration,e2e) testing techniques and concepts</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Mon, 03 Feb 2025 04:14:22 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/nest-unitintegratione2e-testing-techniques-and-concepts-11i5</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/nest-unitintegratione2e-testing-techniques-and-concepts-11i5</guid>
      <description>&lt;p&gt;Today, I learned about testing in NestJS, including how to implement it in a structured way using multiple modules. I covered various types of testing, such as unit testing, integration testing, and end-to-end (e2e) testing.&lt;br&gt;
I also explored testing TypeORM modules, as well as best practices for testing Prisma. Additionally, I looked into GraphQL testing techniques and best practices.&lt;br&gt;
If you want to learn more about testing, visit my GitHub, where you can easily understand even complex techniques.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/Saad-04/nest-Advance-fundamental-concepts" rel="noopener noreferrer"&gt;https://github.com/Saad-04/nest-Advance-fundamental-concepts&lt;/a&gt;&lt;/p&gt;

</description>
      <category>nestjs</category>
      <category>testing</category>
      <category>prisma</category>
      <category>graphql</category>
    </item>
    <item>
      <title>Backend engineering fundamentals and concepts</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Mon, 03 Feb 2025 04:13:00 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/backend-engineering-fundamentals-and-concepts-1f53</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/backend-engineering-fundamentals-and-concepts-1f53</guid>
      <description>&lt;p&gt;hi there, my name is Saad , these are basics concepts of whole backend engineering that every software developers need to understand instead of directly learning modern tool and framework if you understand these concepts then after pickup any framework language won't matter, but the only difference is all framework use different techniques and framework concepts but behind same engineering fundaments and concepts running. This blog is just for basic fast understanding, you need to explore more things in more detail by yours research.&lt;/p&gt;

&lt;p&gt;PREREQUISITES &lt;/p&gt;

&lt;p&gt;A high-level understanding&lt;br&gt;
protocol(HTTPS,HTTP/2,HTTP/3,UDP,gRPC,FTP,WEBSOCKETS,TCP,QUIC,security layers(TLS,SSL) )&lt;br&gt;
A high-level understanding&lt;br&gt;
HTTP protocol&lt;br&gt;
Routing&lt;br&gt;
Serialisation and deserialisation&lt;br&gt;
Authentication and authorization&lt;br&gt;
Validation and transformation&lt;br&gt;
Middlewares&lt;br&gt;
Request context&lt;br&gt;
Handlers, controllers and services&lt;br&gt;
CRUD deepdive&lt;br&gt;
RESTful architecture and best practices&lt;br&gt;
Databases&lt;br&gt;
Business logic layer (BLL)&lt;br&gt;
Caching&lt;br&gt;
Transactional emails&lt;br&gt;
Task queuing and scheduling&lt;br&gt;
Elasticsearch&lt;br&gt;
Error handling&lt;br&gt;
Config management&lt;br&gt;
Logging, monitoring and observability&lt;br&gt;
Graceful shutdown&lt;br&gt;
Security&lt;br&gt;
Scaling and performance&lt;br&gt;
Concurrency and parallelism&lt;br&gt;
Object storage and large files&lt;br&gt;
Real-time backend systems&lt;br&gt;
Testing and code quality&lt;br&gt;
12 factor app(Codebase, Dependencies, Configuration, Backing Services, Build, Release, Run, Processes, Port Binding, Concurrency, Disposability, Dev/Prod Parity, Logs, Admin Processes.)&lt;br&gt;
OpenAPI standards&lt;br&gt;
Webhooks&lt;br&gt;
Web Servers&lt;br&gt;
How web servers work?&lt;br&gt;
Dynamic vs Static Content&lt;br&gt;
E-Tags&lt;br&gt;
Relational vs NoSQL&lt;br&gt;
ACID&lt;br&gt;
Proxies (Reverse Proxies, Load balancer)&lt;br&gt;
What is difference between Proxy vs Reverse Proxy?&lt;br&gt;
Layer 7 Proxy vs Layer 4 Proxy&lt;br&gt;
Reverse Proxy applications&lt;br&gt;
Load Balancing algorithms&lt;br&gt;
When to use Caching&lt;br&gt;
Message queue, Pub/Sub&lt;br&gt;
When to use PubSub messaging first queue.&lt;br&gt;
Web Frameworks (API authoring)&lt;br&gt;
Express, Django, Node JS&lt;br&gt;
Message Formats (JSON, protobuf)&lt;br&gt;
JSON &amp;amp; protobuf&lt;br&gt;
Encryption,Firewall.&lt;/p&gt;

&lt;p&gt;DevOps for backend engineers&lt;/p&gt;

&lt;p&gt;docker&lt;br&gt;
docker compose &lt;br&gt;
ci/cd pipelines(jenkins)&lt;br&gt;
deployments&lt;br&gt;
orchestration plateform kubernetes&lt;/p&gt;

</description>
    </item>
    <item>
      <title>nestjs microservice using gprc rabbitMQ redis docker docker-compose enterprise level repo startar pack</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Fri, 31 Jan 2025 19:33:32 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/nestjs-microservice-using-gprc-rabbitmq-redis-docker-docker-compose-enterprise-level-repo-startar-5bdj</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/nestjs-microservice-using-gprc-rabbitmq-redis-docker-docker-compose-enterprise-level-repo-startar-5bdj</guid>
      <description>&lt;p&gt;Today i 12 hours to have about nestjs-microservices how to setup and perform operation how to make a connection between different services using TCP or gRPC ,RabbitMQ, Kafka ,Redis in different independent microservices.&lt;br&gt;
how we use packages inside a monorepo for configuration for the different services instead of write separate configuration for each service&lt;br&gt;
you can checkup my github if want to understad and clone microservices for your project instead of writing from scratch everytime use my repo: &lt;a href="https://github.com/Saad-04/nestjs-microservice-RabbitMQ-kafka-redis-grpc" rel="noopener noreferrer"&gt;https://github.com/Saad-04/nestjs-microservice-RabbitMQ-kafka-redis-grpc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;these are these architecture of full project &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/..." 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/..." alt="Uploading image" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I cover these topics today &lt;br&gt;
setting up packages based nx monorepo on pnpm workspace&lt;br&gt;
building TCP based services (one gateway and two TCP based services )&lt;br&gt;
building gRPC based services (one gateway and two gRPC based services )&lt;br&gt;
building kafka/rabbit MQ based services (one gateway and two event driven services )&lt;/p&gt;

</description>
    </item>
    <item>
      <title>ELK logging monitoring</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Thu, 30 Jan 2025 02:34:34 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/elk-logging-monitoring-4o4f</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/elk-logging-monitoring-4o4f</guid>
      <description>&lt;p&gt;Loggin Monitoring with ELK many more…&lt;br&gt;
Today, I have learned a very advanced topic about ELK. Basically, what logging is, the best practices for managing an application's entire log, and how to use the Winston logging library to handle logging. I learned how to send log reports to Logstash, then Logstash sends logs to Elasticsearch, and finally, Elasticsearch sends them to Kibana for analysis. I also learned how to implement and integrate all these tools using Docker containerization. Additionally, I explored how to send logs directly to Elasticsearch using the Winston library instead of integrating Logstash to handle logs.&lt;br&gt;
So today, I learned these topics by spending about 12 hours a day. In a few days, I will be building some software systems to apply all these concepts and techniques in my project.&lt;/p&gt;

&lt;p&gt;this some basic flow how architecture look like , this is app api level logging integration&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%2Fb5w2p30eitc25zm40y8f.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%2Fb5w2p30eitc25zm40y8f.png" alt="Image description" width="633" height="1115"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;this is the full flow of logging techniques how look like at the end in kibana ui -&amp;gt;&lt;br&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%2F5j3cd27rx10ji8twt9qg.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%2F5j3cd27rx10ji8twt9qg.png" alt="Image description" width="290" height="1102"&gt;&lt;/a&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/..." 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/..." alt="Uploading image" width="" height=""&gt;&lt;/a&gt;&lt;br&gt;
Understanding Logging in NestJS: Learn about the built-in logging capabilities of NestJS and the importance of effective logging.&lt;br&gt;
Introducing the ELK Stack: Discover the components of the ELK Stack (Elasticsearch, Logstash, Kibana) and their benefits for logging.&lt;br&gt;
Setting Up the ELK Stack: Install and configure the ELK Stack components for your development environment.&lt;br&gt;
Integrating NestJS with Logstash: Send NestJS logs to Logstash for centralized collection.&lt;br&gt;
Indexing Logs in Elasticsearch: Index your NestJS logs in Elasticsearch for efficient search and analysis.&lt;br&gt;
Visualizing Logs with Kibana: Use Kibana to explore, search, and visualize your NestJS logs.&lt;br&gt;
Advanced Logging Techniques: Explore advanced techniques like structured logging, correlation IDs, and log rotation.&lt;br&gt;
Best Practices for Logging: Follow best practices for effective logging in NestJS applications.&lt;/p&gt;

&lt;p&gt;Benefits of Using ELK for NestJS Logging:&lt;br&gt;
Centralized Logging: Collect logs from all your NestJS applications in a single location.&lt;br&gt;
Powerful Search and Analysis: Use Elasticsearch's advanced search capabilities to analyze your logs.&lt;br&gt;
Real-time Monitoring: Monitor your NestJS applications in real-time using Kibana dashboards.&lt;br&gt;
Scalability: The ELK Stack can handle large volumes of logs.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>mind set</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Thu, 30 Jan 2025 01:19:38 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/mind-set-3282</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/mind-set-3282</guid>
      <description>&lt;p&gt;"The more we value things outside our control, the less control we have."&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>Engineering concept</title>
      <dc:creator>Saad Ali</dc:creator>
      <pubDate>Wed, 29 Jan 2025 03:16:59 +0000</pubDate>
      <link>https://dev.to/saad_ali_21c328f1cb588b4d/engineering-concept-388i</link>
      <guid>https://dev.to/saad_ali_21c328f1cb588b4d/engineering-concept-388i</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Today, I completed learning some NestJS framework concepts by spending about 13 hours. I already knew many of these things, as I have used them multiple times in Node.js. However, these were some high-level advanced topics with practical implementation. I focused on the best actual practices for building high-quality software systems, whether for startups or other purposes. I learned this because, in a few days, I will be building a large-scale backend system using multiple tools and the latest high-performance technologies. I have a complete architecture plan, especially in NestJS, which I will showcase soon.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;1 Building Dynamic Nest JS Modules.&lt;br&gt;
2 Core concepts of nest js Baseline code + PNPM with Nx + Github [Introduction to a monorepo with and Yarn workspaces]&lt;br&gt;
basically a single work space for handling multiple projects and apps in a single place and i also use nx tool to speed up development instead of manually time consuming REST APIs (basic Building blocks )&lt;br&gt;
5 Modules, Services, DI framework [Nest JS DI Framework]high level understanding &lt;br&gt;
6 Setting up a PostgreSQL database with TypeORM(just single postgress setup package for multiple projects instead of create databases for each app )&lt;br&gt;
7 API with NestJS Creating dynamic modules as monorepo package()&lt;br&gt;
8 API with NestJS Defining dynamic modules&lt;br&gt;
9-Dockerizing ,docker-compose to run multiple container in Nest JS Application using pmpn workspace speed up by nx &lt;br&gt;
10- Advance dependency injection and their techniques, resolve cyclic dependency &lt;br&gt;
11-dynamic modules using packages like separate from actual app using dependency injection on pnpm workspace &lt;br&gt;
12-global dynamic module to inject into other app via pnpm packages cover advance custom provider techniques like class-based, non-class bases providers , useclass,useExisting, usevalue providers and technique to use all of them in single class by adding through global dynamic module &lt;br&gt;
13- Error handling techniques and api integration in perfect way, i use openapi(swagger) for testing, &lt;/p&gt;

&lt;p&gt;you can checkup first three folders for that inside the app director really helpfull for you if you want to diving into the nestjs core: &lt;a href="https://github.com/Saad-04/nestjs-advanced-topics" rel="noopener noreferrer"&gt;https://github.com/Saad-04/nestjs-advanced-topics&lt;/a&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%2Fw73uipplmyexmovffk0q.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%2Fw73uipplmyexmovffk0q.png" alt="Image description" width="800" height="458"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;such a nice journy so in tomarrow fully try to complete whole all fundamental of nestjs core like advance fundamentals and technique by striving and persevering , after understand i will show you some project by that really exited &lt;/p&gt;

&lt;p&gt;if you already know nest js and want to learn advance best software practices then checkout this playlist:&lt;a href="https://www.youtube.com/playlist?list=PLIGDNOJWiL1_YrquGbDDN4BNNRy678Spr" rel="noopener noreferrer"&gt;https://www.youtube.com/playlist?list=PLIGDNOJWiL1_YrquGbDDN4BNNRy678Spr&lt;/a&gt;&lt;/p&gt;

</description>
      <category>backenddevelopment</category>
      <category>softwareengineering</category>
      <category>systemdesign</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
