New episode:Composite Pattern Explained: Files, Folders, and Trees
LearnwithManoj Never stop Learning. Subscribe

Engineering blog

Written deep-dives and companion notes to the LearnwithManoj YouTube channel.

  1. Composite Pattern Explained: Files, Folders, and Trees

    Show notes for the Composite Pattern video: when to use it, real-world examples (file systems, the DOM, React trees), and a code-free mental model.

  2. Bridge Pattern Explained - Kill the Class Explosion | 10/25

    Bridge Pattern - the fix for class hierarchies that explode into RedCircle, BlueCircle, RedSquare, BlueSquare.

  3. Adapter Pattern Explained - The USB Adapter of Code | 9/25

    Adapter Pattern - the software version of a USB-C to USB-A dongle. When two pieces of code need to talk to each other but their interfaces don't match, Adapter…

  4. AI Explained: Securing AI Agents from Doing Bad Things (Part 31)

    Show notes for AI Explained Part 31: sandboxing, permission scoping, instruction hierarchy, and the metrics that tell you whether your agent is safe to ship.

  5. AI Errors & Human-in-the-Loop (HITL) Explained (AI Explained #30)

    Feeling overwhelmed by the fear of AI making huge mistakes? In this video, we break it down into simple pieces.

  6. Semantic Caching for AI Agents Explained (AI Explained #29)

    Feeling overwhelmed by high AI API costs and latency? In this video, we break it down into simple pieces.

  7. AI Explained: Short-Term vs Long-Term AI Memory Demystified (Part 28)

    Feeling overwhelmed by the different layers of AI memory? In this video, we break it down into simple pieces.

  8. How AI Agents Remember - Agent Memory Explained (AI Explained #27)

    Feeling overwhelmed by memory and state tracking? In this video, we break it down into simple pieces.

  9. AI Explained: Multi-Agent AI Systems for Complete Beginners (Part 26)

    Feeling overwhelmed by the idea of communicating AIs? In this video, we break it down into simple pieces.

  10. How AI Agents Use Tools - ReAct Loop Explained (AI Explained #25)

    Feeling overwhelmed by APIs and AI Tool Integration? In this video, we break it down into simple pieces.

  11. Autonomous AI Agents & Agentic RAG Explained (AI Explained #24)

    Feeling overwhelmed by the hype around "AI Agents"? This video is your ultimate guide to finally understanding AI Agents and Agentic RAG, even if you're completely new…

  12. Singleton Pattern Explained - Anti-Pattern or Essential? | 8/25

    Singleton Pattern - the most controversial design pattern in software. Half the developers call it an anti-pattern, the other half use it every day. So who's right?

  13. Prototype Pattern - Clone Objects Instead of Rebuilding | 7/25

    Prototype Pattern - when creating an object from scratch is expensive, clone an existing one instead. This is also where shallow-copy vs deep-copy bugs come from.

  14. Builder Pattern - Stop Writing Huge Constructors | 6/25

    Builder Pattern - stop writing constructors with 12 parameters. This is the cleanest way to construct complex objects step by step.

  15. Abstract Factory Pattern - The 'Factory of Factories' Explained | 5/25

    Abstract Factory Pattern explained with the matching-showroom analogy - the creational pattern for when you need to produce entire families of related objects together.

  16. Factory Method Pattern vs Simple Factory Pattern - Finally Explained | 4/25

    Factory Method Pattern vs Simple Factory Pattern - the exact difference most tutorials never make clear, and a classic software engineering interview question.

  17. AI Masterclass Part 23: GraphRAG Explained for Complete Beginners

    Feeling overwhelmed by complex AI data architectures? In this video, we break it down into simple pieces.

  18. AI Masterclass Part 22: Finally Understand AI Reranking

    Why is your AI missing the context? In this video, we break down Reranking. We show you the secret 2nd stage of the search pipeline that perfectly orders results from…

  19. AI Masterclass Part 21: Hybrid Search for People Who Hate Math

    Feeling overwhelmed by your AI giving you bad search results? In this video, we break down Hybrid Search: combining exact keywords with deep semantic meaning.

  20. AI Masterclass Part 20: Vector Databases for People Who Hate Math

    Feeling overwhelmed by Vector Databases and SQL? In this video, we break it down into simple pieces.

  21. AI Masterclass Part 19: Data Chunking for RAG Explained Simply

    Feeling overwhelmed by getting your data ready for AI? In this video, we break it down into simple pieces.

  22. AI Masterclass Part 18: Finally Understand RAG

    Feeling overwhelmed by the term "RAG"? In this video, we break it down into simple pieces.

  23. AI Masterclass Part 17: Hack Proofing Your AI | Prompt Injection

    Feeling overwhelmed by AI security risks? In this video, we break it down into simple pieces.

  24. AI Masterclass Part 16: AI Context Limits Explained Simply

    Feeling overwhelmed when your AI forgets what you said 20 minutes ago? In this video, we break it down into simple pieces.

  25. AI Masterclass Part 15: How AI Reasons | Chain & Tree of Thought

    Feeling overwhelmed by how AIs solve complex math or logic puzzles? In this video, we break it down into simple pieces.

  26. How to Crack Any System Design Interview: Full Beginner's Guide

    Most candidates fail system design interviews not because they lack knowledge, but because they don't have a clear framework to structure their thinking.

  27. AI Masterclass Part 14: Finally Understand Few-Shot AI Prompting

    Feeling overwhelmed by advanced AI prompting techniques? In this video, we break it down into simple pieces.

  28. AI Masterclass Part 13: Prompt Engineering for Complete Beginners

    Feeling overwhelmed by bad AI responses? In this video, we break it down into simple pieces.

  29. AI Masterclass Part 12: AI Distillation & Synthetic Data Explained

    Feeling overwhelmed by how complex AIs stay small enough to run on phones? In this video, we break it down into simple pieces.

  30. AI Masterclass Part 11: AI Alignment for Complete Beginners | RLHF

    Feeling overwhelmed by AI safety terminology? In this video, we break it down into simple pieces.

  31. AI Masterclass Part 10: Understand LoRA & Local AI Shrinking Models

    Feeling overwhelmed by the hardware requirements of AI? In this video, we break it down into simple pieces.

  32. AI Masterclass Part 9: Fine Tuning AI for People Who Hate Math

    Feeling overwhelmed by the term "Fine-Tuning"? In this video, we break it down into simple pieces.

  33. AI Masterclass Part 8: Finally Understand How AI is Trained

    Feeling overwhelmed by how tech giants actually build ChatGPT? In this video, we break it down into simple pieces.

  34. AI Masterclass Part 7: The Truth About AI Pricing and Costs

    Feeling overwhelmed by confusing API pricing tiers? In this video, we break it down into simple pieces.

  35. AI Masterclass Part 6: Why AI Can Be Slow? | Inference

    Feeling overwhelmed by latency complaints in your AI app? In this video, we break it down into simple pieces.

  36. AI Masterclass Part 5: Choosing an AI Model for Complete Beginners

    Feeling overwhelmed by the hundreds of AI models launching every week? In this video, we break it down into simple pieces.

  37. AI Masterclass Part 4: Finally Understand AI Memory | Embeddings

    Feeling overwhelmed by high-dimensional matrices and embeddings? In this video, we break it down into simple pieces.

  38. Transformer Models & Attention Explained | AI Explained #3

    Feeling overwhelmed by Transformer architecture diagrams? In this video, we break it down into simple pieces.

  39. AI Tokenization Explained Simply | AI Explained #2

    Ever wonder why AI makes simple math or spelling mistakes? This video demystifies tokenization, breaking down how AI cuts up English words into puzzle pieces.

  40. How AI Actually Works - No Code | AI Explained #1

    Learn how AI really works in this masterclass! Part 1 simplifies how AI works, especially Large Language Models like ChatGPT, without any code.

  41. How to Design a Scalable System from Scratch | System Design Interview #15

    You've learned the pieces. Now let's put them all together and design a real scalable system from scratch, the way it's done in interviews and in production.

  42. Monolith vs Microservices Explained Simply | System Design Interview #14

    Microservices are everywhere - but are they always the right choice? Spoiler: most teams adopt them too early, and it costs them.

  43. REST vs WebSockets vs SSE - When to Use Each | System Design Interview #13

    Building a chat app? A live dashboard? A REST API? Each needs a completely different communication model - and picking the wrong one is a costly mistake.

  44. Consistent Hashing Explained Simply | System Design Interview #12

    What happens when you add or remove a server from a distributed system? Without consistent hashing, the answer is chaos.

  45. CAP Theorem Explained in 6 Minutes | System Design Interview #11

    CAP Theorem is one of the most misunderstood concepts in distributed systems - and one of the most asked about in FAANG interviews. Let's fix that.

  46. Database Sharding & Indexing Explained | System Design Interview #10

    When your database has 500 million rows, queries don't just slow down - they can grind your entire app to a halt. Here's how the biggest systems solve it.

  47. 4 Types of NoSQL Databases Explained | System Design Interview #9

    NoSQL is not one thing - it's four completely different data models. Choosing the wrong one is just as bad as choosing SQL when you shouldn't.

  48. SQL vs NoSQL - How to Choose the Right Database | System Design Interview #8

    Picking the wrong database early can haunt your system for years. SQL or NoSQL - here's how to make the right call every time.

  49. Cache Eviction Policies Explained - FIFO, LIFO, LRU, MRU, LFU | System Design Interview #7

    Your cache is full. Something has to go. But which item do you remove - and does it even matter? The answer can make or break your app's performance.

  50. Write-Through vs Write-Back Cache Explained | System Design Interview #6

    Caching makes systems fast - but it also introduces one of the hardest problems in computer science: keeping your cache and database in sync.

  51. Caching Explained - How Apps Stay Fast Under Load | System Design Interview #5

    Without caching, even the fastest databases would crumble under real-world traffic. It's one of the most powerful performance tools in any engineer's toolkit.

  52. How Load Balancing Works - Round Robin & More | System Design Interview #4

    How do systems like Google and Amazon handle millions of users simultaneously without crashing a single server? Load balancing is the answer.

  53. Vertical vs Horizontal Scaling Explained Simply | System Design Interview #3

    Your app is getting more traffic. Do you buy a bigger server - or add more servers? This decision can make or break your system.

  54. Scalability vs Reliability vs Availability Explained | System Design Interview #2

    What separates a good software system from a bad one? It comes down to 5 key characteristics - and most engineers can't clearly explain all of them.

  55. What Is System Design? Beginner's Roadmap | System Design Interview #1

    A beginner's roadmap to system design: scalability, availability, load balancing, caching, and monolith vs microservices, with the companion YouTube video.