Posts
2026
The Art of an Effective Prompt
LLMs just predict the next token, so your prompt decides the answer. Practical ways to prompt better: be specific, give examples and provide context.
Ax=b: The Jack of all Trades
Why x = A⁻¹b doesn't always work: vector spaces, subspaces, rank and the cases of Ax=b that lead to the Moore-Penrose pseudoinverse.
Probability Distributions
Random variables and the common discrete and continuous probability distributions, explained so they finally stick.
Principal Component Analysis (PCA)
An intuitive look at Principal Component Analysis: why eigenvectors of the covariance matrix point toward maximum variance, and how PCA reduces dimensions.
Linear Regression
Linear regression from the ground up: deriving the best fit line from squared error, then LASSO, Ridge and Elastic Net regularization.
2025
HDFS and MapReduce: Revolutionizing Big Data Processing
A step-by-step walkthrough of HDFS and MapReduce, from uploading a CSV into HDFS to computing the average movie rating per genre with Hadoop.
Regular Expressions
A quick reference to regular expressions: literals, character classes, quantifiers, anchors, grouping and more, with examples in Python's re module.
Forward and inverse kinematics of a 2-link manipulator
Deriving the forward and inverse kinematics of a 2-link planar manipulator using geometry and Atan2.
Computer Security: Data Encryption Standard (DES)
How DES encryption works step by step: the Feistel structure, initial permutation, expansion, S-boxes and the key schedule.
Make your own site like me using Hugo with PaperMod theme
Build your own blog with Hugo and the PaperMod theme, and deploy it to GitHub Pages for free, step by step.
Hello World
My first Hello World post.