The blog

Notes from building AI products.

Practical guides from shipping Next.js, Gemini and Python apps: the errors I hit, the fixes that worked, and the code.

Latest · AI

Troubleshooting Gemini API: Why It Is Not Working

When your Gemini API calls start failing, it is usually due to quota exhaustion, invalid JSON formatting, or schema mismatch. Here is how to debug it.

· 7 min read

More articles

DevOps & Cloud

Vercel Cron vs Supabase Cron: Which Should You Choose?

Choosing a cron solution depends on your infrastructure stack and frequency requirements. Here is a breakdown of how they compare.

· 5 min read

AI

Building a RAG Chatbot: A Production Architecture Guide

A practical guide to building scalable RAG chatbots with Gemini, document chunking, and background processing for real-world production environments.

· 6 min read

AI

What Is the Best Chatbot? RAG vs. Generic LLM Wrappers

Discover why modern production chatbots rely on Retrieval-Augmented Generation (RAG) rather than static LLMs to deliver accurate, source-backed responses.

· 5 min read

Programming

Using Ty 1.0: A High-Performance Python Type Checker

Ty 1.0 offers significant speed improvements for Python type checking. This guide covers setup, usage, and how it compares to existing tools.

· 6 min read

Web Development

How to Add SEO in Next.js: A Production-Ready Guide

Improve your site's visibility with a structured approach to Next.js SEO, from metadata management to dynamic content generation.

· 6 min read

AI

How to Use Gemini Structured Output with Function Calling

Learn how to enforce strict JSON schemas in Gemini API responses while leveraging function calling for tool-based logic.

· 6 min read

Web Development

Next.js App Router vs Pages Router: Which is Better?

A developer's guide to choosing between the Next.js App Router and Pages Router for your next project.

· 5 min read

AI

Gemini API vs Vertex AI: Choosing the Right Integration

Deciding between Google's consumer-facing API and their enterprise platform depends on your scaling requirements and security needs.

· 7 min read

Web Development

How to Improve SEO in Next.js: A Production-Ready Guide

Boost your Next.js search rankings with a production-tested strategy covering the Metadata API, structured data, and dynamic image generation.

· 7 min read

AI

How to Implement Model Context Protocol (MCP) in Your AI App

The Model Context Protocol (MCP) standardizes how AI agents access local tools and data. Here is how to implement it to stop building one-off integrations.

· 7 min read

DevOps & Cloud

Fixing Gunicorn Error: Exception in Worker Process

Encountering the Gunicorn "Exception in worker process" error usually signals that your application code crashed or a worker timed out. Here is how to debug and resolve it.

· 8 min read

Programming

Gunicorn vs Uvicorn: Choosing the Right Python Server

A technical breakdown of when to use Gunicorn or Uvicorn for your Python backend deployments.

· 7 min read

Programming

RAG Chatbot System Design: A Production-Ready Architecture

Architecting a multi-tenant RAG system requires careful isolation, reliable background ingestion, and optimized retrieval pipelines.

· 6 min read

DevOps & Cloud

How to Secure Supabase Applications: Preventing Data Leaks

A detailed guide to securing your Supabase database by properly configuring Row Level Security to prevent unauthorized access.

· 7 min read

Programming

Fixing Gemini API 429 Errors: Rate Limits and Backoff Strategies

A 429 error means you have hit your rate limit. Here is how to handle it gracefully in production.

· 7 min read

AI

How to Create an AI Video Generator: A Developer Guide

Building a production-ready AI video generator requires a modular pipeline: script generation, media asset creation, and final assembly. Learn how to architect this stack.

· 7 min read

DevOps & Cloud

Visualize Systemd Boot Process: A Guide to Debugging Startup

Tired of guessing what slows down your Linux server startup? Learn how to visualize your systemd boot sequence to find and fix performance bottlenecks.

· 6 min read

Programming

Telegram Bot API Example: Building Your First Bot

A direct guide to implementing a basic Telegram bot using Python and the official Bot API.

· 5 min read

AI

How to Use Gemini File Search for RAG Applications

Learn how to implement Gemini File Search for your RAG chatbot pipeline using the Google Generative AI SDK, from file indexing to query retrieval.

· 6 min read

Programming

Flask Celery Redis: A Production Background Task Setup

Offload heavy processing from your Flask API to Celery and Redis with this battle-tested architectural pattern.

· 6 min read

Payments

Fixing Razorpay 'Authentication Failed' Errors

A common Razorpay issue usually stems from incorrect API keys or flawed signature verification. Here is how to audit and fix your integration.

· 6 min read

DevOps & Cloud

Vercel Cron Not Working? The Fix for Hobby Plans

Vercel Cron jobs are limited to daily execution on the Hobby plan, causing many developers to think they are broken. Here is how to bypass this limitation.

· 6 min read

Web Development

Next.js Revalidate Not Working? How to Debug and Fix

Learn why your Next.js cache isn't updating and how to correctly use revalidatePath and revalidateTag to trigger fresh data.

· 6 min read