Discrete Structures
CMC MSU
- Mathematics
- Discrete mathematics
A discipline of the “AI Systems Developer” program at the Faculty of Computational Mathematics and Cybernetics of Moscow State University. Studying it now.
The mathematical foundation of computer science: sets and relations, logic, combinatorics and graphs — what algorithms, databases and models are built on.
Where and how I applied it

Demo · Web app · scenario · aiogram 3 code
Bot scenario builder
A bot scenario is a graph: dead ends, unreachable steps and cycles are found as graph reachability problems.

Demo · Web app · agent diagram
AI agent builder
The hints on the agent diagram — an unreachable node, a path with no answer — are also questions about paths in a graph.

Demo · Web app · automation · amoCRM, 1C, Telegram
An n8n-style automation pipeline
An automation workflow is a directed graph: records move from node to node, and the error branch is a separate path.

Demo · Next.js IT conference website · program, tickets, networking
Conference website
Picking talks with no time overlaps is a combinatorial scheduling problem.
More on the shelf
Reading
Hands-On APIs for AI and Data Science
Ryan Day
A practical book on building an API for data and connecting AI to it. The running project is a FastAPI service with a database and documentation, then an SDK for it, using the API in analytics and, finally, LangChain agents that call the API themselves.
AI and agentsPythonAPIApplied in 3 projectsReading
Server Applications in Python, Django, Flask and FastAPI
R. S. Bukharev
The path of server-side development in Python, from sockets and protocols to architecture and launch on a server. Django, Flask and FastAPI are covered through real projects: a CRM system, a Telegram bot with server-side logic, a REST API for a mobile app and a WebSocket chat. Separate chapters cover caching and scaling, Docker and Kubernetes, PostgreSQL, MySQL, SQLite and MongoDB, and security: password hashing, JWT and OAuth 2.0, protection against SQL injection, XSS and CSRF, TLS.
ProgrammingPythonBackendApplied in 1 project





