Search

Lessons (36)

  • React vs Vue vs Angular

    … bold; } </style Angular (standalone component with signals) ts import { Component, signal, computed } from "@angular/core"; @Component({ selector: "app …

  • AWS: Start Here

    … On your own computer, you might run everything together. On AWS, choose a service for each job: Part …

  • Containers at Scale: ECS Deep Dive and EKS

    … Increasing the desired replica count does not create compute automatically: inspect scheduling events, resource requests, node capacity, availability …

  • Neural Networks and Deep Learning

    … A forward pass computes predictions from a batch of examples. 2. A loss function compares predictions with targets …

  • SQL Interview Query Drills

    … define grouping, compute an aggregate, then filter with a clear tie policy](/img/database-interviews/sql-drills.svg …

  • Cost Optimization and the Well-Architected Framework

    … check Performance Insights before upsizing. Quick wins by service EC2 and containers - Right-size using Compute Optimizer; move …

  • Trees & Binary Search Trees

    … You already use trees daily: folders on your computer, the HTML DOM , JSON objects, React component trees, and …

  • MVC, MVP & MVVM

    … the <script setup part acts as the ViewModel -- <script setup import { ref, computed } from "vue"; const email = ref …

  • Resilience, Disaster Recovery and Multi-Region Design

    … Break recovery into detection, decision, data preparation, compute readiness, traffic cutover, and validation. The sum must fit the …

  • Embeddings, Semantic Search, and RAG

    … 3. Index: compute embeddings and store vectors plus metadata in a search index. 4. Retrieve: search with the …

  • Transformers and Large Language Models

    … What attention does Transformer attention lets each position compute a weighted combination of information from other positions. This …

  • Data Structures for Scale

    … Use geohash or spatial trees to narrow location candidates, search neighboring cells, then compute exact distance. 2. Use …

  • Data Preparation and Model Training

    … real goal is to generalize to new people. - Computing a normalization average over all rows before making the …

  • Design a Ride-Sharing Service

    … Search neighboring cells and compute actual distance. 2. Attempt a conditional assignment against the driver’s authoritative state …

  • What Is Clean Code?

    … Small steps add up. Key takeaways - Clean code is written for humans first , computers second. - Messy code creates …

  • AI Specialties and Real-World Examples

    … Area Input → output Practical example What to learn --- --- --- --- Computer vision Pixels → labels, boxes, or masks Detect damaged parcels …

  • What to Learn in AI, and in What Order

    … production] ML -- SPEC[Choose a specialty] SPEC -- CV[Computer vision] SPEC -- NLP[Language and speech] SPEC -- REC[Recommendations …

  • Caching & Redis

    … a small, fast store of copies of data that is expensive to fetch or compute. ![The memory hierarchy …

  • Hash Maps & Sets

    … A hash function turns a key (like "apple" ) into a number (a bucket index), so the computer jumps …

  • How a Web Request Works

    … the internet's phone book Computers talk using IP addresses ( 142.250.74.46 ), but humans remember names …

  • Code Smells & Refactoring

    … return shape.side 2; } } // ✅ Each shape knows how to compute its own area class Circle { constructor(r) { this …

  • Production Capstone and Interview Practice

    … This project integrates existing examples; it introduces no requirement for paid compute or a live database. text infra …

  • Practical Lab: S3 File Upload and CloudFront Delivery with NestJS

    … an IAM role (production, recommended) When the API runs on AWS, give the compute an identity instead of …

  • Monolith vs Microservices

    … CI/CD, monitoring, tracing, orchestration The hidden costs ("the distributed systems tax") The 8 fallacies of distributed computing …

  • State Management (Redux, Zustand, TanStack Query)

    … Storing derived data (totals, filtered lists) instead of computing it. - Putting fast-changing values in Context, which re …

  • Arrays & Strings

    … the computer calculates start address + i × box size and jumps there directly. The cost of each operation Operation …

  • Big-O Notation Made Simple

    … It ignores exact seconds (which depend on your computer) and focuses on the growth shape . The growth curves …

  • Serverless Architecture

    … the car. Serverless is the taxi model for computing: you write functions, the cloud runs them when an …

  • Creational Patterns: How to Make Objects

    … to set up (loaded from a file, heavy computation) and you need many variants. --- 5. Singleton 🏛️ Analogy …

  • CQRS & Event Sourcing

    … more Shape Normalised, enforces rules Denormalised, joined, pre-computed Storage Postgres (transactions) Elasticsearch (search), Redis (fast lookups), a …

  • Sorting Algorithms

    … sorting is one of the most common things computers do. Different algorithms trade simplicity , speed and memory . ![How …

  • React Hooks in Practice

    … Q -- no Cached["♻️ Return cached value"] Q -- yes Compute["⚙️ Recompute + cache"] ⚠️ Don't memoise everything. Memoisation has its …

  • Code Profiling

    … trace for I/O, CPU profile for compute, heap snapshot for retained memory. 4. Change the narrowest confirmed …

  • CloudWatch: Know What Your App Is Doing

    … responses Healthy targets or Lambda errors/throttles Identify compute/integration problems SQS oldest-message age Show whether work …

  • EC2, Storage and Auto Scaling

    … friendly server Treat an EC2 instance as replaceable compute. Store order data in a database and uploaded files …

  • AWS Interview Questions: Clear Answers

    … Explain the data store and transaction choice before naming compute services. Follow-up: The client times out after …