Ajit Kumar

Ajit Kumar @ajitkumar

About: I have been a researcher and python programmer since 2012. Currently, exploring full time AI researcher and developer job role with my current position.

Joined:
Jul 11, 2024

Ajit Kumar
articles - 30 total

Taming the Internal Loop: Why Your Next.js App is DDoSing Itself (and How to Fix It)

As system designers, we constantly chase efficiency, cost savings, and bulletproof security....

Learn More 0 0Dec 19

Building a Daily Python Lesson Telegram Bot with Supabase and React

Introduction Imagine a web application that sends users a short Python lesson every day through...

Learn More 0 0Dec 17

Blocking Web Scrapers with Fail2Ban + Nginx (Production Guide)

Web scraping and aggressive crawling can quietly drain your infrastructure budget, increase server...

Learn More 8 0Dec 17

Blocking Web Scrapers and Crawlers Using Nginx (Without Cloudflare or AWS WAF)

Web scraping and aggressive crawling can quietly inflate your infrastructure costs—especially when...

Learn More 0 0Dec 17

Deploying a complex Django application to AWS Elastic Beanstalk (EB)

Deploying a complex Django application to AWS Elastic Beanstalk (EB) provides a scalable, managed...

Learn More 0 0Dec 16

Visualize Your System Logs: Web-based dashboard

There are several tools that provide web-based dashboards showing disk usage, memory (RAM) usage,...

Learn More 0 0Dec 16

Nginx Log Analytics with GoAccess: Local Logs, S3 Backups, and Beyond

Collecting logs is only half the job. The real value comes from turning logs into insights. If you...

Learn More 0 0Dec 16

Backing Up Nginx Logs the Right Way: From Basics to Automation

When you run a website or API on a server, logs are your first and last line of truth. Whether you...

Learn More 0 0Dec 16

Building Your First Agentic AI: Complete Guide to MCP + Ollama Tool Calling

Learn how to build AI agents that can use tools, make decisions, and take actions - all running...

Learn More 2 2Dec 12

Making Pytest Beautiful: A Complete Guide to Improving Test Output (with Plugins & Examples)

Pytest is already one of the best testing frameworks in Python—but its default output is plain, and...

Learn More 1 0Dec 12

Django + DRF Practical Testing: Blog, Writer, Category, SocialMediaMeta (Full Use Case) - Part 2

In Part 1, we configured pytest, created a test database, and set up fixtures. Now we focus on real...

Learn More 0 0Dec 12

Introducing Automated Testing Late in a Django + DRF Project: Setup, Requirements, and Best Practices - Part-1

Many Django REST Framework projects begin with rapid feature development and no automated test suite....

Learn More 1 0Dec 12

A Rough day with Ruff --fix in Django's apps

This blog post is a note on , Why Ruff (the linter) is trying to revert: def ready(self): ...

Learn More 1 0Dec 11

Fixing Social Preview Images: Understanding Meta Tags, Correct Paths, and Cache Busting

If you’ve ever updated your site’s og:image or twitter:image meta tags and wondered why Twitter,...

Learn More 0 0Dec 10

Refactoring a Mature Airflow Project: A Practical Guide to Scaling from Solo Development to Team Collaboration

Running Apache Airflow for a year with ~10 DAGs is enough time to learn what hurts: inconsistent...

Learn More 0 0Dec 8

Chasing the NVIDIA Ghost: A Linux Desktop GPU Odyssey

Sometimes, fixing a GPU on Linux feels less like tech work and more like a mystical quest. That was...

Learn More 0 0Dec 3

How I Escaped the Commit-Hook Loop in My Django Project

As developers, we all want clean, consistent code. Tools like pre-commit make this possible by...

Learn More 2 0Dec 3

Dynamic Log file for each spiders: Scrapy Logging

To dynamically assign a log file without modifying the settings directly, you need to set up logging...

Learn More 0 0Nov 25

Understanding Django's Model in Depth: From Beginner to Production Level

🌱 Django ORM Save Flow This shows what happens when a Django model instance is saved:

Learn More 0 0Nov 25

Zero-Effort ER Diagrams in Django: Auto-Generate Directly From Your Models

When a Django project starts small, model relationships are easy to understand. But as the project...

Learn More 0 0Nov 25

Django Deployment : Serving Static files with Nginx and Gunicorn

All the Django Deployment (web or rest frameworks) needs to have a setup for serving static files and...

Learn More 0 0Dec 23 '24

Note: SSH to EC2 without specifying .pem

To avoid specifying the .pem file every time you connect to an EC2 instance, you can configure your...

Learn More 0 0Dec 23 '24

Transfer, Copy, or Mirror: Playing with Ownership of Github Repo: ChatGPT notes

Migrating a GitHub repository to a new account can be done through several approaches depending on...

Learn More 0 0Nov 22 '24

Handling Untracked files Gracefully in Git : ChatGPT Output

Untracked files in Git are files that are not part of version control—they exist in your working...

Learn More 0 0Nov 22 '24

Day 1 : Daily Notes for #30DayOfFLCode

Day 1 Last summer, I changed my learning journey from academic research to developer....

Learn More 2 0Nov 20 '24

Scrape but Validate: Data scraping with Pydantic Validation

Note: Not an output of chatGPT/ LLM Data scraping is process of collecting data from public web...

Learn More 1 0Nov 16 '24

Dumping JSON data to Django Models: Using Django Setup and Commands

The need of data become most important when you complete your first version of website using Django...

Learn More 2 0Aug 15 '24

Automate Spider Creation in Scrapy with Jinja2 and JSON

Today, I am going to share about my web scarping automation that i have been working recently which...

Learn More 1 0Jul 27 '24

String and Trailing comma, get couple and become, Tuple (): A copy & paste mistake to Error and concept

Today, I am going to tell a story about my copy & paste mistake and how a string with trailing...

Learn More 0 0Jul 21 '24

Using Python to Dump Data into Django Models for Testing Frontend or API Endpoints:A Complete Django REST API Tutorial

As a developer working on APIs or front-end applications, you need data in your database to test API...

Learn More 3 2Jul 12 '24