Hi, I am
Rishikesh Agrawani
Backend engineer with 9+ years of experience. This site is where I keep the notes I write while learning: short tutorials with code you can run. Away from the keyboard I write and record songs.
Short tutorials with runnable code
Learnings
Notes written while learning, kept short on purpose. Each tutorial explains a concept in a few lines, shows the code, and tells you how to run it. Pick a path and read it in order.
- Frontend: React to Next
- Python Basics
- Python Advanced
- Python in Practice
- Python Design
- Command line: Bash
Frontend learning path
React to Next
Four tutorials. Learn React first, then Next, use the comparison to lock in what Next changed, and finish with the design skills that turn a Figma file into components.
Components, props, state, effects, hooks, context, routing with React Router, auth with a protected route, styling, and turning a Figma file into components.
File based pages and layouts, server and client components, data fetching and caching, Server Actions, API routes, cookie based auth, images, fonts, SEO and deployment.
Seventeen tasks shown side by side, React on the left and Next on the right, each with one line on what Next added. Only topics where Next changed something.
Reading a Figma file, design tokens, spacing, typography, color, responsive layout, states, a reusable component kit, accessibility, and the Figma MCP and Code Connect workflow.
Python learning path
Python Basics
Six tutorials that start from the first print(). They are Python 3 rewrites of the 2017 Pythofrank lessons, with the original examples kept where they still make sense.
What Python is, running it, variables, indentation, numbers, and decisions with if, elif and else.
Strings, lists, tuples, dictionaries and sets: how to create, read and change each one, and which to pick.
for and while loops over numbers, strings, lists and dictionaries, with range, enumerate, zip and comprehensions.
Defining functions, arguments and defaults, *args and **kwargs, scope, lambda, map and filter, recursion.
Classes and objects, inheritance, class and static methods, properties, and dataclasses, built on a small bank.
Handling exceptions, reading and writing text, CSV and JSON files, and working with dates and times.
Python learning path
Python Advanced
Five tutorials on the parts of Python that take longest to click. Each idea is built up one small step at a time, and every example was run before it was published.
Closures, plain and parameterised decorators, functools.wraps, class-based decorators, and real uses: logging, retry, caching, permission checks.
What a for loop really does, writing your own iterator, generators with yield, pipelines, yield from and itertools.
Concurrency versus parallelism, the GIL, threads, race conditions, locks and deadlock, queues, and multiprocessing.
The event loop, async and await, running tasks together, timeouts, semaphores and locks, and how not to block the loop.
Context managers, special methods, descriptors, __slots__, dataclasses in depth, Enum, Protocol, metaclasses and type hints.
Python learning path
Python in Practice
Nine tutorials on everything around the language that a working project needs: setting up, testing, debugging, tooling, data and the web.
Virtual environments, pip, modules and packages, imports, if __name__ == "__main__", project layout and pyproject.toml.
Writing tests with pytest: fixtures, parametrised tests, fakes and mocks, test-driven development and coverage.
Reading tracebacks, the pdb debugger, a method for finding bugs, and the logging module in place of print.
PEP 8, formatting with black, linting with ruff, type checking with mypy, and pre-commit hooks.
A tour of the modules worth knowing: re, pathlib, argparse, subprocess, json, decimal, hashlib and more.
Big-O in plain words, the cost of list, dict and set operations, deque, heapq and bisect, searching, sorting, recursion and graph search.
Measuring with timeit and cProfile, writing faster Python, and how references, reference counting and garbage collection work.
SQL with sqlite3, safe queries, transactions that keep a transfer all-or-nothing, and the SQLAlchemy ORM.
How HTTP works, calling an API, and building and testing a small bank API with FastAPI.
Python learning path
Python Design
Two tutorials built on one small bank. Every example is a few lines long, runs with only the standard library, and reuses the same Person and Account classes.
The five SOLID principles, then six general ones: DRY, KISS, YAGNI, composition over inheritance, tell don't ask and encapsulation. Each one shown as the code that breaks it, then the fix.
All 23 classic patterns, grouped into creational, structural and behavioural, with what each family means. Every pattern has the problem it solves, a small example and the shortcut Python gives you.
Command line
Bash
Notes on the shell, added as they come up. Each topic is a few short chapters with commands you can paste into a terminal.
What !!, !$ and !git really do, why they can run a command you have not read, and the one setting that shows it to you first.