Connection Pooling Explained and Low-Level Networking Internals
If you are trying to connect two applications (be it an application server and a DB, or anything else), these concepts will be useful.
๐งตThread
(1/24)
API Design Playbook (Giveaway Alert)
โข Core API fundamentals.
โข Clean & scalable design principles.
โข Popular patterns used in real-world systems.
โข Practical concepts for interviews & building projects.
24 HOURS ONLY!
To get it for free:
1 Follow @systemdesignone [MUST]
2 Like & Retweet to get DM
3 Reply "Playbook"
Then I'll DM you the details.
๐ The Complete Machine Learning & AI Knowledge Map
๐งฎ Mathematics
The foundation of every ML algorithm.
Learn:
โข Linear Algebra
โข Vectors
โข Matrices
โข Dot Product
โข Matrix Multiplication
โข Matrix Inverse
โข Determinants
โข Rank
โข Span
โข Linear Independence
โข Orthogonality
โข Null Space
โข Image Space
โข Eigenvectors
โข Eigenvalues
โข Singular Matrices
โข Positive Semi-Definite Matrices
โข Jacobian Matrix
โข Hessian Matrix
Without linear algebra, modern AI becomes a black box.
---
๐ Probability & Statistics
Machine learning is applied statistics at scale.
Learn:
โข Probability
โข Random Variables
โข Probability Mass Function (PMF)
โข Probability Density Function (PDF)
โข Expectation
โข Variance
โข Covariance
โข Correlation
โข Bayes Theorem
โข Entropy
โข Cross Entropy
โข Confidence Intervals
โข Hypothesis Testing
โข KL Divergence
โข Jensen-Shannon Divergence
These concepts explain uncertainty and information.
---
๐ณ Classical Machine Learning
Understand how models learn patterns.
Learn:
โข Linear Regression
โข Logistic Regression
โข K-Nearest Neighbours (KNN)
โข Naive Bayes
โข Decision Trees
โข Random Forests
โข Support Vector Machines (SVM)
โข Clustering
โข K-Means
โข Hierarchical Clustering
โข DBSCAN
โข Principal Component Analysis (PCA)
โข Ensemble Learning
โข Bagging
โข Boosting
โข XGBoost
โข LightGBM
โข CatBoost
Most modern ML builds on these ideas.
---
โ๏ธ Optimization
Training is optimization.
Learn:
โข Gradient Descent
โข Stochastic Gradient Descent (SGD)
โข Mini-Batch Gradient Descent
โข Momentum
โข Nesterov Momentum
โข Adagrad
โข RMSProp
โข Adam
โข AdamW
โข Second-Order Methods
โข Newton's Method
โข Learning Rate Scheduling
Optimization is often more important than model architecture.
---
๐ง Deep Learning
The engine behind modern AI.
Learn:
โข Artificial Neural Networks
โข Perceptrons
โข Backpropagation
โข Computational Graphs
โข Activation Functions
- Sigmoid
- Tanh
- ReLU
- GELU
- Swish
โข Loss Functions
- MSE
- MAE
- Cross Entropy
- Hinge Loss
โข Weight Initialization
- Xavier
- He Initialization
โข Batch Normalization
โข Layer Normalization
โข RMSNorm
โข Residual Connections
โข Dropout
These concepts power every modern LLM.
---
๐ฏ Generalization
A model that memorizes is useless.
Learn:
โข Overfitting
โข Underfitting
โข Bias
โข Variance
โข Bias-Variance Tradeoff
โข Cross Validation
โข Regularization
- L1
- L2
- ElasticNet
โข Early Stopping
โข Data Augmentation
Generalization separates research demos from production systems.
---
๐ Representation Learning
How machines understand data.
Learn:
โข Feature Engineering
โข Embeddings
โข Dimensionality Reduction
โข PCA
โข t-SNE
โข UMAP
โข Transfer Learning
โข Domain Adaptation
โข Few-Shot Learning
โข Zero-Shot Learning
โข Self-Supervised Learning
Modern AI depends on learning useful representations.
---
๐ค Learning Paradigms
Every AI system falls into one of these categories.
Learn:
โข Supervised Learning
โข Unsupervised Learning
โข Semi-Supervised Learning
โข Self-Supervised Learning
โข Reinforcement Learning
Different problems require different learning strategies.
---
๐ Information Theory
The hidden foundation of AI.
Learn:
โข Entropy
โข Cross Entropy
โข Mutual Information
โข KL Divergence
โข Jensen-Shannon Divergence
โข Information Gain
Many deep learning losses originate here.
---
๐๏ธ Theoretical Foundations
Research-level understanding.
Learn:
โข Convex Functions
โข Convex Optimization
โข Non-Convex Optimization
โข No Free Lunch Theorem
โข Statistical Learning Theory
โข VC Dimension
These concepts explain why models behave the way they do.
---
๐ Modern AI Stack
Linear Algebra
โ
Probability & Statistics
โ
Classical Machine Learning
โ
Optimization
โ
Deep Learning
โ
Representation Learning
โ
Transformers
โ
LLMs
โ
RAG
โ
AI Agents
โ
Embodied AI
Most people try to start at the top.
The fastest way to master AI is to build an unshakable foundation at the bottom.
someone asked Beej how sockets work in C. he got tired of explaining it. so in 1995 he put it all online.
it's been the definitive socket programming guide for 30 years.
it covers everything: TCP, UDP, IPv4, IPv6, non-blocking I/O, select(), poll().
graduate OS courses worldwide assign it. it's funnier than any technical book has a right to be.
it's free and always will be.
Want a beginner-friendly project that teaches real DevOps skills?
๐ Deploy a containerized web app with a private database, load-balanced HTTPS, custom domain, and proper network segmentation.
Follow these steps:
- Design a custom VPC. Public subnets for the load balancer. Private subnets for compute and database, spread across two AZs.
- Use ChatGPT to create a Flask app that reads and writes posts to Postgres. Add a /health endpoint for health checks.
- Containerize it with a multi-stage Docker build. Push to ECR (use the platform flag, linux/amd64).
- Store DB credentials in AWS Secrets Manager. No passwords in env files. No passwords in code.
- Run RDS PostgreSQL in the private subnets. Multi-AZ. Public access off.
- Deploy the container on ECS Fargate behind an Application Load Balancer.
- Terminate TLS at the ALB with an ACM certificate. Free, auto-renewing, no cert.pem to babysit on a server.
- Build security groups as a chain: Internet โ ALB โ ECS tasks โ RDS. Each layer only talks to the next one.
- Create an IAM task role with least privilege. ECR pull and Secrets Manager read. Nothing more.
- Ship container logs to CloudWatch. Wire the ALB health check to /health.
- Point your custom domain at the ALB with a Route 53 alias record.
Level up the project:
โข Terraform for all of it. Remote state in S3 with DynamoDB locking. Reusable modules.
โข GitHub Actions for CI/CD with OIDC. Assume an AWS role. No long-lived access keys.
โข Scan every image with Trivy before it reaches ECR. Fail the build on critical CVEs.
โข Autoscale ECS on CPU. Roll deployments with zero downtime.
What you'll learn:
โข Real AWS networking with public and private subnets
โข How containers run behind a load balancer in production
โข Security group chaining and least-privilege IAM
โข Where TLS actually terminates and why HTTPS matters
โข Secrets management done right
โข Real troubleshooting skills
Stop watching tutorials. Start building. This is the version that gets you hired.
If I had to become a DevOps / SRE in 90 days, I would skip random YouTube and bootcamps.
I'd ship projects from these 10 repos.
1. kubernetes/kubernetes
Run it locally with kind or k3d. Learn deployments, services, ingress, HPA, PDB.
https://t.co/r1TuIfYlfD
2. prometheus-operator / kube-prometheus
Install it on your cluster. Build real alerts and Grafana dashboards.
https://t.co/ZzPZMRGCQm
3. argoproj/argo-cd
GitOps for real. One repo, one cluster, PR based deployments.
https://t.co/GfJaf7ygao
4. hashicorp/terraform
Infra as Code. Spin up a full VPC + EKS + RDS stack.
https://t.co/wL2XaXgTbG
5. crossplane/crossplane
Treat cloud infra as CRDs. This is what "platform team" JD is talking about.
https://t.co/sts6izxdlH
6. grafana/loki
Centralised logs without ELK. Wire it with Promtail and Grafana.
https://t.co/J7ENRnvRXq
7. open-telemetry/opentelemetry-collector
End to end traces, metrics, logs for a demo microservice.
https://t.co/eiiBWwlT83
8. argoproj/argo-workflows
Build a CI-style workflow running inside K8s.
https://t.co/9iqhrCLSFs
9. kubernetes-sigs/karpenter
Hands-on with cluster autoscaling and cost tuning.
https://t.co/2UjhQ6AWzG
10. fluxcd/flux2
Another GitOps engine many companies already use.
https://t.co/pLSYkguQbH
Most DevOps / SRE JDs in 2026 repeat the same stack: K8s, GitOps, IaC, observability, autoscaling.
These 10 repos are that stack.
Pick one. Build a project. Push to GitHub.
No cert needed. Just proof of work.
Harvard made its Senior Engineer roadmap available to the public at no cost.
Stop paying for $2,000 bootcamps. Prof. Vijay Janapa Reddi just put the entire ML Systems (CS249r) curriculum on GitHub.
If you master these 6 pillars, you're ahead of 99% of the field:
๐๏ธ Architecture
๐ฟ Data Pipelines
๐ข Production
๐ ๏ธ MLOps
๐ Edge AI
๐ Privacy
This is the "Black Box" of Big Tech infrastructure, open-sourced.
Read. Learn. Bookmark.
Holy shitโฆ someone just made machine learning click.
Not static diagrams.
Not math-heavy PDFs.
Not black-box training.
Real algorithms โ training step-by-step โ visually.
Itโs called Machine Learning Visualized
and it lets you watch models learn in real time.
Hereโs why this is different:
Instead of dumping theory first,
it shows optimization happening live:
โข gradients moving
โข weights updating
โข decision boundaries shifting
โข loss decreasing
โข models converging
You literally see learning happen.
Everything is built from first principles:
โข Gradient Descent
โข Logistic Regression
โข Perceptron
โข PCA
โข K-Means
โข Neural Networks
โข Backpropagation
No magic. Just math โ code โ visualization.
Each chapter is a Jupyter notebook
that derives the math
then implements it
then animates training.
So you can watch:
โข neural nets shape decision surfaces
โข PCA rotate feature space
โข K-means clusters form live
โข gradient descent find minima
โข sigmoid reshape boundaries
โข backprop update weights step-by-step
This solves a huge problem:
Most ML resources teach: math โ code โ ??? โ trained model
This shows: math โ code โ learning process โ result
Which means you finally understand:
โข why gradients matter
โข how weights evolve
โข what loss landscapes look like
โข how convergence actually happens
โข why deep nets learn non-linear functions
Even better:
You can open any notebook
modify parameters
and watch behavior change instantly.
Learning ML becomes interactive.
Not passive.
Not abstract.
Not confusing.
Justโฆ visible.
Perfect for:
โข beginners learning ML
โข devs moving into AI
โข interview prep
โข teaching concepts
โข understanding backprop
โข visual learners
โข building intuition
This is the kind of resource
that makes neural networks finally โclickโ.
Link: https://t.co/i0k7LzGbJt
Weโre moving from:
reading about ML
โ watching ML learn
Thatโs a big shift.
Because once you can see training,
you stop memorizingโฆ and start understanding.
AI education just got visual.
For people who keep asking what to build in AI Engineering
> Build your own Reasoner (Chain of Thought implementation)
> Build your own Agent loop (ReAct pattern)
> Build your own Inference Server (in C++/Rust)
> Build your own Transformer from scratch (Attention is all you need)
> Build your own Vector Database (HNSW index)
> Build your own RAG pipeline
> Build your own Flash Attention kernel (CUDA)
> Build your own Quantization library (Int8/FP4 implementation)
> Build your own Mixture of Experts (MoE) routing layer
> Build your own Distributed training loop (FSDP/Tensor Parallelism)
> Build your own KV Cache paging system (like vLLM)
> Build your own Speculative Decoding system
> Build your own State Space Model (Mamba implementation)
> Build your own RLHF pipeline (PPO implementation)
> Build your own Small Language Model (SLM)
> Build your own Matrix Multiplication kernel
> Build your own LoRA (Low-Rank Adaptation) trainer
> Build your own Code interpreter sandbox
> Build your own DPO (Direct Preference Optimization) loss function
> Build your own Graph RAG system
> Build your own Model merger (Model Soups/Spherical Linear Interpolation)
> Build your own Interpretability tool (SAE - Sparse Autoencoders)
> Build your own Synthetic data generator
> Build your own Function Calling router
> Build your own Structured Output parser (Context Free Grammars)
> Build your own Multi-modal projector (CLIP implementation)
> Build your own LLM Eval harness
> Build your own Guardrails system (Input/Output filtering)
> Build your own Prompt caching mechanism
> Build your own Tokenizer (BPE implementation)
> Build your own Autograd engine (like Micrograd)
> Build your own Diffusion model (UNet + Scheduler)
> Build your own Vision Transformer (ViT)
> Build your own Whisper-style ASR model
> Build your own Text-to-Speech pipeline
> Build your own Semantic Router
> Build your own Knowledge Graph builder
> Build your own Data curation pipeline (MinHash/Deduplication)
> Build your own AI Gateway (Load Balancing/Failover)
> Build your own Parameter Efficient Fine-Tuning (PEFT) library
> Build your own Text-to-SQL engine
> Build your own Recommendation system (Two-tower architecture)
> Build your own Embedding model
> Build your own Logit Processor
> Build your own Softmax kernel optimization
> Build your own Adversarial attack generator
> Build your own Audio Spectrogram transformer
> Build your own Neural Architecture Search
> Build your own Model Distillation pipeline
> Build your own Feature Store
> Build your own Database driver (for Vectors)
I've never felt this much behind as a programmer. The profession is being dramatically refactored as the bits contributed by the programmer are increasingly sparse and between. I have a sense that I could be 10X more powerful if I just properly string together what has become available over the last ~year and a failure to claim the boost feels decidedly like skill issue. There's a new programmable layer of abstraction to master (in addition to the usual layers below) involving agents, subagents, their prompts, contexts, memory, modes, permissions, tools, plugins, skills, hooks, MCP, LSP, slash commands, workflows, IDE integrations, and a need to build an all-encompassing mental model for strengths and pitfalls of fundamentally stochastic, fallible, unintelligible and changing entities suddenly intermingled with what used to be good old fashioned engineering. Clearly some powerful alien tool was handed around except it comes with no manual and everyone has to figure out how to hold it and operate it, while the resulting magnitude 9 earthquake is rocking the profession. Roll up your sleeves to not fall behind.